Table of Contents |
---|
License Warning on Startup
If you start Datical DB and a license is not installed, a warning is shown.
Click OK to dismiss the warning. You can proceed to work in the GUI, but you cannot connect to databases until you install a license.
Installing a License from the GUI
...
This guide describes the best practices for installing a license key via the GUI and the CLI. Learn how below.
Info |
---|
We recommend uninstalling old licenses before installing a new one. A user will not see a new license installed if it is still installed for a previous user. They will not see the new license installed until the original user uninstalls their license OR their license expires in less than 30 days in Liquibase Enterprise 8.8+. The CLI and GUI search for licenses in a particular order. For example, if you are in the CLI and a license is found at the CLI license search order
GUI license search order
|
Display license and license properties in the GUI
Follow these steps to find your license and license properties. The license properties include the license key install date, expiration date, and more details about the license.
- Open the Liquibase Enterprise GUI application.
- Select File > License Manager in the top left corner
- Select the type of license you have and click OK.
- In the popup dialog, select Display the installed license key and click Next.
- Your license properties will appear successfully.
- Click Finish to exit the dialog.
Manage and Install a license key in the GUI
Follow these steps to install a license successfully within the GUI. Windows supports all GUI options. If you are on a Linux machine, please use the CLI process below.
Uninstall a license in the GUI
Follow these steps to uninstall your license.
- Open the Liquibase Enterprise GUI application.
- Click File in top left corner.
- Click License Manager.
- Select the type of license you have and click OK.
- In the popup dialog, select Uninstall the installed license key and click Next.
- Click Uninstall license key.
- Click Finish to close the license management dialog.
The license is successfully uninstalled.
Install the license
Info |
---|
The previous steps should be executed again for each user that utilizes the same license. |
...
- Obtain a license file from Support and place it on the system where you are running an instance of Datical DBLiquibase Enterprise.
- Start Datical DB. Dismiss the license warning (click OK).
- In the GUI, choose File > License Manager. Select the type of license to install, then click Next.
- Choose (Re)Install a license key, the click Next.
Use the browser to choose the license file. - Click Install License Key.
- Click Finish.
Displaying a License Key in the GUI
You can display the license key installation date and expiration date, as well as details about the license.
...
- Open the Liquibase Enterprise GUI application.
Info If Liquibase does not have a license installed upon startup, a warning dialog will appear. License installation is required to connect a database.
Click OK to dismiss the warning and begin the installation process within the GUI. - Within the GUI, select File > License Manager in the top left corner.
- Select the type of license you have and click OK.
- In the popup dialog, select (Re-)Install a license key and click Next.
- Select the license from your files and click Install License Key. Click Next.
- Your license properties will appear.
- Click Finish to finish the installation process.
The license is successfully installed.
Info |
---|
The Install steps should be executed again for each user that utilizes the same license. |
Workaround for multiple users:
If it is not possible to do so, you can place the license file into one of the following folders to install the license via the GUI.
<install_folder>
(LiquibaseDesktop/DaticalDB)- enterprise folder - where projects are stored
- path to
<folder>/<license_file>
whereDATDB_LICENSE
env var is pointing
Manage and Install a license with the command line (CLI)
If you have the repl subdirectory of your Datical installation on your path, you can run these hammer commands from any directory. Or if you don't have it in your path, then you need to be in your "<Datical < Installation>/repl" directory to run these commands from the command line.
Display license and license properties in the CLI
- Find the location of your license file.
- Within the CLI, run the following command to display the license and license properties:
hammer show license
Uninstall all older licenses
- Before installing your new license, you
...
- must uninstall all older licenses from the CLI:
hammer uninstallLicense
The uninstall command will uninstall all of your
...
licenses.
...
It is important to note that if the same license is used by different users, the uninstall steps should be executed again for each desired user.
Install License
- Find the location of your license files.
...
- Run the following command to install your new license:
hammer installLicense <path_to_license_file>
...
hammer installLicense /opt/datical/license/<CompanyName>-<ExpirationDate>.lic
To check what license is currently installed run the following command:
hammer show license
Counting Licensed Objects
Datical DB is licensed by the number of DbDefs managed in a database object. The object licensed depends on the type of database.
- Oracle - per instance
- SQL Server - per database
- EDB Postgres - per database
- DB2 LUW - per database
License counting is a routine part of verifying the number of database connections (DbDefs) that you are managing, compared to the number that you are licensed to manage.
The license counter reports on the projects that are installed on a host by inspecting the project files.
When you run the license counter, specify a starting directory. It walks the file system from that point down and reports on all project files that are found in the hierarchy.
To count licenses, do the following:
...
Run the license counter. The output goes to stdout
, so provide a redirection to a file.
Code Block |
---|
Linux: hammer licenseCounter ~/datical > DaticalLicenseCount.txt
Windows: hammer.bat licenseCounter C:\Datical\Projects > DaticalLicenseCount.txt |
Inspect the license file to determine the number of licenses in use on the host. The following example shows the format of the report.
...
The license details will display in the terminal window.
It is important to note that if the same license is used by different users, the install steps should be executed again for each desired user.
Workaround for multiple users:
If it is not possible to do so, you can place the license file into one of the following folders to install the license via the CLI.
- <install_directory>/repl folder
- Path to
<folder>/<license_file>
whereDATDB_LICENSE
env var is pointing - Set up an automation job to install the license via the CLI
The license is installed successfully.
Troubleshooting
If you install a new license and you only have access to run CI/DC automation, you may see a license expired error. If this occurs, you can copy the license into the <install_directory>/repl folder or set up an automation job to install the license via the CLI.