LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Two virtual servers on the same box

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Two virtual servers on the same box
From: Adrian Chapela <achapela.rexistros@xxxxxxxxx>
Date: Mon, 05 Mar 2007 19:05:53 +0100
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@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
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.



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