Re: [ClusterLabs] how to setup single node cluster

2021-04-08 Thread Andrei Borzenkov
On 08.04.2021 09:26, d tbsky wrote: > Reid Wahl >> I don't think we do require fencing for single-node clusters. (Anyone at Red >> Hat, feel free to comment.) I vaguely recall an internal mailing list or IRC >> conversation where we discussed this months ago, but I can't find it now. >> I've

Re: [ClusterLabs] Why my node1 couldn't back to the clustering chain?

2021-04-08 Thread Jason Long
Yes, I just wanted to know. In clustering, when a node is down and go online again, then the cluster will not use it again until another node fails. Am I right? On Thursday, April 8, 2021, 11:58:16 PM GMT+4:30, Antony Stone wrote: On Thursday 08 April 2021 at 21:24:02, Jason Long

Re: [ClusterLabs] Why my node1 couldn't back to the clustering chain?

2021-04-08 Thread Jason Long
Thanks. Thus, my cluster uses Node1 when Node2 is down? On Thursday, April 8, 2021, 07:32:14 PM GMT+4:30, Antony Stone wrote: On Thursday 08 April 2021 at 16:55:47, Ken Gaillot wrote: > On Thu, 2021-04-08 at 14:32 +, Jason Long wrote: > > Why, when node1 is back, then web server

Re: [ClusterLabs] Antw: [EXT] Re: how to setup single node cluster

2021-04-08 Thread Strahil Nikolov
Maybe booth can take care when it dies and powers up the resource in the DR. Best Regards,Strahil Nikolov On Thu, Apr 8, 2021 at 10:28, Ulrich Windl wrote: >>> Reid Wahl schrieb am 08.04.2021 um 08:32 in Nachricht : > On Wed, Apr 7, 2021 at 11:27 PM d tbsky wrote: > >> Reid Wahl >> >

[ClusterLabs] [Problem] In RHEL8.4beta, pgsql resource control fails.

2021-04-08 Thread renayama19661014
Hi Ken, Hi All, In the pgsql resource, crm_mon is executed in the process of demote and stop, and the result is processed. However, pacemaker included in RHEL8.4beta fails to execute this crm_mon.  - The problem also occurs on github master(c40e18f085fad9ef1d9d79f671ed8a69eb3e753f). The

Re: [ClusterLabs] Why my node1 couldn't back to the clustering chain?

2021-04-08 Thread Antony Stone
On Thursday 08 April 2021 at 21:33:48, Jason Long wrote: > Yes, I just wanted to know. In clustering, when a node is down and > go online again, then the cluster will not use it again until another node > fails. Am I right? Think of it like this: You can have as many nodes in your cluster as

Re: [ClusterLabs] Why my node1 couldn't back to the clustering chain?

2021-04-08 Thread Antony Stone
On Thursday 08 April 2021 at 21:33:48, Jason Long wrote: > Yes, I just wanted to know. In clustering, when a node is down and > go online again, then the cluster will not use it again until another node > fails. Am I right? In general, yes - unless you have specified a location contraint for

Re: [ClusterLabs] Why my node1 couldn't back to the clustering chain?

2021-04-08 Thread Antony Stone
On Thursday 08 April 2021 at 21:24:02, Jason Long wrote: > Thanks. > Thus, my cluster uses Node1 when Node2 is down? Judging from your previous emails, you have a two node cluster. What else is it going to use? Antony. -- Anything that improbable is effectively impossible. - Murray

Re: [ClusterLabs] Why my node1 couldn't back to the clustering chain?

2021-04-08 Thread Jason Long
Why, when node1 is back, then web server still on node2? Why not switched? On Thursday, April 8, 2021, 06:49:38 PM GMT+4:30, Ken Gaillot wrote: On Thu, 2021-04-08 at 14:14 +, Jason Long wrote: > Hello, > I stopped node1 manually as below: > > [root@node1 ~]# pcs cluster stop

