Re: [Pacemaker] colocation and ordering

2014-06-27 Thread Andrew Beekhof
On 26 Jun 2014, at 11:27 pm, Xzarth xza...@gmail.com wrote: I have a pacemaker cluster with following config: crm(live)configure# show node node1 node node2 primitive ClusterIP ocf:heartbeat:IPaddr2 \ params ip=192.168.56.111 cidr_netmask=32 nic=eth1 iflabel=1

[Pacemaker] colocation and ordering

2014-06-26 Thread Xzarth
I have a pacemaker cluster with following config: crm(live)configure# show node node1 node node2 primitive ClusterIP ocf:heartbeat:IPaddr2 \ params ip=192.168.56.111 cidr_netmask=32 nic=eth1 iflabel=1 \ op monitor interval=30s primitive apache2

Re: [Pacemaker] colocation and ordering

2014-06-26 Thread emmanuel segura
why you doesn't you a group for fs ip and apache resource? example: colocation fs_colocation inf: mygroup ms_drbd:Master order fs_order inf: ms_drbd:promote mygroup:start 2014-06-26 15:27 GMT+02:00 Xzarth xza...@gmail.com: I have a pacemaker cluster with following config:

Re: [Pacemaker] colocation and ordering

2014-06-26 Thread Xzarth
On 06/26/2014 04:14 PM, emmanuel segura wrote: why you doesn't you a group for fs ip and apache resource? example: colocation fs_colocation inf: mygroup ms_drbd:Master order fs_order inf: ms_drbd:promote mygroup:start 2014-06-26 15:27 GMT+02:00 Xzarth xza...@gmail.com: Basically, for

Re: [Pacemaker] colocation and ordering for groups/clones/instances

2011-11-13 Thread Andrew Beekhof
On Fri, Oct 21, 2011 at 9:30 AM, gustavo panizzo gfa g...@zumbi.com.ar wrote: still having issues this is the correct behavior Filesystem[3785]: INFO: Running stop for /dev/vgoradb/d208i0 on /oracle/d208i0 Filesystem[3786]: INFO: Running stop for /dev/vgoradb/d209i0 on /oracle/d209i0

Re: [Pacemaker] colocation and ordering for groups/clones/instances

2011-10-06 Thread gustavo panizzo gfa
i fix my ordering problems using fully explicit order chains colocation col_db0005 +inf: HASI ora-bkp vgoradb vgoralog db0005-storage db0005-db db0005-ip order ord_db0005 +inf: HASI ora-bkp vgoradb vgoralog db0005-storage db0005-db db0005-ip it really works, crm configure verify give OK.

Re: [Pacemaker] colocation and ordering for groups/clones/instances

2011-10-06 Thread Andrew Beekhof
On Fri, Oct 7, 2011 at 5:01 AM, gustavo panizzo gfa g...@zumbi.com.ar wrote: i fix my ordering problems using fully explicit order chains colocation col_db0005 +inf: HASI ora-bkp vgoradb vgoralog db0005-storage db0005-db db0005-ip order ord_db0005 +inf: HASI ora-bkp vgoradb vgoralog

Re: [Pacemaker] colocation and ordering for groups/clones/instances

2011-10-05 Thread gustavo panizzo gfa
On Wed, Oct 05, 2011 at 10:45:32AM +1100, Andrew Beekhof wrote: On Wed, Oct 5, 2011 at 10:21 AM, gustavo panizzo gfa g...@zumbi.com.ar wrote: colocation col_name +inf: clone2 clone colocation col_name +inf: group clone2 order ord_name +inf: clone2 group symmetrical=false order ord_name

Re: [Pacemaker] colocation and ordering for groups/clones/instances

2011-10-05 Thread Andrew Beekhof
On Thu, Oct 6, 2011 at 2:47 AM, gustavo panizzo gfa g...@zumbi.com.ar wrote: On Wed, Oct 05, 2011 at 10:45:32AM +1100, Andrew Beekhof wrote: On Wed, Oct 5, 2011 at 10:21 AM, gustavo panizzo gfa g...@zumbi.com.ar wrote: colocation col_name +inf: clone2 clone colocation col_name +inf: group

[Pacemaker] colocation and ordering for groups/clones/instances

2011-10-04 Thread gustavo panizzo gfa
hi list what should i use to create dependencies? to a resource that run on all the nodes? (resumed) required order is clone - clone2- RG all boxesall boxes one box colocation col_name +inf: clone2 clone colocation col_name +inf: group clone2 order ord_name +inf: clone2

Re: [Pacemaker] colocation and ordering for groups/clones/instances

2011-10-04 Thread Andrew Beekhof
On Wed, Oct 5, 2011 at 10:21 AM, gustavo panizzo gfa g...@zumbi.com.ar wrote: hi list    what should i use to create dependencies? to a resource that run on all the nodes? (resumed) required order is clone     - clone2    -  RG all boxes    all boxes     one box colocation col_name +inf: