LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 01-09-2008, 04:20 PM   #1
msound
Member
 
Registered: Jun 2003
Location: SoCal
Distribution: CentOS
Posts: 465

Rep: Reputation: 30
Setting Up My First HA Network


Hey Hey!

So I'm super excited because I've been asked to fully design an implement a HA network environment for a new .com start up.

The web site is going to store and stream a lot of media content (common with a lot of web start ups these days) and unfortunately that's where my experience runs a little short.

Configuring load balanced apache web servers and mysql database servers is no big deal, but I'm a little unsure about how to deal with the all of the uploaded media files.

I'm obviously looking to a SAN solution, but I'm a little unsure of how to configure the network. Here's what I have so far (10,000 ft overview):

Firewall -> Web Load Balancers -> Web Node -> Datatbase Load Balancer -> MySQL Database Node

The DB Nodes' data will probably be stored on the SAN.

Now for the media side of it I was thinking about using NFS to mount the centralized media store to all of the web nodes. That way the content urls will work across all of the web nodes, because each node will have the same directory tree /var/www/media which is just an NFS mount from the SAN.

So my real question is - do I really need NFS to achieve this? Or is there another way of sharing partition hard drive space on the SAN with each web node? If I do need to use NFS, then that would mean I'd need an NFS server to make the SAN space accessible by the web nodes (ie the NFS clients).

What is the industry standard approach to doing what I need to do. Obviously in a clustered environment with multiple web nodes where users can upload/stream media - there needs to be a centralized way of making that data accessible - and I'm just a little confused of how it's done.

Any/all help would be greatly appreciated. And wish me/us luck!

Cheers!
 
Old 01-20-2008, 01:32 AM   #2
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
NFS or CIFS is fine to me. I haven't had experience with EMC SAN before but have with other various SAN manufacturers. They will usually have the ability to do NFS or CIFS depending if you pay for their licenses. I have used NFS for this type of topology and it works just fine for us. You might need to play with some of the NFS options to suit your environment.

-twantrd
 
Old 01-21-2008, 03:14 AM   #3
elcody02
Member
 
Registered: Jun 2007
Posts: 52

Rep: Reputation: 17
Post

Quote:
Originally Posted by msound View Post
The DB Nodes' data will probably be stored on the SAN.
If you you want to use HA-Services. You will be better off with using a SAN.

Quote:
Originally Posted by msound View Post
Now for the media side of it I was thinking about using NFS to mount the centralized media store to all of the web nodes. That way the content urls will work across all of the web nodes, because each node will have the same directory tree /var/www/media which is just an NFS mount from the SAN.

So my real question is - do I really need NFS to achieve this? Or is there another way of sharing partition hard drive space on the SAN with each web node? If I do need to use NFS, then that would mean I'd need an NFS server to make the SAN space accessible by the web nodes (ie the NFS clients).

What is the industry standard approach to doing what I need to do. Obviously in a clustered environment with multiple web nodes where users can upload/stream media - there needs to be a centralized way of making that data accessible - and I'm just a little confused of how it's done.

Any/all help would be greatly appreciated. And wish me/us luck!

Cheers!
I think there is no real industry standard when building up web solution stacks.

But you might also want to think about using a clusterfilesystem. Especially when all nodes are attached to a SAN (I suppose you mean FibreChannel/iSCSI when talking about SAN) a clusterfilesystem might become handy. GFS and OCFS2 are the opensource solutions based on linux. I would not suggest OCFS2 for a web server scenario as it is *NOT YET* posix compliant. But GFS could be a nice option. Theoretically a clusterfilesystem should be more determinstic when handling syncronous I/Os and synchronous locking. But this could start a big discussion about pro and cons of NFS vs. Cluster Filesystems or SAN Filesystems.

A nice option when building up scalable infrastructures is moving all the data on the ClusterFilesystem or NFS even the root. Have a look at www.open-sharedroot.org . There you should also find more information about GFS.

Hava fun and good luck.
 
Old 01-31-2008, 02:49 AM   #4
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
that kind of environment is i/o intensive. fiber based
storage should the one considered here. but if there's
a budget constraint, checkout:

http://www.openfiler.com/

it is using iSCSi and can easily be integrated to your
current network. unlike if you get a fiber based setup,
you need more h/w (ie switch, cabling + training on how
to manage it).

good luck.
 
  


Reply



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
gateway setting ./network-scripts/ifcfg-eth1 and ./network joshfields Linux - Networking 1 04-29-2012 04:27 AM
Problem with setting up network card / network ssmeets Linux - Hardware 3 11-03-2005 03:46 PM
Setting up a network circuitpreacher Linux - Networking 3 12-03-2004 03:57 AM
Network Setting thunderkt Linux - Networking 1 08-07-2003 02:59 AM
setting up a network Dethbysmoke Linux - Networking 1 02-09-2002 05:44 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 04:35 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
Open Source Consulting | Domain Registration