Start of Content Area

Function documentation Monitoring Hosts with SAPHostControl and saphostexec  Locate the document in its SAP Library structure

Use

The two programs below run on every host with SAP NetWeaver components as of release 7.0 EhP2 and on every host that is monitored by a central system with this release:

      SAPHostControl

SAPHostControl is the executable sapstartsrv running in host mode. It is therefore not responsible for an SAP instance (see Administration/Monitoring of SAP Components with sapstartsrv), but for any host that is to be centrally monitored.

Whether sapstartsrv runs in host or in instance mode is determined by the profile that is transferred when the executable is started. In instance mode, it runs with the instance profile of the corresponding instance, in host mode with its own profile, which can contain the two following profile parameters:

SAPSystem = 99

SAPSystemName = SAP

It always runs together with the executable saphostexec (see below); both are always started during the startup of the host.

Note

       On Microsoft Windows hosts, the automatic start is ensured by the service SAPHostControl, which runs under user SAPadm. On UNIX hosts, the automatic start is ensured by the executable sapstartsrv being started by the start scrip sapinit.

       SAPHostControl contains the functionality of the previous CCMS agent SAPCCMSR, that is, the agent that monitors hosts (more information: Central Monitoring with SAP NetWeaver Management Agents).

      SAPHostExec

saphostexecis an executable that runs under root (UNIX) or the Local System Account (Microsoft Windows). It controls all of the functions for which a special user of this type are required, such as the operating system collector saposcol and sapacosprep. It is connected to sapstartsrv in host mode (see above) using a local socket, which ensures quick and secure communication and is also started during the startup of the host.

Note

       On Microsoft Windows hosts, the automatic start is ensured by a service called SAPHostExec, on UNIX hosts, the automatic start is ensured by the executable saphostexec being started by the start script sapinit.

       sapacosprep is an executable of the Adaptive Computing Infrastructure that, for example, performs the addition of file systems and general operating system-side preparations for being able to monitor SAP instances.

Prerequisites

The listed executables and services are automatically installed and started during the installation of SAP NetWeaver instances. In this case, you no longer need to perform any steps yourself.

In the case of hosts with no SAP components that you want to monitor with a central system as of SAP NetWeaver 7.0 EhP1, you need to download and install the specified executables and services yourself. Proceed as described in Downloading and Installing the SAPHOSTAGENT Package.

This graphic is explained in the accompanying text Infrastructure of the SAP NetWeaver Management Agents Start Page

 

End of Content Area