SQL Serve AAG rolling upgrade .

sakuraime 2,351 Reputation points
2021-09-06T04:02:09.84+00:00

suppose there is 2 nodes SQL AG on windows 2012R2, and would like to have a rolling upgrade on OS only . which means there is a period (maybe short) which the cluster contain OS 2012R2 and also 2016 .

AG failover to Windows 2016 Replica , and its it possible to fail over back to windows 2012 R2 replica ? support both manual and also auto ( in case the windows 2016 replica down suddenly )

SQL Server | Other
{count} votes

2 answers

Sort by: Most helpful
  1. Seeya Xi-MSFT 16,676 Reputation points
    2021-09-07T02:35:55.223+00:00

    Hi @sakuraime ,

    The same OS is not a prerequisite for the realization of an availability group. You need to ensure the same version of the sql instance. Please refer to this article which looks clearer.
    https://www.sqlservercentral.com/articles/steps-for-installing-alwayson-availability-groups-sql-2019
    Here is the official doc: https://learn.microsoft.com/en-us/sql/database-engine/availability-groups/windows/prereqs-restrictions-recommendations-always-on-availability?view=sql-server-ver15#SystemRequirements

    Best regards,
    Seeya


    If the response is helpful, please click "Accept Answer" and upvote it, as this could help other community members looking for similar queries.
    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.


  2. Seeya Xi-MSFT 16,676 Reputation points
    2021-09-09T03:37:54.443+00:00

    Hi @sakuraime ,

    Please refer to this doc.
    Cluster operating system rolling upgrade: https://learn.microsoft.com/en-us/windows-server/failover-clustering/cluster-operating-system-rolling-upgrade
    Here is the workflow:
    130513-1.png

    The failover of SQL cluster is based on Windows cluster.
    This is an upgrade of the OS. It should be a failover of the windows cluster. It is automatic.

    Best regards,
    Seeya


Your answer

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