Linux Virtual Server Setup

Fore June

  • Introduction
  • Lab 1 -- Building Linux Kernel
  • Lab 2 -- Installing LVS Admin. Package
  • Lab 3 -- Setting Up Linux Virtual Server
  • Lab 4 -- Setting Up LVS/Tunnel Cluster
  • Lab 5 -- Building a Web Server Cluster
  • Lab 6 -- Installing Heartbeat and Ldirector
  • Lab 7 -- Configuring Heartbeat and Ldirector
  • Lab 2 Installing LVS Administration Package


      Preparation

    1. Read the articles about using IP Tunneling to increase the scalability of a virtual server at the sites: http://www.linuxvirtualserver.org/VS-IPTunneling.html
      http://www.linuxvirtualserver.org/docs/arp.html
      Also read the related sites discussed in the articles.

      Installing the LVS Administration Package

    2. Make the following directory to hold the package by $ mkdir /apps/lvs The '$' here denotes that you may carry out the command as an ordinary user.
    3. $ cd /apps/lvs
    4. Unzip the lvs package that you have downloaded in lab1. $ gunzip -c /apps/download/ipvsadm-1.21.tar.gz | tar xvf -
    5. $ cd ipvsadm-1.21
    6. Read the README file in the directory.
    7. Compile the package by $ make ( If it says some files like ip_vs.h are missing, you may copy those files from the downloaded linux kernel source directory to the system include/net directory and your current directory by commands like "# cp /apps/linux2418/linux/include/net/ip_vs.h    /usr/include/net ". )
    8. Login as root and install the package by # make install Read the README file again to understand where it has been installed.
    9. Learn to use ipvsadm by # man ipvsadm Make sure you understand the descriptions of the manual. Try some of the commands presented by the manual.
    << Prev  Next >>