LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-20-2014, 02:35 AM   #1
NavinB
LQ Newbie
 
Registered: Jun 2014
Posts: 1

Rep: Reputation: Disabled
Installing RHEL 6.5 using 2 application servers connected to a SAN


I need to setup RHEL 6.5 64 bit on a setup where i have 2 app servers connected to a SAN. The servers are HP DL380 G8 and connects to a HP SAN P2000 G3 using FC. The servers connects directly from the HBA to the SAN (no SAN switch). the 2 servers works in active/standby mode, so only one server will read/write to the SAN at a time. I require a basic setup where the /var directory (containing the database) will sit on the SAN. And all other directories on the local drives of the server. I will also be using device mapper and multipathing for failover between the servers. Questions are:
1. What file system should be installed on the SAN? can i use ext4 (as the local drives) or there is a specific file system for SAN?
2. When i install the RHEL OS, there is an option which says 'specialized storage devices'. so i need to select that option right?
3. I also read about shared file system for SAN, can it be used in my setup here? If yes, then i don't need device mapper and multipathing?


Thakn you.
Navin
 
Old 06-20-2014, 08:54 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,488

Rep: Reputation: 3970Reputation: 3970Reputation: 3970Reputation: 3970Reputation: 3970Reputation: 3970Reputation: 3970Reputation: 3970Reputation: 3970Reputation: 3970Reputation: 3970
Quote:
Originally Posted by NavinB View Post
I need to setup RHEL 6.5 64 bit on a setup where i have 2 app servers connected to a SAN. The servers are HP DL380 G8 and connects to a HP SAN P2000 G3 using FC. The servers connects directly from the HBA to the SAN (no SAN switch). the 2 servers works in active/standby mode, so only one server will read/write to the SAN at a time. I require a basic setup where the /var directory (containing the database) will sit on the SAN. And all other directories on the local drives of the server. I will also be using device mapper and multipathing for failover between the servers. Questions are:
1. What file system should be installed on the SAN? can i use ext4 (as the local drives) or there is a specific file system for SAN?
2. When i install the RHEL OS, there is an option which says 'specialized storage devices'. so i need to select that option right?
3. I also read about shared file system for SAN, can it be used in my setup here? If yes, then i don't need device mapper and multipathing?
  1. You use whatever file system on the SAN drive as you'd like. SAN is just another disk, so if you want to use EXT4, then feel free.
  2. Maybe, maybe not. You might just be able to perform a standard load, and the installer may pick up your HBA as just another SCSI disk.
  3. Which shared file system? There are many options.
Since you're using RHEL with HP hardware, that means you are paying for support from both Red Hat and HP...you really should contact them for assistance, and they can probably walk you through what you need to know. That's why you pay for support.
 
Old 06-20-2014, 08:55 AM   #3
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,712
Blog Entries: 14

Rep: Reputation: 1038Reputation: 1038Reputation: 1038Reputation: 1038Reputation: 1038Reputation: 1038Reputation: 1038Reputation: 1038
Use of a SAN does not typically require any special filesystem as it is just presenting storage much like you'd see from internal drives on the system itself. Here we've used vxfs (Veritas Filesystem), ext3, ext4 and Windows native filesystems all on the same disk arrays (from EMC and Hitachi).

While some things like MySQL might default to having database under /var you can and probably should modify that to be somewhere else (e.g. /database).

Even if you have your data subdirectory under /var you might want to consider having /var itself on the local disks and only make the data subdirectory on the SAN (e.g. /var/mqysql/data). Much of what is in /var is required during boot and you're not doing yourself any favors by putting all of /var on SAN if you're not also putting your /boot and / (root) there.

Typically during installation we do NOT configure the SAN storage - we only use the internal drives then configure the SAN storage after the fact. (Typically in different filesystems as noted above and usually in separate LVM Volume Groups to avoid mixing the internal and external storagge in a single VG.)

We've not done the direct to disk array setup for storage like you're attempting so I'm not sure what other considerations you might need to consider. If you have at least 2 fibre ports from each host to the disk array you do want to use multipath and insure whatever storage you configure (VG, ASM, partition) for your database is pointing to the multipath device rather than directly to one of the /dev/sd* devices.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Emluex SAN not visible in RHEL 5.6. SAN array is HP XP12000 austinbravo Linux - Newbie 0 07-26-2011 08:38 PM
How to find out server is connected to SAN storage linux_beginer Linux - Newbie 2 04-10-2011 01:47 PM
a lot of Buffer I/O error on device connected to SAN karlochacon Linux - Newbie 4 08-10-2010 08:53 AM
Two RHEL 5 servers connecting with a SAN luke_devon Linux - Newbie 12 11-15-2009 10:55 PM
Image of Diskless server connected to SAN zileb Linux - Hardware 0 01-11-2008 03:54 PM


All times are GMT -5. The time now is 10:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration