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:
- (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