This is an old revision of the document!
[gateN:~] # /usr/local/etc/rc.d/heartbeat stop [gateN:~] # cat /etc/rc.conf
... jail_enable="NO" ...
[gate1:~] # # /etc/rc.d/jail forcestop mail
[gateN:~] # cat /usr/local/etc/ha.d/resource.d/jailserv
#!/bin/sh
case $1 in
start)
/etc/rc.d/jail forcestart mail
;;
stop)
/etc/rc.d/jail forcestop mail
;;
esac
exit 0
[gateN:~] # chmod +x /usr/local/etc/ha.d/resource.d/jailserv
[gateN:~] # cat /usr/local/etc/ha.d/haresources
gate1.corpX.un gmirror jailserv
[gateN:~] # /usr/local/etc/rc.d/heartbeat start