[ClusterLabs] 答复: How to setup a simple master/slave cluster in two nodes without stonith resource

2018-04-03 Thread 范国腾
Rorthais, Thank you very much for your help. I do according to your comments and the cluster status is ok now. I want to ask two more questions: 1. This line code in PAF prevent the score to be set. Why does PAF request the prev_state must be shutdown? Could I just set the score if it is not

Re: [ClusterLabs] Possible idea for 2.0.0: renaming the Pacemaker daemons

2018-04-03 Thread Andrew Beekhof
On Tue, Apr 3, 2018 at 10:18 PM, Jehan-Guillaume de Rorthais < j...@dalibo.com> wrote: > On Tue, 3 Apr 2018 09:58:50 +1000 > Andrew Beekhof wrote: > > On Fri, Mar 30, 2018 at 8:36 PM, Jehan-Guillaume de Rorthais < > > j...@dalibo.com> wrote: > > > On Thu, 29 Mar 2018

Re: [ClusterLabs] Possible idea for 2.0.0: renaming the Pacemaker daemons

2018-04-03 Thread Klaus Wenninger
On 04/03/2018 11:35 PM, Ken Gaillot wrote: > On Tue, 2018-04-03 at 08:33 +0200, Kristoffer Grönlund wrote: >> Ken Gaillot writes: >> I would vote against PREFIX-configd as compared to other cluster software, I would expect that daemon name to refer to a

Re: [ClusterLabs] Cluster fails to start on rebooted nodes without manual fiddling...

2018-04-03 Thread Casey & Gina
Hi, thank you very much for your response! > Something comes in mind: did you setup "systemd-tmpfiles" as explained in the > end of the following chapter ? > > https://clusterlabs.github.io/PAF/Quick_Start-Debian-9-pcs.html#postgresql-and-cluster-stack-installation That was it - somehow I

Re: [ClusterLabs] How to cancel a fencing request?

2018-04-03 Thread Ken Gaillot
On Tue, 2018-04-03 at 21:46 +0200, Klaus Wenninger wrote: > On 04/03/2018 05:43 PM, Ken Gaillot wrote: > > On Tue, 2018-04-03 at 07:36 +0200, Klaus Wenninger wrote: > > > On 04/02/2018 04:02 PM, Ken Gaillot wrote: > > > > On Mon, 2018-04-02 at 10:54 +0200, Jehan-Guillaume de Rorthais > > > >

Re: [ClusterLabs] How to cancel a fencing request?

2018-04-03 Thread Ken Gaillot
On Tue, 2018-04-03 at 21:33 +0200, Jehan-Guillaume de Rorthais wrote: > On Mon, 02 Apr 2018 09:02:24 -0500 > Ken Gaillot wrote: > > On Mon, 2018-04-02 at 10:54 +0200, Jehan-Guillaume de Rorthais > > wrote: > > > On Sun, 1 Apr 2018 09:01:15 +0300 > > > Andrei Borzenkov

Re: [ClusterLabs] Possible idea for 2.0.0: renaming the Pacemaker daemons

2018-04-03 Thread Ken Gaillot
On Tue, 2018-04-03 at 08:33 +0200, Kristoffer Grönlund wrote: > Ken Gaillot writes: > > > > I > > > would vote against PREFIX-configd as compared to other cluster > > > software, > > > I would expect that daemon name to refer to a more generic > > > cluster > > >

Re: [ClusterLabs] Advisory order for cluster-managed resources

2018-04-03 Thread Ken Gaillot
On Tue, 2018-04-03 at 16:24 +, Sam Gardner wrote: > "In short, I'd recommend separate constraints :) e.g. start rscA then > promote rscB, promote rscB then start rscC." > > I've fiddled around with my code and gotten it to do this. > > Just out of curiosity, is there an upper limit on the

Re: [ClusterLabs] How to cancel a fencing request?

2018-04-03 Thread Jehan-Guillaume de Rorthais
On Tue, 3 Apr 2018 07:36:31 +0200 Klaus Wenninger wrote: > On 04/02/2018 04:02 PM, Ken Gaillot wrote: > > On Mon, 2018-04-02 at 10:54 +0200, Jehan-Guillaume de Rorthais wrote: > >> On Sun, 1 Apr 2018 09:01:15 +0300 > >> Andrei Borzenkov wrote: > >>

Re: [ClusterLabs] How to cancel a fencing request?

