Get-SpbmReplicationPair Command | Vmware PowerCLI Reference

Get-SpbmReplicationPair

This cmdlet retrieves the relation of replication groups in a pair of source and target replication group.

Syntax

Get-SpbmReplicationPair
[-ProgressAction < ActionPreference > ]
[-Server < VIServer[] > ]
[-Source < SpbmReplicationGroup[] > ]
[-SourceFaultDomain < SpbmFaultDomain[] > ]
[-Target < SpbmReplicationGroup[] > ]
[-TargetFaultDomain < SpbmFaultDomain[] > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
optional ProgressAction ActionPreference named
optional Server VIServer[] named
  • wildcards
Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer.
optional Source SpbmReplicationGroup[] named
Specifies the source replication group.
optional SourceFaultDomain SpbmFaultDomain[] named
  • wildcards
Specifies the list of fault domains to get source replication group of the pair.
optional Target SpbmReplicationGroup[] named
Specifies the target replication group.
optional TargetFaultDomain SpbmFaultDomain[] named
  • wildcards
Specifies the list of fault domains to get target replication group of the pair.

Output

VMware.VimAutomation.Storage.Types.V1.Spbm.Replication.SpbmReplicationGroup

Examples

Example 1

Get-SpbmReplicationPair -Source $rg

Retrieves replication pairs for which the $rg replication group is source group.

Example 2

Get-SpbmReplicationPair -SourceFaultDomain $sourceFd -TargetFaultDomain $targetFd

Retrieves replication pairs for which the source replication group is in the $sourceFd fault domain and the target replication group is in the $targetFd fault domain.

Related Commands

SpbmReplicationFailover

This cmdlet performs a failover of the devices in the specified replication groups.

SpbmReplicationGroup

This cmdlet retrieves replication groups.

This cmdlet synchronizes the data between source and replica for the specified replication group.

SpbmReplicationPair

This cmdlet retrieves the relation of replication groups in a pair of source and target replication group.

SpbmReplicationPrepareFailover

This cmdlet prepares the specified replication groups to fail over.

SpbmReplicationPromote

This cmdlet promotes a target replication group from InTest to FailedOver state.

SpbmReplicationReverse

This cmdlet initiates reverse replication, by making the currently failed over replication group the source and its peer replication group the target.

SpbmReplicationTestFailover

This cmdlet performs a test failover of a target replication group.

This cmdlet stops the test failover on the specified replication groups and tries to perform a cleanup on the target site.