[Linux-HA] CRM and STONITH questions
Spam at citadelcomputer.com.au
Thu Oct 18 20:36:43 MDT 2007
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.
From: linux-ha-bounces at lists.linux-ha.org
[mailto:linux-ha-bounces at lists.linux-ha.org] 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 <Spam at citadelcomputer.com.au> wrote:
> > crm_standby
> > 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
> 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
> it's just an exmaple...
you need to do some background reading then
try starting here:
and in particular:
> So what I need help on is how do I create a stonith cib entry so 2
> can use my stonith device to nuke the other. It'll be a webbased
> with login/pass and basically a node name and command(reset/on/off).
> other parameters needed afaik.
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> See also: http://linux-ha.org/ReportingProblems
Linux-HA mailing list
Linux-HA at lists.linux-ha.org
See also: http://linux-ha.org/ReportingProblems
More information about the Linux-HA