Joseph Mack escribió:
>
> 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.
That's right. Each realserver has three httpd virtual hosts
(192.168.3.1, 192.168.3.51 and 192.168.3.61) and with lynx I can see the
doc root of each.
>
> 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.
Ouch !!! I can't do telnet VIP1 80, VIP2 80, VIP3 80. --> Trying
193.a.b.c...
What's wrong? NAT? Default route? I'm going to examine again my config.
I'll come back...
Thanx again Joe
Alberto.
|