Good afternoon,
I installed Proxmox 3.0, creating a cluster with two servers dell R520, working with drbd and fencing, which has idrac cards 7.
I used the manuals, which are the site, creating a cluster with 2 nodes, configuration and settings drbd fencing with IPMI agent. I had no problem in the installation and operation of the cluster, all ok.
I have begun to realize the testing, failure of a node, and the virtual machine (KVM), switch to the other node automatic, achieving this goal.
I have checked the reference manual: https://alteeve.ca/w/2-Node_Red_Hat_KVM_Cluster_Tutorial, with regard to the test of fencing.
I managed to get the virtual machine (KVM), switch to automatic to another node, when I cut the power electico to a node, or root disconnect the electrical service, in the log I see the other node, the activation of the fence agent, but it fails, because the node offline, is without electric power, so idrac card, is also without feeding. Fencing there any settings that allows for automatic change to another node, the virtual machine (KVM), with this type of failure.
Below left my cluster.conf settings.
<?xml version="1.0"?>
<cluster config_version="38" name="VM-SHIPCOM">
<fence_daemon clean_start="0" post_fail_delay="60" post_join_delay="30"/>
<cman expected_votes="1" keyfile="/var/lib/pve-cluster/corosync.authkey" two_node="1"/>
<clusternodes>
<clusternode name="proxmox1" nodeid="1" votes="1">
<fence>
<method name="1">
<device action="reboot" name="fence_shipcom1"/>
</method>
</fence>
</clusternode>
<clusternode name="proxmox2" nodeid="2" votes="1">
<fence>
<method name="1">
<device action="reboot" name="fence_shipcom2"/>
</method>
</fence>
</clusternode>
</clusternodes>
<fencedevices>
<fencedevice agent="fence_ipmilan" ipaddr="idrac1" lanplus="1" login="root" name="fence_shipcom1" passwd="XXXX" power_wait="5"/>
<fencedevice agent="fence_ipmilan" ipaddr="idrac2" lanplus="1" login="root" name="fence_shipcom2" passwd="XXXX" power_wait="5"/>
</fencedevices>
<rm>
<pvevm autostart="1" vmid="100"/>
<failoverdomains>
<failoverdomain name="failovercluster" nofailback="1" ordered="1" restricted="1">
<failoverdomainnode name="proxmox1" priority="1"/>
<failoverdomainnode name="proxmox2" priority="1"/>
</failoverdomain>
</failoverdomains>
</rm>
</cluster>
I installed Proxmox 3.0, creating a cluster with two servers dell R520, working with drbd and fencing, which has idrac cards 7.
I used the manuals, which are the site, creating a cluster with 2 nodes, configuration and settings drbd fencing with IPMI agent. I had no problem in the installation and operation of the cluster, all ok.
I have begun to realize the testing, failure of a node, and the virtual machine (KVM), switch to the other node automatic, achieving this goal.
I have checked the reference manual: https://alteeve.ca/w/2-Node_Red_Hat_KVM_Cluster_Tutorial, with regard to the test of fencing.
I managed to get the virtual machine (KVM), switch to automatic to another node, when I cut the power electico to a node, or root disconnect the electrical service, in the log I see the other node, the activation of the fence agent, but it fails, because the node offline, is without electric power, so idrac card, is also without feeding. Fencing there any settings that allows for automatic change to another node, the virtual machine (KVM), with this type of failure.
Below left my cluster.conf settings.
<?xml version="1.0"?>
<cluster config_version="38" name="VM-SHIPCOM">
<fence_daemon clean_start="0" post_fail_delay="60" post_join_delay="30"/>
<cman expected_votes="1" keyfile="/var/lib/pve-cluster/corosync.authkey" two_node="1"/>
<clusternodes>
<clusternode name="proxmox1" nodeid="1" votes="1">
<fence>
<method name="1">
<device action="reboot" name="fence_shipcom1"/>
</method>
</fence>
</clusternode>
<clusternode name="proxmox2" nodeid="2" votes="1">
<fence>
<method name="1">
<device action="reboot" name="fence_shipcom2"/>
</method>
</fence>
</clusternode>
</clusternodes>
<fencedevices>
<fencedevice agent="fence_ipmilan" ipaddr="idrac1" lanplus="1" login="root" name="fence_shipcom1" passwd="XXXX" power_wait="5"/>
<fencedevice agent="fence_ipmilan" ipaddr="idrac2" lanplus="1" login="root" name="fence_shipcom2" passwd="XXXX" power_wait="5"/>
</fencedevices>
<rm>
<pvevm autostart="1" vmid="100"/>
<failoverdomains>
<failoverdomain name="failovercluster" nofailback="1" ordered="1" restricted="1">
<failoverdomainnode name="proxmox1" priority="1"/>
<failoverdomainnode name="proxmox2" priority="1"/>
</failoverdomain>
</failoverdomains>
</rm>
</cluster>