Entering content frame

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

Use

You use the SDBINST program to install/update installation profiles or individual components of the database software on UNIX. All required information is specified on the command line, together with the command for starting the installation program.

Note

If you want to update an existing database software installation, the procedure depends 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 the 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 the X Server is running. In this case, you no longer need to stop the X Server and all database instances. However, you do need to stop those database instances that are assigned to the installation directory that is being updated.

Prerequisites

·         You need to be logged on to your computer as the rootuser.

·         You need to unpack 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 adds the sql6, sql30 and sapdbni72 services to the /etc/services file, if they do not already exist there. If these services are managed centrally for your system on the network (NIS), you must enter them there as follow:
sql6      7210/tcp
sql30
    
7200/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>). We recommend that you define the group and the owner in advance. Only users with the correct authorizations can generate database instances later (see also Database System Concepts, UNIX: Special Operating System Users and Groups for software versions 7.5.00 and higher).

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

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 that you want to update:
dbmcli –d <database_name> -u <dbm_user>,<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 at step 2.

       2.      For the OLTP software, start the installation/update process 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 <sdb_user> -g <sdba_group>]

For the SAP liveCache software, start the installation/update process (in SAP APO systems only) with the following command:

¡        For the APO liveCache installation profile:
./SDBINST [-b] -profile "APO LiveCache" -indep_data <independent_data_path> -indep_prog <independent_program_path> -depend <dependent_path> [-o <sdb_user> -g <sdba_group>]

¡        For the APO LC APPS software component:
./SDBINST [-b] -package "APO LC APPS" -depend <dependent_path>

Note

You only need to specify the special operating system user <sdb_user> and the group <sdba_group> if you are installing the software for the first time, or if you are upgrading the software to version 7.5.00.

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

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

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

A message will be displayed informing you that the installation was successful.

Result

The software packages are installed and registered. You can check the result of your installation in the log (Logging).

Following Steps

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

(See:

·        Creating a Database Instance in the Database Manager CLIdocumentation or

·        Creating a Database Instance in the Database Manager GUI documentation

If you have installed the MaxDB Web Tools, you now need to define a number of settings in order to use these tools.

See: Configuring the Software to Use MaxDB Web Tools

 

Leaving content frame