How To Build A SAN
How To Build A SAN
[2] www.starwindsoftware.com
INTRODUCTION
“
This How To Build A SAN guide provides a brief overview to building your own Storage Area Net-
Ultimately, work (SAN) using industry standard off-the-shelf hardware or a repurposed server that you already
you can use
have as well as freely available storage software that will convert your box into a fully-functional
a SAN for any
SAN. The SAN that you will build will work directly on your Ethernet network without any additional
server appli-
”
investments.
cations
But why bother with an Ethernet SAN at all? With this SAN you can do many common tasks far
easier and faster than with conventional file servers and direct attached disks. A SAN gives you
“shared storage” on your network, which means that you can centrally manage all of your stor-
age from one device as opposed to managing storage on each application server. Shared storage
allows simplified backups and replication between storage devices at a far lower cost than host
based replication. Ultimately, you can use a SAN for any server applications as demonstrated in
this diagram:
Also, when using virtual machines with VMware or Hyper-V, shared storage greatly simplifies and
leverages the fact that your server is now stored as a single large VM file. Using shared storage
makes it significantly easier to manage, provision and protect virtual machines. Further, you need
shared storage to use high availability features of virtual machines such as VMware’s VMotion,
VMwareHA, VCB and DRS.
This whitepaper details how anyone can easily build their own SAN without incurring the high
costs associated with proprietary SAN vendors hardware. You can use off-the-shelf server hard-
ware and storage software to build your own custom SAN - this significantly reduces the entry cost
for IT departments without limiting functionality. Before we dive into the details, we’ll review some
essential points about SANs and touch on a few key issues surrounding the iSCSI vs. FC protocol
debate.
[3] www.starwindsoftware.com
What is a SAN? d) a pure VTL (virtual tape library).
[4] www.starwindsoftware.com
job of even the most demanding applications. FC storage is Getting Started
significantly more expensive than iSCSI, requiring proprietary
The simplicity of Windows iSCSI storage software allows you
FC HBAs (Host Based Adapters) on client machines as well as
to use the Microsoft Windows operating system as the SAN
very expensive FC network switches. Managing and maintain-
controller and have a fully functional iSCSI SAN with an easy
ing a FC SAN requires administrators to learn new skills in FC
to use and familiar user interface. Any IT administrator familiar
networking. While the price is significantly higher for FC, the
with Windows should be able to install and configure a Win-
performance is not 300% better. Ultimately, while Fibre Chan-
dows SAN in less than 30 minutes. Microsoft is one of several
nel bandwidth is indeed higher (until everyone has 10GigE
companies that provides iSCSI storage softwarefor Windows;
implemented), the bottleneck is actually the speed of the hard
another is our featured product StarWind Server v4.1.
disks and not the network connection.
[5] www.starwindsoftware.com
• IP Switches: A dedicated 1GigE switch for the SAN fabric. your hardware according to the following simple guidelines.
Budget IP switches are not recommended for performance In general the performance required from the physical server
reasons. A second switch is optional, although highly recom- where StarWind is installed isn’t as critical as sizing the disks
mended if connecting mission critical applications to the SAN. correctly although it is still important to note the CPU speed
Jumbo frame support is recommended for optimal and amount of RAM will affect the 5 The Essential Guide to
throughput. Building a SAN 5
system’s performance. A server with 4GB of RAM and a 2GHz
• NICs: 2 X 1GigE NIC ports - a single NIC port will also work for single core CPU should be fine for most applications.
applications with low I/O requirements.
Here is a sample server for your custom-built SAN that will of-
• Client Connections: The free Microsoft iSCSI initiator can be fer excellent performance:
used, as well as various Linux, Unix initiators, iSCSI HBAs and
iSCSI TOE NICs. • Windows Server 2008 x64
• 2 x Dual Core CPU (Intel)
• IP Switches: A dedicated 1GigE switch for the SAN fabric. • 8GB of Memory
Budget IP switches are not recommended for performance • 1 x RAID Controller (SATA and SAS Backplane support)
reasons. A second switch is optional, although highly recom- • 2 x 1GB NICs (Jumbo Frame support)
mended if connecting mission critical applications to the SAN. Sizing disks involves selecting the correct speed drives and
Jumbo frame support is recommended for optimal throughput. the right number of drives to achieve the required IOPs (i/o
operations per second) for your application.
• NICs: 2 X 1GigE NIC ports - a single NIC port will also work for StarWind will work with any disk that Windows can see (SAS,
applications with low I/O requirements. SATA), and storage can be expanded by using an expansion
bay such as an externally SAS connected bay of drives. Using
• Client Connections: The free Microsoft iSCSI initiator can be a server with hot swappable drives provides extra resiliency in
used, as well as various Linux, Unix initiators, iSCSI HBAs and the event of a drive failure.
iSCSI TOE NICs. How you decide to carve up a RAID group, many LUNs spread
across a single RAID group vs. each LUN on a separate RAID
Building Your Own SAN group is a function of the performance your applications
Once you download and install StarWind iSCSI Server soft- require.
ware, it should take you no more than 15 to 20 minutes to get
started. StarWind can be installed on any x86 server running To make sure that your IP network is utilized correctly, you
64-bit or 32-bit Microsoft Windows, allowing you to select your should use a dedicated NIC port on your application servers
preferred hardware vendor (i.e. Dell, HP, IBM, or any white- to connect to dedicated IP switches which are only used for
box server) or to repurpose any existing server that may have iSCSI traffic. This will ensure that you don’t overwhelm your
become available after consolidation or implementation of LAN. This is the cornerstone of a SAN which is by definition a
VMware or Hyper-V virtualization environments. separate network for storage. For further redundancy on your
Before installing StarWind, note that you will get the best SAN network you can use two separate switches in a criss-
performance and experience with your iSCSI SAN by selecting cross fashion, this requires either dual NICs or two available
[6] www.starwindsoftware.com
Ethernet ports on your application server and again on the
server running StarWind iSCSI Target.
Also, ensure you are using a 1GigE network for all SAN traffic.
Anything slower will lack performance. If you need additional
performance then using a 10GigE dedicated IP network for SAN
traffic will assure you achieve higher performance that will still
be a fraction of the total cost of FC storage and FC switches.
[7] www.starwindsoftware.com
Figure 3: iSCSI networked storage implementation.
[8] www.starwindsoftware.com
Protecting Data With a SAN the VTL edition of StarWind ($1795) which is seen by backup
software as a tape device, or if your backup software vendor
Once you have centralized/shared storage in place one of the
allows you to backup straight to disk you can backup directly
first questions you should ask yourself is how will you back
to StarWind without requiring the VTL option. Check with your
up the data that resides on the storage server? With data on a
backup vendor regarding backing up to disk as there may be
StarWind SAN you can still use your existing backup applica-
an additional cost from your backup software vendor for this
tion to backup your data, and for VMware users you can also
option.
use VCB (Virtual Consolidated Backup). StarWind SAN also
allows you to perform live, point-in-time snapshots with the
SUMMARY
CDP & Snapshots feature for further flexibility in your disas-
There you have it, building SAN is a fairly straight forward
ter recovery strategy, including mirroring and replication for
process. It takes a bit of pre-planning, but the small amount of
remote offsite replication.
effort required to build your own SAN can result in a signifi-
CDP & Snapshots and Mirroring & Replication are available
cant savings in cost. Using StarWind Software to build a SAN
with paid editions of StarWind’s iSCSI SAN software.
is easy and you will be able to reduce complexity, save time
Enterprise Features: Expanding The SANs Feature Set managing your storage and expand your storage capabilities
affordably.
The Free version of StarWind allows for a capacity of up to 2TB
but the paid version of StarWind Server will scale in TBs to any
This guide is meant to be a brief introduction to building your
capacity required by you for the project, making a perfect addi-
own SAN. Please refer to the more in depth Best Practices
tion to any IT environment whether you are adding an addi-
Guide or consult the StarWind sales rep for further assistance.
tional SAN, your first SAN or just a backup appliance. StarWind
is the industry’s most affordable and best valued platform for
building an iSCSI SAN.
[9] www.starwindsoftware.com
ABOUT STARWIND SOFTWARE INC.
StarWind Software is a leading global provider of storage and iSCSI SAN software. StarWind Server
converts any Windows server into a reliable, powerful and scalable SAN and is designed for use
with solutions such as Microsoft Hyper-V Server 2008, VMware ESX and VMware ESXi and Microsoft
Windows Server clusters for database applications such as Microsoft SQL Server, Microsoft Exchange
and Microsoft SharePoint Server. StarWind is an affordable iSCSI SAN solution and combines ease of
use with enterprise-class features such as Mirroring and Replication, CDP and Snapshots, Thin Pro-
visioning and Virtual Tape Library (VTL). Since 2003, StarWind has pioneered the iSCSI SAN industry
and has been the solution of choice for thousands of global customers in over 50 countries, from
small and mid-size businesses, to governments, and Fortune 1000 clients.
RELATED LINKS
To download a fully functional FREE edition of the StarWind iSCSI Server for Microsoft Windows or for
more information from StarWind Software about the solution outlined in this paper visit:
www.starwindsoftware.com
ABOUT STARWIND
Since 2003, StarWind has been the storage solution of choice for thousands of global customers in over 50
countries, from SMBs, to governments, and to Fortune 1000 clients. StarWind has pioneered the iSCSI / IP
SAN industry with its storage virtualization software that converts any Windows Server into a reliable and
scalable shared storage.
Turn Any Server Into a SAN. ©2009, StarWind Software Inc. All rights reserved. Reproduction in any manner whatsoever without the
Enterprise Features. express written permission of StarWind Software, Inc. is strictly forbidden. For more information, contact
SMB Price.TM StarWind. Information in this document is subject to change without notice. StarWind Enterprise Server is a
registered trademark of StarWind Software.
THIS WHITE PAPER IS FOR INFORMATIONAL PURPOSES ONLY, AND MAY CONTAIN TYPOGRAPHICAL ERRORS AND
TECHNICAL INACCURACIES. THE CONTENT IS PROVIDED AS IS, WITHOUT EXPRESS OR IMPLIED WARRANTIES OF
www.starwindsoftware.com ANY KIND.