[ClusterLabs] Why my node1 couldn't back to the clustering chain?

2021-04-08 Thread Jason Long
Hello, I stopped node1 manually as below: [root@node1 ~]# pcs cluster stop node1 node1: Stopping Cluster (pacemaker)... node1: Stopping Cluster (corosync)... [root@node1 ~]# [root@node1 ~]# pcs status Error: error running crm_mon, is pacemaker running?   Could not connect to the CIB: Transport

Re: [ClusterLabs] Why my node1 couldn't back to the clustering chain?

2021-04-08 Thread Antony Stone
On Thursday 08 April 2021 at 16:55:47, Ken Gaillot wrote: > On Thu, 2021-04-08 at 14:32 +, Jason Long wrote: > > Why, when node1 is back, then web server still on node2? Why not > > switched? > > By default, there are no preferences as to where a resource should run. > The cluster is free to

Re: [ClusterLabs] Why my node1 couldn't back to the clustering chain?

2021-04-08 Thread Ken Gaillot
On Thu, 2021-04-08 at 14:32 +, Jason Long wrote: > Why, when node1 is back, then web server still on node2? Why not > switched? By default, there are no preferences as to where a resource should run. The cluster is free to move or leave resources as needed. If you want a resource to prefer a

[ClusterLabs] Antw: [EXT] Why my node1 couldn't back to the clustering chain?

2021-04-08 Thread Ulrich Windl
>>> Jason Long schrieb am 08.04.2021 um 16:14 in Nachricht <409853881.89954.1617891244...@mail.yahoo.com>: > Hello, > I stopped node1 manually as below: > > [root@node1 ~]# pcs cluster stop node1 > node1: Stopping Cluster (pacemaker)... > node1: Stopping Cluster (corosync)... > [root@node1 ~]# >

Re: [ClusterLabs] Why my node1 couldn't back to the clustering chain?

2021-04-08 Thread Ken Gaillot
On Thu, 2021-04-08 at 14:14 +, Jason Long wrote: > Hello, > I stopped node1 manually as below: > > [root@node1 ~]# pcs cluster stop node1 > node1: Stopping Cluster (pacemaker)... > node1: Stopping Cluster (corosync)... > [root@node1 ~]# > [root@node1 ~]# pcs status > Error: error running

Re: [ClusterLabs] how to setup single node cluster

2021-04-08 Thread Strahil Nikolov
I always though that the setup is the same, just the node count is only one. I guess you need pcs, corosync + pacemaker.If RH is going to support it, they will require fencing. Most probably sbd or ipmi are the best candidates. Best Regards,Strahil Nikolov On Thu, Apr 8, 2021 at 6:52, d

Re: [ClusterLabs] Libreswan state machine

2021-04-08 Thread Reid Wahl
No worries, best of luck! On Thursday, April 8, 2021, Ryszard Styczynski wrote: > That's right. I just realised it. Apologies for the spam. > > On 8 Apr 2021, at 09:36, Reid Wahl wrote: > Hi, Ryszard. > > I believe you may have mailed the wrong list by mistake, as your question doesn't appear

Re: [ClusterLabs] Libreswan state machine

2021-04-08 Thread Ryszard Styczynski
That's right. I just realised it. Apologies for the spam. > On 8 Apr 2021, at 09:36, Reid Wahl wrote: > > Hi, Ryszard. > > I believe you may have mailed the wrong list by mistake, as your question > doesn't appear related to the ClusterLabs project. Perhaps someone here might > know though.

Re: [ClusterLabs] Libreswan state machine

2021-04-08 Thread Reid Wahl
Hi, Ryszard. I believe you may have mailed the wrong list by mistake, as your question doesn't appear related to the ClusterLabs project. Perhaps someone here might know though. On Thursday, April 8, 2021, Ryszard Styczynski wrote: > Hello, > > I'm looking for IPsec state machine implemented in

[ClusterLabs] Libreswan state machine