2018-04-03 Thread Klaus Wenninger
On 04/03/2018 05:43 PM, Ken Gaillot wrote: > On Tue, 2018-04-03 at 07:36 +0200, Klaus Wenninger wrote: >> On 04/02/2018 04:02 PM, Ken Gaillot wrote: >>> On Mon, 2018-04-02 at 10:54 +0200, Jehan-Guillaume de Rorthais >>> wrote: On Sun, 1 Apr 2018 09:01:15 +0300 Andrei Borzenkov

Re: [ClusterLabs] How to cancel a fencing request?

2018-04-03 Thread Jehan-Guillaume de Rorthais
On Mon, 02 Apr 2018 09:02:24 -0500 Ken Gaillot wrote: > On Mon, 2018-04-02 at 10:54 +0200, Jehan-Guillaume de Rorthais wrote: > > On Sun, 1 Apr 2018 09:01:15 +0300 > > Andrei Borzenkov wrote: [...] > > > In two-node cluster you can set pcmk_delay_max so

Re: [ClusterLabs] chap lio-t / iscsitarget disabled - why?

2018-04-03 Thread Valentin Vidic
On Tue, Apr 03, 2018 at 04:48:00PM +0200, Stefan Friedel wrote: > we've a running drbd - iscsi cluster (two nodes Debian stretch, pacemaker / > corosync, res group w/ ip + iscsitarget/lio-t + iscsiluns + lvm etc. on top of > drbd etc.). Everything is running fine - but we didn't manage to get CHAP

Re: [ClusterLabs] Advisory order for cluster-managed resources

2018-04-03 Thread Sam Gardner
"In short, I'd recommend separate constraints :) e.g. start rscA then promote rscB, promote rscB then start rscC." I've fiddled around with my code and gotten it to do this. Just out of curiosity, is there an upper limit on the number of individual constraints that we can put in place? 10 or

Re: [ClusterLabs] Advisory order for cluster-managed resources

2018-04-03 Thread Ken Gaillot
On Mon, 2018-04-02 at 18:47 +, Sam Gardner wrote: > Is there any way that I can order the startup of resources A, B, C in > that order such that if B fails to start for some reason, A and C > will still start, but the order of operations will always be start A, > start B, start C? > > I've

Re: [ClusterLabs] How to cancel a fencing request?

2018-04-03 Thread Ken Gaillot
On Tue, 2018-04-03 at 07:36 +0200, Klaus Wenninger wrote: > On 04/02/2018 04:02 PM, Ken Gaillot wrote: > > On Mon, 2018-04-02 at 10:54 +0200, Jehan-Guillaume de Rorthais > > wrote: > > > On Sun, 1 Apr 2018 09:01:15 +0300 > > > Andrei Borzenkov wrote: > > > > > > > 31.03.2018

[ClusterLabs] chap lio-t / iscsitarget disabled - why?

2018-04-03 Thread Stefan Friedel
Hi all, we've a running drbd - iscsi cluster (two nodes Debian stretch, pacemaker / corosync, res group w/ ip + iscsitarget/lio-t + iscsiluns + lvm etc. on top of drbd etc.). Everything is running fine - but we didn't manage to get CHAP to work. targetcli / lio-t always switches the

Re: [ClusterLabs] How to setup a simple master/slave cluster in two nodes without stonith resource

2018-04-03 Thread Jehan-Guillaume de Rorthais
On Tue, 3 Apr 2018 14:41:56 +0200 Jehan-Guillaume de Rorthais wrote: > On Tue, 3 Apr 2018 02:07:50 + > 范国腾 wrote: > > > Hello, > > > > I want to setup a cluster in two nodes. One is master and the other is > > slave. I don’t need the fencing device

Re: [ClusterLabs] Cluster fails to start on rebooted nodes without manual fiddling...

2018-04-03 Thread Jehan-Guillaume de Rorthais
On Mon, 02 Apr 2018 14:05:09 -0600 Casey & Gina wrote: [...] > Now, if I restart the second node, and execute `pcs cluster start` once it's > back up, it fails to start the resource and shows me this in the `pcs status` > output: > > > -- > *

Re: [ClusterLabs] How to setup a simple master/slave cluster in two nodes without stonith resource

