Troubleshooting SAP HANA

Objectives

After completing this lesson, you will be able to:
  • Define the role of SAP HANA cockpit in monitoring and troubleshooting SAP HANA
  • Describe how an SAP System Administrator troubleshoots SAP HANA problems, including how to detect, diagnose, and resolve them

Troubleshooting SAP HANA

Introduction

If a problem occurs with SAP HANA, it can impact the applications running on the database, the stored data, and the users attempting to access it. SAP HANA has tools and techniques to detect, diagnose, and resolve problems.

As an SAP System Administrator, it is your responsibility to take care of these problems.

SAP HANA Cockpit

SAP HANA cockpit is an SAP application used to administer an SAP HANA database.

You can download SAP HANA cockpit from SAP and install it on a computer. Then, you can connect it to multiple SAP HANA databases.

As an SAP HANA System Administrator, you can then use the SAP HANA cockpit to monitor and troubleshoot each SAP HANA database.

Problem Detection and Resolution

Problem Detection

You can detect problems that occur in SAP HANA in several ways. The best method is to use the alerting system.

An SAP HANA database has an internal process that collects statistics and checks alerts. If an error occurs, it can display the error in the SAP HANA cockpit and send a message to the System Administrators. The System Administrator can then examine the error.

As an SAP System Administrator, you should be prepared to react to these notifications as quickly as possible.

Diagnosis

The cause of the problem may be obvious. If not, the System Administrator can use the SAP HANA cockpit monitoring tools to examine the database. These tools monitor:

  • Host resources (memory, CPU, disk, and so on)
  • Database resource usage
  • Process execution
  • Security issues
  • System performance
  • Other database concerns

If this information is insufficient to diagnose the problem, you can check the trace files in the SAP HANA cockpit. Various trace files in SAP HANA display specific aspects of the database processes.

You can upload these trace files to SAP Support for further examination if necessary.

Other Tools

You can also use other tools to examine process execution, check system configuration, validate table data, and so on.

Some of these tools are delivered with SAP HANA. Others can be downloaded from SAP Support.

As a System Administrator, we recommend keeping in touch with application users to learn about any additional symptoms of the problem.

Resolution

Only after you understand the problem can you proceed to solve it. The resolution usually includes:

  1. Fixing the specific issue
  2. Re-running any failed processes
  3. Informing the users that the system is functional again
  4. Documenting the problem and considering methods of avoiding it in the future

Examples

The resolution of a problem depends on the nature of the problem. The following are some examples of fixing an issue in SAP HANA.

ProblemResolution

Database crashed

Start it back up again. See if it now runs normally.

A process has failed

Restart it, either from the beginning or from the failed step. See if it completes.

A database table is corrupted

Use database tools to repair the damage

Or rescue the data by copying it to another table or an external file.

The database has been damaged

Restore the database from a backup.

An error in the system

Apply an SAP update to the database or the application.

Summary

You've learned how a System Administrator would apply troubleshooting techniques to resolve problems in SAP HANA.

Also, you've been exposed to tools such as SAP HANA cockpit and SAP HANA trace files for detecting, diagnosing, and resolving errors.

Log in to track your progress & complete quizzes