LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-02-2008, 01:59 PM   #1
blckspder
Member
 
Registered: Feb 2005
Posts: 37

Rep: Reputation: 15
Setup Cluster on Fedora 7


Hello Everyone,

I have 2 web servers both running Fedora 7. One is active and the other is backup. Using RSYNC I copy all of the website files from the active server to the backup server.

However, my company is experiencing an increase in growth rate and I need something that is better then just a simple copy.

I would like to cluster the 2 servers and have load balancing and system failure. That way if one server goes down the remaining one will take on the load until I can get the other back up and running. Right now, I have no immediate solution and the site could be down for 30 min to an hour before I get the backup server updated and configured correctly.

If anyone knows of any tutorials or software options to help me set this up I would appreciate it. Thanks for your time.
 
Old 06-02-2008, 03:10 PM   #2
mtimbro
Member
 
Registered: Feb 2008
Location: Montreal, Canada
Distribution: RedHat 3/4, Ubuntu 7.10
Posts: 86

Rep: Reputation: 15
I had written about using GFS before but not only is it a bit complicated to configure, it's overkill for your needs. What you should look at is involving 2 more machines to your architecture.

The first should have LVS on it (free load-balancing software for Linux) to distribute traffic among your 2 web servers and provide redundancy.

The second should just be an NFS enabled machine on which your web directory is shared by both your web servers.

My 2 cents.

Last edited by mtimbro; 06-02-2008 at 03:16 PM.
 
Old 06-02-2008, 09:49 PM   #3
blckspder
Member
 
Registered: Feb 2005
Posts: 37

Original Poster
Rep: Reputation: 15
Redhat Cluster Suite

Thanks for the reply.

Have you had any experience with the Redhat cluster suite? That looks like a viable option. Im not sure on the redundancy though, would I have to keep using RYSNC and MySQL replication?
 
Old 06-03-2008, 12:28 AM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Remember, backup & high-availability are 2 different concepts. A cluster is an HA soln, you still need off-line (pref off-site) backups eg rsync + tape or go for the full blown Amanda and backup all your systems..
 
Old 06-03-2008, 09:18 AM   #5
blckspder
Member
 
Registered: Feb 2005
Posts: 37

Original Poster
Rep: Reputation: 15
I do backup to tape and to off site storage. I was wondering how the redundancy worked with a cluster though. I havent found much information on that. Does it utilize RSYNC and MySQL replication, so if one server does go down the other can take over?
 
Old 06-03-2008, 07:15 PM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Well, MySQL does its own clustering. iirc, you need 5.1 to get disk backed cluster. The 5.0 version was RAM based, although it did work.
http://dev.mysql.com/doc/refman/5.1/...l-cluster.html
 
  


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
Quickest Way to Setup Password-less SSH in a Cluster Stevie-B-242 Linux - Enterprise 10 06-07-2012 02:05 PM
Regarding cluster setup chandan_shetty Linux - Software 1 05-04-2008 02:40 AM
cluster setup chandan_shetty Linux - Networking 2 03-08-2008 10:02 PM
Setup redhat cluster (absolute newbie) halo14 Linux - Hardware 0 08-10-2004 05:37 PM
cluster-setup fineass Linux - Networking 0 10-23-2003 01:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:54 AM.

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