General Information:
It is an agent that can accomplish several life cycle management tasks, such as operating system monitoring, DB monitoring, system instance control and provisioning.
It is installed automatically when we install a new system of Netweaver 7.20 or higher version.
It upgrades automatically when we upgrade the system or when we patch or upgrade the kernel of existing system.
We can also upgrade the host agent individually.
The host agent starts automatically when we boot the system and it is performed using sapinst script in UNIX.
Information about different files of SAPHOSTAGENT:
With the help of host agent the SOLMAN/LVM/SAP MC … collects information of the system to monitor the system status and these are connected to host agent of a particular system using a web service Runtime.
The functionalities of host agent are performed by using the following executables.
1. Sap Host Control
2. Sap Host Exec
3. Saposcol
Location of executables:
UNIX - /usr/sap/hostctrl/exe
Functionalities of Different Executables:
SAPHOSTEXEC:
It runs under privileged user account such as root in UNIX.
It is used for host agent installation and upgrade purposes.
SAPHostControl:
It runs under the sidadm user.
It is the agent that monitors hosts.
Saposcol:
It runs independent of instances and we have exactly one agent for each host.
The data collected by Saposcol is placed in a shared memory which makes the information available to all instances in a host and to various applications.
It collects the information of following OS resources such as
Physical and virtual memory usage
CPU utilization
Utilization of physical disks and file systems.
Resources usage of running processes.
Profile file:
It contains all the parameters required to proper functioning of host agent and it is identified as host_profile file.
It is available under executable directory.
Log Files:
The following files available under work directory.
Sapstartsrv_ccms.log – log file for central monitoring and it is stored under sapccmsr directory.
Sapstartsrv.log – developer trace of sapstratsrv.
Dev_saphostexec – developer trace of hostexec.
Dev_sapdbctrl – developer trace of sapdbctrl.