Upgrading an offline cluster to a fix pack or PID
You can bring a high-availability cluster offline to apply any PID or fix pack of the same version of the database server. For example, you must bring the clusters offline to upgrade the servers to the current fix pack if earlier fix packs were not applied to the server. This procedure is an alternative to the rolling upgrade procedure.
Before you begin
Prerequisites:
- Verify that you are upgrading to a PID or fix pack in which standard conversion procedures are not necessary. If the PID or fix pack requires you to complete standard conversion procedures, or if you want to upgrade to a new major release, go to Migrating an offline cluster to a new major version instead of following the procedures in this topic.
- Complete the steps in Preparing to migrate, upgrade, or revert clusters.
- Perform all migration operations as user informix.
Procedure
To upgrade offline clusters to a new PID or fix pack:
- Stop the Connection Manager by issuing the oncmsm -k connection_manager_name command.
- If you are using a High-availability Data Replication (HDR)
secondary server as a backup server in case of contingencies:
- Stop secondary servers in the cluster in the following
order:
- If you have remote standalone (RS) servers, stop them by issuing the onmode -ky command.
- If you have shared disk (SD) servers, stop them by issuing the onmode -ky command.
- If you have an HDR secondary server, stop it issuing the onmode -ky command.
- Stop the primary server by issuing the onmode -ky command.
- On each server, set the INFORMIXDIR environment variable to the full path name for the target installation.
- Ensure that all of the necessary configuration files are available in the target installation.
- Start the servers in the cluster and perform additional
tasks in the following order:
- Start the primary server by running an oninit command.
- Wait for primary server to be in online (multi-user) mode.
- Start the Connection Manager by running an oncmsm command.
- Start the HDR secondary server by running an oninit command.
- Start SD servers by running an oninit command.
- Start RS servers by running an oninit command.