LinuxQuestions.org
Visit Jeremy's Blog.
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 03-02-2007, 03:20 AM   #1
armbarathi
LQ Newbie
 
Registered: May 2005
Posts: 3

Rep: Reputation: 0
Question How to implement clustering in linux servers


I need to Know about ,How to implement clustering in linux servers . Persons who has expertise in realtime Environment ..may help for this case !!!!
 
Old 03-02-2007, 11:28 AM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 117Reputation: 117
Connect the servers onto a single network. Ethernet works well. Install clustering and management software on the servers.

If you'd like a more specific answer, I suggest asking a more specific question.
 
Old 03-04-2007, 02:14 AM   #3
TylerD75
Member
 
Registered: Aug 2004
Location: Norway
Distribution: Gentoo
Posts: 94

Rep: Reputation: 17
Check out this site: www.beowulf.org/overview/howto.html
 
Old 03-04-2007, 02:37 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,057

Rep: Reputation: 971Reputation: 971Reputation: 971Reputation: 971Reputation: 971Reputation: 971Reputation: 971Reputation: 971
lse would seem a more likely option.
 
Old 03-18-2007, 06:45 AM   #5
armbarathi
LQ Newbie
 
Registered: May 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for your replies. Iam not sure about the types of clusters , but i like to know which one in commonly used in Enterprise env.

regards,
armbarathi.s
 
Old 03-19-2007, 04:36 AM   #6
ginda
Member
 
Registered: Mar 2004
Distribution: SUSE8.2, 9.2, Knoppix
Posts: 322

Rep: Reputation: 31
Hi

I have setup a keepalived with lvs in the past for a http server. Take a look into keepalived and linux virtual server project. The 2.6 kernels come with LVS built in so you just need to install keepalived on a server which will point to the servers you are adding to the cluster.

To help you on your way ill explain some termnalogy used in this project:

Director = "the load balancer server, the server which will accept the requests for the clients i.e. web users"

Real Server = "the actual servers 2+ that host the actual services i.e. http servers.

Hope this helps havent got much time to get more in-depth but ill try and take a look at your post later.

Good luck
 
Old 03-27-2007, 05:29 AM   #7
armbarathi
LQ Newbie
 
Registered: May 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Smile

Thanx for ur reply ginda,

I think your model seems to be like Hot-hot side clustering . Is keepalived with lvs is similar to heartbeat. i like to know abt code ..how it is working.

regards,
armbarathi
 
Old 03-27-2007, 08:23 AM   #8
ginda
Member
 
Registered: Mar 2004
Distribution: SUSE8.2, 9.2, Knoppix
Posts: 322

Rep: Reputation: 31
Hi

The keepalived sits on the load balancer server which will accept all the incoming requests i.e from web users, it will then forward the request packet to one on the real servers, the real servers will read the packet as if it came directly to the real server and respond to the user directly i.e. serving the web page.

The keepalived configuration i find is quite easy to understand and edit. I have only ever setup keepalived to pass requests to 2-3 real servers i.e. first request to real server 1, then real server 2 and so on. You may also specify the exact files you want to serve on the real servers i.e. index.html or http://blah/

LVS is compiled into the 2.6 kernels from what i understand, if you take a look at the config file for your kernel in the /boot directory you can check to see if it gets loaded.
 
  


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
How to implement linux firewall redundancy? ahmedken Linux - Security 3 02-22-2007 10:08 AM
Clustering two servers homa2001 Linux - Software 7 02-08-2006 03:21 PM
How to implement network protocol in Linux? jamespayne Programming 2 12-03-2004 01:29 PM
how to implement a simple file system for linux amitchakote Linux - Newbie 8 03-17-2004 10:19 AM
how to write (implement) file system for linux amitchakote Linux - Software 2 03-16-2004 12:39 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration