Showing posts with label quorum. Show all posts
Showing posts with label quorum. Show all posts

Tuesday, March 20, 2012

Quorum on NAS

In a two node SQL server cluster, with each computer in
the cluster storing the database on its local hard drive,
is it OK to have the quorum drive on a NAS/network server.
So the database will be direct attached on one server. The
database will be replicated to another computer with a
direct attached disk. But the Quorum drive that they share
will be a drive on the network.
Is that good practice?
Thanks,
Todd
NAS is not supported in a cluster.
Andrew J. Kelly SQL MVP
<anonymous@.discussions.microsoft.com> wrote in message
news:2050501c4591d$0205ba70$a501280a@.phx.gbl...
> In a two node SQL server cluster, with each computer in
> the cluster storing the database on its local hard drive,
> is it OK to have the quorum drive on a NAS/network server.
> So the database will be direct attached on one server. The
> database will be replicated to another computer with a
> direct attached disk. But the Quorum drive that they share
> will be a drive on the network.
> Is that good practice?
> Thanks,
> Todd

Quorum Disk Question.

We will be setting up a Windows 2000 SQL server on a two node 2003 Cluster
connected to an HP SAN.
Reading through the whitepapers and watching the webcast on how to setup
everything says to keep the data files on a seperate disk from the quorum
drive.
This will not be a problem, however we currently run 2 two node file and
print clusters one 2000 and one 2003 where we have the quorum drive the same
as the shared data and the cluster works fine and failsover correctly.
Question:
Why is it nessary or even best practice to seperate the quroum from the
data? I have searched high and low for an ansewer but the only thing I can
find is do not do it on SQL.
That is because if the controlling node cannot access the quorum drive in a
timely fashion, it will fail over to the other node. If this happens too
often, the entire cluster will go offline. With Windows 2003, Microsoft
changed its recommendations for MSDTC from allowing it on the quorum disk to
advising it be put on a separate set of physical disks. This is after
observing some configurations where very high DTC activity created timeout
issues that did force some clusters offline.
Geoff N. Hiten
Senior Database Administrator
Microsoft SQL Server MVP
"DRay" <DavidRay@.discussions.microsoft.com> wrote in message
news:68868872-9EF0-4317-96A0-825B6F76C387@.microsoft.com...
> We will be setting up a Windows 2000 SQL server on a two node 2003 Cluster
> connected to an HP SAN.
> Reading through the whitepapers and watching the webcast on how to setup
> everything says to keep the data files on a seperate disk from the quorum
> drive.
> This will not be a problem, however we currently run 2 two node file and
> print clusters one 2000 and one 2003 where we have the quorum drive the
> same
> as the shared data and the cluster works fine and failsover correctly.
> Question:
> Why is it nessary or even best practice to seperate the quroum from the
> data? I have searched high and low for an ansewer but the only thing I can
> find is do not do it on SQL.
|||Thank you sir that answers my question.
David Ray
Systems Administrator
"Geoff N. Hiten" wrote:

> That is because if the controlling node cannot access the quorum drive in a
> timely fashion, it will fail over to the other node. If this happens too
> often, the entire cluster will go offline. With Windows 2003, Microsoft
> changed its recommendations for MSDTC from allowing it on the quorum disk to
> advising it be put on a separate set of physical disks. This is after
> observing some configurations where very high DTC activity created timeout
> issues that did force some clusters offline.
> --
> Geoff N. Hiten
> Senior Database Administrator
> Microsoft SQL Server MVP
>
> "DRay" <DavidRay@.discussions.microsoft.com> wrote in message
> news:68868872-9EF0-4317-96A0-825B6F76C387@.microsoft.com...
>
>

Quorum Disk or Majority Node?

