Entering content frame

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

Use

You are using the program SDBINST to install/update installation profiles or individual components of the SAP DB software on UNIX. You specify all required information on the command line, together with the command for starting the installation program.

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

See Variables

Prerequisites

·         You are logged on to your server as the root user.

·         You have unpacked the required software (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 sapdbni72 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 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.      Start the installation/update process for the SAP DB OLTP software with the following command:
./SDBINST [-b] -profile <inst_profile> [,<inst_profile2>...]| -package <package_name>[,<package_name2>...] -indep_data <independent_data_path> -indep_prog <independent_program_path> -depend <dependent_path> [-o <sapdb_user> -g <sapdb_admin>
[-gs <sapdb_support>]]

Start the installation/update process for the liveCache software (in SAP APO systems only) with the following command:

¡        For the installation profile APO liveCache
./SDBINST [-b] -profile "APO LiveCache" -indep_data <independent_data_path> -indep_prog <independent_program_path> -depend <dependent_path> [-o <sapdb_user> -g <sapdb_admin>
[-gs <sapdb_support>]]

¡        For the SAP DB software component APO LC APPS (from APO Version 4.0) or APO COM
./SDBINST [-b] -package "APO LC APPS" | "APOCOM" -depend <dependent_path>

Note

You only need to specify the special operating system user <sapdb_user> and the groups <sapdb_admin> and <sapdb_support> when you install the software for the first time, or if you are upgrading the software to Version 7.4.04.

You only need to specify <sapdb_support> if you are also installing the database kernel.

If you are installing a software version lower than 7.4.04, then you must specify the owner and the group of the database software with the options o and -g.

For an explanation of the options, see Overview of the Options for the Program SDBINST.

You must place any names of installation profiles and SAP DB software components that contain blanks in double quotation marks.

For certain installation profiles or SAP DB components you do not need to specify the options –indep_prog, -indep_data and –depend. If you do specify them, the system ignores them. See the overview of the options for more information.

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

Result

The software packages are installed and registered. You can check the result of your installation in 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