User Tools

Site Tools


heartbeat_plus_jail

This is an old revision of the document!


HEARTBEAT plus Jail

[gateN:~] # cat /usr/local/etc/ha.d/haresources
gate1.corpX.un gmirror jailserv
[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
heartbeat_plus_jail.1270785208.txt.gz · Last modified: 2013/05/22 13:50 (external edit)