rackpdu and multiple power supplies

RobFantini

Famous Member
May 24, 2012
2,084
117
133
Boston,Mass
Hello

We use this in cluster.conf:
Code:
  <fencedevices>
    <fencedevice agent="fence_apc" ipaddr="10.200.100.11" login="admin" name="apc11" passwd="xxxxxxx"/>
    <fencedevice agent="fence_apc" ipaddr="10.200.100.78" login="admin" name="apc78" passwd="ssssi"/>
    <fencedevice agent="fence_apc" ipaddr="10.200.100.88" login="admin" name="apc88" passwd="zzzzzz"/>
  </fencedevices>

  <clusternodes>
    <clusternode name="fnode241" nodeid="1" votes="1">
      <fence>
        <method name="power">
          <device name="apc11" port="4" secure="on"/>
          <device name="apc11" port="5" secure="on"/>
          <device name="apc78" port="4" secure="on"/>
        </method>
      </fence>
    </clusternode>
    <clusternode name="node243" nodeid="2" votes="1">
      <fence>
        <method name="power">
          <device name="apc11" port="2" secure="on"/>
          <device name="apc78" port="2" secure="on"/>
          <device name="apc78" port="3" secure="on"/>
        </method>
      </fence>
    </clusternode>
  </clusternodes>

However when fencing tries to shutdown a node the rackpdu outlets are power cycled one at a time, instead of turning all of them off then powering all on.

Is that a possible bug or does the fence configuration above need to be changed?