Configuring LVS under Single System Image Cluster Step 1. Prepare the kernel sources by following the information present in the SSI README files. After preparing the kernel souce, use the LVS patch provided with SSI( ssic-linux/3rd-party ) apply this patch to the kernel souce. ===> cd /usr/src/linux ===> patch -p1 < /ssic-linux-2.4.18-ipvs-1.0.4-hidden.patch Step 2. Configure the kernel as per instruction from the SSI Howto.You may also need to build LVS related modules as per the information from the following link.(A sample .config file can be found ssic-linux/ssi-kernel ) http://linuxvirtualserver.org/Joseph.Mack/mini-HOWTO/LVS-mini-HOWTO-3.html#ss3.6 ===> make xconfig ===> make modules modules_install Step 3. ===> Install the ipvsadm utilities. Step 4. Follow the instructions from the SSI Howto regarding installing a hardware cluster. Additional Instruction needed to enable networking in Debian ----------------------------------------------------------- execute the 'install-deb-initscripts' present in the cluster-tools source directory. This will create all node specific directories and files for the cluster. On a two node cluster you should have the following directories. kaneesh@dhavalgiri:~$ cd /cluster/ kaneesh@dhavalgiri:/cluster$ ls -al total 20 drwxr-xr-x 5 root root 4096 Oct 15 12:30 . drwxr-xr-x 26 root root 4096 Sep 26 10:35 .. drwxr-xr-x 4 root root 4096 Oct 15 12:29 nodenum1 drwxr-xr-x 4 root root 4096 Oct 15 12:29 nodenum2 drwxr-xr-x 4 root root 4096 Oct 15 12:24 {nodenum} The directory nodenum1 will contain all the node specific files for node 1 and nodenum2 will contain all the node specific files for node2. {nodenum} is used to help boot the system with a normal kernel after installing the cluster tools. Configuring HA-LVS Step 1. download the ha-lvs.tar file from the http://ssic-linux.sourceforge.net/contrib/ha-lvs.tar.gz Step 2. build and install the ha-lvs ===>cd ha-lvs ===>make install Step 3. Configuration file format ------------------ 192.168.200.10 1 eth0 eth0 1 2 ------------------ Most of the fields are self explanatory. garp_interface => Is the network interface used for sending garp advertisement. sync_interface => Is the network interface used for lvs table syncing Keepalived ,LVS and SSI. --------------------------- Keepalived can also be used to configure HA LVS on SSI. The modification needed are already a part of keepalived project. For more information regarding configuring keepalived look at. http://keepalived.org/ . Follow the mailing list for Configuration information under SSI. The format of a typical keepalived configuration file under SSI is given below ------------------------------keepalived.conf------------------- ! Configuration File for keepalived ! CI-LINUX configuration sample global_defs { notification_email { lvs-alert@domain.com } notification_email_from email@domain.com smtp_server 192.168.200.1 smtp_connect_timeout 30 lvs_id CI-LNX } virtual_server 192.168.200.10 80 { delay_loop 10 lb_algo wrr lb_kind DR protocol TCP sorry_server 192.168.200.200 80 real_server 192.168.200.2 80 { weight 1 CI-LINUX } real_server 192.168.200.3 80 { weight 1 CI-LINUX } real_server 192.168.200.4 80 { weight 1 CI-LINUX } real_server 192.168.200.5 80 { weight 1 CI-LINUX } } ---------------------------------------------------------- Hope this help in configuring SSI and LVS. If you have any problem mail aneesh.kumar@digital.com/ssic-linux-devel@lists.sourceforge.net