How You Upgrade Using RPM
The process for safely upgrading any Actian X release using RPM is as follows.
To upgrade Actian X RPMs
1. Make sure the Actian X instance you want to upgrade is completely shut down and that you have taken a backup, as described in the Upgrade Guide.
Note: Files that you have customized will be lost during the upgrade. Copy your customized files to a safe place. For more information, see the Upgrade Guide.
2. Issue the following command to see the list of Actian X RPM packages installed for the instance to be upgraded:
rpm -q --whatrequires ingres
Note: If you are upgrading an instance that was installed using RPMs that were renamed to embed an instance ID, then use "ingresXX” instead of the core package name.
Note: All packages must be upgraded at once. Any attempt to perform an upgrade on a single or smaller group of packages will fail.
3. Log in as root and CD to the directory containing the RPM to be used to perform the upgrade. Make sure variable II_CONFIG is not set.
4. Run rpm -Uvh to install the new RPM packages over the existing instance.
If the instance was originally installed using --prefix to change II_SYSTEM from the default, then this parameter must also be used for the upgrade.
For default instance location:
rpm -Uvh --nopreun --nopostun \
complete list of RPM files to be installed (rpm/ingres...rpm ...)
For any other instance location:
rpm -ivh --nopreun --nopostun --prefix <II_SYSTEM> \
complete list of RPM files to be installed (rpm/ingres...rpm ...)
5. Run the service script to configure and start the instance:
/sbin/service ingresXX start
where XX is the instance ID.
Last modified date: 11/09/2022