Juan Manuel Sende Sanchez wrote:
> Alan Robertson escribió:
>> Juan Manuel Sende Sanchez wrote:
>>
>>>
>>> Can any one point me where I´m making the mistake. By the way the mail
>>> is always send
>>>
>>> Hope to hear from yours
>>>
>> For an R1 configuration with your problem description, 90% of the time
>> the vz_ha resource isn't doing quite the right thing. It's probably
>> printing OK or Running regardless if it's running or not.
>>
>>
>>
> I've modify openvz startup's scripts to check first if the drdb
> mount is ready (wait until it's ready) and make sure pid's and the
> service is runinng. I'm pretty sue that the script isn't called.
>
> I'll modify the script to double check, but I'm pretty sure that
> this is not the problem
>
> I any way many thanks for your advice.
OK. What you described above is a bad idea.
You should just create a DRBD resource and a Filesystem resource, and
then make the openVZ resource depend on the Filesystem resource, and
make the Filesystem resource depend on the DRBD resource.
And you've done this by putting them in the order you did in the
haresources file. Your vz_ha resource should be unaware of its
predecessor resources. Heartbeat takes care of that for you.
And, 90+% of the time, the problem is in the RA script (like your ha_vz
script). See this page for details:
http://linux-ha.org/HeartbeatResourceAgent
--
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