8.2 okv cluster service stop Command
The okv cluster service stop
command stops the cluster
service of a node.
Required Authorization
System Administrator role
Syntax
okv cluster service stop
JSON Input File Template
{
"service" : {
"category" : "cluster,
"resource" : "service",
"action" : "stop,
"options" : {
"nodeName" : "#VALUE"
}
}
}
Parameters
Parameter | Required | Description |
---|---|---|
--node-name |
Required |
Name of the cluster node |
CLI Command
okv cluster service stop --node <argument>
JSON Examples
- Generate JSON input for the
okv cluster service stop
command.okv cluster service stop --generate-json-input
The generated input appears as follows:
{ "service" : { "category" : "cluster, "resource" : "service", "action" : "stop, "options" : { "nodeName" : "#VALUE" } } }
- Save the generated input to a file, for example,
service_stop.json
. - Run the
okv cluster service stop
command using the generated JSON file. For example:okv cluster service stop --from-json service_stop.json
Output similar to the following appears:
{ "result" : "Success" }
Parent topic: Cluster Monitoring Commands