I am trying to work on a ZMIRROR that will execute a shell script to failover our VIP at the hardware level when NotifyBecomePrimary occurs.
ZMIRROR ; Custom logic for specific mirroring events
q
;
NotifyBecomePrimary() PUBLIC {
#;This procedure is called as a notification when this system becomes Primary.
#;It does not return any value.
#; invoke the command to select this host for running the crontab
try {
Set cmd = "/usr/local/sbin/failover-intengtest-vip_SR"
d $ZF(-100,"/SHELL /LOGCMD /STDOUT=/archive/logs/failover-intengtest-vip.
.jpg)
.png)
.png)
.png)
.png)
.png)
.png)