8.5 okv cluster link disable Command
The okv cluster link disable command disables a cluster
node.
Required Authorization
System Administrator role
okv cluster link disable command displays the following:
- The command result, whether it is Success or failure.
Syntax
okv cluster link disable
JSON Input File Template
{
"service" : {
"category" : "cluster,
"resource" : "link",
"action" : "enable,
"options" : {
"nodeName" : "#VALUE",
"targetNode" : "#VALUE"
}
}
}
Parameters
| Parameter | Required | Description |
|---|---|---|
--node-name |
Required |
Name of the cluster node. |
--target-node |
Optional |
Name of the node to initiate disabling of a node. |
JSON Examples
- Generate JSON input for the
okv cluster link disablecommand.okv cluster link disable --generate-json-input
The generated input appears as follows:
{ "service" : { "category" : "cluster, "resource" : "link", "action" : "enable, "options" : { "nodeName" : "#VALUE", "targetNode" : "#VALUE" } } } - Save the generated input to a file, for example,
link_disable.json. - Run the
okv cluster link disablecommand using the generated JSON file. For example:okv cluster link disable --from-json link_disable.jsonOutput similar to the following appears:
{ "result" : "Success" }
Parent topic: Cluster Monitoring Commands