Interactive Installations/Updates on
UNIX 
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.

You must stop the program V Server before you update the database software. Remember that this interrupts the communication between the clients and all local database instances.
· 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).
If the following conditions apply to your system, you must perform the accompanying 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
sapdb ni 72 7269/tcp
· You must specify the group and owner of the SAP DB database software for the installation. If this information is managed centrally in the network, you must create it there.
· If the path <independent_program_path>/bin is not yet entered in the environment variable PATH, enter it now.
...
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 V Server
(
Xserver
service) 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 installation profile contains other installation profiles (all,
for example), you can also select one of these profiles. Specify the
appropriate ID. Confirm your selection.
4. The system prompts you to enter the group <group> and owner <owner> of the SAP DB database software.
The system defaults are:
¡
For an
installation outside of the SAP system:
For <group> sapsys and for <owner> sapdb
If
sapsys and sapdb have not yet been created, the
system asks you whether you want to create them. Specify your chosen values,
or confirm the defaults.
¡
For an
update outside of an SAP system, the values chosen for the preceding
installation/update
For an update within an SAP system
For SAP DB OLTP for <group> sapsys and for <owner> sqdsid
For liveCache for <group> sapsys and for <owner> sidadm.)
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 data.
¡ 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)
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.
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 progress of the 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.)