[Pacemaker] APC Master Stonith

E-Blokos infos at e-blokos.com
Tue Jan 19 18:45:19 EST 2010


----- Original Message ----- 
From: "Errol Neal" <eneal at businessgrade.com>
To: <pacemaker at clusterlabs.org>; <mail at sandervanvugt.nl>
Cc: "pacemaker" <pacemaker at clusterlabs.org>
Sent: Tuesday, January 19, 2010 4:37 PM
Subject: Re: [Pacemaker] APC Master Stonith


> On Tue, Jan 19, 2010 04:19  PM, Sander van Vugt <mail at sandervanvugt.nl> 
> wrote:
>> Hi,
>>
>> I hope someone has configured the APC Master Stonith resource (which you
>> would use to have pacemaker to a device like the APC switched rack PDU),
>> as I have a - probably extremely stupid - conceptual question about it.
>>
>> When I look at the options the resource has, it allows me to enter
>> username, password and IP address. What I would also expect, is to give
>> it something like a name of the node that is should do STONITH on, as
>> well as the port on the device that it should power cycle. Am I missing
>> something? Or do I have to specify this information as additional
>> attributes? And if so, what exactly would be the syntax?
>>
> What type of device are you trying to get the plugin to work with?
> I'm using APC rack PDUs and this plugin did not work by default for me. I 
> had to hack it to get it work for me, but
> it works exactly how I wanted it to. By the way, I'm not using the snmp - 
> i'm using telnet.
>
> So here is how mine's is configured:
>
> primitive stonith-apcmaster-axigen2 stonith:apcmaster \
>        params ipaddr="x.x.x.x login="axigen2" password="x.x.x.x" \
>        op monitor interval="120s" timeout="20s" \
>        op startup interval="0" timeout="60s" \
>
> Then I have a constraint that prohibits it a node from committing suicide.
>
> I'll describe what I did to get it going in my environment.
>
> I created a user account for each node on it's respective PDU and only 
> allowed it to control it's own power.
>
> As I mentioned, I hacked the plugin's source code and recompiled. My 
> changes  #1 to make it work and #2, to make it work simple and plain. 
> Login and shut-er down. I can provide you my changes if you think it will 
> work for you.
>
> -Errol
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker


Hi Errol,

as I just bought a used AP7900 APC so if you can provide the hacked code it 
would be cool.

Thanks

Franck 





More information about the Pacemaker mailing list