karkoma wrote:
> What I pretend is that requests coming to VIP1 (193.a.b.c) goes to
> apache virtual host with the IP 192.168.3.1 on the real server, VIP2
> (193.d.e.f) to apache vh 192.168.3.51 and VIP3 to apache vh 192.168.3.61
> (this three IPs on the same machine). Basically what I want to do is
> send requests that need session to an IP (apache-tomcat virtual host)
> and others that do not need session to another IP (another apache
> virtual host).
I don't know about the session stuff, but let's see if I've got
the VIP part.
You have several real-servers. Each real-server has 3 RIPs (if doing
VS-NAT) or 3 different VIPs (if you're doing VS-DR) and you have copies
of the httpd listening to each of these 3 IPs (you check with netstat -an).
You test that the real-server is working by itself,
by running a browser on the real-server an connecting
to each one of the IPs and to the urls by name.
You then setup the director with 3 VIPs and each VIP forwards to one of the IPs
on
each of the real-servers. You check that the LVS works for each VIP
by telnet'ing to VIP:80 from a client and you do this for each VIP and
you do it enough times that you connect to each of the real-servers.
Then you connect with a regular browser from a client and what happens?
Joe
--
Joseph Mack PhD, Senior Systems Engineer, Lockheed Martin
contractor to the National Environmental Supercomputer Center,
mailto:mack.joseph@xxxxxxx ph# 919-541-0007, RTP, NC, USA
|