[nodeN:~] # service heartbeat stop
[nodeN:~] # cat /etc/rc.conf
...
jail_enable="NO"
...
[nodeN:~] # cat /usr/local/etc/ha.d/resource.d/jailserv
#!/bin/sh
case $1 in
start)
sleep 10 # for HAST init
service jail onestart mail
;;
stop)
service jail onestop mail
;;
esac
exit 0
[nodeN:~] # chmod +x /usr/local/etc/ha.d/resource.d/jailserv
[nodeN:~] # cat /usr/local/etc/ha.d/haresources
node1.corpX.un hast jailserv
[nodeN:~] # service heartbeat start