Validate-HpcIScsiStorageArray

Validates that the head node of the HPC cluster can communicate with the specified Internet SCSI (iSCSI) storage array.

Syntax

Copy Code
Parameter Set: Default

Validate-HpcIScsiStorageArray -HpcIScsiStorageArray <HpcIScsiStorageArray> [-Scheduler <String> ] [ <CommonParameters>]


Detailed Description

Validates that the head node of the HPC cluster can communicate with the specified iSCSI storage array.

Parameters

-HpcIScsiStorageArray<HpcIScsiStorageArray>

Specifies an HpcIScsiStorageArray object that represents the iSCSI storage array for which you want to validate connectivity. Typically, you use the HpcIScsiStorageArray object that the Add-HpcIScsiStorageArrary cmdlet returns when you add an iSCSI storage array to an HPC cluster. You can also use the Get-HpcIScsiStorageArray cmdlet to get an HpcIScsiStorageArray object for an iSCSI storage array that already is part of the HPC cluster.


Aliases

none

Required?

true

Position?

named

Default Value

no default

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-Scheduler<String>

Specifies the host name or IP address of the head node for which you want to validate connectivity to 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

%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

Inputs

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

  • An HpcIScsiStorageArray object

Outputs

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

  • None

Notes

  • If validation fails, perform the following checks:

    * Ensure that the head node has the necessary permissions to communicate with and make changes on the storage arrays. You must provide the necessary permissions to the head node computer so that the HPC services that run on the head node can configure the storage arrays.

    * Review the IP address that you specified, ensure that the storage arrays are configured properly, and then try to validate the connection again.

    * Open Event Viewer, and under Application and Service Logs, click Windows HPC Server. Look for the most recent Error event that has an ID of 6100 and a source of HpcManagement. The message for this event provides more information about the failure.

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

  • This cmdlet is supported only for Windows HPC Server 2008 R2.

Examples

EXAMPLE 1

Adds the iSCSI storage array with a management IP address of 10.0.0.10 to the HPC cluster, assigns the name Storage Array 1 and the description First Storage Array to that iSCSI storage array, and then saves the HpcIScsiStorageArray object for that iSCSI storage array to a variable. The example uses that variable to specify that iSCSI storage array for the Validate-HpcIScsiStorageArray cmdlet, which then validates that the head node for the HPC cluster can connect to the iSCSI storage array.


  Copy Code
$new_sa = Add-HpcIScsiStorageArray –Name "Storage Array 1" –IpAddress 10.0.0.10 –Description "First Storage Array"
Validate-HpcIScsiStorageArray –HpcIScsiStorageArray $new_sa

EXAMPLE 2

Adds the iSCSI storage array with a management IP address of 10.0.0.11 to the HPC cluster, and then assigns the name Storage Array 2 and the description Second Storage Array to that iSCSI storage array. The 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.


  Copy Code
Add-HpcIScsiStorageArray –Name "Storage Array 2" –IpAddress 10.0.0.11 –Description "Second Storage Array" | Validate-HpcIScsiStorageArray

Related topics