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.
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 X 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.
? 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).
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:
? 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, Special 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.
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.)
1. If you want to update an existing database software installation:
0 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
0 If necessary, use the following command to stop the X Server program (vserver process):
For a new installation, start with step 2.
2. Switch to the directory
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:
0 The <sdb_user> special operating system user (the owner of the database software)
0 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.
0 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.
0 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:
0 Path for saving data, configurations, and run directories of database instances and database applications (system default is /var/opt/sdb/data)
0 Path for saving programs and libraries shared by database instances and database applications (system default is /opt/sdb/programs)
0 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.
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.
Database Manager CLI, db_create
Database Manager GUI, Creating a Database Instance