You use the SDBINST program to install or update component groups, installation profiles, or individual components of the database software on UNIX, Linux, or Microsoft Windows. You specify all required information on the command line, along with the command for starting the SDBINST program.
You want to update components for which the software is not stored in the <dependent_path> of the database software installation.
The software installation you want to update is not used by any databases.
Note
If you want to update components, for which the software is stored in the <dependent_path> of the database software installation, and databases use this software installation, you must upgrade these databases along with the software (see: Upgrading Databases and Their Server Software). Otherwise, you risk rendering the databases incompatible with the database software. In this case, you may not be able to start them again.
If you want to update an existing database software installation, start with step 1. If several databases refer to the installation directory to be updated, perform steps 1 and 2 for each of these databases one by one. If your source version is < 7.5.00, also stop all other SAP MaxDB database one by one.
For a new installation of the database software, start with step 3.
Log on to Database Manager CLI as a DBM operator, connect to the database assigned to the installation directory you want to update, and stop the database with the following command:
>dbmcli <database_name> -u <dbm_operator>,<dbm_operator_password> db_offline
Exit Database Manager CLI:
>exit
If your source version is < 7.5.00, use the following command to stop X Server (vserver process). If your source version is ≥ 7.5.00, omit this step and continue with step 4.
>x_server stop
In the download area, select the package that is appropriate for your operating system architecture and copy it to a local directory of your choice.
On UNIX or Linux: Open a root shell and go to the above local directory. Unpack the software using GNU tar with the following command:
tar xvzf <package_name>
On Microsoft Windows: Extract the downloaded package in to your local directory using WinZip or WinRAR.
If the following conditions apply to your system, you must perform the preparatory steps below before a new installation. Otherwise, continue with step 5.
The installation program adds the necessary sql6 und sapdbni72 services to the /etc/services file, if they do not already exist. If these services are managed centrally in the network (NIS) for your system, 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>) as the owner of the software, and to the group <sdba_group>.
If you install a software version ≥ 7.5.00, this assigment is done by the system during the installation process (For detailed information see Database Administration, Special Operating System Users and Groups.)
If you install a software version < 7.5.00, provide the necessary information as follows:
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. You can also enter this information during the installation process.
If you manage user groups and owners for your system centrally in the network, you must create them there before you start the installation. For more information on creating operating system users and user groups, see the documentation for your operating system.
The special operating system user must not log on to the operating system. Therefore, revoke this authorization from the user. For information on how to do this, see the documentation for your operating system (lock account).
The primary group for the owner of the database software is the Administrators group.
Recommendation
For a better supportability, we recommend that you use the sdb and sdba names for the owner and the group.
Check whether the PATH environment variable contains the <independent_program_path>/bin entry for each user that wants to use the database system. If this is not the case, enter it now (For information on setting environment variables, see the documentation for your operating system).
Go to the directory maxdb-<inst_profile>-<os>-<32|64>bit-<arch>-<version>_<build>, which contains the installation software.
Start the installation or update process with the command below.
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 from a software 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 or software components that contain blanks in double quotation marks.
For certain installation profiles or software components, you do not need to specify the options –indep_prog, -indep_data, or –depend. If you do specify these options, the system ignores them. See the overview of options for more information.
>./SDBINST [-b | --batch] -component_group <component_group> | -profile <inst profile>[,<inst_profile2>...] | -package <package_name>[,<package_name2...>] -indep_data <independent_data_path> - indep_prog <independent_program_path> -depend <dependent_path> [-archive_dir <directory>] [-o <sdb_user> -g <sdba_group>]
You will receive a message informing you that the installation was successful.
The software packages have been installed and registered. You can check the result of your installation in the log.
You can create databases using Installation Manager, Database Studio or Database Manager CLI.