RE: httpd causing problems???
"John Mozurkewich" <[email protected]>
| Newsgroups | gmane.linux.redhat.piranha |
|---|---|
| Message-ID | <[email protected]> |
Sébastien,
Thanks, I am looking into your solutions. I appreciate the time you have taken to help. I am not as concerned with load balancing as I am with redundancy. The five websites this setup will handle do not generate a ton of traffic but they have to be available at all times so I want to ensure that if one machine dies that the other will pick up and take over serving these sites. Two of which are internal and three that are available externally. How would you suggest I proceeded?
Thanks,
John M
-----Original Message-----
From: Sébastien Bonnet [mailto:[email protected]]
Sent: Tuesday, November 26, 2002 3:59 AM
To: [email protected]
Subject: Re: httpd causing problems???
> [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
_______________________________________________
Piranha-list mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/piranha-list