Linux-UNIX: Managing GIM clients during a major upgrade of the database server operating system
When you upgrade the operating system on your database server, use the GIM client to automatically upgrade itself and the GIM bundles (for example, GIM, S-TAP, CAS) installed on the Linux-UNIX database. However, most operating systems do not support a major upgrade, for example from RHEL7 to RHEL8.
Before you begin
About this task
This procedure is only relevant for databases whose operating system can be upgraded. If you cannot upgrade the operating system, you must uninstall the S-TAP, install the new operating system, and install the S-TAP bundle that is compatible with the newly installed operating system.
GIM bundles are OSType/OsVersion/Processor specific. When the OS version changes (for example, from RHEL7 to RHEL8), all the bundles need to be upgraded.
The GIM parameter auto_install_on_db_server_os_upgrade controls GIM's ability to auto-upgrade all bundles. If enabled, when the database server boots up after an operating system upgrade, GIM automatically downloads and install these bundles. This parameter is disabled by default, to prevent unintentional bundle upgrades.
- Enable the GIM global parameter auto_install_on_db_server_os_upgrade, which automatically upgrades all the GIM clients with the latest bundle of the operating system they support.
- Do not enable auto_install_on_db_server_os_upgrade, and upgrade the GIM clients manually.
Procedure
Results
- Changes the configuration files for all GIM-installed modules to support the new operating system attributes.
- Reregisters all the modules to the GIM server with the updated attributes. This change triggers the GIM server to look for a bundle that has the same build number as the previously installed bundle, but is compatible with the upgraded operating system. If it does not find such a bundle, it looks for the latest bundles that support the new operating system attributes. When the server finds appropriate bundles, it schedules them for upgrade and runs the upgrade process immediately. If the server cannot find appropriate bundles, it issues an error message.
- Records an alert in the GIM_EVENTS report, that an operating system upgrade occurred and lists the actions that should be taken.
What to do next
Review the messages in the GIM_EVENTS report. If the GIM server reports that the modules were upgraded successfully, verify the proper operation of the modules as you would do after any update.
If error messages were written to the GIM_EVENTS report, indicating that the upgrade was not successful, review the error messages for guidance.
grdapi gim_set_global_param paramName="auto_install_on_db_server_os_upgrade" paramValue="0"