Gets the list of replication clusters, which contains all of the replication sites and systems in a replication service.
Syntax
Get-EmcReplicationServiceCluster [[-ID] <String>] [-ReplicationService <IReplicationService>] [-Silent] [<CommonParameters>]
Get-EmcReplicationServiceCluster [[-ID] <String>] [-Silent] [-StorageSystem <IBlockStorageSystem>] [<CommonParameters>]
Get-EmcReplicationServiceCluster [[-ID] <String>] [-Silent] [-Lun <Lun>] [<CommonParameters>]
Parameters
-ID <String>
Attributes: Optional, Position: 1
Specifies the cluster name of the replication cluster. Wildcards are permitted.
-ReplicationService <IReplicationService>
Attributes: Optional, Position: named
Specifies the replication service that owns and manages the replication cluster.
-Silent <SwitchParameter>
Attributes: Optional, Position: named
Turns off all the informational and verbose messages. However, it still displays errors.
-StorageSystem <IBlockStorageSystem>
Attributes: Optional, Position: named
Specifies a storage system that is detected as being connected to the replication cluster.
-Lun <Lun>
Attributes: Optional, Position: named
Specifies a LUN that is used by a storage system that is detected as being connected to the replication cluster.
<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>$service = Get-EmcReplicationService -ID *60*
C:\PS>$cluster = Get-EmcReplicationServiceCluster -ReplicationService $service
This example gets a replication service cluster for a specified replication service.
-------------- Example 2 --------------
C:\PS>$storageSystem = Get-EmcStorageSystem -ID *6439
C:\PS>$cluster = Get-EmcReplicationServiceCluster -StorageSystem $storageSystem
This example gets a replication service cluster for a specified storage system.
-------------- Example 3 --------------
C:\PS>$storageSystem = Get-EmcStorageSystem -ID *6439
C:\PS>$storagePool = Get-EmcStoragePool -StorageSystem $storageSystem -ID *RaidGroup*0*
C:\PS>$lun = Get-EmcLun -Pool $storagePool -ID *RP_Set1*
C:\PS>$cluster = Get-EmcReplicationServiceCluster -Lun $lun
This example gets a replication service cluster for a specified LUN.