how to fix server to server storage replica failover issues

Rick Davie 0 Reputation points
2023-12-23T20:58:23.6933333+00:00

server to server Storage Replica secondary partner data volume not coming online when direction is switched

powershell command just hangs

SET-SRPartnership -NewSourceComputerName REG1MSFS0301 -SourceRGName DSS_SRP02_PRD -DestinationComputerName REG1MSFS0300 -DestinationRGName DSS_SRP01_PRD

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,228 questions
Windows Server Storage
Windows Server Storage
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Storage: The hardware and software system used to retain data for subsequent retrieval.
653 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ian Xue 37,621 Reputation points Microsoft Vendor
    2023-12-25T07:30:04.16+00:00

    Hi Rick,

    Hope you're doing well.

    As far as I know, there are a few known issues with Storage Replica that could cause the data volume not to come online when the direction is switched. One of the possible solutions is to clear the hidden Storage Replica partition off the disks and return them to a writeable state using the "Clear-SRMetadata" cmdlet.

    And we can switch the direction of replication using the "Set-SRPartnership" cmdlet.

    If the command hangs, it could be due to insufficient system resources or other issues. You can check the event log for any error messages or warnings.

    Here are some relevant documents for you reference:

    Clear-SRMetadata (StorageReplica) | Microsoft Learn

    Set-SRPartnership (StorageReplica) | Microsoft Learn

    Known issues with Storage Replica | Microsoft Learn

    Hope this helps!

    Best Regards,

    Ian Xue


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.