2016-12-28 209 views
0

我能夠在我的集羣中設置fence_vmware_soap,並且我知道它用於防止數據損壞,因此兩個節點不會同時寫入共享存儲(我的情況下爲lun)。在主動節點能夠接管和寫入共享磁盤之前,圍欄將確保不健康的節點完全關閉。有人請向我解釋fence_vmware_soap是如何工作的?

我會想知道發生了什麼,並在集羣中的一個節點是如何知道其他節點是不健康的不健康節點使用fence_vmware_soap劑會殺死自己之前。

我會很感激的答案非常簡單的方式解釋它,因爲這是我第一次設置NFS集羣(主動/被動)

回答

0

我知道這個線程是有點老了,但是:

第一次嘗試,以達到您的VMware集羣可用:

# fence_vmware_soap -a my_host_ip -l my_user -p my_pw --ssl -z -v -o list 

我不知道如何與起搏器做到這一點,但沒有解決辦法是改變你的cluster.conf如下:

<clusternode name="n1" nodeid="2" votes="1"> 
    <fence> 
    <method name="1"> 
     <device name="vmwarefence" port="rhel5rhcs-node1" 
      uuid="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx"/> 
    </method> 
    </fence> 
</clusternode> 
</clusternodes> 
<cman expected_votes="1" two_node="1"/> 
<fencedevices> 
    <fencedevice agent="fence_vmware_soap" ipaddr="xxx.xxx.xxx.xxx" 
    login="root" name="vmwarefence" passwd="pwd" ssl="1"/> 
</fencedevices> 

可以事後

# clustat 
確認集羣的狀態
相關問題