SAP HANA Dynamic Tiering Installation Document

SAP HANA Dynamic Tiering is a tool used to move data between in-memory (“hot”) and disk storage (“warm”) in a HANA landscape. Information that needs to be queried frequently is kept as hot data, while information that is rarely accessed is stored in extended tables as warm data. This decreases the cost and memory footprint of the SAP HANA cloud without sacrificing performance.

Dynamic Tiering Landscape Setup:

Dynamic Tiering feature [SAP HANA Extended Storage feature] is supported in since HANA SP09.

This blog is about My Experience on Dynamic Tiering Setup. This blog will helpful for you to make the Dynamic Tiering setup in your landscape.

I have two Linux Hosts [I named as LinuxHost1, LinuxHost2] with same configuration and same root user and password.

HANA Server will be installed on LinuxHost1 and ES Server will be installed on LinuxHost2.
Both the components cannot be installed on same Linux machine.
Shared File systems:
The following file systems in the two Linux hosts should have shared persistence.
[I am going to Install HANA System with SID: HDT]

  1. /hana/shared
  2. /hana/data/HDT
  3. /hana/log/HDT
  4. /hana/data_es/HDT
  5. /hana/log_es/HDT

Installation Parameters:

I install HANS System using batch file. [Batch file is stored in LinuxHost1] [File Format *.cfg]
The following Parameters, especially we have to mention for Dynamic Tiering Setup.

1. addhosts:
We have to mention the details of LinuxHost2 and its role.

SAP HANA, SAP
2. Component_dirs:
In Component_dirs parameter,
we have to mention location of HANA DB server Installation File package and HANA Option (Dynamic Tiering) Installation File package.
The format is Component_dirs = <HANA_Installation_Path>, <HANA_Option_Installation_path> comma separates both the installation packages.
SAP HANA, SAP Certifications
I tell how to find out the location of installation package:
We have to choose the folder path where we have manifest file:
<Component_dirs>: Location of <HANA_Installation_Package>:
 
HANA, Dynamic-Tiering
 
<Component_dirs>: Location of <HANA_Option_DynamicTiering_Path>
 
SAP HANA, SAP
So these two folder paths have been mentioned in <component_dirs> parameter
3. Other Required Parameters:
Then we have to mention all other required parameters in the batch file (cfg file) like SID, Instance Number, DB_Mode (Single Container), sapadm password, system administrator (<SID>adm) password, system_user_password, user_id, group_id, sapmnt path, data path and log path.
Installation Process:
Once Configuration file is ready, we have to start Installation using hdblcm with configuration file.
During Installation Process, To be Installed Components will be listed.
Components are
  1. Server (SAP HANA DB)
  2. ES (Dynamic Tiering).
Select the option all, which will install HANA Server in LinuxHost1 and Dynamic Tiering setup [ES Server] in LinuxHost2.
SAP Certifications
Installation Process will be started.
SAP Certifications, SAP HANA
LinuxHost2 will become additional host and will act as Extended Storage Server.
Once Installation Process Completed, HANA Server is installed in LinuxHost1 and Dynamic Tiering setup [ES Server] is installed in LinuxHost2.
List of Process:
Once Installation Completed Successfully, I am going to check the running process in two Hosts.
Linux Host1: (HANA DB)
 
SAP Material, SAP HANA
Name server, preprocessor, compile server, index server, statistics server, xs engine are running in Linux server1.
Linux server2: (ES)
 
SAP HANA
Name server and ES server are running in Linux server 2.
Studio:
I am Connecting HDT System from the Studio. It will display list of servers from Both the Hosts.
SAP Certifications, SAP Material
How to Make Dynamic Tiering is running:
After Installation completed, If we check the system, We can see the Information that Dynamic Tiering is Installed But not running.
Execute the query,
SELECT * from M_SERVICES
SAP HANA Certifications, SAP HANA
Co-ordinater Type for esserver is NONE.
So Dynamic Tiering is Installed But not running. How can we make Dynamic Tiering is running?
Create Extended Storage in LinuxHost2:
To make Dynamic Tiering is running, we have to create Extended Storage in LinuxHost2.
Execute the following SQL Query in HDT System.
CREATE EXTENDED STORAGE AT ‘<full_host_name_of_Linuxhost2>’size 10 GB ENABLE DELTA
Now check M_Services:
SAP Material
Now Co-coordinator Type for esserver is MASTER and Dynamic Tiering is running
SAP HANA, SAP ,SAP Material
Extended Storage Table Creation:
We have to use <EXTENED STORAGE> Clause in SQL Query to create Extended Storage Table.
SQL Query:
CREATE TABLE “SHANMUGAVEL”.t2(A INT, B INT NULL, C INT NOT NULL) USING EXTENDED STORAGE;
Extended Storage Table T2 is created.
 
SAP HANA, SAP
 
Insert:
Now I am inserting the data to Extended Storage Table and It will be stored in Extended storage
Insert into “SHANMUGAVEL”.”T2″ values (1, 1, 1)
Select:
I am checking Data Preview from Extended Storage Table.
SAP-db, SAP Material
SAP HANA Dynamic Tiering Installation Document

Leave a Reply

Your email address will not be published. Required fields are marked *