Starting from VCS (Veritas Cluster Server) 6.0, each service group can have its own group specific trigger location. A service group level attribute, TriggerPath is introduced for this purpose.
The TriggerPath attribute is mainly used by the CNFS (Clustered Network File Sharing) configuration. When an IP address is added through the command cfsshare addvip, a new service group will be created with a configuration similar to the following.
group vip3 (
SystemList = { server101 = 0, server102 = 1 }
AutoStartList = { server101, server102 }
TriggerPath = "bin/cavftriggers/vip"
TriggersEnabled = { PREONLINE, POSTONLINE, POSTOFFLINE }
PreOnline = 1
)
# ls -l /opt/VRTSvcs/bin/cavftriggers/vip
drwxr-xr-x. 2 root sys 26 Nov 13 2015 postoffline
drwxr-xr-x. 2 root sys 25 Nov 13 2015 postonline
drwxr-xr-x. 2 root sys 24 Nov 13 2015 preonline
# ls -l /opt/VRTSvcs/bin/cavftriggers/vip/*
/opt/VRTSvcs/bin/cavftriggers/vip/postoffline:
lrwxrwxrwx. 1 root root 53 Nov 13 2015 T0postoffline -> /opt/VRTSvcs/bin/sample_triggers/VRTScavf/postoffline
/opt/VRTSvcs/bin/cavftriggers/vip/postonline:
lrwxrwxrwx. 1 root root 52 Nov 13 2015 T0postonline -> /opt/VRTSvcs/bin/sample_triggers/VRTScavf/postonline
/opt/VRTSvcs/bin/cavftriggers/vip/preonline:
lrwxrwxrwx. 1 root root 51 Nov 13 2015 T0preonline -> /opt/VRTSvcs/bin/sample_triggers/VRTScavf/preonline
The above triggers are no longer required to merge with the triggers in the default trigger directory /opt/VRTSvcs/bin/triggers.