No subject


Thu Sep 30 11:38:38 UTC 2010


>
<br>
Andrew Beekhof wrote:<br>
&gt; bottom line, you don&#39;t get to chose where specific clone instances=
<br>
&gt; get placed.<br>
<br>
In my case, I have a clone:<br>
primitive clusterip-9 ocf:heartbeat:IPaddr2 \<br>
 =A0 =A0 =A0 =A0params ip=3D&quot;192.168.0.9&quot; cidr_netmask=3D&quot;24=
&quot; \ =A0 =A0 =A0 =A0 =A0 =A0 <br>
 =A0 =A0 =A0 =A0clusterip_hash=3D&quot;sourceip&quot; nic=3D&quot;bondE&quo=
t; \<br>
 =A0 =A0 =A0 =A0op monitor interval=3D&quot;30s&quot; \<br>
 =A0 =A0 =A0 =A0meta resource-stickiness=3D&quot;0&quot;<br>
<br>
clone clusterip-9-clone clusterip-9 \<br>
 =A0 =A0 =A0 =A0meta globally-unique=3D&quot;true&quot; clone-max=3D&quot;2=
&quot; \<br>
 =A0 =A0 =A0 =A0clone-node-max=3D&quot;2&quot; resource_stickiness=3D&quot;=
0&quot;<br>
<br>
When I start the clone, both instances start on the same node:<br>
<br>
Clone Set: clusterip-9-clone (unique)<br>
 =A0 =A0 clusterip-9:0 =A0 =A0 =A0(ocf::heartbeat:IPaddr2): =A0 =A0 =A0 Sta=
rted <a href=3D"http://slb-test-01.ecntelecoms.za.net" target=3D"_blank">sl=
b-test-01.ecntelecoms.za.net</a><br>
 =A0 =A0 clusterip-9:1 =A0 =A0 =A0(ocf::heartbeat:IPaddr2): =A0 =A0 =A0 Sta=
rted <a href=3D"http://slb-test-01.ecntelecoms.za.net" target=3D"_blank">sl=
b-test-01.ecntelecoms.za.net</a><br>
<br>
The second node has a colocated set of standalone IP addresses running, so =
I assume that pacemaker is pushing both clusterip clones to the second node=
 to balance resources.<br>
<br>
My scores look like (0 for everything to do with this resource)<br>
clone_color: clusterip-9-clone allocation score on <a href=3D"http://slb-te=
st-01.ecntelecoms.za.net" target=3D"_blank">slb-test-01.ecntelecoms.za.net<=
/a>: 0<br>
clone_color: clusterip-9-clone allocation score on <a href=3D"http://slb-te=
st-02.ecntelecoms.za.net" target=3D"_blank">slb-test-02.ecntelecoms.za.net<=
/a>: 0<br>
clone_color: clusterip-9:0 allocation score on <a href=3D"http://slb-test-0=
1.ecntelecoms.za.net" target=3D"_blank">slb-test-01.ecntelecoms.za.net</a>:=
 0<br>
clone_color: clusterip-9:0 allocation score on <a href=3D"http://slb-test-0=
2.ecntelecoms.za.net" target=3D"_blank">slb-test-02.ecntelecoms.za.net</a>:=
 0<br>
clone_color: clusterip-9:1 allocation score on <a href=3D"http://slb-test-0=
1.ecntelecoms.za.net" target=3D"_blank">slb-test-01.ecntelecoms.za.net</a>:=
 0<br>
clone_color: clusterip-9:1 allocation score on <a href=3D"http://slb-test-0=
2.ecntelecoms.za.net" target=3D"_blank">slb-test-02.ecntelecoms.za.net</a>:=
 0<br>
native_color: clusterip-9:0 allocation score on <a href=3D"http://slb-test-=
01.ecntelecoms.za.net" target=3D"_blank">slb-test-01.ecntelecoms.za.net</a>=
: 0<br>
native_color: clusterip-9:0 allocation score on <a href=3D"http://slb-test-=
02.ecntelecoms.za.net" target=3D"_blank">slb-test-02.ecntelecoms.za.net</a>=
: 0<br>
native_color: clusterip-9:1 allocation score on <a href=3D"http://slb-test-=
01.ecntelecoms.za.net" target=3D"_blank">slb-test-01.ecntelecoms.za.net</a>=
: 0<br>
native_color: clusterip-9:1 allocation score on <a href=3D"http://slb-test-=
02.ecntelecoms.za.net" target=3D"_blank">slb-test-02.ecntelecoms.za.net</a>=
: 0<br>
<br>
<br>
<br>
Is there a way to request pacemaker to try split the clones up if possible =
over the available nodes?<br>
<br>
Regards<br>
<br>
Chris<br>
<br>
<br>
<br>
_______________________________________________<br>
Pacemaker mailing list: <a href=3D"mailto:Pacemaker at oss.clusterlabs.org" ta=
rget=3D"_blank">Pacemaker at oss.clusterlabs.org</a><br>
<a href=3D"http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target=3D=
"_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href=3D"http://www.clusterlabs.org" target=3D"_blank">http=
://www.clusterlabs.org</a><br>
Getting started: <a href=3D"http://www.clusterlabs.org/doc/Cluster_from_Scr=
atch.pdf" target=3D"_blank">http://www.clusterlabs.org/doc/Cluster_from_Scr=
atch.pdf</a><br>
Bugs: <a href=3D"http://developerbugs.linux-foundation.org/enter_bug.cgi?pr=
oduct=3DPacemaker" target=3D"_blank">http://developerbugs.linux-foundation.=
org/enter_bug.cgi?product=3DPacemaker</a><br>
</blockquote></div><br>

--0016364c761729a2780494a1c738--



More information about the Pacemaker mailing list