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/20 10:54] val |
||
---|---|---|---|
Line 9: | Line 9: | ||
===== Настройка 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 55: | ||
[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> |