In pacemaker there is a standby mode. From what I understand, it will cause active services to be migrated away from that node in order to do maintenance on it. However there is also a maintenance mode or flag which I cannot seem to find any reasonable documentation for. This leads me to my question: Can anyone enlighten me as to what the differences between standby and maintenance are in pacemaker. Maybe even what their exact properties are.
Red Hat, being a major contributor of pacemaker (SUSE being another, from Clusterlabs' informations), provides quite good documentation about it.
Standby mode
standby
mode is for a node being a part of a cluster. Setting a node in standby mode will (attempt to) migrate services on other online nodes.4.4.5. Standby Mode
To set a node in standby mode:
Maintenance mode
maintenance-mode
is for the whole cluster. Setting the cluster in maintenance mode will make the cluster not attempt to manage services any more for whatever reason: the administrator of the cluster can now do actions without having the cluster interfering in any way.4.8. Cluster Maintenance
To set the cluster in maintenance mode:
So for example, to compare two things which might appear similar: the main difference immediately visible between putting all nodes in standby mode, and putting the cluster in maintenance mode, is that for the former case, it will stop all services, since there's no online node any more, while for the later, services will stay as they were, started or not, on various nodes.
I see this is an old question... but I think I can add something to the good answer above.
My experience is mostly in SLES clusters. It is possible to put either a cluster OR a node into maintenance mode. Maintenance mode puts the resources on that node into "unmanaged" state ─ where the resources are no longer monitored by the cluster, and the cluster will not stop or start resources. https://www.suse.com/support/kb/doc/?id=000019250
The pacemaker documentation also looks good to me. Perhaps it has been updated since the question was asked. https://clusterlabs.org/pacemaker/doc/en-US/Pacemaker/2.0/html-single/Pacemaker_Explained/index.html Search in that page for "maintenance".