Managing replication on a group server
Contents
Show Bytes to replicate
(Get-SRGroup).Replicas | Select-Object NumOfBytesRemaining 0
Result:
NumOfBytesRemaining
-------------------
0
View the last 20 entries of Windows events
Get-WinEvent -ProviderName Microsoft-Windows-StorageReplica -max 20
Result :
ProviderName : Microsoft-Windows-StorageReplica
TimeCreated Id LevelDisplayName Message
----------- -- ---------------- -------
DD/MM/YYYY 09:51:47 5015 Information Connexion établie avec un réplica partenaire....
DD/MM/YYYY 09:51:43 10442 Information Une modification d'état de partition a entraîné une mise à jour ...
DD/MM/YYYY 09:51:43 5002 Information La source est entrée dans l'état prêt....
DD/MM/YYYY 09:51:43 5004 Information La source est entrée dans l'état d'attente de quorum....
DD/MM/YYYY 09:51:43 1237 Information La copie de bloc est en cours....
DD/MM/YYYY 09:51:43 1201 Information Préparation pour réplication de la source terminée....
DD/MM/YYYY 09:51:43 5001 Information Entrée dans l'état de préparation....
DD/MM/YYYY 09:51:43 2231 Information Le groupe de réplication est en ligne....
DD/MM/YYYY 09:51:43 2200 Information Démarrage de la réplication pour le réplica....
DD/MM/YYYY 09:51:32 10330 Information Une partition GPT a été détecté et préparée pour des opérations ...
DD/MM/YYYY 09:51:32 10330 Information Une partition GPT a été détecté et préparée pour des opérations ...
DD/MM/YYYY 09:51:32 10002 Information Pilote de filtre démarré.
DD/MM/YYYY 09:51:24 2202 Information Arrêt de la réplication pour le réplica....
DD/MM/YYYY 09:51:24 10440 Information Une modification d'état de partition a entraîné une mise à jour ...
DD/MM/YYYY 09:50:08 10003 Information La mémoire est désormais disponible....
DD/MM/YYYY 09:50:07 10004 Avertissement La mémoire disponible est insuffisante....
DD/MM/YYYY 09:50:07 10003 Information La mémoire est désormais disponible....
DD/MM/YYYY 09:50:07 10004 Avertissement La mémoire disponible est insuffisante....
DD/MM/YYYY 09:50:03 10003 Information La mémoire est désormais disponible....
DD/MM/YYYY 09:50:02 10004 Avertissement La mémoire disponible est insuffisante....
Event Viewer
The logs are available in the following location: Applications and Services Logs / Microsoft / Windows / StorageReplica.

Reverse the direction of replication (failovers)
To reverse the direction of replication, enter the following command in PowerShell:
Set-SRPartnership -NewSourceComputerName LAB-FIC1-SR -SourceRGName rg02 -DestinationComputerName LAB-FIC1 -DestinationRGName rg01
The order requires confirmation
Delete replication
To remove the replication, enter the following command in PowerShell:
Get-SRPartnership Get-SRPartnership | Remove-SRPartnership Get-SRGroup | Remove-SRGroup
Deletion can be performed on the remaining node to failover if the source server is down.