Reducing system downtime
Configure a database state to reduce Maximo® Manage system downtime when you upgrade to Maximo Manage 9.0 and later.
Before you begin
onlineUpgrade is supported on Db2® only
from
Maximo Manage 8.6.2. Support for other
databases is provided only after
Maximo Manage
9.0.0. The operator displays an error if you attempt to run an online or offline upgrade, and checks
if maxupg indicates a version older than 8.6.2.About this task
| enum value | Description |
|---|---|
regularUpgrade |
The regular type of upgrade where the server is down during the entire database upgrade. |
onlineUpgrade |
Two-phased upgrade with offline phase triggered. The server is down only during the offline phase of the database upgrade. |
onlineUpgrade reduces the system downtime period and provides better
control when the system is down.Note:
- The upgrade setting affects how the database is updated during version update, as well as when a new add-on is added to Maximo Manage.
- Before you add an industry solution, set the
upgradeTypevalue toregularUpgrade. After the industry solution is installed, set theupgradeTypetoonlineUpgradefor future updates.
Procedure
Results
DBReady condition of the ManageWorkspacecustom
resource.In the MAXVAR table, the SEAMLESSUPGRADE value indicates the status of the database
during, before, and after the upgrade:
| Condition | Value |
|---|---|
| When the system is started from 862 | The value is left to be 0. |
| When the online portion of the upgrade starts | The value is set to 1. |
| When the online portion of the upgrade is completed | The value is set to 2. If there is an error in the online upgrade, the value remains at 1. |
| When the offline portion of the upgrade starts | The value is set to 3. |
| When the offline portion of the upgrade is completed | The value is set to 0. |
| When the roll back starts | The value is set to 4. It can be rolled back only if the MAXVAR is set to 1. If the value is 2, you can only go forward or restore the database. |
| When the roll back is completed | The value is set to 0. |
Note:
The upgrade stops and operator reports a failure if the database is of SEAMLESSUPGRADE=1 or
SEAMLESSUPGRADE=2, indicating a failed or partially complete upgrade, while the MASIMAGEIDSTART
recorded by the database does not match the current image ID. It is an indication that the image
might mismatch. Therefore, the operator cannot ensure that it can roll back or upgrade the database,
and reports an error.- 0
- The database is consistent, there is no partial upgrade.
- 1
- The database started the online phase of the upgrade, but it did not complete or failed.
- 2
- The database online upgrade phase finished completed and stayed at this stage.
- 3
- The offline portion of the upgrade started but it did not finish or failed.
- 4
- The roll back or the online portion of the upgrade is in progress.