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:23] val |
heartbeat_plus_jail [2010/11/03 13:07] val |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== HEARTBEAT plus Jail ====== | ====== HEARTBEAT plus Jail ====== | ||
<code> | <code> | ||
+ | [gateN:~] # /usr/local/etc/rc.d/heartbeat stop | ||
+ | |||
[gateN:~] # cat /etc/rc.conf | [gateN:~] # cat /etc/rc.conf | ||
</code><code> | </code><code> | ||
Line 7: | 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 17: | Line 15: | ||
case $1 in | case $1 in | ||
start) | start) | ||
+ | sleep 10 # for HAST init | ||
/etc/rc.d/jail forcestart mail | /etc/rc.d/jail forcestart mail | ||
;; | ;; | ||
Line 30: | 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> | ||
+ | [gateN:~] # /usr/local/etc/rc.d/heartbeat start | ||
</code> | </code> | ||