Hi Andrew, Thank you for comment.
> I was suggesting: > > <rsc_colocation id="rsc_colocation01-3" rsc="UMgroup01" > with-rsc="clnUMgroup01" score="INFINITY"/> > > <rsc_location id="no-connectivity-01-1" rsc="UMgroup01"> > <rule id="clnPingd-exclude-rule" score="-INFINITY" boolean-op="or"> > <expression id="UMgroup01-clnPingd-exclude" attribute="clnPingd" > operation="not_defined"/> > <expression id="UMgroup01-clnPingd-only-positive" > attribute="clnPingd" operation="lt" type="integer" value="1"/> > <expression id="UMgroup01-clnPingd2-exclude" > attribute="clnPingd2" operation="not_defined"/> > <expression id="UMgroup01-clnPingd2-only-positive" > attribute="clnPingd2" operation="lt" type="integer" value="1"/> > </rule> > </rsc_location> > > <rsc_location id="no-connectivity-02-1" rsc="group02-1"> > <rule idref="clnPingd-exclude-rule"/> > </rsc_location> > > <rsc_location id="no-connectivity-02-1" rsc="group02-2"> > <rule idref="clnPingd-exclude-rule"/> > </rsc_location> I understood. With your setting, I test movement. Best Regards, Hideo Yamauchi. --- Andrew Beekhof <and...@beekhof.net> wrote: > 2010/3/19 <renayama19661...@ybb.ne.jp>: > > Hi Andrew, > > > >> I've been extremely busy. > >> Sometimes I defer more complex questions until I have time to give > >> them my full attention. > > > > I understand that you are busy. > > Thank you for comment. > > > >> I don't really understand the question here. > > > > Sorry.. > > I made a mistake in the link of the former problem. > > I explain a problem sequentially once again. > > > > We constituted the next cluster. > > > > Online: [ srv01 srv02 srv03 srv04 ] > > > > \xA0Resource Group: UMgroup01 > > \xA0 \xA0 UmVIPcheck (ocf::heartbeat:Dummy): Started srv01 > > \xA0 \xA0 UmIPaddr \xA0 (ocf::heartbeat:Dummy): Started srv01 > > \xA0 \xA0 UmDummy01 \xA0(ocf::heartbeat:Dummy): Started srv01 > > \xA0 \xA0 UmDummy02 \xA0(ocf::heartbeat:Dummy): Started srv01 > > \xA0Resource Group: OVDBgroup02-1 > > \xA0 \xA0 prmExPostgreSQLDB1 (ocf::heartbeat:Dummy): Started srv01 > > \xA0 \xA0 prmFsPostgreSQLDB1-1 \xA0 \xA0 \xA0 (ocf::heartbeat:Dummy): > > Started srv01 > > \xA0 \xA0 prmFsPostgreSQLDB1-2 \xA0 \xA0 \xA0 (ocf::heartbeat:Dummy): > > Started srv01 > > \xA0 \xA0 prmFsPostgreSQLDB1-3 \xA0 \xA0 \xA0 (ocf::heartbeat:Dummy): > > Started srv01 > > \xA0 \xA0 prmIpPostgreSQLDB1 (ocf::heartbeat:Dummy): Started srv01 > > \xA0 \xA0 prmApPostgreSQLDB1 (ocf::heartbeat:Dummy): Started srv01 > > \xA0Resource Group: OVDBgroup02-2 > > \xA0 \xA0 prmExPostgreSQLDB2 (ocf::heartbeat:Dummy): Started srv02 > > \xA0 \xA0 prmFsPostgreSQLDB2-1 \xA0 \xA0 \xA0 (ocf::heartbeat:Dummy): > > Started srv02 > > \xA0 \xA0 prmFsPostgreSQLDB2-2 \xA0 \xA0 \xA0 (ocf::heartbeat:Dummy): > > Started srv02 > > \xA0 \xA0 prmFsPostgreSQLDB2-3 \xA0 \xA0 \xA0 (ocf::heartbeat:Dummy): > > Started srv02 > > \xA0 \xA0 prmIpPostgreSQLDB2 (ocf::heartbeat:Dummy): Started srv02 > > \xA0 \xA0 prmApPostgreSQLDB2 (ocf::heartbeat:Dummy): Started srv02 > > \xA0Resource Group: OVDBgroup02-3 > > \xA0 \xA0 prmExPostgreSQLDB3 (ocf::heartbeat:Dummy): Started srv03 > > \xA0 \xA0 prmFsPostgreSQLDB3-1 \xA0 \xA0 \xA0 (ocf::heartbeat:Dummy): > > Started srv03 > > \xA0 \xA0 prmFsPostgreSQLDB3-2 \xA0 \xA0 \xA0 (ocf::heartbeat:Dummy): > > Started srv03 > > \xA0 \xA0 prmFsPostgreSQLDB3-3 \xA0 \xA0 \xA0 (ocf::heartbeat:Dummy): > > Started srv03 > > \xA0 \xA0 prmIpPostgreSQLDB3 (ocf::heartbeat:Dummy): Started srv03 > > \xA0 \xA0 prmApPostgreSQLDB3 (ocf::heartbeat:Dummy): Started srv03 > > \xA0Resource Group: grpStonith1 > > \xA0 \xA0 prmStonithN1 \xA0 \xA0 \xA0 (stonith:external/ssh): Started srv04 > > \xA0Resource Group: grpStonith2 > > \xA0 \xA0 prmStonithN2 \xA0 \xA0 \xA0 (stonith:external/ssh): Started srv01 > > \xA0Resource Group: grpStonith3 > > \xA0 \xA0 prmStonithN3 \xA0 \xA0 \xA0 (stonith:external/ssh): Started srv02 > > \xA0Resource Group: grpStonith4 > > \xA0 \xA0 prmStonithN4 \xA0 \xA0 \xA0 (stonith:external/ssh): Started srv03 > > \xA0Clone Set: clnUMgroup01 > > \xA0 \xA0 Started: [ srv01 srv04 ] > > \xA0Clone Set: clnPingd > > \xA0 \xA0 Started: [ srv01 srv02 srv03 srv04 ] > > \xA0Clone Set: clnDiskd1 > > \xA0 \xA0 Started: [ srv01 srv02 srv03 srv04 ] > > \xA0Clone Set: clnG3dummy1 > > \xA0 \xA0 Started: [ srv01 srv02 srv03 srv04 ] > > \xA0Clone Set: clnG3dummy2 > > \xA0 \xA0 Started: [ srv01 srv02 srv03 srv04 ] > > > > We encountered the problem that early resource placement did not obey > > location by this > constitution. > > \xA0* I asked next question before... > http://www.gossamer-threads.com/lists/linuxha/pacemaker/60342 > > > > This was a mistake of our setting. > > \xA0(snip) > > \xA0 \xA0 \xA0<rsc_colocation id="rsc_colocation01-1" rsc="UMgroup01" > > with-rsc="clnPingd" > score="INFINITY"/> > > \xA0 \xA0 \xA0<rsc_colocation id="rsc_colocation01-2" rsc="UMgroup01" > > with-rsc="clnPingd2" > score="INFINITY"/> > > \xA0 \xA0 \xA0<rsc_colocation id="rsc_colocation01-3" rsc="UMgroup01" > > with-rsc="clnUMgroup01" > > score="INFINITY"/> > > \xA0 \xA0 \xA0<rsc_colocation id="rsc_colocation02-1-1" rsc="group02-1" > > with-rsc="clnPingd" > score="INFINITY"/> > > \xA0 \xA0 \xA0<rsc_colocation id="rsc_colocation02-1-2" rsc="group02-1" > > with-rsc="clnPingd2" > > score="INFINITY"/> > > \xA0 \xA0 \xA0<rsc_colocation id="rsc_colocation02-2-1" rsc="group02-2" > > with-rsc="clnPingd" > score="INFINITY"/> > > \xA0 \xA0 \xA0<rsc_colocation id="rsc_colocation02-2-2" rsc="group02-2" > > with-rsc="clnPingd2" > > score="INFINITY"/> > > \xA0(snip) > > > > And we set 1000 in colocation. > > > > \xA0(snip) > > \xA0 \xA0 \xA0<rsc_colocation id="rsc_colocation01-1" rsc="UMgroup01" > > with-rsc="clnPingd" > score="1000"/> > > \xA0 \xA0 \xA0<rsc_colocation id="rsc_colocation01-2" rsc="UMgroup01" > > with-rsc="clnPingd2" > score="1000"/> > > \xA0 \xA0 \xA0<rsc_colocation id="rsc_colocation01-3" rsc="UMgroup01" > > with-rsc="clnUMgroup01" > score="1000"/> > > \xA0 \xA0 \xA0<rsc_colocation id="rsc_colocation02-1-1" rsc="group02-1" > > with-rsc="clnPingd" > score="1000"/> > > \xA0 \xA0 \xA0<rsc_colocation id="rsc_colocation02-1-2" rsc="group02-1" > > with-rsc="clnPingd2" > score="1000"/> > > \xA0 \xA0 \xA0<rsc_colocation id="rsc_colocation02-2-1" rsc="group02-2" > > with-rsc="clnPingd" > score="1000"/> > > \xA0 \xA0 \xA0<rsc_colocation id="rsc_colocation02-2-2" rsc="group02-2" > > with-rsc="clnPingd2" > score="1000"/> > > \xA0(snip) > > > > Because we set 1000 in colocation, the resource was arranged in a node > > definitely. > > Ok, but that wasn't what I was suggesting. > > I was suggesting: > > <rsc_colocation id="rsc_colocation01-3" rsc="UMgroup01" > with-rsc="clnUMgroup01" score="INFINITY"/> > > <rsc_location id="no-connectivity-01-1" rsc="UMgroup01"> > <rule id="clnPingd-exclude-rule" score="-INFINITY" boolean-op="or"> > <expression id="UMgroup01-clnPingd-exclude" attribute="clnPingd" > operation="not_defined"/> > <expression id="UMgroup01-clnPingd-only-positive" > attribute="clnPingd" operation="lt" type="integer" value="1"/> > <expression id="UMgroup01-clnPingd2-exclude" > attribute="clnPingd2" operation="not_defined"/> > <expression id="UMgroup01-clnPingd2-only-positive" > attribute="clnPingd2" operation="lt" type="integer" value="1"/> > </rule> > </rsc_location> > > <rsc_location id="no-connectivity-02-1" rsc="group02-1"> > <rule idref="clnPingd-exclude-rule"/> > </rsc_location> > > <rsc_location id="no-connectivity-02-1" rsc="group02-2"> > <rule idref="clnPingd-exclude-rule"/> > </rsc_location> > > > > > > > We confirmed movement after the trouble of clnPingd by cluster constitution > > of this setting > more. > > (The detailed procedure is an email of the beginnings of this matter.) > > > > But clnPingd does not start in srv01, but UMgroup01 starts after this. > > * Because there was colocation limitation, we did not expect start of > > UMgroup01. > > > > Your answer to solve this problem was to set INFINITY in colocation. > > > >> Only if you change: > >> <rsc_colocation id="rsc_colocation01-1" rsc="UMgroup01" > >> with-rsc="clnPingd" score="1000"/> > >> > >> to > >> <rsc_colocation id="rsc_colocation01-1" rsc="UMgroup01" > >> with-rsc="clnPingd" score="INFINITY"/> > > > > However, the early resource placement that we solved becomes invalid when I > > set colocation in > > INFINITY. > > > > By our cluster constitution, can you satisfy two next demands? > > > > 1)The resource placement of a right early cluster. > > 2)The start control of the resource of the combination by the colocation > > limitation. > > > > Is there setting of cib.xml to realize a demand? > > > > #I am not good at English. > > #Give me comment if you do not understand contents of my comment. > > > > Best Regards, > > Hideo Yamauchi. > > > > > > --- Andrew Beekhof <and...@beekhof.net> wrote: > > > >> 2010/3/17 \xA0<renayama19661...@ybb.ne.jp>: > >> > Hi Andrew, > >> > > >> > Please give my question an answer. > >> > >> I've been extremely busy. > >> Sometimes I defer more complex questions until I have time to give > >> them my full attention. > >> > >> > > >> > Best Regards, > >> > Hideo Yamauchi. > >> > > >> > --- renayama19661...@ybb.ne.jp wrote: > >> > > >> >> Hi Andrew, > >> >> > >> >> Thank you for comment. > >> >> > >> >> I asked next question before. > >> >> > >> >> \xA0 http://www.gossamer-threads.com/lists/linuxha/pacemaker/61484 > >> >> > >> >> I guessed from your this answer. > >> >> When I use cib.xml of the answer of before, is the limitation that it > >> >> combined a start of > === 以下のメッセージは省略されました ===
_______________________________________________ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker