Cuando deseamos conectarnos por línea de comandos a una base de
datos HANA, deseemos hacerlo por los puertos que toca. Otro requisito básico es hacerlo con el usuario SIDadm.
A continuación dejo un pequeño
resumen de los puertos utilizados en estos casos, ya sea una base de datos
Single o Multitenant:
- Single DB system:
- port 3xx15 connects to the master index server SQL port, where 'xx' is the instance number
- Example:
- ./hdbsql -n HOSTNAME -d SystemDB
- ./hdbsql -n HOSTNAME:3xx15
- Multitenant DB system (MDC):
- Port 3xx13 connects to the SYSTEMDB SQL port
- Port 3xx41 connects to the 1st tenant database SQL port
- Port 3xx44 connects to the 2nd tenant database SQL port
- Example:
- ./hdbsql -n HOSTNAME -d SystemDB
- ./hdbsql -n HOSTNAME:3xx13
- ./hdbsql -n HOSTNAME -d Tenant1
- ./hdbsql -n HOSTNAME:3xx41
- When a Single DB is converted to an MDC system: port 3xx15 is kept for the converted tenant DB
Nota 2316463
No hay comentarios:
Publicar un comentario