Enabling and disabling nodes in target groups

To enable or disable a node in all target groups it belongs to, use the vstorage-target node-set command. Enabling a node starts its targets, while disabling a node stops its targets and moves the active path to another node. These operations are also performed when the node exits and enters maintenance.

For example, to enable a node with the ID bbfd0e7a26b1406d, run:

# vstorage-target node-set -node bbfd0e7a26b1406d -enable

Before disabling a node, make sure there are other STABLE nodes where the Active/Optimized path can be moved. Otherwise, an I/O error will occur.

To disable a node with the ID bbfd0e7a26b1406d, run:

# vstorage-target node-set -node bbfd0e7a26b1406d -disable

You can check the node status with the vstorage-target node-list command, refer to Listing nodes in target groups.