[lvs-users] depoly lvs on only one host for several process

Tomas Carnecky tomas.carnecky at gmail.com
Tue Apr 1 10:47:04 BST 2014


So that new clients won't connect to the old version. Existing
connections will continue to work, and once no client is connected to
the old version, it can be shut down. The scheduling method is
irrelevant, pick one which fits your setup best.

On Tue, Apr 1, 2014 at 10:40 AM, Hatt Tom <net.study.sea at gmail.com> wrote:
> what is the use of   ' set weight of the old version to zero'  ?
>
> what scheduling  mothod do you use ?
>
> 2014-03-31 16:23 GMT+08:00 Tomas Carnecky <tomas.carnecky at gmail.com>:
>> Yes. Run the processes each on its own port (eg. 8000, 8001, 8002,
>> ...) and then add all these ports as real servers.
>>
>> I use this to do seamless upgrades of the application. I start the new
>> version up on an unused port, add it as real server, then set the
>> weight of the old version to zero and remove as real server once no
>> more clients are connected to it.
>>
>> On Mon, Mar 31, 2014 at 8:27 AM, Hatt Tom <net.study.sea at gmail.com> wrote:
>>> Hi:
>>>
>>>   Is it possible that deploying lvs cluster on one host to do balance
>>> for several process ?
>>>
>>>
>>>
>>> --
>>> Best Regards!
>>>
>>> _______________________________________________
>>> Please read the documentation before posting - it's available at:
>>> http://www.linuxvirtualserver.org/
>>>
>>> LinuxVirtualServer.org mailing list - lvs-users at LinuxVirtualServer.org
>>> Send requests to lvs-users-request at LinuxVirtualServer.org
>>> or go to http://lists.graemef.net/mailman/listinfo/lvs-users
>>
>> _______________________________________________
>> Please read the documentation before posting - it's available at:
>> http://www.linuxvirtualserver.org/
>>
>> LinuxVirtualServer.org mailing list - lvs-users at LinuxVirtualServer.org
>> Send requests to lvs-users-request at LinuxVirtualServer.org
>> or go to http://lists.graemef.net/mailman/listinfo/lvs-users
>
>
>
> --
> Best Regards!
>
> _______________________________________________
> Please read the documentation before posting - it's available at:
> http://www.linuxvirtualserver.org/
>
> LinuxVirtualServer.org mailing list - lvs-users at LinuxVirtualServer.org
> Send requests to lvs-users-request at LinuxVirtualServer.org
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users



More information about the lvs-users mailing list