License Server

To run the Pro version of SonicBase, you must run a license server. That license server must be reachable from all your database servers and it must be able to reach SonicBase.com on port 443. There is one license server for all your clusters.

You may only have one license server per account.

Account Key

You must obtain your account key from the licenses page on sonicbase.com. This is the page that loads after you login. Make sure you keep the key private. Save the account key to the following file on the machine that hosts the license server:

<installDir>/keys/sonicbase-account-key.

Configuration

To configure the license server, you must create a file named "config-license-server.json" in the config directory. Below is an example of the contents of the config file.

{
    "installDirectory": "$HOME/sonicbase",
    "user": "ubuntu",
    "server": {
        "publicAddress": "localhost",
        "privateAddress": "localhost",
        "port": 8443
    }
}

Commands

Deploy License Server

From the administration client, type "deploy license server" to deploy code to the license server. Note that this isn't available in Windows.

Start License Server

From the administration client, type "start license server" to start the license server.

Stop License Server

From the administration client, type "stop license server" to stop the license server.

Describe Licenses

To see what licenses are recognized for your installation, type "describe licenses".

If you purchase additional licenses, they will not show up immediately for your clusters because the cluster polls the main license server every hour. You will need to restart the license server for changes to take affect.