Welcome! Log In Create A New Profile

Advanced

Binary upgrade from package

B.R.
April 01, 2014 07:50AM
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.*
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Binary upgrade from package

B.R. April 01, 2014 07:50AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 301
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready