Maintenance on Mirroring witness server

udhayan d 181 Reputation points
2023-02-03T16:37:56.2533333+00:00

Hi

I have couple of automatic failover mirroring setups and a single host which acts as a witness for all the mirroring set up I have.

Now I am planning a maintenance window on my witness server.

I want to study the impact on my mirroring setup when my witness wont be available for sometime.

I expect only the auto failover cannot happen during the the outage on witness server and no impact to data sync between my principal and mirror.

Once the witness server is fully up after the window, the setup will be back as High synchronous with automatic failover again.

Is my assumption correct or is there any other precautions that I need to take care?

Thanks in advance.

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,708 questions
0 comments No comments
{count} votes

Accepted answer
  1. Seeya Xi-MSFT 16,436 Reputation points
    2023-02-06T07:53:55.89+00:00

    Hi @udhayan d ,

    Please refer to official document: Role of the Witness in Automatic Failover

    I expect only the auto failover cannot happen during the the outage on witness server and no impact to data sync between my principal and mirror.

    In mirroring, a witness server is not required. With a witness server, the principal and mirror databases talk to the witness server in addition to maintaining a session with their partners. There is no replica of the database on the witness server, it just acts as a neutral arbitration to establish a session with the principal/mirror server, determine the health of the database, and trigger an automatic failover to switch the roles of the mirror database and the principal database when the principal database is abnormal.

    Thus, there is no impact to data sync between my principal and mirror. In addition, you can focus on Mirroring States (SQL Server)

    Best regards,

    Seeya


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".


0 additional answers

Sort by: Most helpful