Bug #48581 Agent upgrade installer should have option to restart Agent immediately
Submitted: 5 Nov 2009 18:56 Modified: 1 Mar 2010 11:54
Reporter: Andy Bang Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Enterprise Monitor: Installing Severity:S3 (Non-critical)
Version:2.2.0.1519 OS:Any
Assigned to: BitRock Merlin CPU Architecture:Any

[5 Nov 2009 18:56] Andy Bang
Description:
A customer requested that the Agent upgrade installer should have option to install and restart immediately:

[13:54] <Leith> andy|lunch: from Gilles the beta tester:
[13:54] <Leith> "- during the upgrade process the agent is (obviously) shut down and
[13:54] <Leith> installed, and then it asks for Restart, and then to view the Readme,
[13:54] <Leith> and only then it starts. I would propose to change that slightly so that
[13:54] <Leith> one could chose whether to "install and restart immediately", and so
[13:54] <Leith> getting a few seconds less downtime (for the proxy)."

How to repeat:
1) Upgrade Agent
2) See that it doesn't restart until you say OK.
[5 Nov 2009 19:01] Enterprise Tools JIRA Robot
Andy Bang writes: 
Mark Leith says:

With the proxy in app traffic I think we should do all we can to limit downtime - so yep, please do open a feature request for it.
[21 Dec 2009 12:50] BitRock Merlin
Currently the upgrade installer restarts the Agent just after the user click in the "Finish" button and before showing the README file. So it is not necessary to close the README box to restart the Agent. Please let us know if this is the expected behavior.
[21 Dec 2009 20:05] Andy Bang
What the customer is asking for here is to have an option where the installer doesn't wait for the user to click Finish -- it restarts the agent as soon as it possibly can after updating all the files, and does not wait for a user to make some final click (which is normally fairly quick, but the user might get distracted and not click Finish for a while, and in the meantime the Agent, and more importantly the Proxy, is not running).
[21 Dec 2009 20:07] Andy Bang
In other words, it has nothing to do with the README file, and everything to do with not having to wait for a final click of the Finish button.
[23 Dec 2009 11:42] BitRock Merlin
Patch sent to Keith.

As it is not possible to have an option in the "Ready To Install screen" Andy suggests to put the new option on the "Current Installation Backup" screen and rename that screen to "Backup and Restart Options".
[6 Jan 2010 0:09] Enterprise Tools JIRA Robot
Keith Russell writes: 
Patch installed in versions => 2.2.0.1595.
[22 Feb 2010 18:01] Enterprise Tools JIRA Robot
Carsten Segieth writes: 
tested OK with 2.2.0.1627
[1 Mar 2010 11:54] MC Brown
A note has been added to the 2.2.0 changelog: 

When upgrading an agent, the existing agent is shutdown and then restarted after the installation process has completed. To reduce downtime during installation, you can now opt to have the agent restarted immediately after installation, but before the rest of the installer completes.