Binary upgrade from package

B.R. reallfqq-nginx at yahoo.fr
Tue Apr 1 11:48:00 UTC 2014


Hello,

I am wondering what steps the upgrade through official packages of an
existing nginx process follow.
I am ujsing official Debian packages.

More precisely, when the new binary is installed through the package
system, what signal(s) is(are) sent to migrate rfrom the old to the new
binary?

Is it a simple stop/start?
Or does the package upgrade follows steps from a simple on-the-fly
upgrade<http://nginx.org/en/docs/control.html#upgrade>?
By it, I mean the following steps:
1°) Configuration check, if unsuccessful upgrade fails
2°) USR2 to the old master
3°) Start of the new binary, if failed HUP to the old master process and
upgrade fails
4°) QUIT to the old master

Of course, no edge problem such as the rtsig method would be supported, nor
any check for the new master process working properly (spawning childs,
answering requests) since that is maybe beyond the scope of a simple
automated package upgrade script, and some of the checks might require
human eyes and expertise.

That would ensure no downtime when official upgrades (including security
updates) are done.
Is all that already implemented?
---
*B. R.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20140401/a7450845/attachment.html>


More information about the nginx mailing list