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....@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.carne...@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....@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@LinuxVirtualServer.org >>> Send requests to lvs-users-requ...@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@LinuxVirtualServer.org >> Send requests to lvs-users-requ...@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@LinuxVirtualServer.org > Send requests to lvs-users-requ...@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@LinuxVirtualServer.org Send requests to lvs-users-requ...@linuxvirtualserver.org or go to http://lists.graemef.net/mailman/listinfo/lvs-users