Illustrating the Resident HDBLCM

Objective

After completing this lesson, you will be able to identify the resident HDBLCM functions

The Resident HDBLCM User Interfaces

Resident HDBLCM via the Command-Line Interface

The command-line version of the resident HDBLCM tool can be used if you do not have a graphical user interface installed on your Linux server. To start the resident HDBLCM command-line variant, connect to the SAP HANA server using ssh and change to the hdblcm directory using the following command:

Code Snippet
12
cd /hana/shared/<SID>/hdblcm ./hdblcm

The possible available actions are listed, and the number shown depends on the operating system user account used for authentication: root, or <sid>adm.

Hint

The available actions in the resident HDBLCM tool are based on the authenticated OS user - example:

The actions rename_system or unregister_system are only available when the operating system user root is used for authentication.

Resident HDBLCM via the Graphical User Interface

The graphical user interface version of the resident HDBLCM can be used if you have a graphical user interface installed on your Linux server. To start the resident HDBLCM graphical variant, connect to the SAP HANA server using the graphical desktop. There are many options to connect to the X Window System; you can use VNC, tunnel X Window over ssh, or even use Remote Desktop via Xrdp. Use the file explorer to change to the hdblcm directory /hana/shared/<SID>/hdblcm and start the hdblcmgui application.

Resident HDBLCM via the Web User Interface

The SAP HANA database lifecycle manager (HDBLCM) can be accessed as a Web user interface using an HTML5-compatible browser.

As a prerequisite for using the Web user interface for HDBLCM, the communication port 1129 (SSL/TLS) has to be open.

Several browsers are supported when the Web user interface should be used. The following Web browsers are supported:

  • Google Chrome – Latest version

  • Microsoft Edge

  • Mozilla Firefox – Latest version and Extended Support Release; on SUSE Linux with XULRunner 10.0.4 ESR

  • Safari 5.1 or higher on Mac OS

You have two options to start the Web interface, depending on whether you use the SAP HANA cockpit or a browser.

In the SAP HANA cockpit, open the Database Overview screen of your system and scroll down to the Platform Lifecycle Management card. There, you will find links to the functions of the resident HDBLCM.

Start the SAP HANA database lifecycle manager (hdblcmweb) Web user interface directly via the SAP Host Agent, which is installed on the SAP HANA host. To access the Web user interface, in the browser, open the URL: https://<hostname>:1129/lmsl/HDBLCM/<SID>/index.html.

Caution

Do not start hdblcmweb manually. It is started automatically by the SAP Host Agent.

Working with the Resident HDBLCM Tool

As an SAP HANA database administrator, you perform many complex tasks, like renaming an SAP HANA system or installing additional components to an SAP HANA system. These complex system administration tasks can be streamlined with the resident SAP HANA lifecycle manager (HDBLCM) tool. In SAP HANA 2.0, the resident HDBLCM tool helps you to perform the following tasks using a simple procedure:

  • Add or remove host roles

    Change, add or remove host roles (for example worker, standby).

  • Add Hosts to the SAP HANA Database System

    There are various use cases. For example, to convert a single-host SAP HANA system to a multi-host system or to up (or even down) scale an already existing scaled-out system any further.

  • Configure the Inter-Service Communication in a scale-out environment

    Configure the network interface if needed.

  • Configure System Landscape Directory (SLD) Registration

    When an SAP HANA system is connected to the SLD, it can report its status and provide details and information about the system itself.

  • Rename SAP HANA Database System

    With a rename some generic parameters can be changed, like the <SID> and/or the <instance_no>.

  • Uninstall SAP HANA Database Components

    De-install additional components or a complete SAP HANA system.

  • Unregister the SAP HANA Database System

    It may become necessary to move the SAP HANA system to different hardware. This is called a relocation. After having unregistered the SAP HANA system, a re-register (register_rename) is needed.

  • Update the SAP HANA Database System

    Apply a new revision to an SAP HANA system. For details see former lesson Updating SAP HANA

  • Install or Update Additional Components

    With this integrated function additional components can be installed or updated.

When you start the resident HDBLCMGUI from the /hana/shared/<SID>/hdblcm directory, a graphical interface appears. You can also perform the same functions with the non-graphical resident HDBLCM tool.

Add or Remove Host Roles

The Add Host Roles and Remove Host Roles options allow you to specify additional roles for existing SAP HANA hosts during the SAP HANA option installation. Multiple host roles are not supported in production environments, but they can be useful in development and QA systems to keep the system landscape size under control. If an SAP HANA extended application services advanced (XSA) runtime is installed, hosts can share multiple roles.

Add Hosts to an SAP HANA Database System

If you want to increase the SAP HANA database size, you can add additional hosts to the system in a process called scale-out. This lets you increase the memory size and the number of CPUs in the SAP HANA system by adding hosts. You can specify the list of server and roles (worker or standby) to add with the resident HDBLCM tool. The installation and configuration is automatically performed by the resident HDBLCM tool.

Configure the Inter-Service Communication Settings

With this option, you can specify which network interface SAP HANA uses for internal network communication. The following options are available:

  • Global: Binds the processes to all interfaces.

  • Internal: Binds the processes to this address only, and to all local host interfaces.

  • Local: Opens the communication ports for internal usage on the local interfaces. This configuration is only an option for single installations because the server is not accessible from outside.

The global and local options do not require an internal network address entry. The internal option requires an internal network address entry.

System Landscape Directory Registration (SLD) Configuration

If you have SAP Solution Manager, you can use it to update your SAP HANA system like other SAP systems in your landscape. Register your SAP HANA system using the System Landscape Directory (SLD).

After you perform this configuration, the SAP HANA database automatically updates the SLD information on a regular basis to keep it current. This data can be used by the SAP Solution Manager to calculate update paths for your SAP HANA system.

Uninstall SAP HANA Database Components

With the resident HDBLCM, you can uninstall the complete SAP HANA database system or uninstall individual SAP HANA database system components. The following types of components can be managed:

  • SAP HANA mandatory components (SAP HANA server and client)

  • SAP HANA additional components (like SAP HANA Application Function Libraries, SAP HANA Local Secure Store, and SAP HANA smart data access)

  • SAP HANA options (like SAP HANA Accelerator for SAP ASE or SAP HANA smart data streaming)

Relocation of SAP HANA

When an SAP HANA database runs out of memory storage, increase the memory of that SAP HANA system. This can be done by scale-out or scale-up. In the scale-up scenario, replace your current SAP HANA host with a new, larger host. To replace the smaller host with a larger host, unregister the smaller server from the SAP HANA database system. The larger host can be registered to the SAP HANA database system with the rename option in the resident HDBLCM tool.

In this way, the complete SAP HANA system or an individual instance (node or host) can be moved.

Every part is realized with different steps. To initialize this task, use the resident HDBLCMGUI, or the command-line tool. This is an easy way to relocate your current SAP HANA system onto new hosts without the use of reinstall or backup and restore mechanisms.

The steps for scenario unregister are as follows:

  1. Log on to the source host
  2. Navigate to the resident HDBLCM tool directory
  3. Execute:
    Code Snippet
    1
    hdblcm --action=unregister_system

Unregister the SAP HANA Database System

Example Scenario: Register

The steps to register the new host are as follows:

  1. Log on to the target host and mount the shared area
  2. Execute:
    Code Snippet
    1
    hdblcm –action=register_rename_system
  3. Execute the host mapping

Renaming an SAP HANA Database

An SAP HANA system can be renamed by changing the system identifiers, such as host names, <SID>, and instance number. You can change system identifiers with the HDBLCM tool.

The rename function can also be used independently from the formerly discussed scenario unregister and register rename.

Install or Update Additional Components

Once the SAP HANA database system is installed, you can easily add additional components to the system. This can even be done after the SAP HANA database has been upgraded to a higher Support Package Stack (SPS) or version.

To install or update SAP HANA components, first check that you have downloaded the components you want from the SAP Support Portal (https://support.sap.com). The component version must match the SAP HANA database version.

After you have unpacked the component, start the resident HDBLCM tool and point it to the download location. The directory is searched, and any found components are shown as options that can be installed or updated.

Additional Features for the Resident HDBLCM Tool

You might experience that SAP delivers from time to time, new or enhanced features with new Support Package Stacks. This also applies to the resident HDBLCM tool. The command-line version can have more features than the graphical version, and can also be used in scripts to automate recurring system administration tasks.

Log in to track your progress & complete quizzes