Re: [ClusterLabs] Stopping all nodes causes servers to migrate

2021-01-26 Thread Digimer
On 2021-01-26 11:27 a.m., Ken Gaillot wrote: > On Tue, 2021-01-26 at 11:03 -0500, Digimer wrote: >> On 2021-01-26 10:15 a.m., Tomas Jelinek wrote: >>> Dne 25. 01. 21 v 17:01 Ken Gaillot napsal(a): On Mon, 2021-01-25 at 09:51 +0100, Jehan-Guillaume de Rorthais wrote: > Hi Digimer,

Re: [ClusterLabs] Stopping all nodes causes servers to migrate

2021-01-26 Thread Ken Gaillot
On Tue, 2021-01-26 at 11:03 -0500, Digimer wrote: > On 2021-01-26 10:15 a.m., Tomas Jelinek wrote: > > Dne 25. 01. 21 v 17:01 Ken Gaillot napsal(a): > > > On Mon, 2021-01-25 at 09:51 +0100, Jehan-Guillaume de Rorthais > > > wrote: > > > > Hi Digimer, > > > > > > > > On Sun, 24 Jan 2021 15:31:22

Re: [ClusterLabs] Stopping all nodes causes servers to migrate

2021-01-26 Thread Jehan-Guillaume de Rorthais
On Tue, 26 Jan 2021 16:15:55 +0100 Tomas Jelinek wrote: > Dne 25. 01. 21 v 17:01 Ken Gaillot napsal(a): > > On Mon, 2021-01-25 at 09:51 +0100, Jehan-Guillaume de Rorthais wrote: > >> Hi Digimer, > >> > >> On Sun, 24 Jan 2021 15:31:22 -0500 > >> Digimer wrote: > >> [...] > >>> I had a test

Re: [ClusterLabs] Stopping all nodes causes servers to migrate

2021-01-26 Thread Digimer
On 2021-01-26 10:15 a.m., Tomas Jelinek wrote: > Dne 25. 01. 21 v 17:01 Ken Gaillot napsal(a): >> On Mon, 2021-01-25 at 09:51 +0100, Jehan-Guillaume de Rorthais wrote: >>> Hi Digimer, >>> >>> On Sun, 24 Jan 2021 15:31:22 -0500 >>> Digimer wrote: >>> [...]   I had a test server (srv01-test)

Re: [ClusterLabs] Stopping all nodes causes servers to migrate

2021-01-26 Thread Tomas Jelinek
Dne 25. 01. 21 v 17:01 Ken Gaillot napsal(a): On Mon, 2021-01-25 at 09:51 +0100, Jehan-Guillaume de Rorthais wrote: Hi Digimer, On Sun, 24 Jan 2021 15:31:22 -0500 Digimer wrote: [...] I had a test server (srv01-test) running on node 1 (el8-a01n01), and on node 2 (el8-a01n02) I ran 'pcs

Re: [ClusterLabs] Stopping all nodes causes servers to migrate

2021-01-25 Thread Digimer
On 2021-01-25 3:58 p.m., Ken Gaillot wrote: > On Mon, 2021-01-25 at 13:18 -0500, Digimer wrote: >> On 2021-01-25 11:01 a.m., Ken Gaillot wrote: >>> On Mon, 2021-01-25 at 09:51 +0100, Jehan-Guillaume de Rorthais >>> wrote: Hi Digimer, On Sun, 24 Jan 2021 15:31:22 -0500 Digimer

Re: [ClusterLabs] Stopping all nodes causes servers to migrate

2021-01-25 Thread Ken Gaillot
On Mon, 2021-01-25 at 13:18 -0500, Digimer wrote: > On 2021-01-25 11:01 a.m., Ken Gaillot wrote: > > On Mon, 2021-01-25 at 09:51 +0100, Jehan-Guillaume de Rorthais > > wrote: > > > Hi Digimer, > > > > > > On Sun, 24 Jan 2021 15:31:22 -0500 > > > Digimer wrote: > > > [...] > > > > I had a test

