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

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

 



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@xxxxxxxx> wrote:

> 
> All,
> 
> 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=status
> 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@xxxxxxxxxxxxxxxxxxxx              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)
> 
> apc>
> 
> 
> 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 192.168.1.216.
> 02/21/2014	13:12:40	System: Console user 'apc' logged in from 192.168.1.216.
> 
> A manual 'telnet [name] 22' command also works fine from the command line:
> # telnet hac-pdu1 22
> Trying 192.168.1.222...
> Connected to hac-1-pdu1 (192.168.1.222).
> Escape character is '^]'.
> SSH-2.0-cryptlib
> 
> 
> 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=status
> /usr/bin/snmpwalk -m '' -Oeqn  -v '1' -c 'public' 'hac-pdu1:161' '.1.3.6.1.2.1.1.2.0'
> No log handling enabled - turning on stderr logging
> Created directory: /var/lib/net-snmp/mib_indexes
> .1.3.6.1.2.1.1.2.0 .1.3.6.1.4.1.318.1.3.4.6
> 
> Trying APC Master Switch (fallback)
> /usr/bin/snmpget -m '' -Oeqn  -v '1' -c 'public' 'hac-pdu1:161' '.1.3.6.1.4.1.318.1.1.4.4.2.1.3.1'
> .1.3.6.1.4.1.318.1.1.4.4.2.1.3.1 1
> 
> Status: ON
> 
> 
> Does anyone have any ideas as to why fence_apc is not working?
> 
> 
> Thanks!
> Tony
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 
> _______________________________________________
> Linux-HA mailing list
> Linux-HA@xxxxxxxxxxxxxxxxxx
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

-- 
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