<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Where does saphostctrl get path to hdbuserstore? in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/where-does-saphostctrl-get-path-to-hdbuserstore/qaa-p/12385108#M4635122</link>
    <description>&lt;P&gt;Hi Jens,&lt;/P&gt;&lt;P&gt;all commands you named show identical outputs. I tried an strace and checked all the configfiles the command opens - again no difference between the two systems.&lt;/P&gt;&lt;P&gt;Regards, Günther&lt;/P&gt;</description>
    <pubDate>Fri, 19 Mar 2021 14:15:20 GMT</pubDate>
    <dc:creator>former_member284597</dc:creator>
    <dc:date>2021-03-19T14:15:20Z</dc:date>
    <item>
      <title>Where does saphostctrl get path to hdbuserstore?</title>
      <link>https://community.sap.com/t5/technology-q-a/where-does-saphostctrl-get-path-to-hdbuserstore/qaq-p/12385103</link>
      <description>&lt;P&gt;Does anybody know, where saphostcontrol takes the path to the hdbuserstore File SSFS_HDB.DAT?&lt;/P&gt;
  &lt;P&gt;I have two identically installed+configured systems. &lt;/P&gt;
  &lt;P&gt;On one System the command&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;/usr/sap/hostctrl/exe/saphostctrl -function GetDatabaseSystemStatus -dbname SYSTEMDB@&amp;lt;SID&amp;gt; -dbtype hdb&lt;/EM&gt; &lt;/P&gt;
  &lt;P&gt;uses the hdbuserstore in /home/sidadm/.hdb/ &lt;STRONG&gt;&amp;lt;physicalhostname&amp;gt;&lt;/STRONG&gt;/SSFS_HDB.DAT and one uses the userstore in /home/sidadm/.hdb/&lt;STRONG&gt;&amp;lt;virtualhostname&amp;gt;&lt;/STRONG&gt;/SSFS_HDB.DAT&lt;/P&gt;
  &lt;P&gt;Where do I have to look for a possible difference in Config?&lt;/P&gt;
  &lt;P&gt;regards,&lt;/P&gt;
  &lt;P&gt;Günther&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 15:43:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/where-does-saphostctrl-get-path-to-hdbuserstore/qaq-p/12385103</guid>
      <dc:creator>former_member284597</dc:creator>
      <dc:date>2021-02-26T15:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: Where does saphostctrl get path to hdbuserstore?</title>
      <link>https://community.sap.com/t5/technology-q-a/where-does-saphostctrl-get-path-to-hdbuserstore/qaa-p/12385104#M4635118</link>
      <description>&lt;P&gt;Hello Günther,&lt;/P&gt;&lt;P&gt;the environment is the reason for this behaviour. Just check the &lt;A href="https://help.sap.com/viewer/b3ee5778bc2e4a089d3299b82ec762a7/2.0.05/en-US/dd95ac9dbb571014a7d7f0234d762fdb.html" target="_blank"&gt;documentation&lt;/A&gt; for details.&lt;/P&gt;&lt;P&gt;'Use the HDB_USE_IDENT environment variable to store your hdbuserstore in one environment so
that users on all hosts can connect to the SAP HANA database using the same secure
store information.'&lt;/P&gt;&lt;P&gt;If you have nothing defined the default is used =&amp;gt; VTHOSTNAME. You can use different keys using the hdbuserstore -H &amp;lt;HOST&amp;gt; option&lt;/P&gt;&lt;P&gt;Check with user sidadm this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;cdhdb

grep VTHOSTNAME hdbenv*&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The result is the defined environment of your HANA installation. The dbhostname is defined during the installation and can be changed via hdblcm and the rename option. Please note the possible changes to firewall rules, routing, network caching etc. can create possible side effects.&lt;/P&gt;&lt;P&gt;So, I don't believe that the systems configured identically.&lt;/P&gt;&lt;P&gt;Just check this commands:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;chdhost

pwd

echo VTHOSTNAME&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jens&lt;/P&gt;</description>
      <pubDate>Sun, 28 Feb 2021 16:58:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/where-does-saphostctrl-get-path-to-hdbuserstore/qaa-p/12385104#M4635118</guid>
      <dc:creator>jgleichmann</dc:creator>
      <dc:date>2021-02-28T16:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: Where does saphostctrl get path to hdbuserstore?</title>
      <link>https://community.sap.com/t5/technology-q-a/where-does-saphostctrl-get-path-to-hdbuserstore/qaa-p/12385105#M4635119</link>
      <description>&lt;P&gt;Hi Jens, &lt;/P&gt;&lt;P&gt;thank you for your answer. You might be right, that the systems are not identically configured. But i can not find the difference. That's the reason for my question. I already compared User Environment in home/sidadm , SAP Profiles, sapprofile.ini.... - no difference.&lt;/P&gt;&lt;P&gt;Concerning documentation: $HDB_USE_IDENT is not set; the flag -H was not used when installing Database or Clients nor when setting hdbuserstore Keys. When I execute echo $VTHOSTNAME it shows the virtual Hostname on both systems.&lt;/P&gt;&lt;P&gt;I am still curious where the saphostctrl takes its knowledge where to find the hdbuserstore.&lt;/P&gt;&lt;P&gt;Any other hints welcome.&lt;/P&gt;&lt;P&gt;Regards, Günther&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 10:21:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/where-does-saphostctrl-get-path-to-hdbuserstore/qaa-p/12385105#M4635119</guid>
      <dc:creator>former_member284597</dc:creator>
      <dc:date>2021-03-01T10:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: Where does saphostctrl get path to hdbuserstore?</title>
      <link>https://community.sap.com/t5/technology-q-a/where-does-saphostctrl-get-path-to-hdbuserstore/qaa-p/12385106#M4635120</link>
      <description>&lt;P&gt;Hi Günter,&lt;/P&gt;&lt;P&gt;have you already compared the output of the following commands:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;'sapcontrol -nr &amp;lt;xx&amp;gt; -function GetEnvironment' executed as &amp;lt;sapsid&amp;gt;adm