2021-04-08 Thread Ryszard Styczynski
Hello, I'm looking for IPsec state machine implemented in Libreswan. I may guess how states are correlated, but having a state machine will give me a final answer. My current question is what is a next state after STATE_QUICK_R2? Should IPsec engine wait for rekeying? How long? How many times

[ClusterLabs] Antw: [EXT] Re: how to setup single node cluster

2021-04-08 Thread Ulrich Windl
>>> Reid Wahl schrieb am 08.04.2021 um 08:32 in Nachricht : > On Wed, Apr 7, 2021 at 11:27 PM d tbsky wrote: > >> Reid Wahl >> > I don't think we do require fencing for single-node clusters. (Anyone at >> Red Hat, feel free to comment.) I vaguely recall an internal mailing list >> or IRC

[ClusterLabs] Antw: [EXT] Re: how to setup single node cluster

2021-04-08 Thread Ulrich Windl
>>> Klaus Wenninger schrieb am 08.04.2021 um 08:26 in Nachricht <01fe6b6e-690a-2ea7-6218-8545f0b7a...@redhat.com>: > On 4/8/21 8:16 AM, Reid Wahl wrote: >> >> >> On Wed, Apr 7, 2021 at 9:46 PM Strahil Nikolov > > wrote: >> >> I always though that the setup is the

Re: [ClusterLabs] how to setup single node cluster

2021-04-08 Thread d tbsky
Reid Wahl > Disaster recovery is the main use case we had in mind. See the RHEL 8.2 > release notes: > - > https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.2_release_notes/rhel-8-2-0-release#enhancement_high-availability-and-clusters > > I thought I also

Re: [ClusterLabs] how to setup single node cluster

2021-04-08 Thread Reid Wahl
On Wed, Apr 7, 2021 at 11:27 PM d tbsky wrote: > Reid Wahl > > I don't think we do require fencing for single-node clusters. (Anyone at > Red Hat, feel free to comment.) I vaguely recall an internal mailing list > or IRC conversation where we discussed this months ago, but I can't find it >

Re: [ClusterLabs] how to setup single node cluster

2021-04-08 Thread d tbsky
Reid Wahl > I don't think we do require fencing for single-node clusters. (Anyone at Red > Hat, feel free to comment.) I vaguely recall an internal mailing list or IRC > conversation where we discussed this months ago, but I can't find it now. > I've also checked our support policies

Re: [ClusterLabs] how to setup single node cluster

2021-04-08 Thread Klaus Wenninger
On 4/8/21 8:16 AM, Reid Wahl wrote: On Wed, Apr 7, 2021 at 9:46 PM Strahil Nikolov > wrote: I always though that the setup is the same, just the node count is only one. I guess you need pcs, corosync + pacemaker. If RH is going to support it,

Re: [ClusterLabs] Antw: [EXT] how to setup single node cluster

2021-04-08 Thread d tbsky
Ulrich Windl > > >>> d tbsky schrieb am 08.04.2021 um 05:52 in Nachricht > : > > Hi: > > I found RHEL 8.2 support single node cluster now. but I didn't > > find further document to explain the concept. RHEL 8.2 also support > > "disaster recovery cluster". so I think maybe a single node

Re: [ClusterLabs] how to setup single node cluster

2021-04-08 Thread Reid Wahl
On Wed, Apr 7, 2021 at 9:46 PM Strahil Nikolov wrote: > I always though that the setup is the same, just the node count is only > one. > > I guess you need pcs, corosync + pacemaker. > If RH is going to support it, they will require fencing. Most probably sbd > or ipmi are the best candidates. >

[ClusterLabs] Antw: [EXT] how to setup single node cluster

2021-04-08 Thread Ulrich Windl
>>> d tbsky schrieb am 08.04.2021 um 05:52 in Nachricht : > Hi: > I found RHEL 8.2 support single node cluster now. but I didn't > find further document to explain the concept. RHEL 8.2 also support > "disaster recovery cluster". so I think maybe a single node disaster > recovery cluster is