LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: What Hapen ??

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: What Hapen ??
From: "Rafa Morales P." <rmorales@xxxxxxxxxxxx>
Date: Tue, 25 Nov 2003 20:30:22 -0600
This is the example for what I want.

        ______________          ______________
        |               |               |               |       
            |           |               |               |
            |           |               |               |       
        |_____________  |               |_____________  |
      Cliente1  |                       Cliente2        |
                |                               |
                |                               |
                |                               |
*************************************************************************************
                                |
                                |
                        Eth0    |       192.168.0.254
                        _______|_______                         
                        |               |
                        |               |       Director
                        |               |
                        |_____________  |
                                |
                        Eth1    |       172.16.42.247
                                |
                                |
************************************************************************************
                                |
                                |
                                |
                                |
************************************************************************************
        |                                       |
Eth0    |                                       |
_______|_______                 _______|______    Eth0                          
        
|                |                      |               |
|                    |                  |               |
|______________|                        |_____________  |
Realserver 1 (Squid)                    Realserver 2 (Squid)
172.16.42.1                             172.16.42.2

My questions are :
Is necessary to use alias for the eth's director ????
These the steps I do. ( I use, Mandrake 9.1 with standar kernel 2.4.21 )
1. I downloaded hidden and ipvs patch, and I applied to te kernel.
2. Rebuild the Kernel, and Reboot with the new kernel.
3. I downloaded ipvsamd, untar it, and compile (make && make install).
4. I added, rules ipvsadm -A -t  172.16.42.247:8080 -s rr
     ipvsadm -a -t  172.16.42.247:8080 -r 172.16.42.1 -g -w 1
     ipvsadm -a -t  172.16.42.247:8080 -r  172.16.42.2 -g -w 2

Am I forgeting something ????? Someone say me if I am rigth.

Regards.                                
<Prev in Thread] Current Thread [Next in Thread>