On Mon, Nov 30, 2009 at 5:26 AM, Jessy <[email protected]> wrote:
>
>
>
> Andrew Beekhof-3 wrote:
>>
>> On Mon, Nov 23, 2009 at 6:15 AM, Jessy <[email protected]> wrote:
>>>
>>> I have developed a OCF resource agent script for the master/slave
>>> application. While testing the RA, i have faced following problems.
>>>
>>> First, it is not able to promote once instance to the master, after i
>>> have
>>> called
>>> "crm_master -v 100 -l reboot" utility command in the notify function of
>>> post-start branch, so in ha-log, there are following log information
>>>
>>> tengine[4803]: 2009/11/19_15:21:43 info: extract_event: Aborting on
>>> transient_attributes changes for "node of uuid"
>>> tengine[4803]: 2009/11/19_15:21:43 info: update_abort_priority: Abort
>>> priority upgraded to 1000000
>>> tengine[4803]: 2009/11/19_15:21:43 info: update_abort_priority: Abort
>>> action
>>> 0 superceeded by 2
>>
>> Looks right to me.  What version are you running?
>>
>> [Jessy] : Ther version i'm using is Heartbeat v2.0.8 on SUSE 10 SP1, the
>> cluster constists of two nodes.

Yikes!
You really need to update. No wonder its not working.

The latest for from SUSE for SLES10 is 2.1.4 which will be a lot better.

>>
>>
>>> Second issue, crm doesnot check the status of the instance on each node,
>>
>> Did you add monitor operation to the resource?
>>
>> [Jessy] : Monitor function has been implemented in the script. The script
>> also consists of                  start/stop/promote/demote/notify
>> functions too.

Yes, but did you add a monitor action to the resource's definition in
the configuration?
_______________________________________________
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