'ls -ltRa /var/opt/.hdb/'

cat /usr/sap/services&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;It's pretty hard to find out because I don't know how you setup your systems. Have you already tried to strace your OS command call?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jens&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 12:42:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/where-does-saphostctrl-get-path-to-hdbuserstore/qaa-p/12385106#M4635120</guid>
      <dc:creator>jgleichmann</dc:creator>
      <dc:date>2021-03-01T12:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: Where does saphostctrl get path to hdbuserstore?</title>
      <link>https://community.sap.com/t5/technology-q-a/where-does-saphostctrl-get-path-to-hdbuserstore/qaa-p/12385107#M4635121</link>
      <description>&lt;P&gt;Update: check you HostAgent version and note &lt;A href="https://launchpad.support.sap.com/#/notes/2023587"&gt;2023587&lt;/A&gt; may be it depends on how you have setup your DBs with saphostctrl&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 12:46:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/where-does-saphostctrl-get-path-to-hdbuserstore/qaa-p/12385107#M4635121</guid>
      <dc:creator>jgleichmann</dc:creator>
      <dc:date>2021-03-01T12:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Where does saphostctrl get path to hdbuserstore?</title>
      <link>https://community.sap.com/t5/technology-q-a/where-does-saphostctrl-get-path-to-hdbuserstore/qaa-p/12385108#M4635122</link>
      <description>&lt;P&gt;Hi Jens,&lt;/P&gt;&lt;P&gt;all commands you named show identical outputs. I tried an strace and checked all the configfiles the command opens - again no difference between the two systems.&lt;/P&gt;&lt;P&gt;Regards, Günther&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 14:15:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/where-does-saphostctrl-get-path-to-hdbuserstore/qaa-p/12385108#M4635122</guid>
      <dc:creator>former_member284597</dc:creator>
      <dc:date>2021-03-19T14:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Where does saphostctrl get path to hdbuserstore?</title>
      <link>https://community.sap.com/t5/technology-q-a/where-does-saphostctrl-get-path-to-hdbuserstore/qaa-p/12385109#M4635123</link>
      <description>&lt;P&gt;Just reset your SAPDBCTRL setup.&lt;/P&gt;&lt;P&gt;Delete/clear:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;saphostctrl -host &amp;lt;database_host_name&amp;gt; -user &amp;lt;user_name&amp;gt; 
&amp;lt;password&amp;gt; -dbname &amp;lt;TENANT-NAME&amp;gt;@&amp;lt;SID&amp;gt; -dbinstance 
HDB&amp;lt;instance_number&amp;gt; -dbtype hdb -function SetDatabaseProperty 
DBCredentials=CLEAR&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Set it new with the correct server name:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;saphostctrl -host &amp;lt;database_host_name&amp;gt; -user &amp;lt;user_name&amp;gt; 
&amp;lt;password&amp;gt; -dbname &amp;lt;TENANT-NAME&amp;gt;@&amp;lt;SID&amp;gt; -dbinstance 
HDB&amp;lt;instance_number&amp;gt; -dbtype hdb -dbuser &amp;lt;DBuser&amp;gt; -dbpass 
&amp;lt;DBpassword&amp;gt; -function SetDatabaseProperty DBCredentials=SET 
-dboption User=&amp;lt;dbuser&amp;gt; -dboption Password=&amp;lt;dbpassword&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 22 Mar 2021 09:30:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/where-does-saphostctrl-get-path-to-hdbuserstore/qaa-p/12385109#M4635123</guid>
      <dc:creator>jgleichmann</dc:creator>
      <dc:date>2021-03-22T09:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Where does saphostctrl get path to hdbuserstore?</title>
      <link>https://community.sap.com/t5/technology-q-a/where-does-saphostctrl-get-path-to-hdbuserstore/qaa-p/12385110#M4635124</link>
      <description>&lt;P&gt;Hi, I found already a solution.&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Günther&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2022 14:45:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/where-does-saphostctrl-get-path-to-hdbuserstore/qaa-p/12385110#M4635124</guid>
      <dc:creator>former_member284597</dc:creator>
      <dc:date>2022-03-31T14:45:48Z</dc:date>
    </item>
  </channel>
</rss>

