reboot server configured with AlwaysOn setup

  • hi 
    i have 3 node server with alwaysOn setup 1-primary 2 -secondary 3-secondary.
    wanted to reboot any of them, is there any consequences of rebooting them.

    reason for reboot: server is inaccessible.

    what is the sequence of rebooting servers while they are on AlwaysOn setup.

    thanks

  • What is the secondaray node configuration is the synchronous or asynchronous?.

    Regards
    Durai Nagarajan

  • can you tell me implications of both synchronous and asynchronous?

  • Make sure the PRIMARY is not set to AUTO FAILOVER if that is to be rebooted.
    Which one of the 3 is inaccesssible.

  • there are 3 server 
    1-primary 2 -secondary 3-secondary.
    1 and 2 are not accessible due to some windows issue

  • Error message??

  • there is no error massage, when login it is stuck on "apply user setting".

    but my question here is to understand reboot process in this scnerio.
    and what is the standard practice of reboot servers when they configured with AlwaysON

  • Did you get any user escalation in terms of application connectivity, if not then leave it for off business hours and get approval and reboot , the secondary first and then production- this is move the prod to available configured secondary .

    Mostly in synchronous mode it should bring the DB in sync immediately.

    thanks

    Regards
    Durai Nagarajan

  • If i reboot primary server first ? (it will move to secondary), and then secondary (it will again move to primary)

  • It sounds like the databases are still functional and you just can't login to the servers, yes? Assuming that is the case, on node 3, fail the databases over to 3 which makes it primary. Make sure to have the connection to 3 be synchronous before doing this, or risk data loss. Once the databases are moved over to node 3, change the mode to asynchronous, and change to manual failover. Then you can reboot 1 & 2 with less risk of any problem.
    When node 1 and 2 come back up, make sure they synchronize with 3 before making any attempts to move the primary/secondary status and changing the sync type and failover type.

    Alan H
    MCSE - Data Management and Analytics
    Senior SQL Server DBA

    Best way to ask a question: http://www.sqlservercentral.com/articles/Best+Practices/61537/

  • Is node 3 the DR server?

  • Zeal-DBA - Wednesday, August 16, 2017 6:46 AM

    If i reboot primary server first ? (it will move to secondary), and then secondary (it will again move to primary)

    Can you post the Always on configuration like synchronous or not to suggest on risks and details.

    Regards
    Durai Nagarajan

  • Zeal-DBA - Wednesday, August 16, 2017 6:02 AM

    hi 
    i have 3 node server with alwaysOn setup 1-primary 2 -secondary 3-secondary.
    wanted to reboot any of them, is there any consequences of rebooting them.

    reason for reboot: server is inaccessible.

    what is the sequence of rebooting servers while they are on AlwaysOn setup.

    thanks

    On the server thats accessible or from ssms on another server, fail over the availability group to the accessible server.
    Reboot the other 2 and then move the group back as required

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

Viewing 13 posts - 1 through 12 (of 12 total)

You must be logged in to reply to this topic. Login to reply