Application Agent fails to online resource after upgrading to 5.1SP1

Article: 100011202
Last Published: 2013-11-27
Ratings: 1 0
Product(s): InfoScale & Storage Foundation

Problem

After upgrade from 5.0MP3 to 5.1SP1, Application agent fails to online resource configured to run inside local zone with EnvFile not found error.
 

 

Error Message

2013/09/06 09:07:49 VCS NOTICE V-16-1-10301 Initiating Online of Resource TEST_APP-ORA (Owner: Unspecified, Group: vcsTEST) on System system03
2013/09/06 09:07:51 VCS DBG_1 V-16-10001-0 (system03) Application:TEST_APP-ORA:online:Attribute EnvFile not found in the argument list.
2013/09/06 09:07:51 VCS DBG_1 V-16-10001-0 (system03) Application:TEST_APP-ORA:online:Failed to get attribute (%s)

 

Cause

When multiple single quotes are used with Application Agent Online / Offline / Monitor entry points, the arguments are not passed properly inside the local zone. This causes the Agent to fail with Env file not found error message.

 

Solution

As a workaround, spaces between the multiple single quotes can be escaped by using back slash.

         Application TEST_APP-ORA (
                Critical = 0
                User = oracle
                StartProgram = "/data/oracle/StartO"
                StopProgram = "/data/oracle/StopO"
                CleanProgram = "/data/oracle/CleanO"
                MonitorProgram = "/etc/local/VRTSvcs/bin/MonitorUProc 'oracle' '/usr/bin/sleep\ 3000'"
                UseSUDash = 1
                )

 

 

Applies To

Systems running VCS version 5.1SP1 with resources configured to run inside local zone and having multiple single quotes in monitor program.

         Application TEST_APP-ORA (
                Critical = 0
                User = oracle
                StartProgram = "/data/oracle/StartO"
                StopProgram = "/data/oracle/StopO"
                CleanProgram = "/data/oracle/CleanO"
                MonitorProgram = "/etc/local/VRTSvcs/bin/MonitorUProc 'oracle' '/usr/bin/sleep 3000'"
                UseSUDash = 1
                )

 

References

Etrack : 3344755

Was this content helpful?