The requested article is not available. Either it doesn't apply to this version of the product or the relevant information is organized differently in this version of the docs. You can search, browse, or go back to the other version.
A newer release of this product is available.
RestartServices
-
PDF of this doc site
-
Manage storage with Element software
-
Protect your data
-
Perform replication between NetApp Element software and ONTAP (ONTAP CLI)
-
-
-

Collection of separate PDF docs
Creating your file...
This may take a few minutes. Thanks for your patience.
Your file is ready
You can use the RestartServices
method to restart the services on a node.
Parameters
CAUTION:
This method causes temporary node services interruption.
This method has the following input parameters:
Name | Description | Type | Default value | Required |
---|---|---|---|---|
force |
Set to true to restart services on a node. |
boolean |
None |
Yes |
service |
Service name to be restarted. |
string |
None |
No |
action |
Action to perform on the service (start, stop, restart). |
string |
None |
No |
Return values
This method has the following return values:
Name | Description | Type |
---|---|---|
details |
The output of the service restart procedure, including errors (if any). |
JSON object |
duration |
The time, in seconds, it took to restart services to the node. |
string |
result |
Results of the restart. |
string |
Request example
Requests for this method are similar to the following example:
{ "method": "RestartServices", "params": { "force" : true "action" : restart, } }
Response example
This method returns a response similar to the following example:
{ "id": 1, "result": { "details": "solidfire stop/waiting\nsolidfire start/running, process 7284\n", "duration": "00:00:02.541594", "result": "Passed" } }
New since version
9.6