Action after SG online

eu22106's picture

Hi all,
I try to create a rule that starts after a SG comes online.
In Cluster Server Management Console I created a Notification Policy and a perl script. (Create a file, nothing difficult)
When a SG comes online the test.pl script does not run.
What am I doing wrong?

All help appreciated.
See also the attachment

Ivo
 

Wally_Heim's picture

Hi Ivo, You need to configure

Hi Ivo,

You need to configure the "postonline" trigger for you cluster.  You do this by naming your perl script to be "postonline.pl" and putting it in the triggers folder (in windows it is at %VCS_HOME%\bin\triggers.)  The script will need to be copied to the same location on all servers.

Thanks,
Wally

Gaurav Sangamnerkar's picture

Thats right... if its a unix

Thats right... if its a unix environment, trigger should be in /opt/VRTSvcs/bin/triggers

gaurav

avsrini's picture

Sample triggers can be found

Sample triggers can be found in /opt/VRTSvcs/bin/sample_triggers directory,
which has all the initial coding, just need to add custom scripts.

Regards
Srini