Video Screencast Help

offline/online script question

Created: 13 Mar 2014 • Updated: 14 Mar 2014 | 2 comments
mokkan's picture
This issue has been solved. See solution.

Hi,

I was doing custom mnitor script to play around.  It looks like Applicaiton agent doesn't care about the exit code to bring online or offline. If monitor script returns 110, it will bring it online right?

 

If I am wrong correct me.

 

 

Operating Systems:
Discussion Filed Under:

Comments 2 CommentsJump to latest comment

mikebounds's picture

Sort of:

If the online of offline exits with non-zero, then you will get an error message, saying the online/offline failed, but VCS will run the monitor, so then you MAY see a message something like:

resource onlined/offlined outside of VCS control as VCS will think the online/offline failed.

So ideally the online/offline should exit with 0, but if monitor script returns 110, then VCS will recognise as online.

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
mokkan's picture

Thank you very much MIke. As usual no word to thank you,.