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

Re: [Linux-cluster] [Linux-HA] Problems with fence_apc agent and accessing APC AP8965


This is a problem of firmware support, APC have completely changed text-based interface (and it is better than before). This should be solved in release fence-agents-3.1.5-35.el6 (RHEL 6.5). If that (or upstream 4.x version) is not working please create a bugzilla report.


On 02/24/2014 02:57 AM, Andrew Beekhof wrote:
Forwarding to linux-cluster which has more people knowledgeable on this set of fencing agents.

On 22 Feb 2014, at 12:38 am, Tony Stocker <Tony Stocker nasa gov> wrote:


I have a bigger issue regarding dual power supplies and fence_apc that I'm going to eventually need to resolve.  But at this point I'm simply having basic issues getting the fence_apc agent to be able to access the devices in general, to wit:

# fence_apc --ssh --ip=hac-pdu1 --plug=1 --username=blah --password=blah --verbose --action=""
Unable to connect/login to fencing device

However I can manually SSH into the device just fine:

# ssh  blah hac-pdu1
blah hac-pdu1's password:

American Power Conversion               Network Management Card AOS v5.1.9
(c) Copyright 2010 All Rights Reserved  RPDU 2g v5.1.6
Name      : hac-pdu1                                  Date : 02/21/2014
Contact   : systems mail myserver123 com              Time : 13:12:02
Location  : C101, HAC Rack 1                          User : Administrator
Up Time   : 223 Days 17 Hours 0 Minutes               Stat : P+ N4+ N6+ A+

Type ? for command listing
Use tcpip command for IP address(-i), subnet(-s), and gateway(-g)


So perhaps the place to start first is simply getting the fence_apc agent (provided by CentOS/RHEL package fence-agents-3.1.5-35.el6_5.3.x86_64) to actually be able to work correctly.  Once that's done, I'll still need help on the dual power supply issue.

I'm not seeing any attempts to login in the APC's logs file, though I do see connections when I manually login, e.g.:
02/21/2014	13:13:11	System: Console user 'apc' logged out from
02/21/2014	13:12:40	System: Console user 'apc' logged in from

A manual 'telnet [name] 22' command also works fine from the command line:
# telnet hac-pdu1 22
Connected to hac-1-pdu1 (
Escape character is '^]'.

However fence_apc_snmp **does** seem to work:

# fence_apc_snmp --snmp-version=1 --community=public --ip=hac-pdu1 --plug=1 --username=blah --password=blah --verbose --action=""
/usr/bin/snmpwalk -m '' -Oeqn  -v '1' -c 'public' 'hac-pdu1:161' '.'
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
. .

Trying APC Master Switch (fallback)
/usr/bin/snmpget -m '' -Oeqn  -v '1' -c 'public' 'hac-pdu1:161' '.'
. 1

Status: ON

Does anyone have any ideas as to why fence_apc is not working?


This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

Linux-HA mailing list
Linux-HA lists linux-ha org
See also: http://linux-ha.org/ReportingProblems


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