Re: [ClusterLabs] Stopping all nodes causes servers to migrate

2021-01-25 Thread Digimer
On 2021-01-25 11:01 a.m., Ken Gaillot wrote: > On Mon, 2021-01-25 at 09:51 +0100, Jehan-Guillaume de Rorthais wrote: >> Hi Digimer, >> >> On Sun, 24 Jan 2021 15:31:22 -0500 >> Digimer wrote: >> [...] >>> I had a test server (srv01-test) running on node 1 (el8-a01n01), >>> and on >>> node 2

Re: [ClusterLabs] Stopping all nodes causes servers to migrate

2021-01-25 Thread Ken Gaillot
On Mon, 2021-01-25 at 09:51 +0100, Jehan-Guillaume de Rorthais wrote: > Hi Digimer, > > On Sun, 24 Jan 2021 15:31:22 -0500 > Digimer wrote: > [...] > > I had a test server (srv01-test) running on node 1 (el8-a01n01), > > and on > > node 2 (el8-a01n02) I ran 'pcs cluster stop --all'. > > > >

Re: [ClusterLabs] Stopping all nodes causes servers to migrate

2021-01-25 Thread Ken Gaillot
On Mon, 2021-01-25 at 14:01 +0300, Andrei Borzenkov wrote: > On Mon, Jan 25, 2021 at 12:07 PM Jehan-Guillaume de Rorthais > wrote: > > > As actions during a cluster shutdown cannot be handled in the same > > transition > > for each nodes, I usually add a step to disable all resources using > >

Re: [ClusterLabs] Stopping all nodes causes servers to migrate

2021-01-25 Thread Klaus Wenninger
On 1/25/21 9:51 AM, Jehan-Guillaume de Rorthais wrote: > Hi Digimer, > > On Sun, 24 Jan 2021 15:31:22 -0500 > Digimer wrote: > [...] >> I had a test server (srv01-test) running on node 1 (el8-a01n01), and on >> node 2 (el8-a01n02) I ran 'pcs cluster stop --all'. >> >> It appears like pacemaker

Re: [ClusterLabs] Stopping all nodes causes servers to migrate

2021-01-25 Thread Andrei Borzenkov
On Mon, Jan 25, 2021 at 12:07 PM Jehan-Guillaume de Rorthais wrote: > As actions during a cluster shutdown cannot be handled in the same transition > for each nodes, I usually add a step to disable all resources using property > "stop-all-resources" before shutting down the cluster: > > pcs

Re: [ClusterLabs] Stopping all nodes causes servers to migrate

2021-01-25 Thread Jehan-Guillaume de Rorthais
Hi Digimer, On Sun, 24 Jan 2021 15:31:22 -0500 Digimer wrote: [...] > I had a test server (srv01-test) running on node 1 (el8-a01n01), and on > node 2 (el8-a01n02) I ran 'pcs cluster stop --all'. > > It appears like pacemaker asked the VM to migrate to node 2 instead of > stopping it. Once

Re: [ClusterLabs] Stopping all nodes causes servers to migrate

2021-01-25 Thread Strahil Nikolov
I think that it makes sense, as '--all' should mean 'reach all servers and shutdown there'.Yet, when you run 'pcs cluster stop' - the migration of the resources is the only option. Still, it sounds like a bug. Best Regards,Strahil Nikolov Sent from Yahoo Mail on Android On Sun, Jan 24,

[ClusterLabs] Stopping all nodes causes servers to migrate

2021-01-24 Thread Digimer
Hi all, Right off the bat; I'm using a custom RA so this behaviour might be a bug in my agent. I had a test server (srv01-test) running on node 1 (el8-a01n01), and on node 2 (el8-a01n02) I ran 'pcs cluster stop --all'. It appears like pacemaker asked the VM to migrate to node 2 instead of