Getting High With Lenny
|
Submitted by randall (Contact Author) (Forums) on Thu, 2009-02-26 11:19. :: Debian | High-Availability
Getting High With LennyThe aim here is to set up some high available services on Debian Lenny (at the time of writing still due to be released). Most of the documentation available for such a setup I found on the net are based on Xen but I prefer to use Vserver for the "virtualisation" because of its configurability, shared memory and cpu resources and basically the raw speed. DRBD8 and Heartbeat should take care of the availability magic in case a machine shuts down unexpectedly. *2 machines The partitioning looks as follows in this example. c0d0p1 Boot Primary Linux ext3 10001.95 For this setup we go for 1 single DRBD partition, node1 is primary and node2 secondary. Trying to not to confuse ourselves we follow the naming scheme below. (for an almost setup (not tested) with 2 drbd disks, 1 primary on each node [[ha-hosting-setup-vserver-double-drbd]]) machine1 will use the following names: machine2 will use the following names:
Install the Vserver packagesBe sure to choose the amd64 version in case you are running 64 bit, in my case I'm running 32bit with more than 4GB RAM. apt-get install linux-image-2.6-vserver-686-bigmem util-vserver vserver-debiantools As usual a reboot is needed to boot this kernel. With Etch i found that the Vserver kernel often ended up as second in the grub list, not so in Lenny but to be safe check the kernel stanza in /boot/grub/menu.lst before you reboot, especially when doing this from a remote location.
|
www.seamlessenterprise.com
One number. One voicemail. Seize the lead. Sprint Mobile Integration.
www.seamlessenterprise.com
One Number. One Voicemail.
Make it easier for clients to reach you. Turn your desk phone and mobile phone into one with Sprint Mobile Integration.
www.seamlessenterprise.com
One number. One voicemail. Sprint Mobile Integration.
www.seamlessenterprise.com
AT&T Synaptic Compute as a Service. Boost your power on demand.
Trial: IBM Cognos Express Reporting, Analysis & Planning




print: 

Recent comments
13 hours 23 min ago
15 hours 24 min ago
18 hours 35 min ago
20 hours 55 min ago
22 hours 5 min ago
23 hours 23 min ago
1 day 3 hours ago
1 day 7 hours ago
1 day 7 hours ago
1 day 22 hours ago