You use the SDBINST program to install/update installation profiles of the database software on UNIX. The program queries all necessary information during the installation process.
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.
· You need to be in a root shell.
· You need to have downloaded the installation package, and unpacked it to a local directory of your choice (Unpacking the Software on UNIX).
If the following conditions apply to your system, you must perform the specified steps before a new installation:
·
The installation
program adds the necessary 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 follows:
sql6 7210/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>.
(See also: Database System
Concepts, UNIX: Special
Operating System Users and User Groups for version 7.5.00 and
higher).
If you manage
user groups and owners locally on your computer, we recommend that you create
the user group and owner before starting the installation process.
However, you can also register this
information during the installation process.
If you manage user groups and
owners for your system centrally on 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.
The special operating system user must not log on to the operating system. For this reason, remove this authorization from this user. For information on how to do this, see your operating system documentation (lock account).
The primary group of the owner of the database software is the administrator group.
For SAP systems, you must use the sdband sdba names for the <sdb_user> owner and the <sdba_group> group.
For consistency, especially if you need to contact the support team, we recommend that you also use the sdb and sdba names for the owner and group in other systems.
· If the <independent_program_path>/bin path is not yet entered in the PATH environment variable, enter it now. (For information on setting environment variables, see your operating system documentation.)
...
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.
Switch to the
directory
maxdb-<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.5.00, the system prompts you to enter the following details:
¡ The <sdb_user> special operating system user (the owner of the database software)
¡ The <sdba_group> group
If you are installing or updating older software versions, the system prompts you to enter the <group> group and <owner> owner of the database software.
If the group and owner have already been created, enter and confirm the correct values. The system compares this information with the values stored locally or on the network. If your information does not match these values, the installation terminates.
If the group and owner have not yet been created, the system asks you whether you want to create them now. Specify your chosen values, or confirm the defaults. When you specify these values, the group and owner are created locally on your computer.
5. The system now checks your computer for installations of the database software 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_program_path>. Depending on your chosen profile, the software in
<dependent_path> is also updated if the installation
package contains more recent versions of the files.
¡ If you want to perform a new installation of the database software in parallel to the existing installation, specify none. You then have the option of specifying a new installation path. Define an installation path in parallel to the existing installation path.
If there is no current installation of the database software on your computer, the software 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 database instances and database applications (system default is /var/opt/sdb/data)
¡ Path for saving programs and libraries shared by database instances and database applications (system default is /opt/sdb/programs)
¡
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/sdb/<version>)
Specify paths, or confirm the system defaults.
6. If there was no database software installed on your computer up to now, add the <independent_program_path>/bin entry to the PATH environment variable for each user who wants to use the database system.
A message will be displayed informing you that the installation was successful.
The chosen installation profile for the new version of the database software has been installed and registered on your computer. You can check the result of your installation using the log (Logging).
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 CLI documentation 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