New to Windows MCS 2003 is the Majority Node Set option, does anyone have
any experience where Majority Node is better than Quorum or vica versa?
If you want the quorum locally on each machine, MNS is for you. If you are
ok with the Quorum in one spot, go with the traditional method. In neither
case does it change the requirements for SQL Server Databases to reside on
shared storage.
Cheers,
Rod
MVP - Windows Server - Clustering
http://www.nw-america.com - Clustering Website
http://msmvps.com/clustering - Blog
http://www.clusterhelp.com - Cluster Training
"Kevin Antel" <kevina@.cqlcorp.com> wrote in message
news:um8P7Y5FGHA.208@.tk2msftngp13.phx.gbl...
> New to Windows MCS 2003 is the Majority Node Set option, does anyone have
> any experience where Majority Node is better than Quorum or vica versa?
>
|||Is there a "best practice"? Better to have in one spot or two?
"Rodney R. Fournier [MVP]" <rod@.die.spam.die.nw-america.com> wrote in
message news:ul1t%23f5FGHA.1676@.TK2MSFTNGP09.phx.gbl...
> If you want the quorum locally on each machine, MNS is for you. If you are
> ok with the Quorum in one spot, go with the traditional method. In neither
> case does it change the requirements for SQL Server Databases to reside on
> shared storage.
> Cheers,
> Rod
> MVP - Windows Server - Clustering
> http://www.nw-america.com - Clustering Website
> http://msmvps.com/clustering - Blog
> http://www.clusterhelp.com - Cluster Training
> "Kevin Antel" <kevina@.cqlcorp.com> wrote in message
> news:um8P7Y5FGHA.208@.tk2msftngp13.phx.gbl...
>
|||Traditional is the best practice. Very few corporations need MNS. Nothing
wrong with it, just the true need is small.
Cheers,
Rod
MVP - Windows Server - Clustering
http://www.nw-america.com - Clustering Website
http://msmvps.com/clustering - Blog
http://www.clusterhelp.com - Cluster Training
"Kevin Antel" <kevina@.cqlcorp.com> wrote in message
news:OA8fto5FGHA.532@.TK2MSFTNGP15.phx.gbl...
> Is there a "best practice"? Better to have in one spot or two?
>
> "Rodney R. Fournier [MVP]" <rod@.die.spam.die.nw-america.com> wrote in
> message news:ul1t%23f5FGHA.1676@.TK2MSFTNGP09.phx.gbl...
>
|||SQL Server does not support Majority Node Clusters.
Geoff N. Hiten
Senior Database Administrator
Microsoft SQL Server MVP
"Kevin Antel" <kevina@.cqlcorp.com> wrote in message
news:um8P7Y5FGHA.208@.tk2msftngp13.phx.gbl...
> New to Windows MCS 2003 is the Majority Node Set option, does anyone have
> any experience where Majority Node is better than Quorum or vica versa?
>
|||I found a very interesting article here :
http://www.microsoft.com/windowsserv...lustergeo.mspx
The chapter "Three-Site Majority Node Set Quorum in Geographically Dispersed
Clusters to Facilitate Automatic Failover" was the exact solution for some of
my split brain problems, so I wanted to try this solution.
Do you mean that it is a non applicable solution with SQLServer ?
Why ? (I was thinking that the impact was limited to Quorum+MSCS, not
clustered resources !)
Thanks for your reply.
Guillaume.
=======================
"Geoff N. Hiten" wrote:

> SQL Server does not support Majority Node Clusters.
> --
> Geoff N. Hiten
> Senior Database Administrator
> Microsoft SQL Server MVP
>
> "Kevin Antel" <kevina@.cqlcorp.com> wrote in message
> news:um8P7Y5FGHA.208@.tk2msftngp13.phx.gbl...
>
>
|||I would disagree with Geoff's statement that SQL Server does not support
majority node clusters, unless he can point us to the relevant MS
documentation. I have many customers doing MNS and SQL server
implementations; as long as you understand the requirements and limitations.
I believe MNS were introduced to facilitate clustering across remote
locations, hence no shared storage. Obviously, you have to have a
replacement for that shared storage so that the SQL data is available on the
passive node in the event of a failure. What that means is that you need to
do some sort of replication, usually a third party product such as NSI
DoubleTake for replication.
The other requirement is that a majority of the servers need to be available
in order for a failover to take place. So that means you need to have at
least 3 nodes in your cluster in order to have a failover, because in a two
node cluster if one node fails you only have one node left, and 1 of 2 is
not a majority. You need at least 2 out of 3 nodes to have a majority.
In a local cluster where shared storage is available, you will want to go
with the traditional quorum based clustering. If you have no shared
storage, you will want to go with MNS and data replication.
Alternatively you can ditch MSCS altogether and go with a third party
solution such as LifeKeeper Protection Suite for SQL Server from SteelEye
Technology which is a HA and DR solution combined which eliminates the need
for MSCS, MNS, shared storage and a quorum device.
DISCLAIMER: I am a SteelEye Engineer with years of experience implementing
HA and DR for WIndows solutions including Exchange and SQL server.
"GNocent" <GNocent@.discussions.microsoft.com> wrote in message
news:E6E414F7-795A-42A4-9D7E-7AEF21FACEB2@.microsoft.com...
> I found a very interesting article here :
>
http://www.microsoft.com/windowsserv...lustergeo.mspx
> The chapter "Three-Site Majority Node Set Quorum in Geographically
Dispersed
> Clusters to Facilitate Automatic Failover" was the exact solution for some
of[vbcol=seagreen]
> my split brain problems, so I wanted to try this solution.
> Do you mean that it is a non applicable solution with SQLServer ?
> Why ? (I was thinking that the impact was limited to Quorum+MSCS, not
> clustered resources !)
> Thanks for your reply.
> Guillaume.
> =======================
> "Geoff N. Hiten" wrote:
have[vbcol=seagreen]
versa?[vbcol=seagreen]
|||How about:
SQL Server does not NATIVELY support MNS clustering. Third party add-ons
may alter this behavior.
Geoff N. Hiten
Senior Database Administrator
Microsoft SQL Server MVP
"DAVID A BERMINGHAM" <david.bermingham@.steeleye.nospam.com> wrote in message
news:eKdpQd2JGHA.1132@.TK2MSFTNGP10.phx.gbl...
>I would disagree with Geoff's statement that SQL Server does not support
> majority node clusters, unless he can point us to the relevant MS
> documentation. I have many customers doing MNS and SQL server
> implementations; as long as you understand the requirements and
> limitations.
> I believe MNS were introduced to facilitate clustering across remote
> locations, hence no shared storage. Obviously, you have to have a
> replacement for that shared storage so that the SQL data is available on
> the
> passive node in the event of a failure. What that means is that you need
> to
> do some sort of replication, usually a third party product such as NSI
> DoubleTake for replication.
> The other requirement is that a majority of the servers need to be
> available
> in order for a failover to take place. So that means you need to have at
> least 3 nodes in your cluster in order to have a failover, because in a
> two
> node cluster if one node fails you only have one node left, and 1 of 2 is
> not a majority. You need at least 2 out of 3 nodes to have a majority.
> In a local cluster where shared storage is available, you will want to go
> with the traditional quorum based clustering. If you have no shared
> storage, you will want to go with MNS and data replication.
> Alternatively you can ditch MSCS altogether and go with a third party
> solution such as LifeKeeper Protection Suite for SQL Server from SteelEye
> Technology which is a HA and DR solution combined which eliminates the
> need
> for MSCS, MNS, shared storage and a quorum device.
> --
> DISCLAIMER: I am a SteelEye Engineer with years of experience implementing
> HA and DR for WIndows solutions including Exchange and SQL server.
>
> "GNocent" <GNocent@.discussions.microsoft.com> wrote in message
> news:E6E414F7-795A-42A4-9D7E-7AEF21FACEB2@.microsoft.com...
> http://www.microsoft.com/windowsserv...lustergeo.mspx
> Dispersed
> of
> have
> versa?
>
|||What if for some reason you wanted to do a MNS and all 3 nodes where
attached to the same SAN? Not a good idea, but that would still be a MNS
and it does not require any third party products. No application with any
dynamic data supports MNS without some sort of shared disk, whether iSCSI,
SCSI, SAN or replicated disk.
"Geoff N. Hiten" <SQLCraftsman@.gmail.com> wrote in message
news:eM1JRF3JGHA.1028@.TK2MSFTNGP11.phx.gbl...
> How about:
> SQL Server does not NATIVELY support MNS clustering. Third party add-ons
> may alter this behavior.
> --
> Geoff N. Hiten
> Senior Database Administrator
> Microsoft SQL Server MVP
>
> "DAVID A BERMINGHAM" <david.bermingham@.steeleye.nospam.com> wrote in
message[vbcol=seagreen]
> news:eKdpQd2JGHA.1132@.TK2MSFTNGP10.phx.gbl...
need[vbcol=seagreen]
at[vbcol=seagreen]
is[vbcol=seagreen]
go[vbcol=seagreen]
SteelEye[vbcol=seagreen]
implementing[vbcol=seagreen]
http://www.microsoft.com/windowsserv...lustergeo.mspx[vbcol=seagreen]
anyone
>
|||The solution that interested me was this one :
* Site 1 & Site 2 have hardware replicated storage and are connected via SAN.
* Site 3 is just connected via network and has only local disks.
* 3 nodes are part of the cluster (1 on each site)
* SQLServer instance can be hosted on node 1 or 2 only
* node 3 is only here for Quorum vote (not eligible for SQLServer instance)
Is that possible without 3rd party software ?
If you can explain me quickly why or why not, i would really appreciate (the
whitepaper is not very explicit) !
Thanks.
Guillaume.
=====================================
"DAVID A BERMINGHAM" wrote:

