Entering content frame

Procedure documentation Interactive Installations/Update on UNIX Locate the document in the library structure

Use

You use the SDBINST program to install or update component groups or installation profiles of the database software on UNIX. The program queries all necessary information during the installation process.

Note

If you want to update an existing database software installation, the procedure varies depending on whether your source version is 7.5.00 or higher, or lower than 7.5.00.

If your source version is lower than 7.5.00, then you must stop the Structure linkX Server and all database instances before the installation or update. Remember that this interrupts communication between the clients and all local database instances. If your source version is 7.5.00 or higher, then the X Server software supports an update of the database software while X Server is running. In such cases, it is not necessary to stop the X Server and all the database instances. However, you do need to stop those database instances assigned to the installation directory being updated.

See also:

Component Groups

Installation Profiles

Prerequisites

     You are in a root shell.

     You have downloaded the installation package, and unpacked it to a local directory of your choice (see Unpacking the Software on UNIX).

Preparations

If the following conditions apply to your system, you must perform the steps described before a new installation:

     The installation program adds the necessary services sql6 and sapdbni72 to the /etc/services file, should they not already exist there. If these services are managed centrally for your system on the network (NIS), you must enter them there as follows:
sql6 7210/tcp
sapdbni72 7269/tcp

     During the installation, the database software must be assigned to a special operating system user <sdb_user>, who is the owner of the software, and to the group <sdba_group>.
(See: Concepts of the Database System, Structure linkSpecial Operating System Users and User Groups (UNIX/Linux) for version 7.5.00 and higher).

If you manage user groups and owners locally on your computer, we recommend you create the user group and owner before starting the installation process. You can also enter this information during the installation process, however.
If you manage user groups and owners for your system centrally on the network, you must create them here before you start the installation. For more information on creating operating system users and user groups, see the documentation for your operating system.

The special operating system user may not log on to the operating system. You revoke this authorization from the user for this reason. For information on how to do this, see the documentation for your operating system (lock account).

The primary group for the owner of the database software is the administrator group.

For SAP systems, you must use the sdband sdba names for the <sdb_user> owner and the <sdba_group> group.

Recommendation

For consistency and particularly when contacting the support team, we recommend you also use the sdb and sdba names for the owner and group in other systems.

     If the <independent_program_path>/bin path is not yet entered in the PATH environment variable, enter it now. (For information on setting environment variables, see the documentation for your operating system.)

Procedure

...

       1.      If you want to update an existing database software installation:

     If necessary, use the following command to stop each database instance assigned to the installation directory you want to update:
dbmcli –d <database_name> -u <dbm_operator>,<dbm_operator_password> db_offline

     If necessary, use the following command to stop the X Server program (vserver process):
x_server stop

For a new installation, start with step 2.

       2.      Switch to the directory
maxdb-<inst_profile>-<os>-<32|64bit-<arch>-<version>_<build>,
which contains the installation software.

       3.      Enter ./SDBINST to start the installation/update program.

       4.      The system proposes component groups. Enter the ID of the desired component group. Confirm your selection.

       5.      If you selected the Custom component group, the system now proposes installation profiles. Enter the relevant ID. Confirm your selection.

       6.      If you are installing the software for the first time, or if you are updating from a software version lower than 7.5.00, the system prompts you to enter the following data:

     The <sdb_user> special operating system user (the owner of the database software)

     The <sdba_group>

If you are installing or updating older software versions, the system prompts you to enter the <group> and <owner> of the database software.

If the group and owner have already been created, enter and confirm the correct values. The system compares this information with the values stored locally or on the network. If your information does not match these values, the installation terminates.

If the group and owner have not yet been created, the system asks you whether you want to create them now. Specify your chosen values, or confirm the defaults. When you specify these values, the group and owner are created locally on your computer.

       7.      The system now checks your computer for installations of the database software that can be updated.

It lists any relevant installations.

     If you want to update an existing installation, specify its ID.
The system then updates the software in the
<independent_program_path>. Depending on your chosen software, the software in <dependent_path> is also updated if the installation package contains more recent versions of the files.

     If you want to perform a new installation of the database software in parallel to the existing installation, specify none. You then have the option of specifying a new installation path. Define an installation path in parallel to the existing installation path.

If there is no current installation of the database software on your computer, the database software is now installed. If necessary, the system prompts you to specify the following paths:

     Path for saving data, configurations, and run directories of database instances and database applications (system default is /var/opt/sdb/data)

     Path for saving programs and libraries shared by database instances and database applications (system default is /opt/sdb/programs)

     Path for saving the server software that is dependent on the database version.
The specified path must be unique. Multiple directories containing different versions can exist simultaneously (system default is
/opt/sdb/<version>)

Specify the required paths, or confirm the system defaults.

       8.      If no database software has been installed yet on your computer, add the <independent_program_path>/bin entry to the PATH environment variable for each user who wants to use the database system.

You will receive a message informing you that the installation was successful.

Result

The software packages 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, Structure linkdb_create

Database Manager GUI, Structure linkCreating a Database Instance

 

Leaving content frame