Procedure documentationInteractive Installations or Updates Locate this document in the navigation structure

 

You use the SDBINST program to install or update component groups or installation profiles of the database software on UNIX, Linux or Microsoft Windows. The program queries all necessary information during the installation process.

Prerequisites

  • 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 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.

End of the note.

Procedure

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.

  1. 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

  2. Exit Database Manager CLI:

    >exit

  3. 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

  4. 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.

  5. On UNIX or Linux: Open a root shell, log on as root, 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. Open a command prompt and log on as a member of the Administrators group.

  6. If the following conditions apply to your system, you must perform the preparatory steps below before a new installation. Otherwise, continue with step 5.

    1. 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

    2. 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 Recommendation

      For a better supportability, we recommend that you use the sdb and sdba names for the owner and the group.

      End of the recommendation.
    3. 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).

  7. Go to the directory maxdb-<inst_profile>-<os>-<32|64>bit-<arch>-<version>_<build>, which contains the installation software.

  8. Enter ./SDBINST to start the installation or update program.

  9. The system proposes component groups. Enter the ID of the desired component group and confirm your entry.

  10. If you have chosen the Custom component group, the system now proposes installation profiles. Enter the relevant ID and confirm your entry.

    For all other component groups omit this step and continue with step 9.

  11. If you are installing the software for the first time, or if you are updating from a software version lower than 7.5.00, the system prompts you to enter the following data:

    • The special operating system user <sdb_user> (owner of the database software)

    • The group <sdba_group>

    If you are installing or updating older software versions, the system prompts you to enter the <group> and <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 in 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 the values, the group and owner are created locally on your computer.

    The system now checks your computer for installations of the database software that can be updated. If this is the case, any available installations and their IDs are listed.

  12. Make the following entries:

    • If you want to update an existing installation, specify its ID. The system then updates the software in <independent_program_path>.

      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.

      Example Example

      Existing path: C:\SAP MaxDB\installation_1

      Parallel path: C:\SAP MaxDB\installation_2

      End of the example.

      The database software will be installed now. If necessary, the system prompts you to specify the following paths or to confirm the default paths:

      • Path for saving data, configurations and run directories of databases and database applications (default path is /var/opt/sdb/data)

      • Path for saving programs and libraries shared by databases and database applications (default path is /opt/sdb/programs)

      • Path for storing server software dependent on the database version

        This path must be unique. Multiple directories containing different versions can exist simultaneously (default path is /opt/sdb/<version>).

You will receive a message informing you that the installation was successful.

Result

The software packages have been installed and registered. You can check the result of your installation in the log file.

You can create databases using Installation Manager, Database Studio, or Database Manager CLI.

More Information

Database Studio, Creating Databases

Database Manager CLI, db_create