LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] apache is not listening on real-ip and add ip alias on l

To: LinuxVirtualServer.org users mailing list. <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] apache is not listening on real-ip and add ip alias on lo.
From: Michael Moody <michael@xxxxxx>
Date: Thu, 30 Oct 2008 09:04:37 -0700
Alternative to the suggestion below (where it listens to all IP's), in case 
it's ssl, and you don't want it to listen to all, you can create separate 
virtualhost entries for the VIP and RIP with identical configs, and it will 
work just fine (I've tested this with multiple ssl's on one server)

Michael S. Moody
Sr. Systems Engineer
Global Systems Consulting

-----Original Message-----
From: jackbillow [mailto:jackbillow@xxxxxxxxx]
Sent: Wednesday, October 29, 2008 8:24 PM
To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: [lvs-users] apache is not listening on real-ip and add ip alias on lo.

hi Sebastien Termeau
apache is not listening on real-ip. you can try it.

you can make apache is listening all ip,like this:

 tcp        0      0 0.0.0.0:80 <http://192.168.1.149/>            0.0.0.0:*
LISTEN      4502/httpd

and add ip alias on lo, as follow:

lo:0    Link encap:Ethernet
         inet addr:192.168.1.61  Bcast:192.168.1.255  Mask:255.255.255.0


if you do below two thing, it will work fine.



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