The SAP Host Agent is a tool used to perform several administration tasks in SAP systems. It is installed by default on all hosts.
The SAP HANA database lifecycle manager (HDBLCM) and the SAP HANA cockpit for offline administration rely on the SAP Host Agent to execute tasks as the system administrator user <sid>adm.
To audit operations performed in these SAP HANA tools, you must enable the audit logging feature of the SAP Host Agent. For more information about how to do this, see the SAP Host Agent documentation.
The SAP Host agent audit log is written to the Linux Syslog
SAP Host Agent provides you with the following features:
SAP instance discovery and inventory
SAP instance control
Database monitoring and management
System or instance provisioning:
Hosting the infrastructure of SAP Landscape Management
Hosting software lifecycle (SL) tools interfaces
Operating system monitoring:
Using saposcol
Using Common Information Model (CIM) based infrastructures
IBM i-specific features:
Dynamically adapted authorization for SAP kernel 7.20 and higher
SAP ILE daemon (SAPILED)
SAP Database Performance Collector for IBM i
Executables and Services
The executable directory of the SAP Host Agent is in the following location:
UNIX | /usr/sap/hostctrl/exe |
Windows | %ProgramFiles%\SAP\hostctrl\exe |
IBM i | /usr/sap/hostctrl/exe and objects in library R3SAP400 |
Log Files
The following log files are created during runtime for SAP Host Agent. They are available in the working directory of SAP Host Agent:
sapstartsrv_ccms.log | This log file is for central monitoring. It is stored in the subdirectory sapccmsr of the working directory. |
sapstartsrv.log | Contains the developer trace for sapstartsrv |
dev_saphostexec | Contains the developer trace for saphostexec. |
dev_sapdbctrl | Contains the developer trace for sapdbctrl. |
AL FILES
For system instances, the AL* files ( ALMTTREE, ALPERFHI, and ALALERTS) are in the working directory of the SAP Host Agent. $DIR_LOGGING directory. These files contain the monitoring segment data.
Documentation: https://help.sap.com/docs/SAP%20Host%20Agent?locale=en-US