Problem

Versa Director license key expires after its subscription period.


Solution

You need to renew the Versa Director license key to work continuously on Versa Director.

These are the three steps to renew the Versa Director license key:

  1. Getting Node ID
  2. Requesting a License Key
  3. Applying for License Key


Getting Node ID

Nodeid file is used to generate the license key.

Follow this step to get nodeid file, after installing Versa Director on a host/node:

  • Case 1 : Versa Director is running
    Run request system gen-nodeid command.
    admin@vd> request system gen-nodeid  
    Written to /home/versa/keys/vsnodeid.vd
    [ok][2015-10-05 22:50:08]
  • Case 2: Versa Director is not running

    Run vsh get-nodeid command.

    admin@vd:~$ vsh get-nodeid
    Written to /home/versa/keys/vsnodeid.vd-rp-1


Requesting a License Key

Please open a support ticket and provide the above file that gets generated. Support will provide you with a License Key file. 


Applying the License Key

Follow these steps to get license key using the nodeid file:

  • Send nodeid file to Versa support team and request for the license Key. 
    The Support team generates a key-file for the corresponding Node ID.
  • Copy new versa key file to /home/admin path and Run vsh load-key /home/admin/vs-<hostname>.key command to install the key file on the same Versa Director used to generated the nodeid file.
    $ vsh load-key /home/admin/vs-<hostname>.key
    Key accepted

Caution: If the keys are placed directly in the folder /home/versa/keys, Versa Director services can stop running. Restart services to bring director up.



Checking License Key Status

Follow this step to check the key status:


  • Case 1: Versa Director is running
    Run show system trial-info command.
    admin@vd> show system trial-info  
    Mode: internal Active
    [ok][2015-10-05 22:47:34]


  • Case 2: Versa Director is not running
    Run /opt/versa/util/vstrial -S command.
    admin@vd:~$ /opt/versa/util/vstrial -S
    Mode: internal Active