node online
Applies To: Microsoft HPC Pack 2012, Microsoft HPC Pack 2012 R2
Brings the specified node or all nodes online.
For examples of how to use this command, see Examples.
Syntax
node online [/scheduler:<name>] {<node_name> | /all}
node online {/? | /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 bring online. |
/all |
Brings all nodes online. |
/? |
Displays Help at the command prompt. |
/help |
Displays Help at the command prompt. |
Remarks
If you specify a node that is already online, in the process of coming online, or in the process of going offline, this command fails. Specify only valid nodes that are currently offline for this command.
You must be a cluster administrator to run this command successfully.
Examples
To bring the node named computenode82 online, use the following command:
node online computenode82
To bring all of the nodes in the HPC cluster online, use the following command:
node online /all
To bring all of the nodes in the node group named MyNodeGroup online, use the following command at the command prompt:
for /f ″usebackq tokens=1 skip=2″ %i in (`node list /group:MyNodeGroup`) do node online %i
To use the previous example in a .cmd or .bat file, replace each occurrence of %i with %%i.