Professional Documents
Culture Documents
Procedure Checklist
by Dr. Bjarne Berg, VP SAP Business Intelligence, Comerit, and Professor at SAP University Alliance at Lenoir
Rhyne University
Key Concept
Writing a standard operating procedure (SOP) checklist and creating periodic tasks lists for other activities can
assure that you have a very high degree of business continuity in your SAP HANA system. SAP HANA is a highly
scalable platform with a substantial amount of built-in fault tolerance at the hardware and software level. Although
system failures are rather unusual, no amount of cleverness can totally prevent issues if the use is not monitored
regularly and preventive measures are not taken well in advance.
Learning Objectives
Reading this article you will learn:
Learn what SAP tools are available to monitor your HANA environments and see what hardware options exists
Get access to all of the 74 automatic HANA alerts and see when to schedule them and what to do when
triggered
Learn how to keep you BW system on HANA as small as possible and how to periodically remove unneeded
data and internal files from your HANA system
There are many ways to install and operate your SAP HANA environments on premise. However, creating a daily,
weekly, and monthly standard operating procedure (SOP) is a good way to ensure that the system stays well tuned
and that potential issues are avoided. This is also known as the daily operations handbook. I explain what the
different landscape options are and how you can start creating your own SOP for your data center.
The first decision you have to make when setting up your data center for your SAP HANA environments is to
decide if you are going to place it on premise, as part of an outsourcing agreement, or in the cloud. The on-premise
approach is currently the most common. It basically means that you will have to integrate the hardware into your
current data center and possibly into an off-site data center if you are implementing a high-availability (HA)
solution.
A major consideration for the on-premise approach would be to make sure that your hardware fits into your
existing chassis, racks, power outlets, cooling plan, and the outlay of your data center. For example, many are not
aware that some of the larger SAP HANA systems, such as Lenovos x3850 x6, require a four-rack unit (U) height
in a data center, but if you use Lenovos x3950 x6, you need to double that size requirement (since that is basically
two stacked 3850s). Other products, such as Ciscos C880 M4 server, require a 10U height. Therefore, it is very
important to decide what hardware deployment options you are going with. As of September 2015, the most
common forms of certified hardware are shown in Figure 1 and described in Table 1.
most standard database admin tasks. Also, just as you can for all SAP software, you can use Solution Manager for
core monitoring, admin of multiple systems in your landscape, and as the backbone for Change and Transport
System+ (CTS+) integration of transports between the systems in your landscape. Solution Manager can also be
used to generate EarlyWatch reports periodically that show growth, use trends, and technical support information.
You will also find the DBA Cockpit in Solution Manager (Figure 4). This tool allows you to monitor the SAP
HANA database and exposes almost all the technical information you would otherwise find in the administrator
console perspective in SAP HANA studio.
Figure 4 SAP HANA Admin and monitoring with the DBA Cockpit in Solution Manager
Solution Manager and the DBA Cockpit also support trace analysis, workload analysis, and exception analysis of
SAP HANA databases. Most customers therefore find this tool invaluable when monitoring and managing SAP
landscapes with both SAP HANA and other types of databases.
In addition to these tools, the LVM from SAP is also supported for SAP HANA (Figure 5). This tool allows you to
conduct core operations of complex landscapes that are based on SAP HANA or non-SAP HANA servers. There is
a standard edition of LVM that can be downloaded from SAP for free, and an Enterprise Edition equipped with
more features requires a license before you can use it.
10
Check
type
ID
0
3
Availability
Time
Description
Intraday
Intraday
Intraday
21
Daily
22
23
24
31
41
70
78
80
Backup
28
32
33
Perio
dic
35
Daily
36
Daily
37
38
54
65
66
69
72
Configu
ration
3
10
16
Perio
dic
26
Perio
dic
34
Daily
79
CPU
46
Diagnosis
50
Files
Disk
51
Daily
52
Daily
53
Daily
56
Perio
dic
Intraday
13
Memory
30
Intraday
60
Perio
dic
61
Perio
dic
77
Intraday
Intraday
Perio
dic
Perio
dic
Perio
dic
Perio
dic
17
Perio
dic
29
Intraday
27
12
20
40
Daily
43
Daily
44
Perio
dic
PRODUCT_USAGE
45
Perio
dic
55
Perio
dic
58
67
68
73
As
neede
d
Perio
dic
Perio
dic
Perio
dic
Perio
dic
75
Perio
dic
81
Perio
dic
57
Daily
Daily
63
Daily
64
Perio
dic
Security
74
62
15
Sessions
Session
and
transactions
System
25
Daily
39
Daily
42
As
neede Long-idling cursors
d
47
Perio
dic
Long-running serializable
transactions
48
Perio
dic
49
Perio
dic
59
Daily
83
Daily
Percentage of blocked
transactions
Table consistency - The number
of table consistency errors and
affected tables
16
17
Figure 8 View large SAP HANA tables using transaction code DB02
In an SAP BW system there are also tables that are likely to grow faster than others. These include the application
log tables BALHDR, BALHDRP, BALM, BALMP, BALDAT, BALC, and BAL_INDX as well as the tables for
linking IDocs (IDOCREL and SRRELROLES) and the short dump table SNAP.
Other request administration data in SAP BW that you want to monitor includes data in the RSBMLOGPAR,
RSBMLOGPAR_DTP, RSBMNODES, RSBMONMESS, RSBMONMESS_DTP, RSBMREQ_DTP,
RSCRTDONE, RSDELDONE, RSHIEDONE, RSLDTDONE, RSMONFACT, RSMONICTAB, RSMONMESS,
18
Figure 9 Deleting statistics entries over 365 days old using the RSDDSTAT_DATA_DELETE program
You should also monitor the size of the Data Transfer Process (DTP) error log in RSBERRORLOG, the process
chain logs (RSPCINSTANCE), and the SAP BW batch run-time data (RSBATCHDATA). These logs contain
numerous warnings and errors in transformation recordings. You can delete these periodically using
RSBM_ERRORLOG_DELETE and schedule it to run to remove entries over 60/90 days old.
Furthermore, you can also keep your system small by periodically removing data in RSPCLOGCHAIN,
RSPCPROCESSLOG, and table RSPCINSTANCET. This is done by using the RSPC_LOG_DELETE report after
you execute transaction code SE38 (Figure 10).
19
20
After this setup, you can then schedule the job to run periodically (Figure 12). This job proactively helps keep the
memory use of the SAP HANA system smaller than it would be if all these application logs were not periodically
cleaned.
21
22
Figure 15 Maintaining the Created On filter dynamically to archive all entries older than 30, 60, or 90 days
Then you simply give the job a description and schedule the job to run periodically. However, it is important to
note that your Basis team needs to periodically back up and delete the archiving file in the Directory folder. This is
typically done annually. The archive administration transaction transaction is also available in the Business Suite
on the SAP HANA system.
In addition to the jobs and programs outlined above, you should also consider periodic clean-up of obsolete IDocs
links. Links are written in the ALE and IDoc environments, resulting in entries in the IDOCREL and
SRRELROLES tables. The links are required for IDoc document trace and ALE audit monitoring.
You can delete links in IDC8 and IDCA regularly (they are not required after the IDocs are posted). To do this,
delete the links, execute transaction code SE38, and report RSRLDREL. Under the Selection mode, click Select
using relationship type. Create a variant for the link types IDC8 and IDCA and then, under the Deletion
Criterion, select Without existence check. Finally, as you did in Figure 13 (the regular IDoc removal), you can
now create a dynamic end date variable, and use transaction code SM36 to schedule the job to run periodically.
This helps you maintain a small SAP HANA system and keeps the SAP BW system much cleaner.
Furthermore, you can make the Request Administration data in SAP HANA smaller. While you should never delete
entries in theses tables, you can archive them and reload old entries if necessary. Before you start this, you should
make sure that the reports RSSTATMAN_CHECK_CONVERT_DTA and
RSSTATMAN_CHECK_CONVERT_PSA have been executed in the ABAP editor transaction (SE38) at least once
for all objects. You start by executing transaction code SARA and selecting the archiving object called
BWREQARCH. Schedule this to run to archive entries that are more than 90 days old (Figure 16).
23
when the data is not accessed, or data is not loaded). This process allows you to keep your SAP HANA memory
use smaller, while still having access to the data when needed.
Figure 18 Unload nonactive data from SAP HANA memory with RSHDBMON
Also, occasionally you need to clean up short dump table SNAP in SAP BW. To do this execute transaction code
ST22, and in the screen that appears, click the Goto button and select Reorganize from the list of options in the
drop-down menu (Figure 19). From here you can select the run time errors you want to remove. For example, in
Figure 20, we have selected to remove all errors older than 90 days. To execute the job, we simple select
reorganize again.
Figure 20: Selecting time period for which to delete records in the short dump table SNAP
25
Finally, from a SAP HANA monitoring standpoint you may want to ensure that the delta merge is performed
regularly. You can monitor this in the SAP HANA Admin perspective of Eclipse in SAP HANA studio (Figure 21).
From here you can see each table in the schema of every host and see if memory merges are happening.
Figure 21 Monitoring delta merge processing in SAP HANA using SAP HANA studio
Administrating SAP HANA on a daily basis is a very interesting challenge. There are many technical aspects from
hardware health, system connectivity, database performance, security, file management, backup, table
management, memory consumption, disk utilization, and much more.
It is therefore very important that you plan a structured support approach to SAP HANA and that tasks are
scheduled in as automated a fashion as possible. Using checklists assures that you are not surprised by activities
that could easily be addressed if they are monitored in a very organized fashion.
26