Skip to Content

This post should give you an overview about the SAP HANA client software and the settings inside the hdbuserstore-container when you are using virtual hostnames for the SAP application server.

Presumed that the installation is done with the software provisioning manager.

To use virtual hostnames you have to add a parameter when you start:

/DVDs/IM_LINUX_X86_64/sapinst SAPINST_USE_HOSTNAME=<virtual hostname>

By using the parameter the <virtual hostname> will be used as server name:

sidadm>cdpro

sidadm>grep <virtual hostname> DEFAULT.PFL

SAPGLOBALHOST = <virtual hostname>

rdisp/mshost = <virtual hostname>

enque/serverhost = <virtual hostname>

Relating to SAP HANA two additional actions are done during the installation.

  1. The SAP HANA client software will be installed with the additional parameter –hostname=<virtual hostname>
    You can check the file HdbCmdOut.log for this:
    hdbinst_call.PNG
    By using the parameter a special file called installation.ini is created by hdbinst:
    installation_ini.PNG
  2. The hdbuserstore-container is created in a subdirectory named after the <virtual hostname>. For that the parameter -H <virtual hostname> is used.
    To see the call check file sapinst_dev.log:
    hdbuserstore_set.PNG
    To see the content of the hdbuserstore container logon as sidadm and run the follwoing command:
    hdbuserstore_list.PNG
    As you can see you also have to use the parameter -H <virtual hostname> to list the content of the hdbuserstore-container.

That means when the SAP kernel software loads the SAP HANA client software the content from file installation.ini is used to find the directory in the home directory of user sidadm to read the connection data from the hdbuserstore-container.

As the file installation.ini is unique there is a restriction to the SAP HANA client installation!
It is not possible to install the client software in the central directory of the SAP instance in case you are using the sapinst option SAPINST_USE_HOSTNAME

/wp-content/uploads/2015/01/error_central_installation_628230.png

You might also want to check Oss-note: 2120226 for further information.

To report this post you need to login first.

2 Comments

You must be Logged on to comment or reply to a post.

Leave a Reply