Sap Hana - Startup

Sap Hana Architecture

About

When SAP HANA starts up, the OS reserves memory.

Minimum services

In a multi-container system the connection to System DB happens through Nameserver which serves as SQL port.

How can I configure automatic executions of commands during startup?

For some reasons it can be useful to execute hdbcons commands as initial part of the SAP HANA startup, e.g. in order to activate specific traces. This can be achieved with the following daemon SAP HANA parameter setting:

daemon.ini -> [daemon] -> environment = 'HDB_INITIAL_COMMAND=<hdbcons_command>'

Special characters like comma have to be quoted with a backslash.

Example:

  • (activation of allocator stack trace for Pool/malloc/libhdbcstypes.so)
ALTER SYSTEM ALTER CONFIGURATION ('daemon.ini','SYSTEM') SET ('daemon', 'environment') = 'HDB_INITIAL_COMMAND=mm f Pool/malloc/libhdbcstypes.so as' WITH RECONFIGURE
  • (activation of memory fencing, SAP Note 2222276)
ALTER SYSTEM ALTER CONFIGURATION ('daemon.ini','SYSTEM') SET ('daemon', 'environment') = 'HDB_INITIAL_COMMAND=mm f Pool -rs ffence\,bfence\,areset\,dreset' WITH RECONFIGURE

Process

See SAP Hana - Services (Process)

Sap Hana Start Stop Process





Discover More
Sap Hana Memory
SAP Hana - Memory

When SAP HANA starts up, the OS reserves memory for the program code (sometimes called the text), the program stack, and static data. It then dynamically reserves additional data memory upon...



Share this page:
Follow us:
Task Runner