Re: [ClusterLabs] Maintenance mode status in CIB
Yep , both work without affecting the resources : crm cluster stop pcs cluster stop Once your maintenance is over , you can start the cluster and everything will be back in maintenance. Best Regards, Strahil Nikolov В вторник, 13 октомври 2020 г., 19:15:27 Гринуич+3, Digimer написа: On 2020-10-13 11:59 a.m., Strahil Nikolov wrote: > Also, it's worth mentioning that you can set the whole cluster in global > maintenance and power off the stack on all nodes without affecting your > resources. > I'm not sure if that is ever possible in node maintenance. > > Best Regards, > Strahil Nikolov Can you clarify what you mean by "power off the stack on all nodes"? Do you mean stop pacemaker/corosync/knet daemon themselves without issue? -- Digimer Papers and Projects: https://alteeve.com/w/ "I am, somehow, less interested in the weight and convolutions of Einstein’s brain than in the near certainty that people of equal talent have lived and died in cotton fields and sweatshops." - Stephen Jay Gould ___ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/
Re: [ClusterLabs] Maintenance mode status in CIB
Also, it's worth mentioning that you can set the whole cluster in global maintenance and power off the stack on all nodes without affecting your resources. I'm not sure if that is ever possible in node maintenance. Best Regards, Strahil Nikolov В вторник, 13 октомври 2020 г., 12:49:38 Гринуич+3, Digimer написа: On 2020-10-13 5:41 a.m., Jehan-Guillaume de Rorthais wrote: > On Tue, 13 Oct 2020 04:48:04 -0400 > Digimer wrote: > >> On 2020-10-13 4:32 a.m., Jehan-Guillaume de Rorthais wrote: >>> On Mon, 12 Oct 2020 19:08:39 -0400 >>> Digimer wrote: >>> Hi all, >>> >>> Hi you, >>> I noticed that there appear to be a global "maintenance mode" attribute under cluster_property_set. This seems to be independent of node maintenance mode. It seemed to not change even when using 'pcs node maintenance --all' >>> >>> You can set maintenance-mode using: >>> >>> pcs property set maintenance-mode=true >>> >>> You can read about "maintenance-mode" cluster attribute and "maintenance" >>> node attribute in chapters: >>> >>> >>>https://clusterlabs.org/pacemaker/doc/en-US/Pacemaker/2.0/html/Pacemaker_Explained/s-cluster-options.html >>> >>> >>>https://clusterlabs.org/pacemaker/doc/en-US/Pacemaker/2.0/html/Pacemaker_Explained/_special_node_attributes.html >>> >>> I would bet the difference is that "maintenance-mode" applies to all nodes >>> in one single action. Using 'pcs node maintenance --all', each pcsd daemon >>> apply the local node maintenance independently. >>> >>> With the later, I suppose you might have some lag between nodes to actually >>> start the maintenance, depending on external factors. Moreover, you can >>> start/exit the maintenance mode independently on each nodes. >> >> Thanks for this. >> >> A question remains; Is it possible that: >> >> > name="maintenance-mode" value="false"/> >> >> Could be set, and a given node could be: >> >> >> >> >> >> >> >> That is to say; If the cluster is set to maintenance mode, does that >> mean I should consider all nodes to also be in maintenance mode, >> regardless of what their individual maintenance mode might be set to? > > I remember a similar discussion happening some months ago. I believe Ken > answered your question there: > > https://lists.clusterlabs.org/pipermail/developers/2019-November/002242.html > > The whole answer is informative, but the conclusion might answer your > question: > > >> There is some room for coming up with better option naming and meaning. >For > >> example maybe the cluster-wide "maintenance-mode" should be something > >> like "force-maintenance" to make clear it takes precedence over node and > >> resource maintenance. > > I understand here that "maintenance-mode" takes precedence over individual > node > maintenance mode. > > Regards, Very helpful, thank you kindly! -- Digimer Papers and Projects: https://alteeve.com/w/ "I am, somehow, less interested in the weight and convolutions of Einstein’s brain than in the near certainty that people of equal talent have lived and died in cotton fields and sweatshops." - Stephen Jay Gould ___ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/ ___ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/
Re: [ClusterLabs] Maintenance mode status in CIB
On 2020-10-13 11:59 a.m., Strahil Nikolov wrote: > Also, it's worth mentioning that you can set the whole cluster in global > maintenance and power off the stack on all nodes without affecting your > resources. > I'm not sure if that is ever possible in node maintenance. > > Best Regards, > Strahil Nikolov Can you clarify what you mean by "power off the stack on all nodes"? Do you mean stop pacemaker/corosync/knet daemon themselves without issue? -- Digimer Papers and Projects: https://alteeve.com/w/ "I am, somehow, less interested in the weight and convolutions of Einstein’s brain than in the near certainty that people of equal talent have lived and died in cotton fields and sweatshops." - Stephen Jay Gould ___ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/
Re: [ClusterLabs] Maintenance mode status in CIB
On 2020-10-13 5:41 a.m., Jehan-Guillaume de Rorthais wrote: > On Tue, 13 Oct 2020 04:48:04 -0400 > Digimer wrote: > >> On 2020-10-13 4:32 a.m., Jehan-Guillaume de Rorthais wrote: >>> On Mon, 12 Oct 2020 19:08:39 -0400 >>> Digimer wrote: >>> Hi all, >>> >>> Hi you, >>> I noticed that there appear to be a global "maintenance mode" attribute under cluster_property_set. This seems to be independent of node maintenance mode. It seemed to not change even when using 'pcs node maintenance --all' >>> >>> You can set maintenance-mode using: >>> >>> pcs property set maintenance-mode=true >>> >>> You can read about "maintenance-mode" cluster attribute and "maintenance" >>> node attribute in chapters: >>> >>> >>> https://clusterlabs.org/pacemaker/doc/en-US/Pacemaker/2.0/html/Pacemaker_Explained/s-cluster-options.html >>> >>> >>> https://clusterlabs.org/pacemaker/doc/en-US/Pacemaker/2.0/html/Pacemaker_Explained/_special_node_attributes.html >>> >>> I would bet the difference is that "maintenance-mode" applies to all nodes >>> in one single action. Using 'pcs node maintenance --all', each pcsd daemon >>> apply the local node maintenance independently. >>> >>> With the later, I suppose you might have some lag between nodes to actually >>> start the maintenance, depending on external factors. Moreover, you can >>> start/exit the maintenance mode independently on each nodes. >> >> Thanks for this. >> >> A question remains; Is it possible that: >> >> > name="maintenance-mode" value="false"/> >> >> Could be set, and a given node could be: >> >> >> >> >> >> >> >> That is to say; If the cluster is set to maintenance mode, does that >> mean I should consider all nodes to also be in maintenance mode, >> regardless of what their individual maintenance mode might be set to? > > I remember a similar discussion happening some months ago. I believe Ken > answered your question there: > > https://lists.clusterlabs.org/pipermail/developers/2019-November/002242.html > > The whole answer is informative, but the conclusion might answer your > question: > > >> There is some room for coming up with better option naming and meaning. > For > >> example maybe the cluster-wide "maintenance-mode" should be something > >> like "force-maintenance" to make clear it takes precedence over node and > >> resource maintenance. > > I understand here that "maintenance-mode" takes precedence over individual > node > maintenance mode. > > Regards, Very helpful, thank you kindly! -- Digimer Papers and Projects: https://alteeve.com/w/ "I am, somehow, less interested in the weight and convolutions of Einstein’s brain than in the near certainty that people of equal talent have lived and died in cotton fields and sweatshops." - Stephen Jay Gould ___ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/
Re: [ClusterLabs] Maintenance mode status in CIB
On Tue, 13 Oct 2020 04:48:04 -0400 Digimer wrote: > On 2020-10-13 4:32 a.m., Jehan-Guillaume de Rorthais wrote: > > On Mon, 12 Oct 2020 19:08:39 -0400 > > Digimer wrote: > > > >> Hi all, > > > > Hi you, > > > >> > >> I noticed that there appear to be a global "maintenance mode" > >> attribute under cluster_property_set. This seems to be independent of > >> node maintenance mode. It seemed to not change even when using > >> 'pcs node maintenance --all' > > > > You can set maintenance-mode using: > > > > pcs property set maintenance-mode=true > > > > You can read about "maintenance-mode" cluster attribute and "maintenance" > > node attribute in chapters: > > > > > > https://clusterlabs.org/pacemaker/doc/en-US/Pacemaker/2.0/html/Pacemaker_Explained/s-cluster-options.html > > > > > > https://clusterlabs.org/pacemaker/doc/en-US/Pacemaker/2.0/html/Pacemaker_Explained/_special_node_attributes.html > > > > I would bet the difference is that "maintenance-mode" applies to all nodes > > in one single action. Using 'pcs node maintenance --all', each pcsd daemon > > apply the local node maintenance independently. > > > > With the later, I suppose you might have some lag between nodes to actually > > start the maintenance, depending on external factors. Moreover, you can > > start/exit the maintenance mode independently on each nodes. > > Thanks for this. > > A question remains; Is it possible that: > > name="maintenance-mode" value="false"/> > > Could be set, and a given node could be: > > > > > > > > That is to say; If the cluster is set to maintenance mode, does that > mean I should consider all nodes to also be in maintenance mode, > regardless of what their individual maintenance mode might be set to? I remember a similar discussion happening some months ago. I believe Ken answered your question there: https://lists.clusterlabs.org/pipermail/developers/2019-November/002242.html The whole answer is informative, but the conclusion might answer your question: >> There is some room for coming up with better option naming and meaning. For >> example maybe the cluster-wide "maintenance-mode" should be something >> like "force-maintenance" to make clear it takes precedence over node and >> resource maintenance. I understand here that "maintenance-mode" takes precedence over individual node maintenance mode. Regards, ___ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/
Re: [ClusterLabs] Maintenance mode status in CIB
On 2020-10-13 4:32 a.m., Jehan-Guillaume de Rorthais wrote: > On Mon, 12 Oct 2020 19:08:39 -0400 > Digimer wrote: > >> Hi all, > > Hi you, > >> >> I noticed that there appear to be a global "maintenance mode" >> attribute under cluster_property_set. This seems to be independent of >> node maintenance mode. It seemed to not change even when using >> 'pcs node maintenance --all' > > You can set maintenance-mode using: > > pcs property set maintenance-mode=true > > You can read about "maintenance-mode" cluster attribute and "maintenance" node > attribute in chapters: > > > https://clusterlabs.org/pacemaker/doc/en-US/Pacemaker/2.0/html/Pacemaker_Explained/s-cluster-options.html > > > https://clusterlabs.org/pacemaker/doc/en-US/Pacemaker/2.0/html/Pacemaker_Explained/_special_node_attributes.html > > I would bet the difference is that "maintenance-mode" applies to all nodes in > one single action. Using 'pcs node maintenance --all', each pcsd daemon apply > the local node maintenance independently. > > With the later, I suppose you might have some lag between nodes to actually > start the maintenance, depending on external factors. Moreover, you can > start/exit the maintenance mode independently on each nodes. Thanks for this. A question remains; Is it possible that: Could be set, and a given node could be: That is to say; If the cluster is set to maintenance mode, does that mean I should consider all nodes to also be in maintenance mode, regardless of what their individual maintenance mode might be set to? -- Digimer Papers and Projects: https://alteeve.com/w/ "I am, somehow, less interested in the weight and convolutions of Einstein’s brain than in the near certainty that people of equal talent have lived and died in cotton fields and sweatshops." - Stephen Jay Gould ___ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/
Re: [ClusterLabs] Maintenance mode status in CIB
On Mon, 12 Oct 2020 19:08:39 -0400 Digimer wrote: > Hi all, Hi you, > > I noticed that there appear to be a global "maintenance mode" > attribute under cluster_property_set. This seems to be independent of > node maintenance mode. It seemed to not change even when using > 'pcs node maintenance --all' You can set maintenance-mode using: pcs property set maintenance-mode=true You can read about "maintenance-mode" cluster attribute and "maintenance" node attribute in chapters: https://clusterlabs.org/pacemaker/doc/en-US/Pacemaker/2.0/html/Pacemaker_Explained/s-cluster-options.html https://clusterlabs.org/pacemaker/doc/en-US/Pacemaker/2.0/html/Pacemaker_Explained/_special_node_attributes.html I would bet the difference is that "maintenance-mode" applies to all nodes in one single action. Using 'pcs node maintenance --all', each pcsd daemon apply the local node maintenance independently. With the later, I suppose you might have some lag between nodes to actually start the maintenance, depending on external factors. Moreover, you can start/exit the maintenance mode independently on each nodes. ___ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/