+

Search Tips   |   Advanced Search

Intelligent Management: maintenance mode administrative tasks

Use the server maintenance mode commands to view or edit the maintenance mode of the servers without using the administrative console. To set maintenance mode on a node, we can use the NodeGroupManager Bean .

Use the following commands to set, disable, and check maintenance mode for the servers:


setMaintenanceMode

The setMaintenanceMode command puts a server into maintenance mode.

Required parameters:

Optional parameters:

Return value

The command returns void.

Batch mode example usage

Interactive mode example usage


unsetMaintenanceMode

The unsetMaintenanceMode command takes the server out of maintenance mode.

Required parameters:

Return value.

The command returns void.

Batch mode example usage

Interactive mode example usage


checkMode

The checkMode command checks whether a server is in maintenance mode.

Required parameters:

Return value.

The command returns a string value that indicates the server mode.

Batch mode example usage

Interactive mode example usage


Node maintenance mode

Use the NodeGroupManager MBean to enable or disable maintenance mode for a node.

Use the following example in wsadmin to set maintenance mode for a node:


Related:

  • Health management
  • Set maintenance mode
  • Create health policies
  • Intelligent Management: health policy administrative tasks
  • NodeGroupManager MBean