Procedure documentationInstallations or Updates in the Command Line Locate this document in the navigation structure

 

Use the SDBINST program to install or update a complete database software installation or individual software packages on Unix, Linux, or Microsoft Windows. Specify all required information in the command line, along with the command for starting the SDBINST program.

When installing or updating individual components, take into account the dependencies between the software components. Otherwise, an error message is displayed and the system terminates the installation process. Therefore we recommend that you update individual components in special cases only. For details, see Software Components.

Prerequisites

  • The software installation you want to update is not used by any databases.

    Note Note

    If one or more databases use the software installation to be updated, you must upgrade the 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.
  • For software updates, the following prerequisites apply for the SAP MaxDB communication servers:

    For Source Versions < 7.8

    On Unix and Linux

    On Windows

    Source Version < 7.5

    Stop the X server (V server process) and all databases before the installation or update (see: Utilities, Stopping the Global Listener and/or Installation-Specific X Servers). Note that this interrupts the communication between the clients and all local databases.

    If the independent software is to be changed, stop the X server before the installation or update.

    Note that as per the system default, the independent software is updated only if the target version of the global software is higher than the source version.

    If the target version of the independent software is lower than the source version, the update process will not change the independent software.

    Source Version ≥ 7.5

    Stopping the X server and all the databases is not necessary.

    From this version the X server software supports an update of the database software while the X server is running.

    For Source Version ≥ 7.8

    On Unix and Linux

    On Windows

    From Source Version ≥ 7.8

    Stopping the global listener is not necessary.

    If the global software is to be changed, stop the global listener before the installation or update (see: Utilities, Stopping the Global Listener and/or Installation-Specific X Servers).

    Note that as per the system default, the global software is updated only if the target version of the global software is higher than the source version.

    If the target version of the global software is lower than the source version, the update process will not change the global software unless you explicitly specify the -update_global option.

Procedure

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

  2. 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 into your local directory using WinZip or WinRAR.

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

    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 <installation_path>/bin and <global_programs_path>/bin entries (in this order) 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).

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

  5. Start the installation or update process with the appropriate command from the list below.

    Note Note

    For an explanation of the options, see Overview of the Options for the SDBINST Program.

    Place any names of software components that contain blanks in double quotation marks.

    End of the note.
    Syntax Overview

    SDBINST <installation> | <update> | -v | -h | -l

    <installation> :: = <inst_complete_software> | <inst_software_package>

    Installing the Complete Database Software:

    <inst_complete_software> :: = [-i <installation_name>] [-path <installation path>] [-description <installation_description>] [-private_datapath <path>] [-global_prog <path>] [-global_data <path>] [-global_owner <user_name>] [-global_group <group_name>] [-global_port <number>] [-network_port <number>] [-no_debug_packages] [-b]

    Installing Individual Software Packages:

    <inst_software_package> :: = -package <package_list>] [-i <installation_name>] [-description <installation_description>] [-path <installation_path>] [-private_datapath <path>] [-global_prog <path>] [-global_data <path>] [-global_owner <user_name>] [-global_group <group_name>] [-global_port <number>] [-network_port <number>] [-b] [-no_debug_packages] [-update_global]

    <package_list> :: = <package> | <package>,<package>,…

    Updating a Complete Software Installation:

    <update_complete_software> :: = <installation_ident> [-check_files] [-no_debug_packages] [-force_extract] [-kill_running_processes] [-b]

    <installation_ident> :: = -i <installation_name> | -path <installation_path>

    Updating Individual Software Packages:

    <update_software_package> :: = <installation_ident> [-check_files] [-no_debug_packages] [-force_extract] [-kill_running_processes] [-b]

    <installation_ident> :: = -i <installation_name> | -path <installation_path>

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.

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

More Information

Database Studio, Creating Databases

Database Manager CLI, db_create