This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
heartbeat_plus_jail [2010/04/12 11:29] val |
heartbeat_plus_jail [2011/07/29 10:05] val |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== HEARTBEAT plus Jail ====== | ====== HEARTBEAT plus Jail ====== | ||
<code> | <code> | ||
- | [gateN:~] # /usr/local/etc/rc.d/heartbeat.sh stop | + | [gateN:~] # /usr/local/etc/rc.d/heartbeat stop |
[gateN:~] # cat /etc/rc.conf | [gateN:~] # cat /etc/rc.conf | ||
Line 9: | Line 9: | ||
... | ... | ||
</code><code> | </code><code> | ||
- | [gate1:~] # # /etc/rc.d/jail forcestop mail | ||
- | </code> | ||
- | |||
- | <code> | ||
[gateN:~] # cat /usr/local/etc/ha.d/resource.d/jailserv | [gateN:~] # cat /usr/local/etc/ha.d/resource.d/jailserv | ||
</code><code> | </code><code> | ||
Line 19: | Line 15: | ||
case $1 in | case $1 in | ||
start) | start) | ||
- | /etc/rc.d/jail forcestart mail | + | sleep 10 # for HAST init |
+ | /etc/rc.d/jail onestart mail | ||
;; | ;; | ||
stop) | stop) | ||
- | /etc/rc.d/jail forcestop mail | + | /etc/rc.d/jail onestop mail |
;; | ;; | ||
esac | esac | ||
Line 32: | Line 29: | ||
[gateN:~] # cat /usr/local/etc/ha.d/haresources | [gateN:~] # cat /usr/local/etc/ha.d/haresources | ||
</code><code> | </code><code> | ||
- | gate1.corpX.un gmirror jailserv | + | gate1.corpX.un hast jailserv |
</code><code> | </code><code> | ||
- | [gateN:~] # /usr/local/etc/rc.d/heartbeat.sh start | + | [gateN:~] # /usr/local/etc/rc.d/heartbeat start |
</code> | </code> | ||