Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Set CockroachDB License Key

Pextra CloudEnvironment®’s highly-scalable private cloud is built on CockroachDB’s distributed architecture. One license per complete deployment (spanning all datacenters, clusters, and nodes) is required.

warning

Pextra CloudEnvironment® will not be functional after one week (7 days) without a valid CockroachDB license key.

tip

CockroachDB license keys can be obtained from cockroachlabs.cloud.

Console

  1. Access the node’s console through SSH or through the “Console” tab in the node view.

  2. First, enter the CockroachDB console by running the following command:

    sudo cockroach sql --certs-dir=/usr/local/lib/cockroach/certs -u pextra_ce_pcedaemon
    
  3. Set the license key by running the following command in the CockroachDB console:

    SET CLUSTER SETTING enterprise.license = '<license key here>';
    
  4. To exit the CockroachDB console, click CTRL+C.

For more information, visit the CockroachDB licensing FAQs.