Add-HpcIScsiStorageArray

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

Syntax

Add-HpcIScsiStorageArray
   -Name <String>
   -IpAddress <String>
   [-Description <String>]
   [-ClusterConnectionString <String[]>]
   [-Scheduler <String[]>]
   [<CommonParameters>]

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.

Examples

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

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

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.

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

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

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.

Parameters

-ClusterConnectionString

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.

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

-Description

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

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

-IpAddress

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

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

-Name

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.

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

-Scheduler

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\>

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

Inputs

None

Outputs

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.