Upgrading Informix (in-place migration)
In-place migration upgrades Informix® directly to the current version by installing the product in a new directory on the same computer, copying a few configuration files, and starting the new server to automatically convert your database data.
In-place migration uses your existing test and production hardware. The operating system on those computers must be supported by the new version of the server. Also, you must have enough space for the system database data conversion.
Upgrading consists of these steps:
- Prepare your system. That includes closing all
transactions, verifying the integrity of the data with the oncheck utility, and
performing a level-0 backup. (If you are using Enterprise Replication or high-availability clusters,
you must stop replication and perform required extra tasks.)
Resolving all outstanding in-place alter operations is a requirement before upgrading to Version 15.0.0. If you revert from any Informix version to an older version, you should also resolve these operations prior to the reversion.
- UNIX: Log in to the database server as the root user or, for a non-root installation, log in as the user who owns the database server.
- Windows: Log in to the database server as a member of the Administrator's group or, for a non-root installation, log in as the user who owns the database server.
- Install the new product on the computer.
Important: The safest way to upgrade to a new version is to install the new version in another directory. To save space, you can select the product components that you want to install. After you test the database server instance with the similar configuration settings and the client connection information that you use for your current database server, you can remove the old version.
If you do not have space on your computer for two versions, install the new version over the existing version. In this case, you cannot selectively install components; you must install the whole product to block objects from the previous version. Before you choose this approach, make sure that you have the original installation media for the old version because you cannot automatically revert to it.
Note: Ensure that the desired edition is installed. - Copy the appropriate configuration files, such as the onconfig file and the sqlhosts file, to the new INFORMIXDIR/etc directory. Set parameters that are new for the current release.
- Set the INFORMIXDIR environment variable to the directory of the new installation.
- Start an instance of the new version of Informix. The database data is automatically converted, and the server is now in compatibility mode. Most Version 15.0.0 features will not be enabled in compatibility mode, which is mainly for testing and reversion if necessary. To enable all Version 15.0.0 features your instance must be moved into native mode. Once in native mode, in-place reversion will not be possible.
- If you notice performance problems, run UPDATE STATISTICS and UPDATE STATISTICS FOR PROCEDURE operations.
This type of migration minimizes the risk of introducing errors. You can always revert from the new server to the old one. If you have a problem during reversion, you can restore the level-0 backup.