Resuming a stopped or failed upgrade
Upgrade of the License Metric Tool server is in fact an in-place installation of the server and copying of the configuration from the old server. If the upgrade fails, the method of rerunning it depends on the phase in which the installation failed.
About this task
There are different ways to rerun the upgrade and the solution depends on the phase during which
an error occurs.
Phase | Solution |
---|---|
Pre-installation | Restart the upgrade and no additional actions are required. |
Installation | Restore the old server from backup and reattempt the upgrade. Alternatively, reinstall the License Metric Tool server and connect it to an existing database. For more information, see: Reinstalling License Metric Tool with an existing database. |
Post-installation | Some configuration steps depend on other steps. If a step fails, execution of the dependent steps is also held. However, the installer continues running steps that do not depend on the failed one. If an error occurs during the post-installation phase, you can continue the upgrade and fix the problem at the end. You can also stop the upgrade, resolve the problem, and resume the upgrade. To resume the upgrade, run the installer again. It detects that the previous configuration attempt failed or was interrupted and resumes in the place where the upgrade previously stopped. If you exited the upgrade, run it again. It automatically resumes the post-installation phase. |
Resuming the upgrade in interactive mode
If you run the upgrade in interactive mode, you can use the built-in function to diagnose the problem. After you fix the problem, rerun the installer if you closed it before.
Procedure
Resuming the upgrade in silent mode
If the silent upgrade fails, review the logs and troubleshoot the problem. Then, resume the upgrade by running the same command that you use to start the upgrade. Alternatively, you can resume the upgrade in interactive mode.