歡迎您光臨本站 註冊首頁

heartbeat中什麼叫R1/R2-style?

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

heartbeat中什麼叫R1/R2-style?

For R1-style resources Use the ipfail plug-inShould one node detect a failure in one of these ping nodes, it will contact the other node in order to determine whether it or the ping node has the problem. If the cluster node has the problem, it will try to failover its resources (if it has any).

To use ipfail you will need to add the following to your /etc/ha.d/ha.cf files:

respawn hacluster /usr/lib/heartbeat/ipfail
ping <IPaddr1> <IPaddr2> ... <IPaddrN>
IPaddr1..N are your ping nodes. NOTE: ipfail requires the auto_failback option to be set to on or off (not legacy).

See the ipfail page for more information on ipfail. Note: ipfail only works for R1-style resources.

For R2-style resources Use the pingd plug-inFor R2-style resources, use the pingd daemon instead of ipfail. The ping nodes are configured in the same way, but pingd provides much more flexibility in terms of what should fail over under what conditions. Note: pingd only works for R2-style resources.


此處的R1和R2是什麼意思?
《解決方案》

我大概知道了,R1是heartbeat release 1(ver1)的意思。
hearbeat的官方文擋寫得有點亂,而且似乎有日本人的參與。

[火星人 ] heartbeat中什麼叫R1/R2-style?已經有99次圍觀

http://coctec.com/docs/service/show-post-7875.html