TotalNET Advanced Server 5.2 Reference Manual

tnlicense

This command displays information about TAS licensed products. Use it to administer TotalNET licenses.

Location

TNHOME/usr/sbin

Usage

tnlicense [-h] [-l] [-d product] [-p product] [-k key] [-a key] [-m key]

Options

(no options) 

Display information about the licenses for all TAS realms. 

-h 

Display the system host ID of the TAS host. 

-l 

Display the product designations of installed licensed products. 

-d product

Delete the license for a product. 

-p product

Display the license attributes of a product. The designation for product should exactly match one of the designations output by the tnlicense -l command.

-k key

Verify and display the license information from the license keys, including the system ID, the product, the number of users, and the user and time limits. This allows you to examine an activation key before adding it to the TAS ID database. Enclose the key in quotes to prevent misinterpretation by the UNIX shell. 

-akey

Install the license for a new product, using the specified key. Enclose the key in quotes to prevent misinterpretation by the UNIX shell. 

-m key

Modify the license of an existing licensed product, using the specified key. Use this option for product upgrades. Enclose the key in quotes to prevent misinterpretation by the UNIX shell. 

Note

The TAS ID database resides in the TNID file in the TAS home directory.

Examples

  1. Use the following command to view license information for servers installed on this host, including, for each activation key, the system ID, product, number of users, and user and time limits:


    tnlicense
  2. Use the following command to view the unique identifier for the TAS host system:


    tnlicense -h
  3. Use the following command to list licensed products on this host:


    tnlicense -l
  4. Use the following command to delete the license information for TotalNET Client from the TotalNET ID database file:


    tnlicense -d "TotalNET Client"
  5. Use the following command to view TAS license information:


    tnlicense -p "TotalNET Advanced Server"
  6. Use the following command to display the license information of license key MeE)-Q65f-<YGA-iHQ>-bI>t-(P<<:


    tnlicense -k "MeE)-Q65f-<YGA-iHQ>-bI>t-(P<<"
  7. Use the following command to install the license QxE)-Q87a-GB<A-iHQ>-bI>t-(P<< for a new product:


    tnlicense -a "QxE)-Q87a-GB<A-iHQ>-bI>t-(P<<"
  8. Use the following command to upgrade to the license OcQ)-*56y-PU<X-aNT>-eI>w-(T<< for a new product:


    tnlicense -m "OcQ)-*56y-PU<X-aNT>-eI>w-(T<<"