Export (0) Print
Expand All

Set-HpcNode

Changes the properties for one or more nodes, including the description, data center, rack, chassis, roles, and product key for the nodes.

Syntax

Set-HpcNode [-Chassis <string>] [-DataCenter <string>] [-Description <string>] [-ManagementIpAddress <string>] [-ProductKey <string>] [-Rack <string>] [-Role <NodeRole>] [-Scheduler <string>] [-Name] <string[]> [<CommonParameters>]

Set-HpcNode [-Chassis <string>] [-DataCenter <string>] [-Description <string>] [-ManagementIpAddress <string>] [-ProductKey <string>] [-Rack <string>] [-Role <NodeRole>] [-Scheduler <string>] -Node <HpcNode[]> [<CommonParameters>]

Detailed Description

Changes the properties for one or more nodes, including the description, data center, rack, chassis, roles, and product key for the nodes.

Parameters

-Chassis <string>

Specifies the chassis in which the node is located.

 

Required?

false

Position?

named

Default Value

no default

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-DataCenter <string>

Specifies the data center in which the data center is located.

 

Required?

false

Position?

named

Default Value

no default

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Description <string>

Specifies a description for the node.

 

Required?

false

Position?

named

Default Value

no default

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ManagementIpAddress <string>

Specifies an IP address that Intelligent Platform Management Interface (IPMI) tools can use to manage power on the node. The format of the value for this parameter is the same as the format of a valid IP address.

 

Required?

false

Position?

named

Default Value

no default

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Name <string[]>

Specifies a list of names for the nodes for which you want to change the properties. You cannot specify both the Name and Node parameters.

 

Required?

true

Position?

1

Default Value

no default

Accept Pipeline Input?

false

Accept Wildcard Characters?

true

-Node <HpcNode[]>

Specifies a list of HpcNode objects for the nodes for which you want to change the properties. Use the Get-HpcNode cmdlet to get the HpcNode object for a node. You cannot specify both the Node and the Name parameters.

 

Required?

true

Position?

named

Default Value

no default

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-ProductKey <string>

Specifies the product key for Windows Server 2008 to use when you provision the node. The product key should be in the format of XXXXX-XXXXX-XXXXX-XXXXX-XXXXX, where X is a letter of either case or a digit.

 

Required?

false

Position?

named

Default Value

no default

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Rack <string>

Specifies a rack position for the node.

 

Required?

false

Position?

named

Default Value

no default

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Role <NodeRole>

Specifies a role for the node. You can set the role to one of the following values: None, ComputeNode, or BrokerNode. You need to take a node offline before you can change the role of the node. Use the Set-HpcNodeState cmdlet to take nodes offline.

 

Required?

false

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 that includes the 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>

 

Required?

false

Position?

named

Default Value

%CCP_SCHEDULER%

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.

Input and Return Types

The input type is the type of the objects that you can pipe to the cmdlet. The return type is the type of the objects that the cmdlet emits.

 

Input Type

One or more HpcNode objects.

Return Type

One or more HpcNode objects.

Example 1

C:\PS>Set-HpcNode -Name hpc01cn01 -Description "test node"

Sets the description for the node names hpc01cn01 to test node.

Example 2

C:\PS>Set-HpcNode -Name hpc01* -DataCenter east

Sets the datacenter to east for all nodes with names that start with hpc01.

Example 3

C:\PS>Get-HpcNode -GroupName broker | Set-HpcNode -Role BrokerNode

Gets the HpcNode objects for all nodes in the node group named broker, and sets the roles for those nodes to BrokerNode.

See Also

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft