Re: Best way to setup a cheap web cluster?
Maybe this is what you want? never tried it: http://www.linuxvirtualserver.org/ On Oct 8, 2003, at 10:43 PM, Ryan Nowakowski wrote: Hey folks, I'm trying to setup a cheap debian web cluster using tools from the linux-ha project. We're using heartbeat and mon to monitor services and do the failover. We'd like to setup shared disk space without buying any new hardware. We have three cheap servers in the cluster. We're thinking about using drbd for the shared disk space. How have others setup web clusters using debian? We're not adverse to backporting packages or using outside apt sources if necessary. Thanks in advance for your input, Ryan -- Nathan Ollerenshaw - Unix Systems Engineer ValueCommerce - http://www.valuecommerce.ne.jp/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Best way to setup a cheap web cluster?
Am Mit, 2003-10-08 um 18.40 schrieb Ryan Nowakowski: > Will drbd work using debian woody without any backports or additional > packages? I've heard otherwise. It's been a while since the last time I installed DRBD on a "pure" Woody but after patching the kernel it should work just fine. It's "just" a kernel module after all. You may need to use a vanilla kernel instead of the Debian kernel (maybe some patches conflict but I doubt it) though. best regards, Markus -- Markus Oswald <[EMAIL PROTECTED]> \ Unix and Network Administration Graz, AUSTRIA \ High Availability / Cluster Mobile: +43 676 6485415\ System Consulting Fax:+43 316 428896 \ Web Development -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Best way to setup a cheap web cluster?
On Wed, Oct 08, 2003 at 06:15:23PM +0200, Markus Oswald wrote: > Am Mit, 2003-10-08 um 15.43 schrieb Ryan Nowakowski: > > Hey folks, > > > > I'm trying to setup a cheap debian web cluster using tools from the > > linux-ha project. We're using heartbeat and mon to monitor services > > and do the failover. We'd like to setup shared disk space without > > buying any new hardware. We have three cheap servers in the cluster. > > We're thinking about using drbd for the shared disk space. > > As you already said: Use drbd for the shared storage and heartbeat as a > cluster manager. That way you'll get an easy to setup failover-cluster > completely based on OSS and without any "special" hardware. Will drbd work using debian woody without any backports or additional packages? I've heard otherwise. pgp0.pgp Description: PGP signature
Re: Best way to setup a cheap web cluster?
Am Mit, 2003-10-08 um 15.43 schrieb Ryan Nowakowski: > Hey folks, > > I'm trying to setup a cheap debian web cluster using tools from the > linux-ha project. We're using heartbeat and mon to monitor services > and do the failover. We'd like to setup shared disk space without > buying any new hardware. We have three cheap servers in the cluster. > We're thinking about using drbd for the shared disk space. As you already said: Use drbd for the shared storage and heartbeat as a cluster manager. That way you'll get an easy to setup failover-cluster completely based on OSS and without any "special" hardware. BUT this is not a load-balanced cluster, only one machine will handle the load, it won't be spread about both machines. DRBD currently cannot run in active-active (i.e. most filesystems can't and the GFS support is not yet ready). You'll have two machines, one handles the requests - if this machine fails, the second one will take over and resume processing incoming requests, but until then it sits there and does nothing (well, monitoring the primary node - but that doesn't count). Speaking of "web-clusters" you probably mean a load-balanced HTTP cluster (with HA features). You'll need some sort of loadbalancer (see one of the recent threads about cluster and balancers). Neither DRBD (shared storage) nor heartbeat (cluster-manager) will do this for you. Instead you could use LVS (www.linuxvirtualserver.org) > How have others setup web clusters using debian? We're not adverse to > backporting packages or using outside apt sources if necessary. Either way, you don't need any backports - almost (?) everything should be packaged for Debian. If you want the latest versions you'll have to compile some sources by yourself though. best regards, Markus -- Markus Oswald <[EMAIL PROTECTED]> \ Unix and Network Administration Graz, AUSTRIA \ High Availability / Cluster Mobile: +43 676 6485415\ System Consulting Fax:+43 316 428896 \ Web Development -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]