> What if for some reason you wanted to do a MNS and all 3 nodes where
> attached to the same SAN? Not a good idea, but that would still be a MNS
> and it does not require any third party products. No application with any
> dynamic data supports MNS without some sort of shared disk, whether iSCSI,
> SCSI, SAN or replicated disk.
> "Geoff N. Hiten" <SQLCraftsman@.gmail.com> wrote in message
> news:eM1JRF3JGHA.1028@.TK2MSFTNGP11.phx.gbl...
> message
> need
> at
> is
> go
> SteelEye
> implementing
> http://www.microsoft.com/windowsserv...lustergeo.mspx
> anyone
>
>

Quorum & MSDTC Cluster Questions


We are trying to setup a Windows Server 2003 Cluster with 2 systems and a DAV. We intend to install SQL 2005 on this Cluster. We purchased a DAV with 3 physical disk arrays as follows.

73GB RAID 1 (our plan is to use this to store sql transaction logs)
146GB RAID 1 (sql backups, temp database & other temp files)
420GB RAID 10 (sql databases)

Now as we are setting all this up we find out we need a shared physical drive on the DAV to store the Quorom. It is my understanding we cannot partition the physical drives and use one of the partitions to store the Quorum because when you create the resource for the Quorum the resource is the phsyical disk not the partition.

So my question is, is it in our best interest to buy a seperate physical disk for the Quorom?

My next question is, with regards to the MSDTC, is it in our best interest to buy a seperate physical disk for the MSDTC or can we store it on the 146GB RAID 1 and still use the drive for its original purpose?

Any guidance is much appreciated.

- Nick

It's best to have each device on its own physical device, but this isn't required. Each does have to be its own partition (drive letter), though. Here's a white paper that goes into a lot more depth:

http://www.microsoft.com/downloads/details.aspx?FamilyID=818234dc-a17b-4f09-b282-c6830fead499&DisplayLang=en

Buck Woody

|||

Actually, the quorum does need to be in a different device than the database files, since it is part of a different cluster Resource Group. It needs to be able to fail over between the nodes independantly of the SQL service. Since the underlying SCSI protocols will attach an entire drive to one system or the other, you can't split partitions.

If your definition of DAV is the one I'm familiar with, you should verify that this storage can be used in a Windows cluster. My understanding is that clusters will only use SCSI, iSCSI, or SAN storage.

|||

That's a good point - when I said that it doesn't need to be on a separate device I should have been more clear. Many times clusters are set up on a SAN configuration. In that case you do want to present a separate LUN for the quorum drive, but you can use the same SAN/HBA. The whitepaper I have referenced there should help with the layout - if not, just re-post and we'll help out where we can.

Buck

|||

Thanks for your responses.

My apologies, I meant to say DAS not DAV. Sorry for the confusion.

It is a clusterable storage device that acts similarily to a SAN. We purchased it from DELL and they assured us it was certified to work in a Windows Cluster environment. Unfortunately for us we cannot split the drive arrays into multiple virtual drives. So we're stuck with 3 drive arrays and we cannot take one drive array and split it into 3 so the one drive array is presented to Windows as 3 seperate drives.

