This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
heartbeat_plus_gmirror_ggate [2010/04/20 10:53] val |
heartbeat_plus_gmirror_ggate [2013/05/22 13:50] (current) |
||
|---|---|---|---|
| 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 stop | ||
| - | |||
| [gateN:~] # cat /usr/local/etc/ha.d/haresources | [gateN:~] # cat /usr/local/etc/ha.d/haresources | ||
| gate2.corpX.un gmirror | gate2.corpX.un gmirror | ||
| Line 60: | Line 60: | ||
| ===== Автоматизация подключения диска 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> | ||