Monitor of VCS Application resource returns UNKNOWN state. Errors out with "/opt/VRTSvcs/bin/Application/monitor[130]: RC: not found".

Article:TECH74832  |  Created: 2009-01-27  |  Updated: 2009-01-27  |  Article URL http://www.symantec.com/docs/TECH74832
Article Type
Technical Solution

Product(s)

Environment

Issue



Monitor of VCS Application resource returns UNKNOWN state. Errors out with "/opt/VRTSvcs/bin/Application/monitor[130]: RC: not found".

Solution



ISSUE:
VCS Application resource monitoring returns UNKNOWN state if the "options" string for 'su' command is not populated.

EXACT ERROR MESSAGE:
2009/09/01 13:00:19 VCS INFO V-16-2-13001 (system2) Resource(system1_TA_T_ST3): Output of the completed operation (monitor)
[...]
/opt/VRTSvcs/bin/Application/monitor[130]: RC: not found


PROBLEM DESCRIPTION:
In one situation, the home directory of VCS application resource owner is configured in a failover service group. If the home directory is not available on the standby node, VCS Application agent does not monitor the resource correctly and may error out with messages similar to above.

CAUSE:
Symantec VCS Engineering acknowledges this defect via internal etrack incident # 1833669 and has addressed in the issue in following releases.
VCS 5.0MP3RP1HF1a (for AIX only)
VCS 5.1 (Upcoming release for all Platforms)


WORKAROUND:
Step-1:
Edit the file "/opt/VRTSvcs/bin/ag_i18n_inc.sh" on all nodes in the cluster as mentioned below:
Modify the following line in the function VCSAG_SU () from:
su "${options}" "${user}" -c "${command}"; retval=$?
to:
su ${options} "${user}" -c "${command}"; retval=$?

Step-2:
Edit the file "/opt/VRTSvcs/bin/Application/functions" on all nodes in the cluster as mentioned below:
Modify the following line in the function app_execmonprog() from:
RC = $?
to:
RC=$?


SOLUTION:
The fix is available in following releases.
VCS 5.0MP3RP1HF1a (for AIX only)
VCS 5.1 (Upcoming release for all Platforms)

Veritas Cluster Server 5.0 MP3 HF1a for AIX patch can be downloaded from Patch Central Web Site (Please see Related Documents section).

Supplemental Materials

SourceETrack
Value1833669
DescriptionCorrect "options" argument behaviour in VCSAG_SU() from vcsag_i18n_in.sh file.


Legacy ID



332702


Article URL http://www.symantec.com/docs/TECH74832


Terms of use for this information are found in Legal Notices