auto fencing / unfencing ?

kprkpr

New Member
Mar 24, 2012
5
0
1
Hi there,

hope u can help me to understand fencing.
Do I have to have 3 nodes in the cluster for votings... so that the majority wins always?

if I want to check availibiliy of eth0 eth1 and the port fails i want to fence this machine by another or does the machine fence by itself?

how can i do this?
do i have to write a script checking availibilty manually or is this managed by the cluster itself?


what does this mean in the cluster.conf?
Code:
<rm>
    <resources>
        <ip address="10.0.0.1" monitor_link="yes" sleeptime="10"/>
    </resources>
</rm>

fencing/unfencing manually works for me.
fence_node node01
fence_node -U node01

regards adam
 
Last edited:
Do I have to have 3 nodes in the cluster for votings... so that the majority wins always?

yes. also see https://fedorahosted.org/cluster/wiki/Quorum

do i have to write a script checking availibilty manually or is this managed by the cluster itself?

That is done by the cluster manager (cman, corosync, rgmanager).

what does this mean in the cluster.conf?
Code:
<rm>
    <resources>
        <ip address="10.0.0.1" monitor_link="yes" sleeptime="10"/>
    </resources>
</rm>

This defines a failover IP address.