I forgot....I'm using Centos 5 with latest patches and kernel.

Randy Brown wrote:
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>
--
Linux-cluster mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-cluster
begin:vcard
fn:Randy Brown
n:Brown;Randy
org:National Weather Service;Office of hydrologic Development
adr:;;1325 East West Highway;Silver Spring;MD;20910;USA
email;internet:[EMAIL PROTECTED]
title:Senior Systems Administrator
tel;work:301-713-1669 x110
url:http://www.nws.noaa.gov/ohd/
version:2.1
end:vcard

--
Linux-cluster mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-cluster

Reply via email to