Two virtual servers on the same box
Adrian Chapela
achapela.rexistros at gmail.com
Mon Mar 5 18:05:53 GMT 2007
Joseph Mack NA3T escribió:
> On Mon, 5 Mar 2007, Frédéric Martinoty wrote:
>
>> Hello
>>
>>
>> I currently use LVS on a Linux box for an Apache cluster. My
>> configuration file defines a virtual server which redirects requests
>> sent on the port 80 to one of my real servers. I'd like to use LVS on
>> the same box to setup a node managment for a MySQL cluster, which
>> means I need to redirect requests sent on the port 3306.
>>
>> Can I define two virtual servers like this ?
>
> virtual services are independant. You can have any number of them;
> different VIPs, same VIP with different ports. Should be OK
>
> Joe
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users at LinuxVirtualServer.org
> Send requests to lvs-users-request at LinuxVirtualServer.org
> or go to http://www.in-addr.de/mailman/listinfo/lvs-users
>
I have two VIP's (for now..) and many services in each VIP.
I recommend to you that use one VIP for each service: one vip for mail
(pop, smtp, etc.), one vip for databases, one vip for webserver, etc..
If you make things wrong when you add a server, you makes down only the
service in where you add the new server (Think in the ARP problem wit DR
config... :( ). It's only a personal recommendation.
Search lvs-users Archives
More information about the lvs-users
mailing list