Entering content frame

Procedure documentation Interactive Installations/Updates on UNIX Locate the document in its SAP Library structure

Use

You are using the program SDBINST to install or update installation profiles of the SAP DB software on UNIX. The program queries all necessary information during the installation process.

Caution

You must stop the program X Server before you update the database software. Remember that this interrupts the communication between the clients and all local database instances.

Conventions

Variables

Prerequisites

·        You are in a root shell.

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

Preparations

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

·        The installation program enters the services sql6, sql30 and sapdb ni 72 in the file /etc/services, if they do not already exist there. If these services are managed centrally for your system on your network (NIS), you must enter them there as follow:
sql6         7210/tcp
sql30
        7200/tcp
sapdbni72
    7269/tcp

·        When you install the SAP DB software, it must be assigned to a special operating system user (the owner of the software) and to operating system user groups. The group and the owner must have been defined in advance. Only users with the correct authorizations can generate the SAP DB database instances later (see also Authorization Concept for UNIX Operating Systems for software versions from 7.4.04).
If you manage user groups and owners locally on your host, we recommend that you register the names of the user groups and the owner in the operating system before you start the installation. However, you can also specify this information during the installation process.
If you manage user groups and owners for your system centrally in the network, you must create them here before you start the installation. For more information on creating operating system users and user groups, see your operating system documentation.

·        If the path <independent_program_path>/bin is not yet entered in the environment variable PATH, enter it now.

Procedure

...

       1.      If you want to update an existing SAP DB installation,

¡        Stop each SAP DB database instance assigned to the installation directory that you want to update with the command
dbmcli –d <database_name> -u <dbm_user>,<password> db_offline

¡        Stop the X Server program ( vserverprocess) with the command
x_server stop

For a new installation, start at step 2.

       2.      Switch to the directory
sapdb-<inst_profile>-<os>-64bit-<arch>-<version>_<build>,
which contains the installation software for your chosen installation profile.
Enter ./SDBINST to start the installation/update program.

       3.      The system proposes your chosen installation profile.
If your chosen installation profile (all, for example) contains other installation profiles, you can also select one of these profiles. Specify the appropriate ID. Confirm your selection.

       4.      If you are installing the software for the first time, or if you are updating the software to Version 7.4.04, then the system prompts you to enter the following details:

¡        the special operating system user <sapdb_user> (the owner of the SAP DB database software)

¡        the administrator group <sapdb_admin>

¡        depending on the selected installation profile, the support group <sapdb_support>

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

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

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

       5.      The system now checks your server for SAP DB installations 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 <independent_data_path> and <independent_program_path>. Depending on your chosen profile, the software in <dependent_path> is also updated, if the installation package contains newer versions of the files.

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

If no SAP DB installation exists yet on your server, the SAP DB components in the installation profile are now installed, one by one. Depending on your chosen installation profile, the system prompts you for the following paths:

¡        Path for saving data, configurations, and run directories of SAP DB database instances and SAP DB applications (system default is /var/opt/sapdb/indep_data)

¡        Path for saving programs and libraries shared by SAP DB database instances and SAP DB applications (system default is /opt/sapdb/indep_prog)

¡        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/sapdb/depend)

Specify paths, or confirm the defaults.

       6.      If there has not been a SAP DB installation on your server up to now, add the entry <independent_program_path>/bin to the environment variable PATH for each user that wants to use SAP DB.

You see a message about the successful completion of the installation.

Result

The chosen installation profile of the SAP DB software has been installed and registered in the new version on your server. You can check the result of your installation using the log (Logging).

You can now create new database instances with the Database Manager

(See:

·        Creating a Database Instance in Database Manager CLI: SAP DB 7.4 or

·        the Web DBM documentation.)

 

Leaving content frame