Skip to end of metadata
Go to start of metadata

Overview

SAP Host Agent is an agent that can accomplish several life-cycle management tasks, such as operating system monitoring, database monitoring, system instance control and provisioning. In the context of the SAP Solution Manager, the Diagnostics Agents use several functions of the SAP Host Agent to collect data from the monitored systems and hosts. This WIKI page indeed to provide information about the SAP Host Agent in the SAP Solution Manager context.

Installation and Upgrade

Installation

  • Install one SAP Host Agent, per physical host, if not yet installed. See SAP note1031096.

Upgrade

  • Upgrading the SAP Host Agent according to SAP note1031096, if the version is not sufficient
    • Check the version at OS level (search in the output for "SAPHOSTAGENT information"):
      • For Windows: "%ProgramFiles%"\SAP\hostctrl\exe\saphostctrl -function ExecuteOperation -name versioninfo
      • For Unix: /usr/sap/hostctrl/exe/saphostctrl -function ExecuteOperation -name versioninfo
    • The currently installed SAP Host Agent version is also visible under the host details, if “Managed System Configuration” has been performed with solman_setup
      • Navigate to Solution Manager Administration work center → Landscape → Hosts → <search for your host> → Host Operations → <expand "More Details" section> → Status
  • Implement automatic upgrade process (especially if you plan SAP Host Agent related changes)
    • SAP note1473974 describes ways to centrally and automatically upgrade running SAP Host Agents

Required Release

It is recommended to have the SAP Host Agent always up-to-date in the monitored hosts. To know the minimum release to section 'Checking the SAP Host Agent Version' of the Diagnostics Agents Maintenance WIKI.

Connection between the Diagnostics Agents and SAP Host Agent

Connection Configuration

To enable the communication between the Diagnostics Agents and the SAP Host Agent of the host, the Trusted Connection must be configured. For this refer to section 'SAP Host Agent' of the Outside Discovery WIKI. Ensure that SAP Host Agent PortTypes and Trusted Connection are correctly configured.

Check Diagnostics Agents/SAP Host Agent Connection Status

To see if the connection between the Diagnostics Agent and the SAP Host Agent is correct, go to the Agent Admin UI in tab 'SAP Host Agent. The steps to are:

  • Access the Agent Admin UI (http://<solman_host>:<JAVA_HTTP_Port>/smd/AgentAdmin)
  • Go to SAP Host Agent tab
  • Find the target host
  • Check column connection status.

The following picture shows the location:

Optional: Enable HTTPS communication between the Diagnostics Agents and SAP Host Agent

To enable the HTTPS communication between the Diagnostics Agents and SAP Host Agent the following steps must be performed.

1) Enable SSL in the SAP Host Agent:

To configure the SSL in the SAP Host Agent refer to the SAPHelp page 'SSL Configuration for the SAP Host Agent'.

2) Change protocol used by the Diagnostics Agents:

After configure the SSL Configuration for the SAP Host Agent, it is required to configure the Diagnostics Agents to use protocol HTTPS. The steps to perform the modification are:

  • Access the Agent Admin UI (http://<solman_host>:<JAVA_HTTP_Port>/smd/AgentAdmin)
  • Go to 'Application Configuration tab';
  • Select application 'com.sap.smd.agent.application.connectors';
  • Select the target Diagnostics Agents in 'Select Scope';     (warning) >>> DO NOT FORGET <<<
  • Configure property 'hostagent.protocol' to https.

The following picture describes the steps:

Troubleshooting 

1) Diagnostics Agent is not able to connect to SAP Host Agent

Refer to the SAP Host Agent Torubleshooting document in section 'SAP Solution Manager Diagnostics (SMD) Agent is not able to connect to SAP Host Agent'.

 

 

  • No labels