Share via


Add-HpcLinuxNode

Adds Linux node to the HPC cluster. This is only used for testing purposes.

Syntax

Add-HpcLinuxNode
   -Name <String>
   -ProcessorCores <Int32>
   -Sockets <Int32>
   -Memory <UInt64>
   -OSDistrib <String>
   -Networks <Hashtable[]>
   [-GPUs <Hashtable[]>]
   [-ClusterConnectionString <String[]>]
   [-Scheduler <String[]>]
   [<CommonParameters>]

Description

The Add-HpcLinuxNode cmdlet adds Linux node to the high performance computing (HPC) cluster. This is only used for testing purposes.

Examples

1:

Parameters

-ClusterConnectionString

Specifies an array of cluster connection strings for the cluster to which you want to add the device drivers. The value format is host1,host2,host3. If you do not specify the ClusterConnectionString parameter, this cmdlet uses the connection string on the head node that the CCP_CONNECTIONSTRING environment variable specifies. To set this environment variable, run the following cmdlet: Set-Content Env: CCP_CONNECTIONSTRING \<head_node_name\>.

This parameter was introduced in HPC Pack 2016.

Type:String[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-GPUs

Specifies the GPU information array. The array consists of the following items:

  • Name
  • Uuid
  • PciBusDevice
  • PciBusId
  • TotalMemory
  • MaxSMClock
Type:Hashtable[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Memory

Specifies the memory in MB that this cmdlet adds to the node.

Type:UInt64
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Name

Specifies the name of the node that this cmdlet adds.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Networks

Specifies an array of network information. The array consists of the following items:

  • Name
  • IpAddress
  • MacAddress
  • SupportRDMA

For instance:

$Net = @{} $Net\["Name"\]="Enterprise" $Net\["IpAddress"\]="192.168.0.2/23" $Net\["MacAddress"\]="abcdefghigk" $Net\["SupportRDMA"\]=$false $Nets=@() $Nets+=$Net

Type:Hashtable[]
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-OSDistrib

Specifies the operating system distribution of the node this cmdlet creates.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ProcessorCores

Specifies the number of processor cores that this cmdlet adds to the node.

Type:Int32
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Scheduler

Specifies an array of host names or IP addresses of the head node for the cluster to which you add the node. The value must be a valid computer name or IP address. If you do not specify the Scheduler parameter, this cmdlet uses the scheduler on the head node that the CCP_SCHEDULER environment variable specifies. To set this environment variable, run the following cmdlet: Set-Content Env:CCP_SCHEDULER \<head_node_name\>.

Type:String[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Sockets

Specifies the number of sockets for which this cmdlet adds.

Type:Int32
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False