8.4 okv cluster link enable Command

The okv cluster link enable command enables the replication link between the current node and the given node in a cluster.

Required Authorization

System Administrator role

okv cluster link enable command displays the following:
  • The command result, whether it is Success or failure.

Syntax

okv cluster link enable --generate-json-input

Parameters

Parameter Required Description
--node-name

Required

Name of the cluster target node to enable.

--target-node

Optional

Name of the node to initiate disabling of a node

JSON Examples

  1. Generate JSON input for the okv cluster link enable command.
    okv cluster link enable

    The generated input appears as follows:

    {
     "service" : {
      "category" : "cluster,
      "resource" : "link",
      "action" : "enable,
      "options" : {
       "nodeName" : "#VALUE",
       "targetNode" : "#VALUE"
       }
      }
    }
  2. Save the generated input to a file, for example, link_enable.json.
  3. Run the okv cluster link enable command using the generated JSON file. For example:
    okv cluster link enable --from-json link_enable.json

    Output similar to the following appears:

    {
     "result" : "Success"
    }