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/08 15:18] val |
heartbeat_plus_gmirror_ggate [2010/04/12 11:30] val |
||
---|---|---|---|
Line 9: | Line 9: | ||
===== Настройка heartbeat ===== | ===== Настройка heartbeat ===== | ||
<code> | <code> | ||
+ | [gateN:~] # /usr/local/etc/rc.d/heartbeat.sh 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 51: | Line 53: | ||
exit 0 | exit 0 | ||
</code><code> | </code><code> | ||
- | [gate1:~] # scp /usr/local/etc/ha.d/resource.d/gmirror intgate2:/usr/local/etc/ha.d/resource.d/gmirror | + | [gateN:~] # chmod +x /usr/local/etc/ha.d/resource.d/gmirror |
+ | </code><code> | ||
+ | [gateN:~] # /usr/local/etc/rc.d/heartbeat.sh start | ||
</code> | </code> | ||
Line 89: | Line 93: | ||
) | ) | ||
</code><code> | </code><code> | ||
- | [gate1:~] # scp /usr/local/etc/scripts/gmirror intgate2:/usr/local/etc/scripts/gmirror | + | [gateN:~] # chmod +x /usr/local/etc/scripts/gmirror |
</code><code> | </code><code> | ||
[gateN:~] # crontab -l | [gateN:~] # crontab -l |