ALTER-SYSTEM-DECOMMISSION-BACKEND
ALTER-SYSTEM-DECOMMISSION-BACKENDβ
Nameβ
ALTER SYSTEM DECOMMISSION BACKEND
Descriptionβ
The node offline operation is used to safely log off the node. The operation is asynchronous. If successful, the node is eventually removed from the metadata. If it fails, the logout will not be done (only for admins!)
grammar:
ALTER SYSTEM DECOMMISSION BACKEND "host:heartbeat_port"[,"host:heartbeat_port"...];
illustrate:
- host can be a hostname or an ip address
- heartbeat_port is the heartbeat port of the node
- The node offline operation is used to safely log off the node. The operation is asynchronous. If successful, the node is eventually removed from the metadata. If it fails, the logout will not be completed.
- You can manually cancel the node offline operation. See CANCEL DECOMMISSION
Exampleβ
-
Offline two nodes
ALTER SYSTEM DECOMMISSION BACKEND "host1:port", "host2:port";
Keywordsβ
ALTER, SYSTEM, DECOMMISSION, BACKEND, ALTER SYSTEM