For some reason, the last time I tried to post this, it didn't work (if it did, I apologize for the repeat), so I'm posting it again...<br><br><br><br>I have 8 Dell servers all loaded with Redhat 5.3. The machines have an
external and internal IP address. The cluster is configured on the
internal ip address.<br><br>The cluster appears to be working fine except for fencing. I try to manually fence a node, but get a connection error<br>
[root@w002 ~]# fence_node <a href="http://lb001.domain.com/" target="_blank">lb001.domain.com</a><br>agent "fence_drac5" reports: Unable to connect/login to fencing device<br><br>I
was able to get the fence_drac5 command to work directly by adding the
"-x" option for using SSH. It says the connection times out, but it
does shut down the other machine<br>
[root@w002 ~]# fence_drac5 -a 165.289.178.221 -l root -p pass -x <a href="http://lb001.domain.com/" target="_blank">lb001.domain.com</a><br>Connection timed out<br><br>Why
does the connection time out? And how do I add the "-x" option to the
cluster.conf file so that the fencing agent can connect?<br>
<br>Here are my /etc/hosts and /etc/cluster/cluster.conf files.<br><br>##############################<div id=":322" class="ii gt">################/etc/hosts<br>127.0.0.1 localhost.localdomain localhost<br>::1 localhost6.localdomain6 localhost6<br>
<br>#eth0 -- p=public interface<br>165.289.178.111 w001p <a href="http://w001p.domain.com/" target="_blank">w001p.domain.com</a><br>165.289.178.112 w002p <a href="http://w002p.domain.com/" target="_blank">w002p.domain.com</a><br>
165.289.178.113 w003p <a href="http://w003p.domain.com/" target="_blank">w003p.domain.com</a><br>
165.289.178.121 lb001p <a href="http://lb001p.domain.com/" target="_blank">lb001p.domain.com</a><br>165.289.178.122 lb002p <a href="http://lb002p.domain.com/" target="_blank">lb002p.domain.com</a><br>165.289.178.124 db001p <a href="http://db001p.domain.com/" target="_blank">db001p.domain.com</a><br>
165.289.178.125 db002p <a href="http://db002p.domain.com/" target="_blank">db002p.domain.com</a><br>165.289.178.126 dev001p <a href="http://dev001p.domain.com/" target="_blank">dev001p.domain.com</a><br>165.289.178.211 w001-drac<br>
165.289.178.212 w002-drac<br>
165.289.178.213 w003-drac<br>165.289.178.221 lb001-drac<br>165.289.178.222 lb002-drac<br>165.289.178.224 db001-drac<br>165.289.178.225 db002-drac<br>165.289.178.226 dev001-drac<br><br>#eth1 -- this is the cluster<br>
192.168.178.111 w001 <a href="http://w001.domain.com/" target="_blank">w001.domain.com</a><br>192.168.178.112 w002 <a href="http://w002.domain.com/" target="_blank">w002.domain.com</a><br>192.168.178.113 w003 <a href="http://w003.domain.com/" target="_blank">w003.domain.com</a><br>
192.168.178.121 lb001 <a href="http://lb001.domain.com/" target="_blank">lb001.domain.com</a><br>192.168.178.122 lb002 <a href="http://lb002.domain.com/" target="_blank">lb002.domain.com</a><br>192.168.178.124 db001 <a href="http://db001.domain.com/" target="_blank">db001.domain.com</a><br>
192.168.178.125 db002 <a href="http://db002.domain.com/" target="_blank">db002.domain.com</a><br>192.168.178.126 dev001 <a href="http://dev001.domain.com/" target="_blank">dev001.domain.com</a><br>#########################################################<br>
<br><br><br>##################################/etc/cluster/cluster.conf<br><?xml version="1.0"?><br><cluster alias="cluster1" config_version="1" name="cluster1"><br> <fence_daemon post_fail_delay="0" post_join_delay="3"/><br>
<clusternodes><br> <clusternode name="<a href="http://dev001.domain.com/" target="_blank">dev001.domain.com</a>" nodeid="1" votes="1"><br> <fence><method name="1"> <device name="dev001-drac"/> </method></fence><br>
</clusternode><br> <clusternode name="<a href="http://w001.domain.com/" target="_blank">w001.domain.com</a>" nodeid="2" votes="1"><br> <fence><method name="1"> <device name="w001-drac"/> </method></fence><br>
</clusternode><br> <clusternode name="<a href="http://w002.domain.com/" target="_blank">w002.domain.com</a>" nodeid="3" votes="1"><br> <fence><method name="1"> <device name="w002-drac"/> </method></fence><br>
</clusternode><br> <clusternode name="<a href="http://w003.domain.com/" target="_blank">w003.domain.com</a>" nodeid="4" votes="1"><br> <fence><method name="1"> <device name="w003-drac"/> </method></fence><br>
</clusternode><br> <clusternode name="<a href="http://lb001.domain.com/" target="_blank">lb001.domain.com</a>" nodeid="5" votes="1"><br> <fence><method name="1"> <device name="lb001-drac"/> </method></fence><br>
</clusternode><br> <clusternode name="<a href="http://lb002.domain.com/" target="_blank">lb002.domain.com</a>" nodeid="6" votes="1"><br> <fence><method name="1"> <device name="lb002-drac"/> </method></fence><br>
</clusternode><br> <clusternode name="<a href="http://db001.domain.com/" target="_blank">db001.domain.com</a>" nodeid="7" votes="1"><br> <fence><method name="1"> <device name="db001-drac"/> </method></fence><br>
</clusternode><br> <clusternode name="<a href="http://db002.domain.com/" target="_blank">db002.domain.com</a>" nodeid="8" votes="1"><br> <fence><method name="1"> <device name="db002-drac"/> </method></fence><br>
</clusternode><br> </clusternodes><br> <cman/><br> <fencedevices><br> <fencedevice agent="fence_drac5" ipaddr="165.289.178.211" login="root" name="w001-drac" passwd="pass"/><br>
<fencedevice agent="fence_drac5" ipaddr="165.289.178.212" login="root" name="w002-drac" passwd="pass"/><br> <fencedevice agent="fence_drac5" ipaddr="165.289.178.213" login="root" name="w003-drac" passwd="pass/><br>
<fencedevice agent="fence_drac5" ipaddr="165.289.178.221" login="root" name="lb001-drac" passwd="pass"/><br> <fencedevice agent="fence_drac5" ipaddr="165.289.178.222" login="root" name="lb002-drac" passwd="pass"/><br>
<fencedevice agent="fence_drac5" ipaddr="165.289.178.224" login="root" name="db001-drac" passwd="pass/><br> <fencedevice agent="fence_drac5" ipaddr="165.289.178.225" login="root" name="db002-drac" passwd="pass"/><br>
<fencedevice agent="fence_drac5" ipaddr="165.289.178.226" login="root" name="dev001-drac" passwd="pass"/><br> </fencedevices><br> <rm/><br>
</cluster><br>########################################################</div><br>