On Thu, Apr 16, 2009 at 09:51, MAHESH, SIDDACHETTY M (SIDDACHETTY M)
<[email protected]> wrote:
> Hi Andrew,
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Andrew Beekhof
> Sent: Thursday, April 16, 2009 12:51 PM
> Subject: Re: [Linux-HA] Need help with cib.xml configuration
>
> On Thu, Apr 16, 2009 at 07:37, MAHESH, SIDDACHETTY M (SIDDACHETTY M)
> wrote:
> [snip]
>> 3. The two services update variables service1-state and service2-state
>> based on their running state. If successfully started, *-state is set
> to
>> a value of 100. On stop/failure, the value is set to 0.
>
> Why?
>
> [Mahesh] I am using the *-state value to detect if a service is running
> or not (rsc_location rule id=" ha_group_running"). Is there a better way
> to detect if a service is down?

For monitoring purposes (crm_resource -W) or so that you can have
another resource run on the same node (rsc_colocation constraints) ?
_______________________________________________
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