Skip to main content
Element Software
A newer release of this product is available.

DisableMaintenanceMode

Contributors netapp-pcarriga

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:

  • Disabled: No maintenance has been requested.

  • FailedToRecover: The node failed to recover from maintenance mode.

  • Unexpected: The node was found to be offline, but was in the Disabled mode.

  • RecoveringFromMaintenance: The node is in the process of recovering from maintenance mode.

  • PreparingForMaintenance: Actions are being taken to prepare a node to have maintenance performed.

  • ReadyForMaintenance: The node is ready for maintenance to be performed.

MaintenanceMode (string)

requestedMode

The requested maintenance mode state of the node. Possible values:

  • Disabled: No maintenance has been requested.

  • FailedToRecover: The node failed to recover from maintenance mode.

  • Unexpected: The node was found to be offline, but was in the Disabled mode.

  • RecoveringFromMaintenance: The node is in the process of recovering from maintenance mode.

  • PreparingForMaintenance: Actions are being taken to prepare a node to have maintenance performed.

  • ReadyForMaintenance: The node is ready for maintenance to be performed.

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