[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


SQL 2012 AlwaysON

Posted on 2012-09-10
Medium Priority
Last Modified: 2012-12-11
Hello Gurus

I was checking the per-requisites for AlwaysON feature of SQL2012 and found out that we need to have a cluster.
Does this mean that we must have a shared storage ? (SAN)

My idea was to link 2 physical machines with the AlwaysON for HA and redundancy...
will it work if each PC has Win2008 R2 Ent. +SQL 2012 Ent ? (each server has its separate disks).

Question by:ammounpierre
  • 3
LVL 28

Expert Comment

by:Ryan McCauley
ID: 38387491
AlwaysOn requires a cluster, but only to manage the single shared client access point. In this configuration, SQL Server is installed to each server as a stand-alone instance, and the Windows cluster manager is used to create a single network name that clients use to connect, and then the AlwaysOn Availability Group (AG) determines which server the client should talk to.

You'll need some type of shared storage for your Quorum drive, but it only needs to be about 1GB or so. If you don't have shared storage (like a SAN) handy, you can do iSCSI.

For those servers, they should be fine for what you're looking to do. Each server will store its copy of the SQL databases on direct-attached, not shared, storage so you're good to go there.

Author Comment

ID: 38388324
and what about the shared storage for the quorum drive ?
where should it be ?
on a separate machine?
any step by step guide how to install this ?
LVL 28

Accepted Solution

Ryan McCauley earned 2000 total points
ID: 38388517
If you're going to use iSCSI, you can either target a NAS or a SAN, as long as they support it. Some kind of shared storage like this is a requirement for cluster (and AlwaysOn, since it relies on the cluster service), so I'd look into adding one to your network if you don't currently have one. This is a separate network storage device that other network computers can connect to - if you have a NAS on your network already, it may support iSCSI (if not, you can check out some options at NewEgg.com, as an example).

Here's a technet walk-through for configuring a Windows cluster that's a good place to start:


Additionally, here's my favorite SQL Server cluster installation walk-through:


If you have any specific questions, please ask them, but that shoudl cover you for general steps in getting things set up. If you're looking for more understanding of the technology and concepts involved, I'd encourage you to do some reading or refer to a local expert who can help in your situation - while we can provide some insight, it might be helpful to have somebody who can see your currently layout and make recommendations tailored to your environment rather than just general advice.

Expert Comment

ID: 38680944
AlwaysOn Availability groups do NOT required shared storage.  Just an FYI.
LVL 28

Expert Comment

by:Ryan McCauley
ID: 38681424
Touche - I was under the impression at the time that clustering required shared storage, but Windows Server 2008/R2/2012 can do clustering with the quorum as a shared network location instead, so it eliminates the need for shared storage.

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It is possible to export the data of a SQL Table in SSMS and generate INSERT statements. It's neatly tucked away in the generate scripts option of a database.
Windocks is an independent port of Docker's open source to Windows.   This article introduces the use of SQL Server in containers, with integrated support of SQL Server database cloning.
Viewers will learn how the fundamental information of how to create a table.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question