prashant wrote:
> prashant wrote:
>> Hi All,
>>
>> Ok, does anyone know the correct return values or exit code to send to
>> heartbeat as IPFAIL does so that heartbeart fail over when at a return
>> value or exit code on respawn of a customised script.
>
> Is this an R1-style deployment, or an R2-style (CRM) deployment?
>
>
>
> Hi Alan,
> Glad to have a response from you.
> Its a R1-style deployment.
>
> basically i need something like this
>
> check if file x exist
> tell heartbeart - status ok
> else
> tell heartbeat - failover now
>
> I would be very much grateful if you tell me how to solve this.
You can use the hb_standby command -- for R1-style installations.
--
Alan Robertson <[EMAIL PROTECTED]>
"Openness is the foundation and preservative of friendship... Let me
claim from you at all times your undisguised opinions." - William
Wilberforce
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems