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.
> 
> 
>> 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.
> 
>> so
>> that when i try to kill one instance on any node, crm_mon display is
>> still
>> "started" for this instance on this node. In other words, crm can not
>> call
>> the monitor function in the interval time specified in the cib.xml.
>>
>> Please help me to resolve this problem. Thanks alot!!!!!
>> --
>> View this message in context:
>> http://old.nabble.com/Help-required-to-develop-OCF-Resource-Agent-Script-for-Master-Slave-script-tp26472940p26472940.html
>> Sent from the Linux-HA mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> Linux-HA mailing list
>> [email protected]
>> http://lists.linux-ha.org/mailman/listinfo/linux-ha
>> See also: http://linux-ha.org/ReportingProblems
>>
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Help-required-to-develop-OCF-Resource-Agent-Script-for-Master-Slave-script-tp26472940p26569453.html
Sent from the Linux-HA mailing list archive at Nabble.com.

_______________________________________________
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