Skip to main content
Version: v22.0

Private Activation Server Quick Start Guide for Linux

Private Activation Server

DH2i Private Activation Server (DxPAS) offers you the volume licensing capability through implementation of your own dedicated private licensing server. Your administrator sets up this server to access and use private volume licenses. Once configured, the Private Activation Server can then serve the license to multiple local DxEnterprise computers. Private Activation Server and local computers do not need to sign in to DH2i Activation Portal to activate and acquire proper license answer files.

DH2i Private Activation Server uses a client-server model to active clients. Local DxEnterprise computers connect to the Private Activation Server for all activation needs. The Private Activation Server and local DxEnterprise computers all reside on your local network.

Install DxPAS

Contact DH2i to acquire a valid DxPAS package for your environment.

  • RedHat

    sudo rpm -Uvh dxpas*.rpm
  • Ubuntu

    sudo dpkg -i dxpas*.deb

Configure DxPAS

Before the Private Activation Server can serve local DxEnterprise servers, it must be authorized by DH2i. Follow the below steps to generate a license request, and acquire the license answer file for the Private Activation Server.

  • At a terminal window, change directory to DxPAS

    cd /opt/dh2i/dxpas
  • Login to the DxPAS server

    sudo ./DxLicenseSvc login <account> <password>

Parameters

NameDescriptionRequired
accountThe account name. Default is admin.True
passwordThe password. Default is admin.True
  • Change default admin password

    sudo ./DxLicenseSvc change-password <account> <old_pass> <new_pass>

Parameters

NameDescriptionRequired
accountThe account name. Default is admin.True
old_passThe old password. Default is admin.True
new_passThe new password.True
  • (Optional) Disable web admin access

    sudo ./DxLicenseSvc lock-account <account>

Parameters

NameDescriptionRequired
accountThe account name. Default is admin.True
  • Generate a license request. The license request blob is displayed after the command execution. Copy and send this to DH2i so that a license answer can be created for the Private Activation Server. A copy of the license request blob is saved to /etc/dh2i/license.lcr file which can be sent to DH2i instead.

    sudo ./DxLicenseSvc get-license-request
  • Once the license answer blob is received from DH2i, execute the following command to apply it.

    sudo ./DxLicenseSvc set-license <license_answer_blob>|<license_answer_file>
  • Confirm if the Private Activation Server is properly licensed.

    sudo ./DxLicenseSvc get-license

The Private Activation Server is now ready to serve local DxEnterprise computers on your network.

Activate Local Computer(s) with DxPAS

To activate local DxEnterprise computers with the Private Activation Server, follow the steps below.

  • At a terminal window on the local DxEnterprise computer:

    sudo dxcli activate-server-ex <pas> <key> [node]

Parameters

NameDescriptionRequired
pasThe IP address or name of the Private Activation Server.True
keyThe license key.True
nodeThe name of the node (comma-separated list for multiples).False

Deactivate Local Computer(s) with DxPAS

To deactivate local DxEnterprise computers with the Private Activation Server, follow the steps below.

  • At a terminal window on the local DxEnterprise computer:

    sudo dxcli deactivate-server-ex <pas> [node]

Parameters

NameDescriptionRequired
pasThe IP address or name of the Private Activation Server.True
keyThe license key.True
nodeThe name of the node (comma-separated list for multiples).False

References