LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

how to configure LVS for this scenario

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: how to configure LVS for this scenario
From: ankush grover <ankushgrover1711@xxxxxxxxx>
Date: Wed, 5 Oct 2005 17:11:28 +0530
hey friends,

My present scenario is such

LVS
RIP: 192.168.1.42 <http://192.168.1.42>
VIP:192.168.1.58 <http://192.168.1.58>

Real Servers

Real Server 1:
RIP: 192.168.1.67 <http://192.168.1.67>
VIP: 192.168.1.58 <http://192.168.1.58>

Real Server 2:
RIP: 192.168.1.68 <http://192.168.1.68>
VIP: 192.168.1.58 <http://192.168.1.58>

Both the real servers are running Apache service.


Clients connects to the LVS and the LVS sends the request to the real
servers.Clients are also within the same network
domain(192.168.1.0/24<http://192.168.1.0/24>
).


Now the scenario will be like this

The change in the scenario is due to mysql clustering.The mysql people
recommend a separate LAN for mysql clustering.

clients: 192.168.1.0/24 <http://192.168.1.0/24> domain

LVS:
eth0: 192.168.1.42 <http://192.168.1.42>
eth1:10.0.0.1 <http://10.0.0.1>

Real Server1: 10.0.0.2 <http://10.0.0.2>
Real Server2: 10.0.0.3 <http://10.0.0.3>

Now how do I configure LVS for this setup.Earlier I was using LVS-DR now I
have to use LVS-NAT or LVS-DR will work for this scenario also .Clients in
this scenario will be in the network domain
(192.168.1.0<http://192.168.1.0>)and
the real servers will be in a separate network
domain(10.0.0.0/8<http://10.0.0.0/8>
).


Please guide me how to configure LVS for the new scenario.I am using Fedora
Core 3(Redhat Distribution) for LVS & Real Servers.

Thanks & Regards

Ankush Grover

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