Reccomended method of connecting to an SAP HANA tenant database

百般思念 提交于 2019-12-25 02:28:55

问题


I'm connecting to a SAP HANA tenant database. As I understand it, there are two ways to do this: first, I can specify <server hostname>:<tenant db sql port> for the SERVERNODE connection property. Second, I can specify <server hostname>:<system db sql port> for SERVERNODE and also include the DATABASE connection property set to <tenant db name>. It's recommended to use the second method because it makes operations like moving tenant dbs (i.e. changing sql ports) easier (see "SAP HANA Multitenant Database Containers Operations Guide" section 2.9 Connections for Multitenant Database Containers).

However, I found one instance where the DATABASE method resulted in not being able to make a connection while the other (non-recommended method) allowed me to connect -- when connecting to a HANA server running on an Azure VM. When I try to just provide the hostname and database name in HANA Studio I can't connect, but when I just provide the hostname:port number (and omit the DATABASE property) I can connect using ODBC Test. Interestingly, if I attempt to connect from another Azure VM I can connect using the DATABASE connection property. Any idea what's going on?

来源:https://stackoverflow.com/questions/51562029/reccomended-method-of-connecting-to-an-sap-hana-tenant-database

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!