Re: [ClusterLabs] what is the best practice for removing a node temporary (e.g. for installing updates) ?
On 06/19/2017 10:23 AM, Lentes, Bernd wrote: > Hi, > > what would you consider to be the best way for removing a node temporary from > the cluster, e.g. for installing updates ? > I thought "crm node maintenance node" would be the right way, but i was > astonished that the resources keep running on it. I would have expected that > the resources stop. > I think "/etc/init.d/openais stop" seems to be a good solution. The resources > are stopped and eventually moved to the other node, then i can install > updates, change hardware ... and reboot it afterwards. > > Or prefer "crm node standby" ? > > Thanks. > > > Bernd standby followed by either maintenance mode or stop standby moves all resources off the node, and ensures that resources won't move back to it when it rejoins, giving you the chance to make sure everything looks good before allowing resources back on it. Maintenance mode or stop lets you mess with the node without getting it fenced. With the node in standby, there's not a whole lot of difference. Mainly a node in maintenance but still up contributes to quorum. ___ Users mailing list: Users@clusterlabs.org http://lists.clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org
[ClusterLabs] what is the best practice for removing a node temporary (e.g. for installing updates) ?
Hi, what would you consider to be the best way for removing a node temporary from the cluster, e.g. for installing updates ? I thought "crm node maintenance node" would be the right way, but i was astonished that the resources keep running on it. I would have expected that the resources stop. I think "/etc/init.d/openais stop" seems to be a good solution. The resources are stopped and eventually moved to the other node, then i can install updates, change hardware ... and reboot it afterwards. Or prefer "crm node standby" ? Thanks. Bernd -- Bernd Lentes Systemadministration institute of developmental genetics Gebäude 35.34 - Raum 208 HelmholtzZentrum München bernd.len...@helmholtz-muenchen.de phone: +49 (0)89 3187 1241 fax: +49 (0)89 3187 2294 no backup - no mercy Helmholtz Zentrum Muenchen Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH) Ingolstaedter Landstr. 1 85764 Neuherberg www.helmholtz-muenchen.de Aufsichtsratsvorsitzende: MinDir'in Baerbel Brumme-Bothe Geschaeftsfuehrer: Prof. Dr. Guenther Wess, Heinrich Bassler, Dr. Alfons Enhsen Registergericht: Amtsgericht Muenchen HRB 6466 USt-IdNr: DE 129521671 ___ Users mailing list: Users@clusterlabs.org http://lists.clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org