Re: httpd causing problems???
Sébastien Bonnet <[email protected]>
| Newsgroups | gmane.linux.redhat.piranha |
|---|---|
| Message-ID | <[email protected]> |
> [root@web1 root]# ifconfig
OK
> [root@web1 root]# ipvsadm -ln
> IP Virtual Server version 0.8.1 (size=65536)
> Prot LocalAddress:Port Scheduler Flags
> -> RemoteAddress:Port Forward Weight ActiveConn InActConn
> TCP 195.180.82.183:80 wlc
> -> 195.180.82.167:80 Masq 1 0 0
> -> 195.180.82.114:80 Local 1 0 0
Ooops ! You're masquerading to the same network :(
> server web1 {
> address = 195.180.82.114
Should be 10.10.10.1
> active = 1
> weight = 1
> }
> server web2 {
> address = 195.180.82.167
Should be 10.10.10.2
> active = 1
> weight = 1
> }
But you'll have trouble running this setup because all nodes (all but
the active director) have to have 10.10.10.254 as their default gateway
whereas the active director has to have a different one (actually the
real DGW on your 195.180.82.0 network).
This means the routing table won't be the same on the active director
and on the passive director, and something will have to be done in case
of failover (switching DGWs).
I would suggest you switch to DR or don't use the passive director has a
node. If you only have two machines, the former choice is the only one
if you do want load balancing.
--
Sébastien Bonnet
Centre de contacts - Experian France