On 8/14/07, tinafhx <[EMAIL PROTECTED]> wrote: > Hi Everyone, > I want to set up a three nodes cluster with Heartbeat2.1.2 for 2 resource > group, and I define a prefered node for each group. > After I config the needed files and run the heartbeat, it hasn't run as I > hope. > > The detail of my thought is : > node A,B,C > group1 and group2 > the score of group1 running on nodeA is 100, on nodeB is 50 > the score of group2 running on nodeB is 100, on nodeA is 50 > group1: IPAddr1 and Service1 > group2:IPAddr2 and Service2 > > I have read the log file ,and I found these in it, and I think this is the > main problem. > before these info ,the PE info is all the service is stopped , then the TE > initiating monitor action of four service, the monitor of IPAddr1 > and IPAddr2 return value (rc=7),but Service1 and Service2 return value > (rc=0),this bring the next info > tengine[31750]: 2007/08/13_14:28:17 info: status_from_rc: Re-mapping op > status to LRM_OP_ERROR for rc=0 > tengine[31750]: 2007/08/13_14:28:17 WARN: status_from_rc: Action monitor on > drm_passive failed (target: 7 vs. rc: 0): Error
your resource was already active before the cluster started. rarely is it a good idea to do this deliberately but at least we detected it. if you're writing an OCF agent, try ocf-tester if you're not writing an OCF agent... you should be :-) _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
