Professional Documents
Culture Documents
How To Configure Solution Manager 7.1 Technical Monitoring For An SAP HANA Database
How To Configure Solution Manager 7.1 Technical Monitoring For An SAP HANA Database
1
Technical Monitoring for an SAP HANA Database
by Jereme Swoboda, SAP Solution Manager and NetWeaver Consultant, NIMBL
This document is for your personal use only. Reproduction or distribution in any form is strictly prohibited without the permission
of the publisher, Wellesley Information Services. For information about SAPexperts visit www.SAPexperts.com.
With the release of SAP HANA many organizations are actively planning the migration of their
>> Learning Objectives
current SAP systems to SAP HANA. Knowing how to configure Solution Manager to monitor their You will learn how:
SAP HANA systems is incredibly important, especially as Solution Manager 7.1 is the only option
for monitoring SAP HANA. Learn how to configure Solution Manager 7.1 Technical Monitoring for
To connect SAP HANA to Solution
your new SAP HANA databases. Manager 7.1.
To configure Solution Manager 7.1
to monitor SAP HANA.
The ability to monitor an SAP systems To successfully implement the instructions
database is the key to ensuring the stabil- contained in this article you must have
ity and performance of that database. experience in a few basic areas. Landscape Management Database
Solution Manager offers a central location (LMDB) work within Solution
1. It is essential to know how to use the Manager, as well as understand the
to monitor SAP HANA. It also provides
SUSE Linux Enterprise Server operat- process of the managed system config-
key performance, diagnostics, and avail-
ability metrics, including the ability to ing system. Currently it is the only uration and how to set up Technical
send alerts based on those performance operating system supported to run Monitoring.
and availability metrics. Beyond technical SAPHANA.
4. You must also be experienced in
monitoring Solution Manager also delivers 2. You must have experience using installing Solution Manager Diagnostic
early-watch alerts, root-cause analysis, SAPHANA Studio. Agents and Host Agents. They are an
and database administration tools. Solu-
integral part of the entire Technical
tion Manager is a vital tool provided by 3. You must be experienced in using
Monitoring infrastructure.
SAP that you already have; the next step Solution Manager 7.1. In addition, you
is to configure Solution Manager with must understand how the System 5. You also must be adept at installing
your SAP HANA database. Landscape Directory (SLD) and the SAP Notes. There are a number of
Key Concept
Technical Monitoring is designed to provide alerts on the critical components of your SAP landscape, allowing you to respond
quickly to urgent situations that need immediate attention. Alerts are provided on four levels: Host, database, central instance,
and dialog instance. The alerts are further divided into four categories: Configuration, availability, performance, and exceptions.
cessfully added to the user store. To do the host agents access to SAP HANA the host agent by restarting the host agent.
this, use the following command: hdbuser- Studio. Use the OS user ROOT and navi- You do this by navigating to the directory
store LIST <SID>SAPDBCTRL. gate to the following directory: usr/sap/ /usr/sap/hostctrl/exe, and running the fol-
hostctrl/exe. Run the following command: lowing command: saphostexec restart.
Now you have to give the host agent
sapdbctrl status <SID> -t hdb, and edit the Then test the functionality of the outside
access to the SAP HANA database for
Host Agent Profile. Insert all the diagnos- discovery for Technical Monitoring. Use
monitoring. You do this by setting the
tic agent and SIDADM users by using the the operating system user ROOT and nav-
LD_LIBRARY environment variable to
following context: service/admin_users igate to the Hostagent directory: /usr/sap/
usr/sap/hostctrl/exe. Activate the new
DAAADM SIDADM (Figure 3). hostctrl/exe. Run the following command:
environment variable by restarting the
saphostctrl -function GetDatabaseProper-
SAP HANA server. Then you need to test Next you need to activate the changes to
ties -dbname <SID> -dbtype hdb. This
results in the screen shown in Figure 4,
where you verify the functionality of
outside discovery. The duty of outside dis-
covery is to collect or discover
information about the monitored system
Figure 2 Verify that the user was added to the HDBUserStore
and report it to Solution Manager. Outside
discovery collects detailed information on
the host and database, and this informa-
tion is required for the SAP Solution
Manager system to perform its functions.
Figure 4 Verify that the host agent has access to the SAP HANA database via OS user ROOT
Figure 5 Verify the host agent has access to the SAP HANA database via OS user SIDADM
Figure 11 Provide a name and type for your new technical scenario
system. Click the Select button to select Check your changes in the screen shown squares appear, signifying that your
your system (BQ1). Then select the check in Figure 22, and then click the Save changes have been made successfully.
boxes for all the software to assign to your button to save your changes. This takes
Continue with the rest of the steps in
product system, and click the Close button you back the previous screen (Figure 23).
managed system configuration. All the
(Figure 22). Click the Refresh button. In the Status
steps must be complete before you
column at the bottom of the screen, green
proceed and activate technical monitoring fourth step, Template Maintenance. Click
>> Note
for your system. the Edit button and then the Expert Mode
Keep in mind that you must have button, which results in the screen in
completed all the steps I previously Figure 25.
Step 4. Set Up Solution Manager 7.1
wrote about before doing this.
Technical Monitoring for the System Here you create a custom template for
Powered by HANA the HANA database. A template is a
SETUP (Figure 24) and select Technical
Next you need to activate Technical Moni- collection of metrics and alerts. You
Monitoring on the left side of the screen.
toring for the SAP HANA database. must create a custom template so that
Navigate to transaction code SOLMAN_ On the right side of the screen, select the you can make changes to the template,
Apply and Activate button and then the Next Step 5. Test the Functionality of Solu- screen select System Monitoring, which
button, which takes you to the seventh (and tion Manager 7.1 Technical Monitoring opens the screen on the right. Here you
final) step: Reporting (Figure 28). Now its time to validate the Technical select your system running on HANA and
Monitoring functionality. Navigate to then click the System Monitoring button.
In step 7, Reporting, click the Activate transaction code SOLMAN_WORKCEN-
button to activate reporting for your TER (Figure 29) and select the Technical This results in the screen in Figure 30.
system powered by SAP HANA. Monitoring Tab. On the left side of the Select any portion of the highlighted
Figure 29 Choose your system running on HANA and display system monitoring
screen in the figure, which opens the symbols for the different categories for being reported to Solution Manager. If
screen in Figure 31. This shows the status your system powered by HANA this happens, review the steps outlined
of all the technical monitoring metrics that (Figure 30). These colors provide veri- in this article and ensure that all of them
are active for your system running on fication that Technical Monitoring is have been completed successfully.
HANA. functioning properly for your system (or When the status indicators are all green,
not). If you see a gray diamond there is you know that all the steps in Managed
Next to your selected system, you an issue with the data and for some (for System Configuration for your system
should see green, yellow, or red status now) unknown reason the data is not are complete. n
Jereme Swoboda is an experienced SAP Solution Manager and NetWeaver consultant focusing on proactive technical monitoring of SAP and
non-SAP systems, supporting critical business processes. He has tremendous experience pairing real-world scenarios with Solution Manag-
ers Technical Monitoring capabilities. He is an expert at collecting requirements, creating a monitoring strategy, and then putting that strategy
to work for SAP customers. Jereme has had the opportunity to work on a variety of platforms for companies large and small integrating Solu-
tion Manager 7.1. You may contact the author via email at editor@sappro.com.