Add-HpcNodeSet
Add-HpcNodeSet
Adds a set of Windows Azure nodes to the HPC cluster.
Syntax
Parameter Set: Default
Add-HpcNodeSet -Quantity <Int32> -Size <String> -Template <HpcNodeTemplate> [-Scheduler <String> ] [ <CommonParameters>]
Detailed Description
Adds the specified number of Windows Azure nodes with the specified virtual machine size to the HPC cluster by using the specified node template.
Parameters
-Quantity<Int32>
Specifies the number of Windows Azure nodes that you want to add to the HPC cluster. You can specify a value from 1 through 1000. Ensure that the number is within the quota of role instances in the subscription for Windows Azure.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
no default |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-Scheduler<String>
Specifies the host name or IP address of the head node for the cluster to which you want to add Windows Azure nodes. 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>
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
%CCP_SCHEDULER% |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-Size<String>
Specifies a predefined virtual machine size of the Windows Azure nodes that is supported in HPC Pack. The size of the virtual machine determines characteristics such as the number of CPU cores, the memory capacity, and the local file system size of each node.
For more information, see Virtual Machine Sizes for Windows Azure.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
no default |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-Template<HpcNodeTemplate>
Specifies an HpcNodeTemplate object that corresponds to the node template that you want to associate with the Windows Azure nodes that you want to add to the HPC cluster.
The node template that you specify must be a Windows Azure node template. An error occurs if you specify a different type of node template.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
no default |
Accept Pipeline Input? |
True (ByValue) |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
- An HpcNodeTemplate object.
Outputs
The output type is the type of the objects that the cmdlet emits.
- One or more HpcNode objects.
Notes
To add Windows Azure nodes of different sizes, run this command separately for each size.
All of the nodes that you add to an HPC cluster by using a specific Windows Azure node template define a set of nodes that are deployed and can be managed together in Windows Azure when you start the nodes. This set includes nodes that you add later by using the same node template.
This cmdlet was introduced in HPC Pack 2008 R2 with Service Pack 1 (SP1). It is not supported in previous versions.
Examples
EXAMPLE 1
Gets an HpcNodeTemplate object for the node template names MyWorkerNodeTemplate, then adds 50 large worker nodes to the HPC cluster by using that node template.
PS C:\>Get-HpcNodeTemplate -Name MyWorkerNodeTemplate | Add-HpcNodeSet -Quantity 50 -Size Large