Get-EmcReplicaSet

Gets replica sets that contain the LUNs for the replication of source LUNs.

 

Syntax

 

Parameters

-ID <String>

Attributes: Optional, Position: 1

Specifies the name or ID of the replica set. Wildcards are permitted.

 

-ReplicationService <IReplicationService>

Attributes: Optional, Position: named

Specifies the replication service that owns and manages the replica set.

 

-ConsistencyGroup <ConsistencyGroup>

Attributes: Optional, Position: named

Specifies the consistency group that owns and manages the replica set.

 

-Silent <SwitchParameter>

Attributes: Optional, Position: named

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

 

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

$set = Get-EmcReplicaSet -ReplicationService $service -ID Set_S1

This example gets a replica set for a specified replication service.

 

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

C:\PS>$service = Get-EmcReplicationService -ID *60*

$cluster = Get-EmcReplicationServiceCluster -ReplicationService $service

$group = Get-EmcConsistencyGroup -ReplicationServiceCluster $cluster -ID CG_PSTest

$set = Get-EmcReplicaSet -ConsistencyGroup $group -ID Set_S1

This example gets a replica set for a specified consistency group.