HowTo: Remove Storage Replication with no impact
One of the little gotchas when managing Volume Replication is that when you try to remove volume replication, the service can become unavailable temporarily. This can be mitigated or avoided altogether by doing the tasks in order:
- Log on to the target replica and open an Administrative PowerShell host.
- Run the following command: Get-SRPartnership | Remove-SRPartnership
- Validate it by reviewing the Event Log on that server. The following are expected:
- Error Event 5014: Connection lost to share hosting the partner replica. *
- Info Event 5005: Destination entered stand-by state.
- Warning Event 4004: Failed to establish a connection to a remote computer
- Info Event 2202: Stop replication for replica. *
- Info Event 5011: Attempted to take Replication Group offline. *
- Info Event 12008: Made this replication group the destination of replication
- Run the following command: Get-SRGroup | Remove-SRGroup
- Validate it by reviewing the Event Log. The following is expected:
- Info Event 12002: Removed an existing replication group *
- Log on to the source replication server and open an Administrative PowerShell host.
- Run the following: Get-SRGroup | Remove-SRGroup
- Validate it by reviewing the Event Log. You should see:
- Info Event 12002: Removed an existing replication group.
* These events are also present on the source replica server at the time of removing the SRPartnership.
No comments