Re: [Pacemaker] promote a ms resource to a node

2010-10-03 Thread Pavlos Parissis
just for the record here is the constraint location master-location ms-drbd_02 \ rule $id="master-rule" $role="Master" 1000: #uname eq node-03 Cheers, Pavlos On 30 September 2010 10:24, Andrew Beekhof wrote: > A resource location constraint with role=Master would do it. > Not sure about

Re: [Pacemaker] promote a ms resource to a node

2010-09-30 Thread Andrew Beekhof
A resource location constraint with role=Master would do it. Not sure about the shell syntax though. On Tue, Sep 28, 2010 at 3:51 PM, Pavlos Parissis wrote: > Hi, > > Let's say that I have manually demote a ms resource and have the following > situation > crm(live)resource# demote ms-drbd_01 > cr

[Pacemaker] promote a ms resource to a node

2010-09-28 Thread Pavlos Parissis
Hi, Let's say that I have manually demote a ms resource and have the following situation crm(live)resource# demote ms-drbd_01 crm(live)resource# status [..snip..] Master/Slave Set: ms-drbd_01 Slaves: [ node-01 node-03 ] How can I manually promote ms-drbd_01 on node-03? The promote command do