8.1 okv cluster service start Command

The okv cluster service start command starts the cluster service of a node.

Required Authorization

System Administrator role

Syntax

okv cluster service start 

JSON Input File Template

{
 "service" : {
  "category":"cluster,
  "resource":"service",
  "action":"start,
  "options":{
  "nodeName":"#VALUE"
   } 
  }
}

Parameters

Parameter Required Description
--node-name

Required

Name of the cluster node.

JSON Examples

  1. Generate JSON input for the okv cluster service start command.
    okv cluster service start --generate-json-input

    The generated input appears as follows:

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

    Output similar to the following appears: