Re: [Pacemaker] colocation and ordering

2014-06-27 Thread Andrew Beekhof
On 26 Jun 2014, at 11:27 pm, Xzarth 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" \

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 : Basically, for learning. I fo

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 : > I have a pacemaker cluster with following config: > > crm(live)configure# show >

[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 apa

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 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 > Filesystem[3785]: I

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

2011-10-20 Thread gustavo panizzo
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 Filesystem[3785]: INFO: Trying to unmount /oracle/d208i0 Filesystem[3786]: INFO: Trying t

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 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 db0005-storage db0005-

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

2011-10-06 Thread gustavo panizzo
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. b

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 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 >> wrote: >> > colocation col_name +inf: clone2 clone >> > colocation col_name +inf: group clone2 also doesn't do what y

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

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

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 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: clone2 cl

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

2011-10-04 Thread gustavo panizzo
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