AlwaysOn Availability Group Without Shared Storage. How does it work?

  • Hi,

    I am using SQL Server 2016 Enterprise. I am confused as to how each SQL Server can have its own set of data if it is configured within a WSFC.  If the WSFC is using shared storage, does it not follow that each SQL Server will also be using shared storage by default?

    It sounds like a dumb question but I do hope someone can explain how it works. I have looked online but not found any clear answers...

    Many thanks!

  • Read through AlwaysOn stairway, This should provide answers for all your questions...
    http://www.sqlservercentral.com/stairway/112556/

  • No, you don't have shared storage with Availability Groups. Each instance has its own storage. You need to configure the cluster such that it does not take control of the disks.

    (I didn't actually find much about this in the stairway.)

  • In a traditional setup yes, there's no need for shared storage for configuring Availability Groups. But we can combine AGs with FCI where AGs can use a failover cluster instance as an AlwaysOn availability replica in which shared storage comes into play.

  • Sreekanth B - Monday, June 11, 2018 9:45 AM

    Read through AlwaysOn stairway, This should provide answers for all your questions...
    http://www.sqlservercentral.com/stairway/112556/

    Thank you for the link. I have read through some of that in my research...

  • Beatrix Kiddo - Monday, June 11, 2018 9:47 AM

    No, you don't have shared storage with Availability Groups. Each instance has its own storage. You need to configure the cluster such that it does not take control of the disks.

    (I didn't actually find much about this in the stairway.)

    Hi Beatrix,
    Right and I don't want shared storage, so an AlwaysOn AG gives me what I need (in theory). But I have read in the MS prerequisites and other sources including this forum, that for HA, the AG needs Windows clustering for the automatic failover, which all makes sense to me.

    What I don't understand is the last bit... I am using VM's, perhaps that is the problem?
    How do the "local" drives exist outside of the shared storage that the Windows Server cluster is using to host the servers?
    Is that possible with VM's?

    Thank you for your help, it is most appreciated!

  • Michael Fordham - Monday, June 11, 2018 11:35 AM

    Beatrix Kiddo - Monday, June 11, 2018 9:47 AM

    No, you don't have shared storage with Availability Groups. Each instance has its own storage. You need to configure the cluster such that it does not take control of the disks.

    (I didn't actually find much about this in the stairway.)

    Hi Beatrix,
    Right and I don't want shared storage, so an AlwaysOn AG gives me what I need (in theory). But I have read in the MS prerequisites and other sources including this forum, that for HA, the AG needs Windows clustering for the automatic failover, which all makes sense to me.

    What I don't understand is the last bit... I am using VM's, perhaps that is the problem?
    How do the "local" drives exist outside of the shared storage that the Windows Server cluster is using to host the servers?
    Is that possible with VM's?

    Thank you for your help, it is most appreciated!

    No, using VM's is not a problem. To make it clear, you can create a windows failover cluster without shared storage. It's not mandatory to present shared disks to windows cluster.

  • Sreekanth B - Tuesday, June 12, 2018 12:14 PM

    No, using VM's is not a problem. To make it clear, you can create a windows failover cluster without shared storage. It's not mandatory to present shared disks to windows cluster.

    Ahh... that makes more sense. Many thanks for your help 🙂

Viewing 8 posts - 1 through 7 (of 7 total)

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