Sync-ReplicationSession

SYNOPSIS

Synchronizes a replication session.

SYNTAX

Sync-ReplicationSession [-Cluster] <Cluster> [-Id] <String> [-Confirm] [-Force] [-WhatIf]
 [<CommonParameters>]

DESCRIPTION

Synchronizes the destination resource with changes on source resource from the previous synchronization cycle. Synchronization happens either automatically according to a set schedule, or manually. User and scheduler-created snapshots are synchronized from the source system to the destination system while maintaining block sharing efficiency.

Also synchronizes any size changes, membership changes, or both, on the source resource. At the end of the synchronization cycle, the destination resource reflects the state as it was when synchronization began. Any size changes, membership changes, or both, to source resource done during the synchronization cycle are replicated in the next synchronization cycle.

Synchronization is allowed when the replication session is in the following states:

  • OK
  • System_Paused

During synchronization, you can take the following actions:

  • Planned failover from the source system
  • Failover from the destination system
  • Pause replication sessions from the source or destination system
  • Delete a replication session by removing a protection policy

Synchronization failure places the replication session in a System_Paused state. When the system recovers, the replication session continues from the same point as when the system paused.

EXAMPLES

Example 1

PS C:\> Sync-ReplicationSession -Cluster $cluster -Id sessionId

Where $cluster is a PowerStore cluster instance. Synchronizes the replication session with Id sessionId.

PARAMETERS

-Cluster

A PowerStore cluster instance.

Type: Cluster
Parameter Sets: (All)
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Id

The replication session Id.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Force

Suppress confirmation prompt before synchronizing the session.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

System.String

OUTPUTS

Dell.PowerStore.Management.Model.ReplicationSession

NOTES