Add-HpcIScsiStorageArray

Add-HpcIScsiStorageArray

Adds the iSCSI storage array at the specified management IP address to an HPC cluster.

Syntax

Parameter Set: Default
Add-HpcIScsiStorageArray -IpAddress <String> -Name <String> [-ClusterConnectionString <String[]> ] [-Description <String> ] [-Scheduler <String[]> ] [ <CommonParameters>]




Detailed Description

The Add-HpcIScsiStorageArray cmdlet adds the Internet SCSI (iSCSI) storage array at the specified management IP address to an HPC cluster.

An iSCSI storage array is a computer, storage system, or appliance that provides storage resources over a network connection by using the iSCSI protocol. The nodes in an HPC cluster can use the iSCSI storage array to boot over a network connection, instead of requiring a local hard disk drive to serve as a system disk.

Parameters

-ClusterConnectionString<String[]>

Specifies an array of cluster connection strings for the cluster on which you perform the operation. 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.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Description<String>

Specifies a description of the iSCSI storage array that you want to add to the HPC cluster.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-IpAddress<String>

Specifies the management IP address for the iSCSI storage array that you want to add to the HPC cluster.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Name<String>

Specifies a name for the iSCSI storage array that you want to add to the HPC cluster. The maximum length of the name is 400 characters.


Aliases

none

Required?

true

Position?

named

Default Value

none

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 the iSCSI storage array. 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

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

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

Inputs

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

  • None

Outputs

The output type is the type of the objects that the cmdlet emits.

  • HpcIScsiStorageArray

Notes

  • The name and management IP address for the iSCSI storage array must be unique for the HPC cluster. If you try to add an iSCSI storage array with a name or management IP address that another iSCSI storage array for the cluster already uses, an error occurs.

  • You must be a cluster administrator to run this cmdlet successfully.

  • This cmdlet was introduced in HPC Pack 2008 R2. It is not supported in previous versions.

Examples

Example 1: Add an iSCSI storage array to an HPC cluster

Adds the iSCSI storage array with a management IP address of 10.0.0.10 to the HPC cluster and assigns the name Storage Array 1 to that iSCSI storage array.


PS C:\> Add-HpcIScsiStorageArray –Name "Storage Array 1" –IpAddress "10.0.0.10"

Example 2: Add an iSCSI storage array and validate its connection

Adds the iSCSI storage array with a management IP address of 10.0.0.11 to the HPC cluster and assigns the name Storage Array 2 and the description "Second Storage Array" to that iSCSI storage array. This example then redirects the HpcIScsiStorageArray object that is the output of the Add-HpcIScsiStorageArray cmdlet to become input to the Validate-HpcIScsiStorageArray cmdlet. This validates that the head node for the HPC cluster can connect to the iSCSI storage array.


PS C:\> Add-HpcIScsiStorageArray –Name "Storage Array 2" –IpAddress "10.0.0.11" –Description "Second Storage Array" | Validate-HpcIScsiStorageArray

Related topics

Community Additions

ADD
Show: