Need help to configure Event Trigger - VCS
Hi All,
We have a requirment to configure Event Trigger (sysoffline, sysjoin).
Cutomer provided a shell script which controls their applcaiton. We need to call this script via sysoffline and sysjoin.
We have added the below line on sysoffline and sysjoing triggers...
=========
# put your code here...
system("/opt/Carmen/CARMUSR/PROD/bin/admin/inspect_cluster_status $ARGV[0] $ARGV[1]");
=========
But I am not sure how to invoke this scripts whenever cluster node down and join again.
The example saying to use " sysjoin <system> <systemstate> ". Not sure where to put the entries.
Could you please help me to fix it.
Please let me know if you need more details.
Thanks.
Divakar SK
Just put triggers in /opt/VRTSvcs/bin/triggers and make sure they are executable (i.e copy triggers from /opt/VRTSvcs/bin/sample_triggers to /opt/VRTSvcs/bin/triggers and then amend as required).
Mike