lbcli replace node

AI Tools

Replaces one node with another, transferring data from the source node to the target node.

Synopsis

Replaces a source node with a target node. The replace node operation moves all of the data of a source node to a target node. The prerequisites for the operation to run are that the source node must be in Inactive state, and the target node must be in Unattached state.

lbcli replace node --src-node-uuid=<node-uuid> --target-node-uuid=<node-uuid> [flags]

Examples:

# replace node whose uuid is 302e7970-b138-11e9-91d4-525401643394 with a new node whose uuid is a02e7970-b138-11e9-91d4-525401643394. lbcli -J $JWT replace node --src-node-uuid=302e7970-b138-11e9-91d4-525401643394 --target-node-uuid=a02e7970-b138-11e9-91d4-525401643394

Flag

Short

Type

Default

Description

--help

-h

bool


Help for node.

--src-node-uuid


string


Source Node UUID (required).

– target-node-uuid


string


Target Node UUID (required).

Note

The source node must be inactive. Target node must be unattached.