Re: [ClusterLabs] can't start/stop a drbd resource with pacemaker

2016-07-18 Thread Lentes, Bernd
- On Jul 18, 2016, at 7:29 PM, Ken Gaillot kgail...@redhat.com wrote: >> >> Hi Ken, >> >> thanks for your help. >> >> Can i edit them directly ? Or do i have to make a circuit with constraints ? > > Constraints are how they are edited. > > Stop/start aren't used in normal operation,

Re: [ClusterLabs] can't start/stop a drbd resource with pacemaker

2016-07-18 Thread Lentes, Bernd
- On Jul 18, 2016, at 4:04 PM, Ken Gaillot kgail...@redhat.com wrote: >> >> Is there a way to manipulate the scores ? Is the score -INFINITY because the >> resource is stopped >> or is the resource stopped because the score is -INFINITY ? > > Yes, yes and yes ;-) > > You can manipulate

Re: [ClusterLabs] can't start/stop a drbd resource with pacemaker

2016-07-18 Thread Ken Gaillot
On 07/15/2016 07:08 PM, Lentes, Bernd wrote: > > > - Am 15. Jul 2016 um 23:48 schrieb Ken Gaillot kgail...@redhat.com: > >> On 07/15/2016 03:54 PM, Lentes, Bernd wrote: >>> >>> >>> - Am 13. Jul 2016 um 14:25 schrieb Kristoffer Grönlund >>> kgronl...@suse.com: >>> > > > >>> >>>

Re: [ClusterLabs] can't start/stop a drbd resource with pacemaker

2016-07-15 Thread Lentes, Bernd
- Am 13. Jul 2016 um 14:25 schrieb Kristoffer Grönlund kgronl...@suse.com: > "Lentes, Bernd" writes: > >> Starting or stopping drbd with start/stop does not work neither for the ms >> ressource nor for the primitive. >> If i try to stop it keeps

Re: [ClusterLabs] can't start/stop a drbd resource with pacemaker

2016-07-13 Thread Kristoffer Grönlund
"Lentes, Bernd" writes: > Starting or stopping drbd with start/stop does not work neither for the ms > ressource nor for the primitive. > If i try to stop it keeps running. Also if i do a cleanup before (for both > resources). > Which resource should i stop

[ClusterLabs] can't start/stop a drbd resource with pacemaker

2016-07-13 Thread Lentes, Bernd
Hi, i'm new to HA-cluster. I'm currently establishing a two-node cluster and playing around with it. I habe a primitive drdb resource and a corresponding ms one: crm(live)resource# status Master/Slave Set: ms_drbd_r0 [prim_drbd_r0] Masters: [ sunhb58820 ] Slaves: [ sunhb65278 ]