Node Operations

These are the operations that you can perform on a node.

ADD

The ADD command configures the named HPC compute node for use by the DSC, and adds the compute node to the set of nodes that are managed by the DSC.

noteNote
Installing the DSC does not add compute nodes to the DSC by default.

Syntax

DSC NODE ADD name /datapath:dscdatasharepath /temppath:dsctempsharepath [/service:headnode] [/f]

Remarks

The /datapath parameter sets the local path for the directory that is used by the HpcData share. For example, specifying /datapath:C:\L2H\data results in a share named \\MyServer\HpcData, whose data is stored in the C:\L2H\data directory on MyServer. If the local directory doesn’t exist, it will be created.

The /temppath parameter sets the local path that is used by the HpcTemp share. For example, specifying /temppath:C:\L2H\temp results in a share named \\MyServer\HpcTemp whose data is stored in the C:\L2H\temp directory on MyServer. If the local directory doesn’t exist, it will be created.

If the HpcData or HpcTemp share already exists and points to a directory on a node, you can use the /f option ("force") to delete the existing shares and create new ones in the directory that you specify. If you do not use the /f option, then the shares that point to the original directories will continue to be used, and a warning message will be printed.

The /service option specifies the name of the cluster’s head node. Use the /service option if the environment variable %CCP_SCHEDULER% is not set. This environment variable identifies the location of the head node and is read by the Dsc.exe program. Although the environment variable is set by default on the head node itself, it is not set by default on the client.

Examples

DSC NODE ADD MyCluster-Node-01 /TempPath:c:\L2H\Temp /DataPath:c:\L2H\Data
DSC NODE ADD MyCluster-Node-02 /TempPath:c:\L2H\Temp /DataPath:c:\L2H\Data

This sequence of commands configures the named HPC compute nodes, and adds them to the DSC that runs on the cluster's head node.

REMOVE

The REMOVE command removes a DSC node from the set of nodes that are managed by the DSC.

Syntax

DSC NODE REMOVE name [/service: headnode] 

Remarks

The /service option specifies the name of the cluster’s head node. Use the /service option if the environment variable %CCP_SCHEDULER% is not set. This environment variable identifies the location of the head node and is read by the Dsc.exe program. Although the environment variable is set by default on the head node itself, it is not set by default on the client.

See Removing a Node from the DSC for more information.

Examples

DSC NODE REMOVE MyCluster-Node-01 

This command removes the named DSC node from the set of DSC nodes.

LIST

The LIST command lists the compute nodes that have been added to the DSC.

Syntax

DSC NODE LIST [/service: headnode

Remarks

The /service option specifies the name of the cluster’s head node. Use the /service option if the environment variable %CCP_SCHEDULER% is not set. This environment variable identifies the location of the head node and is read by the Dsc.exe program. Although the environment variable is set by default on the head node itself, it is not set by default on the client.

Examples

DSC NODE LIST

This command lists the compute nodes that are in the DSC, which is located on the head node.

VIEW

The VIEW command displays detailed information about the compute node that is specified by name.

DSC NODE VIEW MyUser-cn1 /service:MyUser-hn

Here is an example of the output:

Node MyUser-cn1:
    State = ReadWrite
    HpcTemp Local Path = \\MyUser-CN1\HpcData
    HpcData Local Path = c:\L2H\data
    Free Space = 479819542528

Syntax

DSC NODE VIEW name [/service: headnode]

Remarks

The /service option specifies the name of the cluster’s head node. Use the /service option if the environment variable %CCP_SCHEDULER% is not set. This environment variable identifies the location of the head node and is read by the Dsc.exe program. Although the environment variable is set by default on the head node itself, it is not set by default on the client.

Examples

DSC NODE VIEW MyCluster-Node-01       

This command displays information about the named node.



Show: