Installations/Updates with the Red Hat Package Manager

Use

You install or update components of the database software on Linux. All the required information is specified on the command line along with the command for starting the installation program.

You need to take into account the dependencies between the software components to ensure that the software installation is fully functioning.

Prerequisites

?     You are in a root shell.

?     You are able to access the rpm packages you want to install from your computer.

Procedure

First Installation of the Database Software

...

       1.      Go to the /usr directory and check whether the spool directory exists.
If it does not yet exist, continue with step 2. If it does exist, delete the
spool directory.

       2.      Stay in the /usr directory and create the following symbolic link:
ln -s ../var/spool spool

       3.      Execute the installation command:
rpm -Uhv maxdb<package_name>.rpm

       4.      Enter all users that want to use the database system into the special operating system user group (default: sdba).

       5.      Add the entry /opt/sdb/programs/bin to the PATH environment variable for each user that wants to use the database system.

Updating the Database Software

On the computer on which you want to update the software version, stop all existing database software.

Stop the X Server program (vserver process). Remember that this interrupts communication between the clients and all local database instances.

...

       1.      To stop all database instances assigned to the installation directory that you want to update, enter the command:
dbmcli –d <database_name> -u <dbm_user>,<dbm_user_password> db_offline

       2.      Execute the installation command:
rpm -Uhv maxdb<package_name>.rpm

Result

The new versions of the software components in the installation directory have been installed and registered. You can check the result of your installation in the log.

You can now create database instances using the Installation Manager, the Database Manager CLI or the Database Manager GUI.

See also:

Logging

Creating a Database Instance Afterwards

Database Manager CLI, db_create

Database Manager GUI, Creating a Database Instance