Hi,

I've gone through what I could understand and have read
http://www.linux-ha.org/ExternalStonithPlugins and made my stonith
command compatible with the mandatory requirements and all but I can't
figure out how to add it to the R2 cib table without knowing what the
actual xml info means.

Ie example at the above url.

Is the nvpair for clone_max and clone_node_max a HA parameter or meant
for my script? If HA, how do I know if I need the example settings or
changed for a 2 node fail over system?

What exactly does the "monitor" do, is it just a status check as my
device is a webpage and passing a 'status' returns a success if it can
reach the website to stonith the nodes?

What does the start and timeout meant for as well?

For the parm1 and parm2 attributes, if my script uses the "hostlist"
environment variable do I need to pass this in here or is it
automatically set when the stonith is called.etc.etc.

I'm totally lost on where the detailed info for this is so I can
successfully make this work. Also the servers had gone live before I
finished this so I really need to get it working and somehow test it
without making the machines failover when it's actually working fine.


George.
  
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andrew Beekhof
Sent: Monday, 1 October 2007 9:59 PM
To: General Linux-HA mailing list
Subject: Re: [Linux-HA] CRM and STONITH questions

On 10/1/07, Spam Filter <[EMAIL PROTECTED]> wrote:
> > crm_standby
> yeah
>
>
> > i'm not sure what the question here is.  are you having trouble
> > writing an agent or configuring one?
>
> > have you seen:
> >   http://www.linux-ha.org/ExternalStonithPlugins
> >that and poking around the existing scripts is probably a good place
to
> start
>
> Sorry, what I'm saying is that I can understand from that page what's
> required to make a stonith plugin (ie on/off/reset/etc) but how to add
> the "cib" info in is beyond me. Even the example on that url above for
> R2 showing the xml example doesn't explain what each element means
etc.
> it's just an exmaple...

you need to do some background reading then
try starting here:
    http://linux-ha.org/v2

and in particular:
   http://linux-ha.org/v2/Examples/Simple, and
   http://linux-ha.org/v2/AdminTools

>
> So what I need help on is how do I create a stonith cib entry so 2
nodes
> can use my stonith device to nuke the other. It'll be a webbased
script
> with login/pass and basically a node name and command(reset/on/off).
No
> other parameters needed afaik.
>
> Thanks.
> George
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to