Re: ccs_tool addnode with multiple fence devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for the heads-up - I figured that out while playing around with the setup.

Aravind.

jparsons@xxxxxxxxxx wrote:
Aravind Parchuri wrote:

We have a couple of nodes with redundant power supplies and two APC 7900 power switches that we need to connect them to. I can do ccs_tool addfence to add both switches to the cluster.conf file, but is there any way to specify both switches for each node, from the command line? Thanks in advance.

Aravind.

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

Not that I know, but make certain that you use the 'option' attribute to make certain both power supplies are off, before they are turned on again. The default behavior is reboot, and it is possible for both supplies to never be off at the same time - hence the machine is never rebooted

In the cluster.conf file, it would look like this:
<clusternode name="node1">
 <fence>
  <method name="1">
   <device name="my_apc" port="1" option="Off"/>
   <device name="my_apc" port="2" option="Off"/>
   <device name="my_apc" port="1" option="On"/>
   <device name="my_apc" port="2" option="On"/>
 </method>
</fence>
</clusternode>

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux