Important Update: Cohesity Products Knowledge Base Articles
All Cohesity Knowledge Base Articles are now managed via the Cohesity Support Portal: https://support.cohesity.com/. The Knowledge Base articles available here will not reflect the latest information or may no longer be accessible.
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
)