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_openvz [2010/03/31 15:50] val |
heartbeat_plus_openvz [2010/04/30 14:37] val |
||
---|---|---|---|
Line 2: | Line 2: | ||
<code> | <code> | ||
root@gateN:~# /etc/init.d/vz stop | root@gateN:~# /etc/init.d/vz stop | ||
+ | |||
+ | root@gateN:~# /etc/init.d/heartbeat stop | ||
root@gateN:~# update-rc.d -f vz remove | root@gateN:~# update-rc.d -f vz remove | ||
Line 17: | Line 19: | ||
;; | ;; | ||
esac | esac | ||
+ | </code><code> | ||
+ | root@gateN:~# chmod +x /etc/ha.d/resource.d/openvzserv | ||
</code><code> | </code><code> | ||
root@gateN:~# cat /etc/ha.d/haresources | root@gateN:~# cat /etc/ha.d/haresources | ||
</code><code> | </code><code> | ||
gate1.corpX.un \ | gate1.corpX.un \ | ||
- | drbddisk Filesystem::/dev/drbd0::/var/lib/vz/private::ext3 \ | + | drbddisk \ |
+ | Filesystem::/dev/drbd0::/opt::ext3 \ | ||
openvzserv | openvzserv | ||
+ | </code><code> | ||
+ | root@gateN:~# /etc/init.d/heartbeat start | ||
</code> | </code> | ||
+ |