Show TOC

Procedure documentationManually Installing SAP Host Agent on UNIX Locate this document in the navigation structure

 

You can install SAP Host Agent manually by executing the saphostexec executable with option –install from the decompressed SAPHOSTAGENT<SP-version>.SAR archive.

Prerequisites

  • You are logged on as a user with root authorization.

  • You have downloaded the SAPHOSTAGENT<SP-version>.SAR archive.

Procedure

  1. Copy the downloaded SAPHOSTAGENT<SP-version>.SAR archive to a temporary directory, for example /tmp/hostagent.

  2. Decompress the SAPHOSTAGENT<SP-version>.SAR archive with the SAPCAR tool to this directory. Take SAP Note 212876 into account when doing so. Normally, you use the following command for decompression, and execute it in the directory of the archive:

    ./sapcar -xvf SAPHOSTAGENT<SP-version>.SAR

    Example Example

    ./sapcar -xvf SAPHOSTAGENT126_126-20005735.SAR /tmp/hostagent

    End of the example.

    The archive also contains the saphostexec program.

  3. Change to the directory to which you have decompressed SAPHOSTAGENT<SP-version>.SAR.

    Example Example

    cd /tmp/hostagent

    End of the example.
  4. Start the installation by entering the following command:

    ./saphostexec -install

    The progress of the installation is displayed on the command line.

  5. After the installation you can delete the temporary directory.

    Example Example

    rm -rf /tmp/hostagent

    End of the example.
  6. The administrator user sapadm of the SAP Host Agent was created during the installation, but it did not get assigned a password. You can assign a password to user sapadm by entering the following command:

    passwd sapadm

Result

  • After the installation has successfully finished, SAP Host Agent is up and running.

  • You have installed and started the following units on your host:

    • The control program saphostexec

    • The operating system collector saposcol

    • The SAP NetWeaver Management agent SAPHostControl (sapstartsrv in host mode)

  • If you use System Landscape Directory (SLD), register the host with the SLD after installing SAP Host Agent (see Registering Hosts with the SLD Using sldreg). You need this data in the SLD, for example, for using the Adaptive Computing Infrastructure.