Maintenance mode

The maintenance submenu is used to configure one or more nodes in a cluster in maintenance mode. The following checks with be performed prior to a node entering maintenance mode, to ensure there is no danger to the operations of the cluster:

  • If there will be any volume or snapshot with remaining replication 1 if the node goes down;

  • If the cluster’s quorum will go below a safety margin for available voting nodes.

A node could be configured in maintenance state with:

# storpool maintenance set node 23 duration 10m description kernel_update
OK

The above will configure node ID 23 in maintenance state for 10 minutes and will configure the description to “kernel_update”.

To list the present nodes in maintenance:

# storpool maintenance list
------------------------------------------------------------
| nodeId | started             | remaining | description   |
------------------------------------------------------------
|     23 | 2020-09-30 12:55:20 | 00:09:50  | kernel_update |
------------------------------------------------------------

To complete a maintenance for a node:

# storpool maintenance complete node 23
OK

Note

All non-cluster threatening issues related to the node in maintenance mode will not be sent by the monitoring system to external entities. All alerts will still be received by StorPool support and will be classified as “under maintenance” internally, while the node is in maintenance mode.

Attention

Any alerts that are cluster threatening will still send super-critical alerts to both StorPool support and any other configured endpoint. For details, see Severity levels.

Consider that a full cluster maintenance mode is also available. For more information on how to do this with storpool mgmtConfig maintenanceState, see Cluster maintenance mode.