Results 1 to 4 of 4

Thread: To setup high services on Debian Lenny

  1. #1
    Join Date
    Feb 2009
    Posts
    58

    To setup high services on Debian Lenny

    hie,

    I want to setup some high available services on my Debian Lenny. I am not sure what are the sources and how to the same ? Can anybody provide me the information about this ?

    thanks

  2. #2
    Dr. V Guest

    Re: To setup high services on Debian Lenny

    Most of the sources available for such a setup 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
    • both machines have 1 single large DRBD partition.
    • primary/seconday there is always 1 machine active and 1 on standby.
    • 1 LVM partition per Vserver on top of the DRBD partition, for quota support from within the guest and LVM snapshots.
    • the Vservers /etc/vserver and /var/lib/vservers directories will be placed on the DRBD partition mounted on /VSERVERS.

  3. #3
    Join Date
    May 2008
    Posts
    4,085

    Re: To setup high services on Debian Lenny

    For this setup we go for 1 single DRBD partition, node1 is primary and node2 secondary.

    Try not to confuse yourselves, just 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:
    - hostname = node1
    - IP number = 192.168.1.100
    - is primary for r0 on disk c0d0p6
    - physical volume on r0 is /dev/drbd0
    - volume group on /dev/drbd0 is called drbdvg0

    machine2 will use the following names:
    - hostname = node2
    - IP number = 192.168.1.200
    - is secondary for r0 on disk c0d0p6
    - physical volume on r0 is /dev/drbd0
    - volume group on /dev/drbd0 is called drbdvg0

  4. #4
    Join Date
    Apr 2008
    Posts
    3,267

    Re: To setup high services on Debian Lenny

    Install the Vserver packages

    Be 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.

Similar Threads

  1. Dual boot Debian squeeze / lenny
    By Jensen Ackles in forum Operating Systems
    Replies: 6
    Last Post: 03-05-2010, 10:56 AM
  2. Plugins location for Java on Debian Lenny
    By Rastogi B in forum Operating Systems
    Replies: 4
    Last Post: 25-03-2010, 04:50 PM
  3. How to monitor multiple log file in Debian Lenny
    By Arumugan in forum Operating Systems
    Replies: 4
    Last Post: 10-02-2010, 02:14 AM
  4. Where is mkraid on Debian Lenny
    By supernoob in forum Networking & Security
    Replies: 4
    Last Post: 16-11-2009, 05:43 PM
  5. Download Debian 5.0 Lenny
    By Philip21 in forum Operating Systems
    Replies: 6
    Last Post: 17-02-2009, 10:20 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,675,775.13815 seconds with 17 queries