DisableMaintenanceMode
You can use the DisableMaintenanceMode method to take a storage node out of maintenance mode. You should only disable maintenance mode after you have completed maintenance and the node is online.
Parameters
This method has the following input parameters:
| Name | Description | Type | Default value | Required |
|---|---|---|---|---|
nodes |
List of storage node IDs to take out of maintenance mode. |
integer array |
None |
Yes |
Return values
This method has the following return values:
Name |
Description |
Type |
asyncHandle |
You can use the GetAsyncResult method to retrieve this asyncHandle and determine when the maintenance mode transition is complete. |
integer |
currentMode |
The current maintenance mode state of the node. Possible values:
|
MaintenanceMode (string) |
requestedMode |
The requested maintenance mode state of the node. Possible values:
|
MaintenanceMode (string) |
Request example
Requests for this method are similar to the following example:
{
"method": "DisableMaintenanceMode",
"params": {
"nodes": [6]
},
"id": 1
}
Response example
This method returns a response similar to the following example:
{
"id": 1,
"result":
{
"requestedMode": "Disabled",
"asyncHandle": 1,
"currentMode": "Enabled"
}
}
New since version
12.2