LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   How to implement clustering in linux servers (https://www.linuxquestions.org/questions/linux-server-73/how-to-implement-clustering-in-linux-servers-533819/)

armbarathi 03-02-2007 03:20 AM

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 !!!!

Matir 03-02-2007 11:28 AM

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.

TylerD75 03-04-2007 02:14 AM

Check out this site: www.beowulf.org/overview/howto.html

syg00 03-04-2007 02:37 AM

lse would seem a more likely option.

armbarathi 03-18-2007 06:45 AM

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

ginda 03-19-2007 04:36 AM

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

armbarathi 03-27-2007 05:29 AM

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

ginda 03-27-2007 08:23 AM

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.


All times are GMT -5. The time now is 01:51 PM.