node_suspend

This job suspends one or more nodes.

Mandatory Parameters

Parameter Name Data Type Description
nid integer, list Node ID of a single node, or a list of node IDs.

Optional Parameters

Parameter Name Data Type Description
disable boolean Also set the node as disabled in the configuration (default: False).

Substitute Parameters

There are no substitute parameters.

Allowed Users

The following users are allowed to run this job:

  • root

Allowed Groups

The following groups are allowed to run this job:

  • root
  • exaadm

Examples

The following code snippets show how to use this job using both Python (via XML-RPC) and on the command-line using confd_client.