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_gmirror_ggate [2010/04/12 11:30] val |
heartbeat_plus_gmirror_ggate [2010/04/30 09:59] val |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== HEARTBEAT plus GMIRROR GGATE ====== | ====== HEARTBEAT plus GMIRROR GGATE ====== | ||
- | ===== Автозапуск ggated ===== | + | ===== Запуск и автозапуск ggated ===== |
<code> | <code> | ||
+ | [gateN:~] # ggated | ||
+ | |||
[gateN:~] # cat /etc/rc.local | [gateN:~] # cat /etc/rc.local | ||
ggated | ggated | ||
Line 9: | Line 11: | ||
===== Настройка heartbeat ===== | ===== Настройка heartbeat ===== | ||
<code> | <code> | ||
- | [gateN:~] # /usr/local/etc/rc.d/heartbeat.sh stop | + | [gateN:~] # /usr/local/etc/rc.d/heartbeat stop |
[gateN:~] # cat /usr/local/etc/ha.d/haresources | [gateN:~] # cat /usr/local/etc/ha.d/haresources | ||
Line 55: | Line 57: | ||
[gateN:~] # chmod +x /usr/local/etc/ha.d/resource.d/gmirror | [gateN:~] # chmod +x /usr/local/etc/ha.d/resource.d/gmirror | ||
</code><code> | </code><code> | ||
- | [gateN:~] # /usr/local/etc/rc.d/heartbeat.sh start | + | [gateN:~] # /usr/local/etc/rc.d/heartbeat start |
</code> | </code> | ||
===== Автоматизация подключения диска backup ===== | ===== Автоматизация подключения диска backup ===== | ||
<code> | <code> | ||
+ | [gateN:~] # mkdir /usr/local/etc/scripts/ | ||
+ | |||
[gateN:~] # cat /usr/local/etc/scripts/gmirror | [gateN:~] # cat /usr/local/etc/scripts/gmirror | ||
</code><code> | </code><code> |