Hi, I have a APC AP9606 PDU and I am trying to find a stonith agent which works with that PDU. The apcmaster and apcmastersnmp don't work as you see below. I managed to get the rackpdu working by setting the outlet config (the oid for snmpwalk fails) and setting also the command OID. Here is a long command
stonith -t external/rackpdu hostlist=node-01,node-02,node-03 pduip=192.168.100.100 oid=.1.3.6.1.4.1.318.1.1.4.4.2.1.3 community=private outlet_config=/tmp/outlet_config -T on node-01 Does anyone know any other PDU which works out of box with the supplied stonith agents? Regards, Pavlos [r...@node-01 ~]# stonith -t apcmastersnmp ipaddr=192.168.100.100 port=161 community=private -S ** (process:3887): CRITICAL **: APC_read: error in response packet, reason 2 [(noSuchName) There is no such variable name in this MIB.]. ** (process:3887): CRITICAL **: apcmastersnmp_set_config: cannot read number of outlets. Invalid config info for apcmastersnmp device Valid config names are: ipaddr port community [r...@node-01 ~]# stonith -t apcmaster ipaddr=192.168.100.100 login=stonith password=stonith -S ** (process:4215): CRITICAL **: Did not find string Escape character is '^]'. from APC MasterSwitch. ** (process:4215): CRITICAL **: Received [\xff\xfb\u0001\xff\xfb\u0003\xff\xfd\u0003 \u000dUser Name : ] ** (process:4215): CRITICAL **: Did not find string Escape character is '^]'. from APC MasterSwitch. ** (process:4215): CRITICAL **: Received [] connect() failed: Connection reset by peer ** (process:4215): CRITICAL **: Did not find string Escape character is '^]'. from APC MasterSwitch. ** (process:4215): CRITICAL **: Received [] connect() failed: Connection reset by peer connect() failed: Connection reset by peer ** (process:4215): CRITICAL **: Did not find string Escape character is '^]'. from APC MasterSwitch. _______________________________________________ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker