[Linux-HA] Dependencies

Andrew Beekhof beekhof at gmail.com
Tue Dec 11 03:01:34 MST 2007


On Dec 11, 2007, at 10:55 AM, matilda matilda wrote:

>>>> Dejan Muhamedagic <dejanmm at fastmail.fm> 11.12.2007 10:02 >>>
>
> Hi Dejan,
>
>>
>> You can also try crmadmin -S DC_NODE in a loop until it reports
>> the IDLE state, then check whichever resource you want.
>>
>
> but this is not an atomic operation. You have a gap between
> "ohh, now the cluster seems to be idle" and checking if
> the ressource is up. Am I wrong?

true.  the only way to be sure is to do something like what the TE  
does... connect to the CIB, subscribe to updates and look for a  
successful start action for your resource(s)

one day i should probably write a tool for that



More information about the Linux-HA mailing list