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 5 Building a Web Server Cluster


    Building a Web Server Cluster
    1. Setup two other machines with LVS so that your system consists of three machines.
    2. Determine which machine will be used as the director and which machines will be used as real servers.
    3. Download the apache server apache_1.3.27.tar.gz from the site http://httpd.apache.org
    4. Use the techniques you learnt in previous labs to unzip the apache packages in your real servers. ( Do NOT install any web server in the director.) Read the README and INSTALL files and follow the instructions to install the web server in the real servers.
    5. Start the web servers. To distinguish one real server from the other, your entry file ( index.html ) may contain the message "Web Server 1" for one machine and "Web Server 2" for the other.
    6. Use the techniques you learnt in previous labs to form an http cluster. Again suppose your VIP is 192.168.1.176 Browse http://192.168.1.176 to check if the cluster works properly. ( Note again that the director should not have any web server installed. )
    << Prev  Next >>