How to enable Maintenance Mode in HAA?
If there is only 1 HAA server, note that the Orchestrator must be stopped before performing any step on HAA server as it will have an impact.
If there is a valid and working 3 nodes HAA cluster. The below steps can be performed on them one at a time.
- Pick a node (i.e 1 to 3 or below)
- Run rladmin status and check whether node is a master node
- If the node isn’t a master node, turn maintenance mode on with rladmin node maintenance_mode on
- If the node is a master node, demote it and turn maintenance mode on with rladmin node maintenance_mode on demote_node
- Perform what is required on the node and do not halt the other 2
- Turn maintenance mode off with rladmin node maintenance_mode off
- It must be done on all 3 node, 1 by 1.
- In order to avoid multiple demote_node, it is recommended to start on the 2 slave nodes and finish with the master node.
- Note that while a node is in maintenance mode, the cluster will not use it. It becomes a 2/3 nodes cluster and there is no High Availability at the HAA level until all 3 nodes are back online and ready.
- Orchestrator can still work briefly with only 2 HAA nodes during maintenance on the 3rd node.