Video Screencast Help
Give us your opinion and win with Symantec! Please help us by taking this survey to tell us about your experience with Symantec Connect, so that we can continue to grow and improve.  Take the survey.

Want to run one command after service group came online.

Created: 19 Jun 2014 • Updated: 25 Jun 2014 | 2 comments
This issue has been solved. See solution.

I have copied postonline script from /opt/VRTSvcs/bin/trigger/ directory and added the commands in the section (put your code). hatrigger is initaited by vcs but it is failed to execute the script.

hatrigger:Failed to execute /opt/VRTSvcs/bin/triggers/postonline w1es6008 mdmsg

Please guid me.

Operating Systems:

Comments 2 CommentsJump to latest comment

mikebounds's picture

Run postonline from the command line to see if you get an error message - you need to pass arguments as specified in trigger script which are system and service group which I guess is "w1es6008 mdmsg" in your case so just run "/opt/VRTSvcs/bin/triggers/postonline w1es6008 mdmsg"

If you don't get any errors, then add lines of code at intervals to print out a messgae to the screen so you can work out where your code is going wrong.

Mike

UK Symantec Consultant in VCS, GCO, SF, VVR, VxAT on Solaris, AIX, HP-ux, Linux & Windows

If this post has answered your question then please click on "Mark as solution" link below

SOLUTION
Velmathan's picture

Hi Mike,

Thanks, I have mistakently un commented the line in postonline script.. Now I can able to execute it...

Vel