You are on page 1of 2

Steps to Install SAP Host Agent

The installation was done on Windows Server 2012 environment. You can refer to SAP Note 1031096
for further details.

Prerequisite
Download the latest SAP Host Agent from SAP Service Marketplace by referring to below
navigation,
Support Packages and Patches > Browse our Download Catalog > SAP Technology
Components
> SAP HOST AGENT > SAP HOST AGENT 7.20 > YOUR-OPERATING-SYSTEM

Installation
Create a new folder and extract the downloaded SAP Host Agent using SAPCAR.
SAPCAR -xvf SAPHOSTAGENT177_177-20005735.SAR

x sldreglib.dll
x xml71d.dll
x SIGNATURE.SMF
SAPCAR: 51 file(s) extracted
To start the installation, execute below command,
saphostexec.exe -install
You may require to enter below information (password for sapadm),
Install service

Please enter password for user .\sapadm: *********


Check Installation Path ...ok
Copy Executable ...
[WARNING] Open service SAPHostExec failed
(The specified service does not exist as an installed service.)
[WARNING] Open service SAPHostExec failed
(The specified service does not exist as an installed service.)

Copying...ok
Generate Profile ...ok
Check Upgrade ...ok
Install windows service ...Service SAPHostExec registered!
ok
Check for saphostcontrol ...
Register sapstartsrv:
"C:\Program Files\SAP\hostctrl\exe\sapstartsrv.exe" -r -soap -p
"C:\Program Files\SAP\hostctrl\exe\host_profile" -s SAP -n 99 -U
.\sapadm -q -P
*********
SAPHostControl successfully registered
ok
Start saphostexec ... ok
[OK] SAPHostExec / SAPHostControl succesfully installed
The SAP Host Agent installation is complete. You can remove the old folder (extracted files)

Note

Host Agent directories:


Unix:
/usr/sap/hostctrl/exe
/usr/sap/hostctrl/work

Windows:
%ProgramFiles%\SAP\hostctrl\exe
%ProgramFiles%\SAP\hostctrl\work

Host Exec Executable:


Unix: saphostexec
Windows: saphostexec.exe

User permissions:
Unix: root permissions
Windows: Administrator permissions + elevated mode

You might also like