This section describes the upgrading procedure.
To protect against possible errors, use the database copy utility (pdcopy) to make a backup copy of the following RDAREAs. For this purpose, be sure to specify the-M x option in the database copy utility (pdcopy).
Enter the pdstop command to terminate HiRDB normally.
Save all necessary files at the following location:
For details about the files to be saved, see the applicable plug-in documentation. Save the applicable files on all server machines where HiRDB is set up.
Use the pdplgset -d command to cancel setup of the plug-in. This command deletes everything at the following location:
This command does not delete any file under the Conf directory.
Cancel setup on all server machines where HiRDB is set up. For details about how to cancel plug-in setup, see 6.1 Overview of plug-in environment setup.
Install the new version of the plug-in at each HiRDB server machine. For details about the installation procedure, see the applicable plug-in documentation.
Use the pdplgset command to set up the new plug-in. The new plug-in must be set up on all server machines where HiRDB is set up. For details about how to set up plugins, see 6.1 Overview of plug-in environment setup.
Delete the pdplugin operand for the old version of the plug-in from the system common definition. Delete this operand at all the server machines that contain the applicable system common definition.
Restore the files that were saved in step (3) at all server machines where HiRDB is set up.
Enter the pdstart command to start HiRDB.
Execute the pdplgrgst command, specifying the -a option to re-register the plug-in.
Enter the pdstop command to terminate HiRDB normally.
When HiRDB has terminated normally, add the pdplugin operand to the system common definition. In the pdplugin operand, specify the name of the upgraded plug-in.
For a HiRDB/Parallel Server, add this operand to the system common definition at all server machines; otherwise, you will not be able to start HiRDB.
Enter the pdstart command to start HiRDB. The tables and indexes that were defined before the plug-in was upgraded become available again. Any new facilities provided by the new version of plug-in are also available.