Hi Dejan, you suggested the following...
 
 
> order o1 inf: basegroup ( r1 r2 r3 ... ) collocation c1 \
> inf: ( r1 r2 r3 ... ) basegroup

Would you be so kind as to show me how to work that into my current config? As 
I said earlier, the ultimate goal is for the MySQL services to migrate in 
paralell, but for all of them to be dependent on the underlying resources: 
filesystem, drbd, and the cluster IP.
 
Following is what I have right now...
 
 

node ha05.mydomain.com
node ha06.mydomain.com
primitive p_ClusterIP ocf:heartbeat:IPaddr2 \
        params ip="192.168.10.205" cidr_netmask="32" \
        op monitor interval="15s"
primitive p_DRBD ocf:linbit:drbd \
        params drbd_resource="ha_mysql" \
        op monitor interval="15s"
primitive p_FileSystem ocf:heartbeat:Filesystem \
        params device="/dev/drbd0" directory="/ha_mysql" fstype="ext3"
primitive p_MySQL_001 lsb:mysql_001
primitive p_MySQL_002 lsb:mysql_002
primitive p_MySQL_003 lsb:mysql_003
group g_MySQL p_FileSystem p_ClusterIP p_MySQL_001 p_MySQL_002 p_MySQL_003
ms ms_DRBD p_DRBD \
        meta master-max="1" master-node-max="1" clone-max="2" 
clone-node-max="1" notify="true"
colocation c_MySQL_DRBD inf: g_MySQL ms_DRBD:Master
order o_MySQL_then_DRBD inf: ms_DRBD:promote g_MySQL:start
property $id="cib-bootstrap-options" \
        dc-version="1.0.7-d3fa20fc76c7947d6de66db7e52526dc6bd7d782" \
        cluster-infrastructure="openais" \
        expected-quorum-votes="2" \
        stonith-enabled="false" \
        no-quorum-policy="ignore"
rsc_defaults $id="rsc-options" \
        resource-stickiness="100"

 

<<winmail.dat>>

_______________________________________________
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