Procedure documentation Installing/Updating Under UNIX Locate the document in its SAP Library structure

Use

You use the SDBINST program on the UNIX operating system to install or update a chosen Structure linkinstallation profile of the SAP DB software. All necessary information is queried by the program during the installation.

Caution

Before updating the database software, you must stop the program V Server. Note that by doing so, you interrupt the communication of clients to all local database instances.

The installation process is logged by the system.

Conventions

Structure linkVariables

Prerequisites

·        You are in a root shell.

·        You have downloaded and unpacked the installation package (Downloading and Unpacking the Database Software Under 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 required 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 the network (NIS), you must enter them there as follows.   7210/tcp
sql30        7200/tcp
sapdb ni 72 7269/tcp

·        For the installation, you must specify the group sapsys and the owner sapdb of the SAP DB software. If these settings are managed centrally in the network, you must create them there.

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

Procedure

...

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

¡        Stop every SAP DB database instance that is assigned to the installation directory to be updated with the command:
dbmcli –d <database_name> -u <dbm_user>,<password> db_offline

¡        Stop the program V Server (service XServer) with the command:
x_server stop

For a new installation, begin with step 2.

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

       3.      The system proposes the installation profile that you selected for the installation.
If the selected installation profile (such as all) contains other installation profiles, you can now select one of these installation profiles. To do this, specify the relevant ID. Confirm your selection.

       4.      The system prompts you to specify the group <group> and the owner <owner> of the SAP DB database software.

The default values of the system are:

¡        Installation outside of an SAP system:
for
<group> sapsys and for <owner> sapdb
If the group sapsys and the owner sapdb have not yet been created, the system asks whether you want to create them. Enter the desired values or confirm the system default values.

¡        Update outside of an SAP system: the values chosen in the previous installation/update

Update in an SAP system
For SAP DB OLTP database instances for
<group> sapsys and for <owner> sqdsid
For liveCache database instances for
<group> sapsys and for <owner> sidadm.

       5.      The system now checks whether there are SAP DB installations that can be updated on your host.

If this is the case, all existing installations are listed.

¡        If you want to update an existing installation, enter its ID.
The system then updates the software that is stored under the
<independent_data_path> and the <independent_program_path>. Depending on the selected profile, the software under the <dependent_path> is updated if the installation package contains newer versions of the files in the directory.

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

If there are no SAP DB installations on your host, the SAP DB components contained in the installation profile are now installed. Depending on the installation profile that you have chosen, the system may prompt you to specify the following paths:

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

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

Enter the desired paths or confirm the system default values.

       6.      If there were no SAP DB installations on your host until now, add the following entry to the PATH environment variable for all users that are to use SAP DB: <independent_program_path>/bin.

You see a success message about the installation.

Result

The new version of the selected installation profile of the SAP DB software is now installed and registered on your host. You can use the log to check that the installation ran correctly (Logging Under UNIX).

You can now create new database instances using the Database Manager

(See:

·        Structure linkCreating a Database Instance in the Database Manager CLI: SAP DB 7.4 documentation

·        The Structure linkWeb DBM documentation)