dbTalk Databases Forums  

LUN configuration

microsoft.public.sqlserver.clustering microsoft.public.sqlserver.clustering


Discuss LUN configuration in the microsoft.public.sqlserver.clustering forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Igor Marchenko
 
Posts: n/a

Default LUN configuration - 11-19-2009 , 05:40 PM






Hello!

We will be installing SQL Server 2008 Active/Active Cluster on Windows
2008. SAN engineer told us that all space will be allocated accross the same
set of drives. I know this is not recommended because of potential IO issues,
but I guess this is something we would have to live with. The question we
would have to answer right now is whether we should create one LUN per Node
(my understanding is that the same LUN can not be shared by two nodes) and
then create logical drives from single LUN or one LUN per logical drive. I
suppose there will be no difference performance wise since LUNs will be
connected to the same set of drives, correct?
Also, SAN engineer told us that RAID level is irrelevant which I have hard
time believing to.

Thank you in advance,
Igor

Reply With Quote
  #2  
Old   
Jeffrey Williams
 
Posts: n/a

Default Re: LUN configuration - 11-19-2009 , 09:05 PM






Well, that really depends upon what SAN you are using, how many spindles are
actually setup and available, the controller (or filer) associated and a lot
of other factors.

For example, using a Netapp SAN with an aggregate using 64 physical drives
that has been configured with RAID-DP - you really don't need to worry too
much about having multiple LUN's. However, even in that configuration I
would recommend two LUN's and separate them across two different filer's
where you have one dedicated to data files and the other for log files.

Another example is using an HP EVA - with a disk group defined and built
with at least 80 spindles. You could then present separate LUN's created
from the disk group where you have one as vRAID1, the other as vRAID5 - and
separate the logs from the data.

Not that it is actually necessary on the higher end SAN's - which can most
likely accommodate your activity on a single LUN with no noticeable latency
or throughput issues.

