[Linux-HA] Querying resource state

Ciro Iriarte cyruspy at gmail.com
Fri Jul 6 06:57:11 MDT 2007


2007/7/6, Lars Marowsky-Bree <lmb at suse.de>:
> On 2007-07-06T07:49:05, Ciro Iriarte <cyruspy at gmail.com> wrote:
>
> > Well, it's not polite to point at someone, but I got that example from
> > >"LARS"<s guide :p
>
> ;-)
>
> > Ref:
> > http://wiki.linux-ha.org/DRBD/HowTov2
> >
> > Paragraph:
> > "Note that I'm creating the resource in stopped state first, so that I
> > can finish configuring its constraints and dependencies before
> > activating it. (To do that later, you can use  crm_resource -r
> > ms-drbd0 -v '#default' --meta -p target_role , for example.)"
> >
> > Can this count as an enhancement request to your guide Lars?, just to
> > not confuse the starters (me).
>
> Hm. You'd not be able to retrieve the value even if I told you to delete
> it here (which would be the alternative).
>
>
> Regards,
>     Lars
>
Yes, but it seems reasonable to try to retrieve an attribute that i
just modified (wasn't deleted).

Well, leaving that aside, how should i query a resource state?

Ciro


More information about the Linux-HA mailing list