Appendix F. SAP Monitoring

This appendix describes how to enable the hypervisor monitoring required when running SAP software in Red Hat Enterprise Linux guests with Red Hat Enterprise Virtualization. Hypervisor monitoring for SAP applications uses the vhostmd VDSM hook, which is provided to hosts by the vdsm-hook-vhostmd package.
Red Hat Enterprise Virtualization Hypervisor hosts include the vdsm-hook-vhostmd package by default.
On Red Hat Enterprise Linux hosts, install the vhostmd VDSM hook from the terminal as the root user using the yum install vdsm-hook-vhostmd command.

Procedure F.1. To enable SAP monitoring for a Virtual Machine from the Administration Portal:

  1. Select the virtual machine to be monitored from the Virtual Machines tab. The virtual machine must be in a stopped state.
  2. Click the Edit button to display the Edit Virtual Machine dialog.
    Enable SAP

    Figure F.1. Enable SAP


  3. Select the Custom Properties tab.
  4. In the Custom Properties text field, enter sap_agent=true. Click OK.
You have now enabled monitoring of a virtual machine for use with SAP. Repeat the procedure with each virtual machine that is part of the SAP environment.
The Custom Properties tab is also available from the New Virtual Machine dialog. SAP monitoring can be enabled for new virtual machines by following this procedure at the time of virtual machine creation.
Virtual machine monitoring for SAP can also be enabled using the REST API. See the Red Hat Enterprise Virtualization REST API Guide for more information.