Entering content frame

Procedure documentation Installations/Updates with the Red Hat Package Manager Locate the document in the library structure

Use

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

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

Prerequisites

·        You need to be in a root shell.

·        You need to be 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 /opt/sdb/programs/bin entry to the PATH environment variable for each user that wants to use the database system.

Updating the Database Software

Recommendation

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.

Follow-On Steps

You can now use Database Manager CLI and Database Manager GUI to create new database instances.

See:

·        Creating a Database Instance in Database Manager CLI

·        Creating a Database Instance in Database Manager GUI

 

Leaving content frame