2690863 - Howto install HANA license by OS commands hdbsql
You need to use OS commands to access the HANA Database and manage the license.
Because there‘s no HANA Studio or HANA Cockpit available to manage the license for some reason.
For single container system, you can follow below steps to install the license directly.
While for MDC system, you have to decide where the license needs to be installed. Generally, install system level license, you need to connect to system database.
And for tenant level license, you can connect to the specific tenant database to perform below steps.
> hdbsql -n <hostname>:3<instance no.>15 -i <instance no.> -u <DB username> -p <password>
> hdbsql -n <hostname>:3<instance no.>13 -i <instance no.> -u <DB username> -p <password>
> hdbsql -n <hostname>:3<instance no.><tenant SQL port> -i <instance no.> -u <DB username> -p <password>
hdbsql <DB name>=> \mu
SET SYSTEM LICENSE ‘<license file content>‘
Please note to add quotation mark outside the content of the license file you just downloaded.
hdbsql <DB name>=> \g
See below screenshot for details:
Remarks:
Install the new license via hdbsql cannot replace the old license. Please consider to delete the old license key before installing the new one.
You can also delete license keys by executing the SQL statement UNSET SYSTEM LICENSE ALL.
2311999 - Permanent license import failed via HDBSQL
License; HANA license; license key; hdbsql; OS command; SET SYSTEM LICENSE;
Howto install HANA license by OS commands hdbsql
原文:https://www.cnblogs.com/weikui/p/13340688.html