2018-04-03 Thread Jehan-Guillaume de Rorthais
On Tue, 3 Apr 2018 02:07:50 + 范国腾 wrote: > Hello, > > I want to setup a cluster in two nodes. One is master and the other is slave. > I don’t need the fencing device because my internal network is stable. How much stable it is? This assumption is frequently wrong.

Re: [ClusterLabs] Possible idea for 2.0.0: renaming the Pacemaker daemons

2018-04-03 Thread Jehan-Guillaume de Rorthais
On Tue, 3 Apr 2018 09:58:50 +1000 Andrew Beekhof wrote: > On Fri, Mar 30, 2018 at 8:36 PM, Jehan-Guillaume de Rorthais < > j...@dalibo.com> wrote: > > On Thu, 29 Mar 2018 09:32:41 +1100 > > Andrew Beekhof wrote: > > > On Thu, Mar 29, 2018 at 8:07 AM,

Re: [ClusterLabs] Announcing the first ClusterLabs video karaoke contest!

2018-04-03 Thread Klaus Wenninger
On 04/03/2018 09:52 AM, Christine Caulfield wrote: > On 03/04/18 07:14, Klaus Wenninger wrote: >> On 04/02/2018 02:57 AM, Digimer wrote: >>> On 2018-04-01 05:30 PM, Ken Gaillot wrote: In honor of the recent 10th anniversary of the first public release of Pacemaker, ClusterLabs is proud

Re: [ClusterLabs] Announcing the first ClusterLabs video karaoke contest!

2018-04-03 Thread Christine Caulfield
On 03/04/18 07:14, Klaus Wenninger wrote: > On 04/02/2018 02:57 AM, Digimer wrote: >> On 2018-04-01 05:30 PM, Ken Gaillot wrote: >>> In honor of the recent 10th anniversary of the first public release of >>> Pacemaker, ClusterLabs is proud to announce its first video karaoke >>> contest! >>> >>>

Re: [ClusterLabs] Possible idea for 2.0.0: renaming the Pacemaker daemons

2018-04-03 Thread Kristoffer Grönlund
Ken Gaillot writes: >> I >> would vote against PREFIX-configd as compared to other cluster >> software, >> I would expect that daemon name to refer to a more generic cluster >> configuration key/value store, and that is something that I have some >> hope of adding in the

Re: [ClusterLabs] Announcing the first ClusterLabs video karaoke contest!

2018-04-03 Thread Klaus Wenninger
On 04/02/2018 02:57 AM, Digimer wrote: > On 2018-04-01 05:30 PM, Ken Gaillot wrote: >> In honor of the recent 10th anniversary of the first public release of >> Pacemaker, ClusterLabs is proud to announce its first video karaoke >> contest! >> >> To participate, simply record video of yourself

[ClusterLabs] Antw: Re: Possible idea for 2.0.0: renaming the Pacemaker daemons

2018-04-03 Thread Ulrich Windl
>>> Jehan-Guillaume de Rorthais schrieb am 28.03.2018 um >>> 21:41 in Nachricht <20180328214117.3916c634@firost>: [...] > I'm from the PostgreSQL galaxy. In this galaxy, parameter > "update_process_title" controls if PostgreSQL should set human readable > process > title and is

Re: [ClusterLabs] Stonith stops after vSphere restart

2018-04-03 Thread jota
Hi again, After restarting the vCenter, all worked as expected. Thanks to all. Have a nice day. 23 de febrero de 2018 7:59, j...@disroot.org escribió: > Hi all, > > Thanks for your responses. > With your advice I was able to configure it. I still have to test its > operation. When it is >

[ClusterLabs] Antw: Re: Possible idea for 2.0.0: renaming the Pacemaker daemons

2018-04-03 Thread Ulrich Windl
>>> Digimer schrieb am 28.03.2018 um 21:31 in Nachricht : > On 2018-03-28 01:40 PM, Ken Gaillot wrote: [...] > If you need to shorten it, 'pcmk-' has been a long-established standard. I'd suggest "pmkr" or "pcmkr" instead. [...]

[ClusterLabs] Antw: Possible idea for 2.0.0: renaming the Pacemaker daemons

2018-04-03 Thread Ulrich Windl
Hi! When there is no urge to bring out 2.0.0, there's still time to fix things IMHO. After release of 2.0.0 the sitiation is much worse. Regards, Ulrich >>> Ken Gaillot schrieb am 28.03.2018 um 19:40 in >>> Nachricht <1522258825.18707.4.ca...@redhat.com>: > Hi all, > >