[Linux-cluster] Error messages during Fence operation

Randy Brown randy.brown at noaa.gov
Mon Dec 31 18:33:55 UTC 2007


I am using an APC Masterswitch Plus as my fencing device.  I am seeing 
this in my logs now when fencing occurs:

Dec 31 11:36:26 nfs1-cluster fenced[3848]: agent "fence_apc" reports: 
Traceback (most recent call last):   File "/sbin/fence_apc", line 829, 
in ?     main()   File "/sbin/fence_apc", line 289, in main     
do_login(sock)   File "/sbin/fence_apc", line 444, in do_login     i, 
mo, txt = sock.expect(regex_list, TELNET_TIMEOUT)
Dec 31 11:36:26 nfs1-cluster fenced[3848]: agent "fence_apc" reports:   
File "/usr/lib/python2.4/telnetlib.py", line 620, in expect     text = 
self.read_very_lazy()   File "/usr/lib/python2.4/telnetlib.py", line 
400, in read_very_lazy     raise EOFError, 'telnet connection closed' 
EOFError: telnet connection closed
Dec 31 11:36:26 nfs1-cluster fenced[3848]: fence 
"nfs2-cluster.nws.noaa.gov" failed

This used to work just fine.  If I run `fence_apc -a 192.168.42.30 -l 
cluster -n 1:7 -o Reboot -p <my password>` from the command line, 
fencing works as expected.  The relevant lines from my cluster.conf file 
are below.  I will gladly provide more information as necessary.

Information from the APC Masterswitch Plus:
*Model Number:*  AP9617  *
Serial Number:*  NA0724033746  *
Hardware Revision:*  A10  *
Manufacture Date:*  06/17/2007  *
MAC Address:*  00 C0 B7 31 7E 76    *
Application module information*    *
Name:*  msp  *
Version:*  v2.6.2  *
Date:*  12/03/2004  *
Time:*  16:23:16    *
APC OS(AOS) information*    *
Name:*  aos  *
Version:*  v2.6.4  *
Date:*  11/12/2004  *
Time:*  19:40:33

Thanks,
Randy

<clusternode name="nfs1-cluster.nws.noaa.gov" nodeid="1" votes="1">
                        <fence>
                                <method name="1">
                                        <device name="nfspower" port="8" 
switch="1"/>
                                </method>
                        </fence>
                </clusternode>
                <clusternode name="nfs2-cluster.nws.noaa.gov" nodeid="2" 
votes="1">
                        <fence>
                                <method name="1">
                                        <device name="nfspower" port="7" 
switch="1"/>
                                </method>
                        </fence>

<fencedevices>
                <fencedevice agent="fence_apc" ipaddr="192.168.42.30" 
login="cluster" name="nfspower" passwd="<mypassword>"/>
        </fencedevices>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20071231/6f3d598c/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: randy_brown.vcf
Type: text/x-vcard
Size: 313 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20071231/6f3d598c/attachment.vcf>


More information about the Linux-cluster mailing list