How to upgrade SAP Host Agent From the ExtractedSAPHOSTAGENT Archive

upgrade  SAP Host Agent From the Extracted SAPHOSTAGENT Archive in Windows,Linux,IBM i

Procedure
  1. Log on as a user with the required authorization:
    WindowsAs a member of the local Administrators group
    UNIXAs a user with root authorization
    IBM iAs a user profile with special authorities *SECADM and *ALLOBJ, for example as user profile QSECOFR.
  2. IBM i only: Enter the command CALL PGM(QP2TERM) to start a PASE interactive terminal session.
  3. Copy the downloaded SAPHOSTAGENT.SAR archive to a temporary directory, for example:
    Windowsc:\temp\hostagent
    UNIX,
    IBM i
    /tmp/hostagent
  4. Extract the SAPHOSTAGENT.SAR archive using SAPCAR.
    Take SAP Note 212876 Information published on SAP site into account when doing so. Use the following command for extraction, and execute them in the directory of the archive:
    Windows\sapcar.exe -xvf \SAPHOSTAGENT.SAR -manifest SIGNATURE.SMF
    UNIX,
    IBM i
    //sapcar -xvf /SAPHOSTAGENT.SAR -manifest SIGNATURE.SMF
    Among others, the archive contains the saphostexec program.
  5. Perform the upgrade by running the following command:
    Windows
    \saphostexec.exe -upgrade
    Recommendation
    You can use the additional parameter -verify to verify the content of the installation package against the SAP digital signature
    UNIX,
    IBM i
    //saphostexec -upgrade
    Recommendation
    You can use the additional parameter -verify to verify the content of the installation package against the SAP digital signature
    The progress of the upgrade is displayed on the command line.
  6. After the upgrade has finished successfully, you can check the version of the upgraded host agent by executing the following command from the directory of the SAP Host Agent executables:
    Windows%ProgramFiles%\SAP\hostctrl\exe\saphostexec.exe -version
    UNIX
    • If you are logged on as a user with root authorization, the command is as follows:/usr/sap/hostctrl/exe/saphostexec -version
    • If you are logged on as a member of the sapsys group, for example adm, the command is as follows: /usr/sap/hostctrl/exe/hostexecstart -version
    IBM i/usr/sap/hostctrl/exe/saphostexec -version
  7. IBM i only: Leave the PASE interactive terminal session using function key F3