Previous Topic

Next Topic

How You Prepare Your System

Some upgrade tasks involve system or Ingres administration. Coordinate these changes with the system administrator.

The system administrator should back up the Ingres system and make sure the system can be restored from the backup.

In addition, changes may be required to the following:

Previous Topic

Next Topic

System Backup

When upgrading, it is important to have a system backup. If something goes wrong, you will be able to restore from the backup.

Make sure that the system administrator knows how to take a complete system backup and how to restore that backup. Do a trial backup and verify that the backup is readable. This is especially important with tapes: failing tape drives can appear to write tapes without error, but the tapes may not be readable.

The system administrator should ensure that proper backup procedures are being followed. Backups taken as part of an upgrade should be removed from any backup media recycling, and kept in a secure location for a long time.

Previous Topic

Next Topic

System Monitoring Shellscripts

Production systems may have tools to provide the system administrator with early warning of Ingres problems. If these tools have been developed in-house, they must be reviewed for compatibility with your new Ingres release.

Check for these items:

If your Ingres monitoring tool uses the Ingres Monitoring Architecture (IMA), it is likely to continue to function with new Ingres versions. IMA is the recommended data source for any Ingres monitoring tool.

Previous Topic

Next Topic

Checkpoint Template Changes

The Ingres checkpoint template file, cktmpl.def, may change from release to release. If you have customized your checkpoint template file, you must review and verify your changes with the new Ingres version.

If you are upgrading from Ingres 6.4, or from OpenIngres 1.2, you must redo your template changes. The cktmpl.def file format has been expanded since Ingres 6.4 and is therefore not compatible. The OpenIngres 1.2 template file format is similar to the current one, but additional entries are required. Your old checkpoint template can serve as a guide.

For more information on the format of the checkpoint template file, see the Database Administrator Guide.

Tip: If your checkpoint template was customized to do multiple location checkpoints in parallel, you may be able to remove this customization entirely. Ingres supports parallel checkpoint and rollforwarddb processing directly.

If you are upgrading from an Ingres II release, compare your revised checkpoint template against the one installed with your new Ingres version. You may be able to use your customized template as is, but first check for new or changed entries in the new version.

The Ingres development installation can be used to develop and test the new cktmpl.def.

Previous Topic

Next Topic

Checkpoint and Rollforward Changes

Typically, checkpoints and journals are not compatible from one version to the next. After an installation is upgraded, you must assume that all old checkpoints and journal files are no longer usable with the new version of Ingres.

Rollforwarddb no longer supports a -b option. (In Ingres 6.4, the –b option gave a starting time for applying journals.) Rollforwarddb no longer supports the -noblobs option because it makes the table physically inconsistent and unusable.

Previous Topic

Next Topic

Shared Library Search Path (UNIX)

On many UNIX platforms, Ingres uses shared libraries. Since there is no default installation directory for Ingres, it is necessary to tell applications and tools where Ingres is installed so that the shared libraries can be found.

Previous Topic

Next Topic

Define Shared Library Search Path (UNIX)

To define the Ingres installation shared library search path, use one of the following methods:

Previous Topic

Next Topic

UNIX Kernel Parameters

Review the UNIX kernel parameter settings, particularly the maximum shared memory size.

If upgrading from Ingres 6.4, you may have to increase the size of a shared memory segment because Ingres builds a larger shared memory segment for locking and logging than did Ingres 6.4.

A 100 MB shared memory segment will accommodate most migrated installations. Each platform has its own way of modifying the shared memory limits; discuss this with the system administrator or read the platform-specific information in the Readme file.

If upgrading from a more recent version of Ingres, you probably do not have to change the kernel parameters. It is prudent to configure your new Ingres development installation similar to the production installation, to make sure that no kernel changes are needed.


© 2007 Ingres Corporation. All rights reserved.