proxmox 2.1 HA IBM Bladecenter fencing

rahs

New Member
Aug 9, 2012
11
0
1
I am trying to configure a cluster on the two blades IBM BladeCenter

cluster.conf.new

Code:
<?xml version="1.0"?>
<cluster config_version="5" name="tlc">
  <cman expected_votes="1" keyfile="/var/lib/pve-cluster/corosync.authkey"/>
  <fencedevices>
    <fencedevice agent="fence_bladecenter" ipaddr="172.16.1.1" login="login" name="fence110" passwd="*******"/>
    <fencedevice agent="fence_bladecenter" ipaddr="172.16.1.2" login="login" name="fence210" passwd="*******"/>
  </fencedevices>
  <clusternodes>
    <clusternode name="dc-bs1-10-px" nodeid="1" votes="1">
      <fence>
        <method name="1">
          <device name="fence110" blade="10"/>
        </method>
      </fence>
    </clusternode>
    <clusternode name="dc-bs2-10-px" nodeid="2" votes="1">
      <fence>
        <method name="1">
          <device name="fence210" blade="10"/>
        </method>
      </fence>
    </clusternode>
  </clusternodes>
</cluster>


Code:
ccs_config_validate -v -f cluster.conf.new
Creating temporary file: /tmp/tmp.kCeWjiW2GP
Config interface set to:
Configuration stored in temporary file
Updating relaxng schema
Validating..
tempfile:12: element device: Relax-NG validity error : Invalid attribute blade for element device
Relax-NG validity error : Extra element fence in interleave
tempfile:8: element clusternodes: Relax-NG validity error : Element clusternode failed to validate content
tempfile:9: element clusternode: Relax-NG validity error : Element clusternodes has extra content: clusternode
Configuration fails to validate
Validation completed

how to specify blades in the config file?

proxmox 2.1-13/bdd3663d
 
This is probably too late for you but I figure I'd let you know how to fix the issue for future refrence.

For some unknown reason "blade" is not a valid descriptor for the fence_bladecenter agent, you will have to use "port" instead ex;
Code:
[/COLOR]<clusternode name="prox1" votes="1" nodeid="1">
    <fence>
      <method name="1">
        <device port="5" name="chassis_fence"/>
      </method>
    </fence>
  </clusternode>
 
Last edited: