Get-EmcReplicaLink

Gets the list of replica links that specify the replication connection and direction between two replica copies within a consistency group.

 

Syntax

 

Parameters

-ID <String>

Attributes: Optional, Position: 1

Specifies the ID of the source or target replica copies of the replica link. Wildcards are permitted.

 

-ReplicationService <IReplicationService>

Attributes: Optional, Position: named

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

 

-LinkType <GetEmcReplicaLinkCmdlet+LinkTypeValues>

Attributes: Optional, Position: named

Specifies the link type. The value can be one of the following:

 

-Silent <SwitchParameter>

Attributes: Optional, Position: named

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

 

-ConsistencyGroup <ConsistencyGroup>

Attributes: Optional, Position: named

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

 

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

$link = Get-EmcReplicaLink -ReplicationService $service -LinkType Active -ID Copy_Prod

This example gets a replica link 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

$link = Get-EmcReplicaLink -ConsistencyGroup $group -LinkType All -ID Copy_Prod

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