1.3.6 Restoring an earlier version of HiRDB

To downgrade the version after a successful HiRDB upgrade (for example, to go back to the original operation after upgrading HiRDB as a trial), you must re-create HiRDB using the previous version.

Organization of this subsection
(1) Prerequisites
(2) Procedure for re-creating HiRDB
(3) Notes

(1) Prerequisites

To be able to re-create the previous version after an upgrade, you must have backups available from before you upgraded of all the RDAREAs and system definition files. Make these backups using the database copy utility (pdcopy).

(2) Procedure for re-creating HiRDB

The procedure for re-creating HiRDB is basically the same as for initially installing HiRDB and configuring the environment. The procedure for re-creating HiRDB using the previous version is described below.

  1. Stop HiRDB (pdstop command).
  2. Uninstall the more recent version of HiRDB.
  3. Restart the OS.
  4. Uninstall the previous version.
  5. Set the previous-version environment.
    Create the HiRDB file system area (execute the pdfmkfs command).#
    In the HiRDB file system area, create the system files (system log file, sync point dump file, and status file) (execute the pdloginit and pdstsinit commands).
    If the system definitions were changed in the more recent version of HiRDB, they must be changed to the previous-version system definitions file acquired prior to the upgrade (returning to the system definitions of the previous version of HiRDB).
  6. Use the pdstart -r command to start HiRDB in order to start up the database recovery utility (pdrstr).
  7. Using the database recovery utility (pdrstr), restore the database from the backup file made prior to the upgrade (restore all RDAREAs). Do not use the unload log file that includes the log that was updated by HiRDB after the upgrade.
  8. Stop HiRDB (pdstop command).
  9. Start HiRDB (pdstart command).
#
If you are not executing the pdfmkfs command with the more recent version of HiRDB, there is no need to create a HiRDB file system area with the previous version.

(3) Notes

The following are notes concerning downgrading to a previous version.

  1. If you use the system switchover function
    Restore both the running system and the standby system to the previous version.
  2. If an option program product has been set up
    If after you restore the previous version, the option program product is no longer the required version, change to an option program product that is compatible with the previous version of HiRDB.
  3. If you use the security monitoring function
    When you create a system file in step 3 of the procedure for re-creating HiRDB, also create an audit trail file.
  4. If you use the HiRDB Datareplicator data link functionality
    • HiRDB Datareplicator must also be restored to the previous version in between steps 1 and 2 of the procedure for re-creating HiRDB.
    • HiRDB and the HiRDB Datareplicator link environment must be reinitialized after step 7 of the procedure for re-creating HiRDB.