node offline

Applies To: Microsoft HPC Pack 2008 R2, Microsoft HPC Pack 2012, Microsoft HPC Pack 2012 R2, Windows HPC Server 2008 R2

Takes the specified node or all nodes offline.

For examples of how to use this command, see Examples.

Syntax

node offline [/scheduler:<name>] {<node_name> | /all}

node offline {/? | /help}

Parameters

Parameter Description

/scheduler:<name>

Specifies the host name or IP address of the head node for the cluster that contains the node. The value must be a valid computer name or IP address. If you do not specify the /scheduler parameter, this command uses the scheduler on the head node that the CCP_SCHEDULER environment variable specifies.

<node_name>

Specifies the name of the node that you want to take offline.

/all

Takes all nodes offline.

/?

Displays Help at the command prompt.

/help

Displays Help at the command prompt.

Remarks

  • If you specify a node that is already offline, in the process of going offline, or in the process of coming online, this command fails. Specify only valid nodes that are currently online for this command.

  • You must be a cluster administrator to run this command successfully.

Examples

To take the node named computenode46 offline, use the following command:

node offline computenode46

To take all of the nodes in the HPC cluster offline, use the following command:

node offline /all

To take all of the nodes in the node group named MyNodeGroup offline, use the following command at the command prompt:

for /f ″usebackq tokens=1 skip=2″ %i in (`node list /group:MyNodeGroup`) do node offline %i

To use the previous example in a .cmd or .bat file, replace each occurrence of %i with %%i.

Additional references