[Pacemaker] rsc_location does not work.

renayama19661014 at ybb.ne.jp renayama19661014 at ybb.ne.jp
Mon Dec 21 21:28:52 EST 2009


Hi,

We constituted the complicated cluster of three nodes.(2ACT+1STB)

We built a cluster by the next combination.

 * corosync-1.1.2
 * Reusable-Cluster-Components-fa44a169d55f
 * Cluster-Resource-Agents-6f02f8ad7fd4
 * Pacemaker-1-0-d990c453b999

The resource of group02-1 hoped that it started in an active node.(srv01)
But, against rsc_location which I appointed, the resource is started in a standby node.(srv03)

------ output crm_mon -------------------------
 Resource Group: UMgroup01
     UmDummy01  (ocf::heartbeat:Dummy01):       Started srv01
     UmDummy02  (ocf::heartbeat:Dummy): Started srv01
     UmIPaddr   (ocf::heartbeat:IPaddr):        Started srv01
 Resource Group: group02-1
     Dummy01-1  (ocf::heartbeat:Dummy): Started srv03
     Dummy01-2  (ocf::heartbeat:Dummy): Started srv03
 Resource Group: group02-2
     Dummy02-1  (ocf::heartbeat:Dummy): Started srv02
     Dummy02-2  (ocf::heartbeat:Dummy): Started srv02
 Resource Group: grpStonith1
     prmStonithN1-1     (stonith:external/ssh): Started srv03
 Resource Group: grpStonith2
     prmStonithN2-1     (stonith:external/ssh): Started srv01
 Resource Group: grpStonith3
     prmStonithN3-1     (stonith:external/ssh): Started srv02
 Clone Set: clnUMgroup01
     Started: [ srv01 srv03 ]
 Clone Set: clnPingd
     Started: [ srv01 srv02 srv03 ]
 Clone Set: clnPingd2
     Started: [ srv01 srv02 srv03 ]
----------------------------------------------------

------ cib.xml group02-1 rsc_location --------------
      <rsc_location id="grp02-1-1-location" rsc="group02-1" node="srv01" score="200"/>
      <rsc_location id="grp02-1-2-location" rsc="group02-1" node="srv03" score="100"/>
      <rsc_location id="grp02-1-3-location" rsc="group02-1" node="srv02" score="-INFINITY"/>
----------------------------------------------------

Will my cib.xml be a mistake? 
Or will it be a bug?

And I attach hb_report.

Best Regards,
Hideo Yamauchi.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: problems.tar.bz2
Type: application/octet-stream
Size: 30526 bytes
Desc: 3255673744-problems.tar.bz2
URL: <http://lists.clusterlabs.org/pipermail/pacemaker/attachments/20091222/f8b6de1f/attachment.obj>


More information about the Pacemaker mailing list