"Igor Marchenko" <IgorMarchenko (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hello!

We will be installing SQL Server 2008 Active/Active Cluster on Windows
2008. SAN engineer told us that all space will be allocated accross the
same
set of drives. I know this is not recommended because of potential IO
issues,
but I guess this is something we would have to live with. The question we
would have to answer right now is whether we should create one LUN per
Node
(my understanding is that the same LUN can not be shared by two nodes) and
then create logical drives from single LUN or one LUN per logical drive. I
suppose there will be no difference performance wise since LUNs will be
connected to the same set of drives, correct?
Also, SAN engineer told us that RAID level is irrelevant which I have hard
time believing to.

Thank you in advance,
Igor

Reply With Quote
  #3  
Old   
Geoff N. Hiten
 
Posts: n/a

Default Re: LUN configuration - 11-20-2009 , 08:01 AM



This is typical SAN "engineering". More spindles = more I/O capacity.
Except most designers use RAID5 and use up the extra I/O ops in RAID
overhead. Most SAN layouts are designed around maximizing storage space,
not maximizing I/O operations for SQL server. Unfortunately, most SAN
companies believe in their "Magic SAN Dust" that somehow creates I/O cycles
out of thin air, so you are stuck with this layout.

You must create at least one LUN per instance. These LUNs get presented to
all cluster Nodes. The Cluster service arbitrates ownership so that no data
corruption occurs and only one Node "owns" a LUN at any given time.

Partitioning a LUN gains nothing except additional management complexity.

--
Geoff N. Hiten
Principal SQL Infrastructure Consultant
Microsoft SQL Server MVP

"Igor Marchenko" <IgorMarchenko (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hello!

We will be installing SQL Server 2008 Active/Active Cluster on Windows
2008. SAN engineer told us that all space will be allocated accross the
same
set of drives. I know this is not recommended because of potential IO
issues,
but I guess this is something we would have to live with. The question we
would have to answer right now is whether we should create one LUN per
Node
(my understanding is that the same LUN can not be shared by two nodes) and
then create logical drives from single LUN or one LUN per logical drive. I
suppose there will be no difference performance wise since LUNs will be
connected to the same set of drives, correct?
Also, SAN engineer told us that RAID level is irrelevant which I have hard
time believing to.

Thank you in advance,
Igor

Reply With Quote
  #4  
Old   
Igor Marchenko
 
Posts: n/a

Default Re: LUN configuration - 11-20-2009 , 12:07 PM



Geoff,

I was under impressions I will need separate LUNs (mapped to
corresponding drives) for tempdb, log, data files, etc. You are saying one
LUN per instance is OK. In this case, will I create multple logical drives on
top of single LUN? If so, can I define different RAID level (does RAID level
even matter in the world of high end SAN)?
Sorry, I am pretty novice in the SAN world. I am trying to figure out if
single LUN with multple drives (corresponding RAID levels) is the way to go.

Thank you,
Igor




"Geoff N. Hiten" wrote:

Quote:
This is typical SAN "engineering". More spindles = more I/O capacity.
Except most designers use RAID5 and use up the extra I/O ops in RAID
overhead. Most SAN layouts are designed around maximizing storage space,
not maximizing I/O operations for SQL server. Unfortunately, most SAN
companies believe in their "Magic SAN Dust" that somehow creates I/O cycles
out of thin air, so you are stuck with this layout.

You must create at least one LUN per instance. These LUNs get presented to
all cluster Nodes. The Cluster service arbitrates ownership so that no data
corruption occurs and only one Node "owns" a LUN at any given time.

Partitioning a LUN gains nothing except additional management complexity.

--
Geoff N. Hiten
Principal SQL Infrastructure Consultant
Microsoft SQL Server MVP

"Igor Marchenko" <IgorMarchenko (AT) discussions (DOT) microsoft.com> wrote in message
news6270607-4FC2-4BF1-BDA7-FE63C1AFC61E (AT) microsoft (DOT) com...
Hello!

We will be installing SQL Server 2008 Active/Active Cluster on Windows
2008. SAN engineer told us that all space will be allocated accross the
same
set of drives. I know this is not recommended because of potential IO
issues,
but I guess this is something we would have to live with. The question we
would have to answer right now is whether we should create one LUN per
Node
(my understanding is that the same LUN can not be shared by two nodes) and
then create logical drives from single LUN or one LUN per logical drive. I
suppose there will be no difference performance wise since LUNs will be
connected to the same set of drives, correct?
Also, SAN engineer told us that RAID level is irrelevant which I have hard
time believing to.

Thank you in advance,
Igor

.

Reply With Quote
  #5  
Old   
Geoff N. Hiten
 
Posts: n/a

Default Re: LUN configuration - 11-20-2009 , 12:25 PM



The only reason to create separate LUNS is if there are separate sets of
disks behind those LUNS. Since your SAN engineer told you they all come
from the same pool, further partitioning gains you no benefit.

Again, all the disks get pooled together in a single large RAID set
(according to your engineer). You get LUNS sliced off of this large RAID
set. The RAID set, not the LUNS is the physical storage layer.

--
Geoff N. Hiten
Principal SQL Infrastructure Consultant
Microsoft SQL Server MVP


"Igor Marchenko" <IgorMarchenko (AT) discussions (DOT) microsoft.com> wrote

Quote:
Geoff,

I was under impressions I will need separate LUNs (mapped to
corresponding drives) for tempdb, log, data files, etc. You are saying one
LUN per instance is OK. In this case, will I create multple logical drives
on
top of single LUN? If so, can I define different RAID level (does RAID
level
even matter in the world of high end SAN)?
Sorry, I am pretty novice in the SAN world. I am trying to figure out if
single LUN with multple drives (corresponding RAID levels) is the way to
go.

Thank you,
Igor




"Geoff N. Hiten" wrote:

This is typical SAN "engineering". More spindles = more I/O capacity.
Except most designers use RAID5 and use up the extra I/O ops in RAID
overhead. Most SAN layouts are designed around maximizing storage space,
not maximizing I/O operations for SQL server. Unfortunately, most SAN
companies believe in their "Magic SAN Dust" that somehow creates I/O
cycles
out of thin air, so you are stuck with this layout.

You must create at least one LUN per instance. These LUNs get presented
to
all cluster Nodes. The Cluster service arbitrates ownership so that no
data
corruption occurs and only one Node "owns" a LUN at any given time.

Partitioning a LUN gains nothing except additional management complexity.

--
Geoff N. Hiten
Principal SQL Infrastructure Consultant
Microsoft SQL Server MVP

"Igor Marchenko" <IgorMarchenko (AT) discussions (DOT) microsoft.com> wrote in
message
news6270607-4FC2-4BF1-BDA7-FE63C1AFC61E (AT) microsoft (DOT) com...
Hello!

We will be installing SQL Server 2008 Active/Active Cluster on Windows
2008. SAN engineer told us that all space will be allocated accross the
same
set of drives. I know this is not recommended because of potential IO
issues,
but I guess this is something we would have to live with. The question
we
would have to answer right now is whether we should create one LUN per
Node
(my understanding is that the same LUN can not be shared by two nodes)
and
then create logical drives from single LUN or one LUN per logical
drive. I
suppose there will be no difference performance wise since LUNs will be
connected to the same set of drives, correct?
Also, SAN engineer told us that RAID level is irrelevant which I have
hard
time believing to.

Thank you in advance,
Igor

.

Reply With Quote
  #6  
Old   
Mark Broadbent
 
Posts: n/a

Default Re: LUN configuration - 11-23-2009 , 07:05 AM



...in our setup we always go for the same number of luns for each sql (and
sql cluster) build purely on "standard" build configuration, even if each
lun does not map directly to a seperate physical array. Generally though I
get to have a large say in the way disks get carved up so thankfully
(usually) each lun maps to a seperate array.

I dont like OS partitioning mostly because I prefer the disk architecture to
be independant of OS (since this can introduce other issues).

"Igor Marchenko" <IgorMarchenko (AT) discussions (DOT) microsoft.com> wrote

Quote:
Geoff,

I was under impressions I will need separate LUNs (mapped to
corresponding drives) for tempdb, log, data files, etc. You are saying one
LUN per instance is OK. In this case, will I create multple logical drives
on
top of single LUN? If so, can I define different RAID level (does RAID
level
even matter in the world of high end SAN)?
Sorry, I am pretty novice in the SAN world. I am trying to figure out if
single LUN with multple drives (corresponding RAID levels) is the way to
go.

Thank you,
Igor




"Geoff N. Hiten" wrote:

This is typical SAN "engineering". More spindles = more I/O capacity.
Except most designers use RAID5 and use up the extra I/O ops in RAID
overhead. Most SAN layouts are designed around maximizing storage space,
not maximizing I/O operations for SQL server. Unfortunately, most SAN
companies believe in their "Magic SAN Dust" that somehow creates I/O
cycles
out of thin air, so you are stuck with this layout.

You must create at least one LUN per instance. These LUNs get presented
to
all cluster Nodes. The Cluster service arbitrates ownership so that no
data
corruption occurs and only one Node "owns" a LUN at any given time.

Partitioning a LUN gains nothing except additional management complexity.

--
Geoff N. Hiten
Principal SQL Infrastructure Consultant
Microsoft SQL Server MVP

"Igor Marchenko" <IgorMarchenko (AT) discussions (DOT) microsoft.com> wrote in
message
news6270607-4FC2-4BF1-BDA7-FE63C1AFC61E (AT) microsoft (DOT) com...
Hello!

We will be installing SQL Server 2008 Active/Active Cluster on Windows
2008. SAN engineer told us that all space will be allocated accross the
same
set of drives. I know this is not recommended because of potential IO
issues,
but I guess this is something we would have to live with. The question
we
would have to answer right now is whether we should create one LUN per
Node
(my understanding is that the same LUN can not be shared by two nodes)
and
then create logical drives from single LUN or one LUN per logical
drive. I
suppose there will be no difference performance wise since LUNs will be
connected to the same set of drives, correct?
Also, SAN engineer told us that RAID level is irrelevant which I have
hard
time believing to.

Thank you in advance,
Igor

.

Reply With Quote
  #7  
Old   
Igor Marchenko
 
Posts: n/a

Default Re: LUN configuration - 11-24-2009 , 01:57 PM



Thanks Geoff!

"Geoff N. Hiten" wrote:

Quote:
The only reason to create separate LUNS is if there are separate sets of
disks behind those LUNS. Since your SAN engineer told you they all come
from the same pool, further partitioning gains you no benefit.

Again, all the disks get pooled together in a single large RAID set
(according to your engineer). You get LUNS sliced off of this large RAID
set. The RAID set, not the LUNS is the physical storage layer.

--
Geoff N. Hiten
Principal SQL Infrastructure Consultant
Microsoft SQL Server MVP


"Igor Marchenko" <IgorMarchenko (AT) discussions (DOT) microsoft.com> wrote in message
news:46DF762B-FEF8-49CF-B5FC-04BFD0BD9265 (AT) microsoft (DOT) com...
Geoff,

I was under impressions I will need separate LUNs (mapped to
corresponding drives) for tempdb, log, data files, etc. You are saying one
LUN per instance is OK. In this case, will I create multple logical drives
on
top of single LUN? If so, can I define different RAID level (does RAID
level
even matter in the world of high end SAN)?
Sorry, I am pretty novice in the SAN world. I am trying to figure out if
single LUN with multple drives (corresponding RAID levels) is the way to
go.

Thank you,
Igor




"Geoff N. Hiten" wrote:

This is typical SAN "engineering". More spindles = more I/O capacity.
Except most designers use RAID5 and use up the extra I/O ops in RAID
overhead. Most SAN layouts are designed around maximizing storage space,
not maximizing I/O operations for SQL server. Unfortunately, most SAN
companies believe in their "Magic SAN Dust" that somehow creates I/O
cycles
out of thin air, so you are stuck with this layout.

You must create at least one LUN per instance. These LUNs get presented
to
all cluster Nodes. The Cluster service arbitrates ownership so that no
data
corruption occurs and only one Node "owns" a LUN at any given time.

Partitioning a LUN gains nothing except additional management complexity.

--
Geoff N. Hiten
Principal SQL Infrastructure Consultant
Microsoft SQL Server MVP

"Igor Marchenko" <IgorMarchenko (AT) discussions (DOT) microsoft.com> wrote in
message
news6270607-4FC2-4BF1-BDA7-FE63C1AFC61E (AT) microsoft (DOT) com...
Hello!

We will be installing SQL Server 2008 Active/Active Cluster on Windows
2008. SAN engineer told us that all space will be allocated accross the
same
set of drives. I know this is not recommended because of potential IO
issues,
but I guess this is something we would have to live with. The question
we
would have to answer right now is whether we should create one LUN per
Node
(my understanding is that the same LUN can not be shared by two nodes)
and
then create logical drives from single LUN or one LUN per logical
drive. I
suppose there will be no difference performance wise since LUNs will be
connected to the same set of drives, correct?
Also, SAN engineer told us that RAID level is irrelevant which I have
hard
time believing to.

Thank you in advance,
Igor

.


.

Reply With Quote
  #8  
Old   
Igor Marchenko
 
Posts: n/a

Default Re: LUN configuration - 11-24-2009 , 01:57 PM



Thanks Mark!

"Mark Broadbent" wrote:

Quote:
...in our setup we always go for the same number of luns for each sql (and
sql cluster) build purely on "standard" build configuration, even if each
lun does not map directly to a seperate physical array. Generally though I
get to have a large say in the way disks get carved up so thankfully
(usually) each lun maps to a seperate array.

I dont like OS partitioning mostly because I prefer the disk architecture to
be independant of OS (since this can introduce other issues).

"Igor Marchenko" <IgorMarchenko (AT) discussions (DOT) microsoft.com> wrote in message
news:46DF762B-FEF8-49CF-B5FC-04BFD0BD9265 (AT) microsoft (DOT) com...
Geoff,

I was under impressions I will need separate LUNs (mapped to
corresponding drives) for tempdb, log, data files, etc. You are saying one
LUN per instance is OK. In this case, will I create multple logical drives
on
top of single LUN? If so, can I define different RAID level (does RAID
level
even matter in the world of high end SAN)?
Sorry, I am pretty novice in the SAN world. I am trying to figure out if
single LUN with multple drives (corresponding RAID levels) is the way to
go.

Thank you,
Igor




"Geoff N. Hiten" wrote:

This is typical SAN "engineering". More spindles = more I/O capacity.
Except most designers use RAID5 and use up the extra I/O ops in RAID
overhead. Most SAN layouts are designed around maximizing storage space,
not maximizing I/O operations for SQL server. Unfortunately, most SAN
companies believe in their "Magic SAN Dust" that somehow creates I/O
cycles
out of thin air, so you are stuck with this layout.

You must create at least one LUN per instance. These LUNs get presented
to
all cluster Nodes. The Cluster service arbitrates ownership so that no
data
corruption occurs and only one Node "owns" a LUN at any given time.

Partitioning a LUN gains nothing except additional management complexity.

--
Geoff N. Hiten
Principal SQL Infrastructure Consultant
Microsoft SQL Server MVP

"Igor Marchenko" <IgorMarchenko (AT) discussions (DOT) microsoft.com> wrote in
message
news6270607-4FC2-4BF1-BDA7-FE63C1AFC61E (AT) microsoft (DOT) com...
Hello!

We will be installing SQL Server 2008 Active/Active Cluster on Windows
2008. SAN engineer told us that all space will be allocated accross the
same
set of drives. I know this is not recommended because of potential IO
issues,
but I guess this is something we would have to live with. The question
we
would have to answer right now is whether we should create one LUN per
Node
(my understanding is that the same LUN can not be shared by two nodes)
and
then create logical drives from single LUN or one LUN per logical
drive. I
suppose there will be no difference performance wise since LUNs will be
connected to the same set of drives, correct?
Also, SAN engineer told us that RAID level is irrelevant which I have
hard
time believing to.

Thank you in advance,
Igor

.



.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.