Home > Ask the Storage Technology Experts > Questions & Answers > Ten best practices for moving data files to a SAN
Ask The Storage Expert: Questions & Answers
EMAIL THIS

Ten best practices for moving data files to a SAN

Christopher Poelker EXPERT RESPONSE FROM: Christopher Poelker

Pose a Question
Other Storage Categories
Meet all Storage Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 04 November 2004
In a few weeks our SAN will be operational, and we have to move our data files to it. Basically, we are just copying a past action from server to LUN, but I wonder if there are additional considerations in order to upgrade performance, such as I/O matters, backup strategies, log files, log shipping, disaster management, etc.

I'd also like to know how to handle the OLAP environment that is based on our OLTP database, and how to deal with existing high availability clusters.

Do you have a "best practice" on these issues? Microsoft and Dell are telling me about the technical specifications, but I'm more interested in the operational part. (I'm just the DBA -- not one of the network guys.) We are using SQL Server 2000 SP3a/Windows 2000 servers.


>
EXPERT RESPONSE
In a nutshell:

1) OLTP-based workloads should use dedicated spindles in the SAN, and use RAID 1+0 if possible. For good performance without all the cost, you can use RAID 5 for the database and RAID 1 or RAID 10 for the log files.

2) Each server connected to the SAN should have at least two paths to disk. Each path should be on a physically or logically separate SAN fabric. Path management software would be required on each host. (Check with your SAN vendor on what they require.)

3) All backup should be SAN-based, and no backup data streams should have to be transferred over the IP network. This is called "serverless backup."

4) Use ALL 2 Gb components in the SAN. This means the HBA, switches, and storage subsystems must all be rated at 2 Gb. If any component is 1Gbit, then the entire path runs at 1Gb. The cables should all be multi-mode 50u cables, with LC type connectors on each end (unless you are using a patch panel for connectivity).

5) For a cheap and easy solution for data migration, you can use host-based mirrors to migrate all your data from internal host drives to the new SAN environment. (See your OS vendor's documentation for creating mirror sets with the OS). Install the HBAs into the hosts and connect up the new storage array, create LUNs to match the size of your existing LUNs (or larger), and reboot the server so it can see your new disks. Now use diskadmin under Windows to create a mirror for all your data drives. Leave the C: drive alone as an internal boot disk. Once the mirrors are finished copying, break the mirrors and you will have two copies of data: one in the SAN and one internal. You can now remove your internal drives, or leave them around as a backup.

6) Use LUN security on the storage array, and zoning in the SAN. ZONE each HBA world wide name into a separate zone, which includes the storage port on the array where you have ported that servers LUNS to. (Basically, each HBA is in its own zone.) This will cut down on error traffic to your servers from misbehaving components in the SAN.

7) For your clusters, you may need to create a "quorum" disk in the SAN that is accessible by each member of the cluster. Use LUN security and zoning in the SAN to make sure each cluster node has access to the quorum disk.

8) For DR, ask your SAN vendor if they provide a storage array based replication solution. This will require another storage array at your DR site to accept the data on the other side, and a SAN or IP connection between sites. If you find this method too expensive, then you can use host based (software) replication solutions. Or you can ship the log files over IP to a host on the other side that also has a complete copy of the database.

9) I have no idea how many servers you have, but limit the server-to-storage-port count to make sure high performance applications are not overwhelmed by other servers competing for storage resources over the same port.

10) Keep SAN switch "hops" to a minimum. A hop happens when data must transverse an ISL (switch-to-switch) connection in the SAN. If you have just two switches (one for each host path), with the storage connected to the same switch, you should be fine. If you have a larger and more complex SAN fabric infrastructure, then use a professional to help you design the SAN.

Chris

Read Greg Schulz' answer to this question.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
Storage Networking: SANs
SAN predictions for 2005: The year of programmable storage
How do you defrag a hard drive on NAS?
Does Ethernet track requests sent to the server?
Connecting multimode fiber cable to single mode
Determining the availability of a four-node network
Why you shouldn't share disk resources in a SAN
Separate HBAs for tape access
Getting information from NAS vendors
Configuring your first SAN: Usable versus raw storage
Configuring your first SAN: Creating your LUNs

SAN management
Storage Decisions New York 2008 Session Downloads
Storage Decisions Session Downloads: Storage Systems & Networking Track (New York 2008)
EMC, Pillar offer options to boost Oracle performance on storage disk arrays
Quality Awards IV: It's a tie--EMC and NetApp share enterprise array honors
Does SAP eat more than its share of storage?
Solid-state drives quiz
Windows Server 2008 steps on some storage toes
Storage Decisions Chicago 2008 Session Downloads
Storage Decisions Session Downloads: Storage Systems & Networking Track (Chicago 2008)
Determining the number of drives in a RAID group
SAN management Research

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
Fast Guide to Storage Technologies  (WhatIs.com)
fat provisioning  (SearchStorage.com)
oversubscription  (SearchStorage.com)
RAID  (SearchStorage.com)
storage area management  (SearchStorage.com)
storage area network  (SearchStorage.com)
thin provisioning  (SearchStorage.com)
unified storage  (SearchStorage.com)
virtual provisioning  (SearchStorage.com)
zoned-bit recording  (SearchStorage.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Search for Data Management Tools and Tiered Storage Reseller Solutions
TechTarget Storage Media
Storage Magazine View this month\\'s issue and subscribe today.
Storage Decisions Apply online for free conference admission.
SearchStorage.com
HomeNewsMagazineTopicsLearningMultimediaWhite PapersBlogsEventsAbout Us

About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2000 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts