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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!