[Linux-HA] Querying resource state
cyruspy at gmail.com
Fri Jul 6 23:56:23 MDT 2007
2007/7/6, Lars Marowsky-Bree <lmb at suse.de>:
> On 2007-07-06T08:57:11, Ciro Iriarte <cyruspy at gmail.com> wrote:
> > Well, leaving that aside, how should i query a resource state?
> Querying target_role doesn't give you the resource state anyway; just
> the target state, which - in the presence of failures of simply being
> in-flux - won't conform to the current state.
> I think you're looking for crm_resource --locate, and crm_mon.
"crm_resource --locate" does the trick, thanks!
More information about the Linux-HA