Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Users

STONITH resource agent semantics.

 

 

Linux-HA users RSS feed   Index | Next | Previous | View Threaded


pmorreale at novell

Sep 13, 2010, 2:44 PM

Post #1 of 4 (422 views)
Permalink
STONITH resource agent semantics.

Hi all,

I'm desperately trying to find documentation on creating stonith resource agents. Specifically the semantics of the actions passed to the resource scripts. At the moment I am creating a cluster on ESX nodes for SLES 11 VMs.

What are the differences between STATUS and GETSTATE for example? Does status imply the status of the remote node? Or merely the status of the ESX server? Its not clear to me from looking at the other stonith resource scripts.

Unfortunately I haven't been able to find anything useful via google. Is there documentation on creating stonith resource scripts available?

Thanks,
-PWM

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


dejanmm at fastmail

Sep 14, 2010, 2:37 AM

Post #2 of 4 (416 views)
Permalink
Re: STONITH resource agent semantics. [In reply to]

Hi,

On Mon, Sep 13, 2010 at 03:44:57PM -0600, Peter Morreale wrote:
>
> Hi all,
>
> I'm desperately trying to find documentation on creating stonith resource agents. Specifically the semantics of the actions passed to the resource scripts. At the moment I am creating a cluster on ESX nodes for SLES 11 VMs.
>
> What are the differences between STATUS and GETSTATE for
> example?

Can't recall GETSTATE. Where did you find it?

> Does status imply the status of the remote node?

No. It's just the status of the fencing device.

> Or merely the status of the ESX server? Its not clear to me
> from looking at the other stonith resource scripts.
>
> Unfortunately I haven't been able to find anything useful via
> google. Is there documentation on creating stonith resource
> scripts available?

No. There's just a page on what a plugin should support here:
http://www.linux-ha.org/wiki/STONITH

I'd suggest to take a look at external/ssh. The big case
statement has all the possible commands.

Thanks,

Dejan

> Thanks,
> -PWM
>
> _______________________________________________
> Linux-HA mailing list
> Linux-HA [at] lists
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


pmorreale at novell

Sep 14, 2010, 5:53 AM

Post #3 of 4 (402 views)
Permalink
Re: STONITH resource agent semantics. [In reply to]

>>> On 9/14/2010 at 03:37 AM, Dejan Muhamedagic <dejanmm [at] fastmail> wrote:
> Hi,
>
> On Mon, Sep 13, 2010 at 03:44:57PM -0600, Peter Morreale wrote:
>>
>> Hi all,
>>
>> I'm desperately trying to find documentation on creating stonith resource
> agents. Specifically the semantics of the actions passed to the resource
> scripts. At the moment I am creating a cluster on ESX nodes for SLES 11
> VMs.
>>
>> What are the differences between STATUS and GETSTATE for
>> example?
>
> Can't recall GETSTATE. Where did you find it?
>

Heh, apparently it just showed up in an example I was looking at. None of the scripts in external/* have this. Perhaps it was some testing cruft left by a previous author. No wonder I was confused.

>> Does status imply the status of the remote node?
>
> No. It's just the status of the fencing device.
>

Right, clearly.


>
> No. There's just a page on what a plugin should support here:
> http://www.linux-ha.org/wiki/STONITH
>

Hummm empty page. (The plugins link that is...)

> I'd suggest to take a look at external/ssh. The big case
> statement has all the possible commands.

HAE for SLES 11 SP1 apparently does not have external/ssh.

Thanks,
-PWM

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


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


dejanmm at fastmail

Sep 15, 2010, 2:32 AM

Post #4 of 4 (393 views)
Permalink
Re: STONITH resource agent semantics. [In reply to]

Hi,

On Tue, Sep 14, 2010 at 06:53:31AM -0600, Peter Morreale wrote:
>
>
> >>> On 9/14/2010 at 03:37 AM, Dejan Muhamedagic <dejanmm [at] fastmail> wrote:
> > Hi,
> >
> > On Mon, Sep 13, 2010 at 03:44:57PM -0600, Peter Morreale wrote:
> >>
> >> Hi all,
> >>
> >> I'm desperately trying to find documentation on creating stonith resource
> > agents. Specifically the semantics of the actions passed to the resource
> > scripts. At the moment I am creating a cluster on ESX nodes for SLES 11
> > VMs.
> >>
> >> What are the differences between STATUS and GETSTATE for
> >> example?
> >
> > Can't recall GETSTATE. Where did you find it?
> >
>
> Heh, apparently it just showed up in an example I was looking at. None of the scripts in external/* have this. Perhaps it was some testing cruft left by a previous author. No wonder I was confused.
>
> >> Does status imply the status of the remote node?
> >
> > No. It's just the status of the fencing device.
> >
>
> Right, clearly.
>
>
> >
> > No. There's just a page on what a plugin should support here:
> > http://www.linux-ha.org/wiki/STONITH
> >
>
> Hummm empty page. (The plugins link that is...)
>
> > I'd suggest to take a look at external/ssh. The big case
> > statement has all the possible commands.
>
> HAE for SLES 11 SP1 apparently does not have external/ssh.

You'll find it in libglue-devel.

Thanks,

Dejan

> Thanks,
> -PWM
>
> >> _______________________________________________
> >> Linux-HA mailing list
> >> Linux-HA [at] lists
> >> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> >> See also: http://linux-ha.org/ReportingProblems
> > _______________________________________________
> > Linux-HA mailing list
> > Linux-HA [at] lists
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > See also: http://linux-ha.org/ReportingProblems
>
>
> _______________________________________________
> Linux-HA mailing list
> Linux-HA [at] lists
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Linux-HA users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.