You are here: Installation > Upgrading From Previous Version of PostgreSQL Recovery Kit

Upgrading From Previous Version of PostgreSQL Recovery Kit

During an upgrade from a previous version of the LifeKeeper for Linux PostgreSQL software, the upgrade will make modifications to the existing LifeKeeper PostgreSQL resource instance. When the LifeKeeper software is updated on the server, the following stored values will be added to the internal LifeKeeper information field automatically.

set_value is the name of a LifeKeeper utility provided for the LifeKeeper PostgreSQL Recovery Kit to update the internal resource information field values. The use of this utility should be limited to issues explained in this topic or at the request and instruction of the SIOS Technology Corp. Support team.

Note: The set_value utility does not perform rigorous error checking and therefore is not intended for general use.

Important Note: Following the upgrade of the LifeKeeper for Linux PostgreSQL Recovery Kit software, you should test your PostgreSQL resource hierarchy by initiating a manual switchover that will simulate a failover of the resource instance from the primary server to a backup server. 

Important Upgrade Considerations

If a resource does not come into service following the upgrade, check the following conditions:

Client Executable name is not found or incorrect

The value can be updated using the set_value utility.  The syntax for the Client Executable update is as follows:

$LKROOT/lkadm/subsys/database/pgsql/bin/set_value <tag> ‘clientexe’ <full path to the psql utility>

Example: $LKROOT/lkadm/subsys/database/pgsql/bin/set_value pgsql-5443 ‘clientexe’ ‘/pgsql/clientutils/psql’.

Administration Executable name is not found or incorrect

The value can be updated using the set_value utility.  The syntax for the Administration Executable update is as follows:

$LKROOT/lkadm/subsys/database/pgsql/bin/set_value <tag> ‘osexe’ <full path to the pg_ctl utility>

Example: $LKROOT/lkadm/subsys/database/pgsql/bin/set_value pgsql-5443 ‘osexe’ ‘/pgsql/adminutils/pg_ctl’.

© 2012 SIOS Technology Corp., the industry's leading provider of business continuity solutions, data replication for continuous data protection.