Cannot activate Fencing on SuperMicro devices using IPMI

rugby

Member
Oct 24, 2009
138
0
16
I followed the wiki article and modified the IPMI config file with the information for all 4 of our servers (SuperMicro Twin2 box with 4 servers inside 2U) and the verification worked for my config here:

ccs_config_validate -v -f /etc/pve/cluster.conf.new
Creating temporary file: /tmp/tmp.vd1YaXG6r8
Config interface set to:
Configuration stored in temporary file
Updating relaxng schema
Validating..
Configuration validates
Validation completed

However, when I go to activate it in the Webadmin I get this error:

config validation failed: /usr/sbin/ccs_config_validate: line 186: 69866 Segmentation fault ccs_config_dump > $tempfile (500)

Here is my IPMI config file with the addresses, usernames, and passwords removed for IPMI:

<?xml version="1.0"?>
<cluster name="Clusterfish" config_version="7">
<cman keyfile="/var/lib/pve-cluster/corosync.authkey">
</cman>
<fencedevices>
<fencedevice agent="fence_ipmilan" name="ipmi1" lanplus="1" ipaddr="X.X.X.X" login="XXXX" passwd="XXXX" power_wait="5"/>
<fencedevice agent="fence_ipmilan" name="ipmi2" lanplus="1" ipaddr="X.X.X.X" login="XXXX" passwd="XXXX" power_wait="5"/>
<fencedevice agent="fence_ipmilan" name="ipmi3" lanplus="1" ipaddr="X.X.X.X" login="XXXX" passwd="XXXX" power_wait="5"/>
<fencedevice agent="fence_ipmilan" name="ipmi4" lanplus="1" ipaddr="X.X.X.X" login="XXXX" passwd="XXXX" power_wait="5"/>
</fencedevices>
<clusternodes>
<clusternode name="host1" votes="1" nodeid="1">
<fence>
<method name="1">
<device name="ipmi1"/>
</method>
</fence>
</clusternode>
<clusternode name="host2" votes="1" nodeid="2">
<fence>
<method name="1">
<device name="ipmi2"/>
</method>
</fence>
</clusternode>
<clusternode name="host3" votes="1" nodeid="3">
<fence>
<method name="1">
<device name="ipmi3"/>
</method>
</fence>
</clusternode>
<clusternode name="host4" votes="1" nodeid="4">
<fence>
<method name="1">
<device name="ipmi4"/>
</method>
</fence>
</clusternode>
</clusternodes>
<rm>
<service autostart="1" exclusive="0" name="ha_test_ip" recovery="relocate">
<ip address="X.X.X.X"/>
</service>
</rm>
</cluster>

Ideas?
 
root@proxmox01:~# ccs_config_dump
<?xml version="1.0"?>
<cluster name="Clusterfish" config_version="4">
<cman keyfile="/var/lib/pve-cluster/corosync.authkey" nodename="proxmox01" cluster_id="51554"/>
<clusternodes>
<clusternode name="proxmox01" votes="1" nodeid="1"/>
<clusternode name="proxmox02" votes="1" nodeid="2"/>
<clusternode name="proxmox03" votes="1" nodeid="3"/>
<clusternode name="proxmox04" votes="1" nodeid="4"/>
</clusternodes>
</cluster>
 
please no such useless "bump - postings". this will lead to a forum ban.
 
Sorry Tom, I answered the question and thought with the weekend my request wouldn't be seen.
 
Sorry Tom, I answered the question and thought with the weekend my request wouldn't be seen.

I have seen the post, but I have no idea about the problem, sorry. Does 'ccs_config_dump' successfully run on any node?
 
I have seen the post, but I have no idea about the problem, sorry. Does 'ccs_config_dump' successfully run on any node?

Yep, runs perfectly.

root@proxmox04:~# ccs_config_dump
<?xml version="1.0"?>
<cluster name="Clusterfish" config_version="4">
<cman keyfile="/var/lib/pve-cluster/corosync.authkey" nodename="proxmox04" cluster_id="51554"/>
<clusternodes>
<clusternode name="proxmox01" votes="1" nodeid="1"/>
<clusternode name="proxmox02" votes="1" nodeid="2"/>
<clusternode name="proxmox03" votes="1" nodeid="3"/>
<clusternode name="proxmox04" votes="1" nodeid="4"/>
</clusternodes>
</cluster>