It does seem like a waste to have a seperate drive dedicated to the Quorum, especially since it only uses 4MB and the smallest HD you can find is 36GB.

What are your thoughts on Volume Mount Points? Does that work for the Quorum (or MS DTC for that matter)?

What about the MS DTC ? Does it need a seperate physical disk like the Quorum or can it be placed on drive with other minor usage?

Thanks again.

- Nick

|||

When I set up clustering we had this kind of layout:

C Drive: Physical, Local RAID 1, OS and Binaries

Q Drive: Physical, Local RAID 1, Quorum (yes, we cheated and put a few other things on here. But not much, and nothing that we let users get to)

S Drive: LUN, SAN, Shared DB Databases

L Drive: LUN, SAN, Shared DB Logs

I view this as the mininum, with other sets defined like S for high read/write activities and filegroups

Buck

|||

Thanks for your responses again.

Where did you place the MS DTC physical disk required by the SQL Cluster?

If you have a Cluster of 2 or more systems doesn't the Quorum drive have to be on a shared drive not local?

Thanks!

- Nick

|||

The issue isn't usage or volume of data. The issue is that the storage must be able to move from node to node independantly of any other resource group.

So, if you put MSDTC and the quorum on the same physical drive (even in separate partitions), then if you moved the cluster service from node A to node B, MSDTC would die because its disk would disappear out from under it. Worse, if MSDTC failed and took the disk offline, the cluster service would die.

For those reasons, MSCS won't let you configure two resource groups that depend on the same physical drive.

Can you give the model of the Dell array? That sounds interesting, and I'd like to read up on it. From your description, each array forms one virtual drive, but can't be divided into LUNs? That seems strange. With a device where you can form virtual disks (LUNs), you can set up a very small LUN for Quorum.

|||

Kevin

The DAS is a Dell PowerVault 220S DAS. Click here for more info.

The 2 servers we're setting this up on are "Dell 2950's running Server 2003 and SQL 2005".

We were going to arrange the drives like this:

On board *each* Dell PE2950:
(2) 73GB drives mirrored w/RAID 1 holding OS, Apps (C:) and Win Swap files (G:)

On DAS (220S):
Virtual Disk 0 - (2) 73GB drives mirrored w/RAID 1 for SQL Transaction Log files (D:)
Virtual Disk 1 - (2) 146 GB drives mirrored w/RAID 1 for a variety of temp jobs, SQL temp files, etc.(E:)
Virtual Disk 2 - (6) 146 GB drives mirrored and striped w/RAID 10 for the SQL database (F:)

We can't slice the paired drive sets using the SCSI controller as DELL disables 'slicing' virtual drives (sets) when you are in cluster config.

Thanks for your curiousity Kevin!

- Nick

|||

We're purchasing a 4th drive array for the DAS for the Quorum to reside. That said would it be wise to setup the clustering like this:

[Cluster Group]
Cluster IP Address
Cluster Name
SQL Network Name
SQL IP Address
SQL Server (With dependencies of Disk D:, E: & F:)
DTC Network Name
DTC IP Address
DTC Service (With dependencies of Disk E:)
Disk D: (Shared Drive, SQL Transaction Logs)
Disk E: (Shared Drive, SQL Temp Files, MS DTC)
Disk F: (Shared Drive, SQL Databases)
Disk Q: (Quorum)

|||

I think this looks good to me - you've got a C drive for local, obviously, so I'm assuming that's local to the system and a RAID 1 or similar.

Buck

|||

Almost.

Each Resource Group must be independant and not depend on any resource in any other group.

I'd lay it out as:

[Cluster Group]
Cluster IP Address
Cluster Name
Disk Q: (Quorum)

[SQL Group]

SQL Network Name
SQL IP Address
SQL Server (With dependencies of Disk D:, E: & F:)
Disk D: (Shared Drive, SQL Transaction Logs)
Disk E: (Shared Drive, SQL Temp Files)
Disk F: (Shared Drive, SQL Databases)

[DTC Group]


DTC Network Name
DTC IP Address
DTC Service (With dependencies of Disk G:)

Disk G:(DTC)

You could possibly combine SQL and DTC, but ideally they should be separate.