info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Load balancing setup for CVS repositories


From: Arthur Barrett
Subject: RE: Load balancing setup for CVS repositories
Date: Tue, 4 Dec 2007 13:14:03 +1100

Ramesh,

> I want to know if there is a built in load balancing support for CVS 
> servers. I have one CVS server and i want to configure one more CVS 
> server and want to share the load between them. Is that possible with 
> CVS? If yes, is there some configuration documentation i can 
> refer to ?

Load balancing is the job of your network router or cluster, just treat
your CVS server like a web server.  

In the same way as if you are setting up load balanced web servers you
configure a front end switch/router to receive information from the web
servers as to what their loads are and to switch more incoming requests
to the least busy server.  

You'll then need to store your repository on a SAN so that all CVS
Servers responding to the requests are looking at the same repository.
Storing the repo on an NFS or Samba share is a good way to ensure that
it gets corrupted - use a real SAN.

Clusters are a good way to go - the cluster service will usually provide
a single IP address and then split the requests out for each server
semi-automagically.  I've a fair bit of experience at doing this with
CVSNT on windows and linux where you also have to setup a shared
lockserver - in theory CVS should even be simpler since there is no lock
server to worry about...

Regards,


Arthur Barrett




reply via email to

[Prev in Thread] Current Thread [Next in Thread]