Test-EmcSystemConnectedToBlockStorageSystem

Verifies the connectivity of a host system or replication system to a block storage system. This cmdlet only works with block storage systems of VNX, Clariion, and Symmetrix arrays. The cmdlet does not work with VNXe storage systems.

 

Syntax

 

Parameters

-BlockStorageSystem <IBlockStorageSystem>

Attributes: Required, Position: 1

Specifies the ESI block storage system object, which you can add to ESI by using the Get-EmcStorageSystemCredential and Connect-EmcSystem cmdlets. You can get a storage system object by using the Get-EmcStorageSystem cmdlet.

 

-HostSystem <IHostSystem>

Attributes: Required, Position: named

Specifies the ESI host system object. You can add a host system object to ESI by using the Get-EmcHostSystemCredential and Connect-EmcSystem cmdlets. You can get a host system object by using the Get-EmcHostSystem cmdlet. The object can be a stand-alone host system, a virtual machine, or a hypervisor.

 

-Silent <SwitchParameter>

Attributes: Optional, Position: named

Turns off all the informational and verbose messages. However, it still displays errors.

 

-ReplicationSystem <ReplicationSystem>

Attributes: Required, Position: named

Specifies the ESI replication system object, which you can get by using the Get-EmcReplicationSystem cmdlet.

 

-Refresh <SwitchParameter>

Attributes: Optional, Position: named

Specifies whether to refresh the system after connecting to it.

 

<CommonParameters>

This cmdlet supports these common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, and OutVariable. Type get-help about_commonparameters for more details.

 

Examples

---------- Example 1 ----------

C:\PS>PS C:\> $s | select serialnumber, model

 

SerialNumber                                                Model

------------                                                -----

APM00130706440                                              VNX5300

 

PS C:\> $h | select HostSystemType, BuildNumber, OsString

 

HostSystemType                    BuildNumber                   OsString

--------------                    -----------                   --------

HyperV_VirtualMachine             7601                          Microsoft Windows Server 2008 R2 Enterprise  Service Pack 1 64-bit

 

PS C:\> Test-EmcSystemConnectedToBlockStorageSystem -HostSystem $h -BlockStorageSystem $s -Silent

True

This example verifies the connectivity of a host system to a VNX block storage system.

 

---------- Example 2 ----------

C:\PS>PS C:\> $rpas = Get-EmcReplicationSystem

PS C:\> $rpa = $rpas[0]

PS C:\> $s | select serialnumber, model

 

SerialNumber    Model

------------    -----

APM00130706440  VNX5300

 

PS C:\> Test-EmcSystemConnectedToBlockStorageSystem -ReplicationSystem $rpa -BlockStorageSystem $s -Silent

True

This example verifies the connectivity of a replication system to a VNX block storage system.

 

---------- Example 3 ----------

C:\PS>PS C:\> Test-EmcSystemConnectedToBlockStorageSystem -HostSystem $h -BlockStorageSystem $s -Silent

True

PS C:\> $s | select serialnumber, model

SerialNumber    Model

------------    -----

000192605412    VMAX20K

 

PS C:\> $h | select HostSystemType, BuildNumber, OsString

HostSystemType    BuildNumber   OsString

--------------    -----------   --------

HyperV            7601          Microsoft Windows Server 2008 R2 Enterprise  Service Pack 1 64-bit

PS C:\> Test-EmcSystemConnectedToBlockStorageSystem -HostSystem $h -BlockStorageSystem $s -Silent

True

This example verifies the connectivity of a host system to a VMAX block storage system.