Table of Contents

Sap Hana - Startup

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.

Mode Standalone Multi-tenant configuration
Sap Hana - nameserver service (Topology) Yes Yes
Sap Hana - preprocessor Service (Text, NLP) Yes Yes
SAP Hana - Indexserver service Yes No

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:

ALTER SYSTEM ALTER CONFIGURATION ('daemon.ini','SYSTEM') SET ('daemon', 'environment') = 'HDB_INITIAL_COMMAND=mm f Pool/malloc/libhdbcstypes.so as' WITH RECONFIGURE
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