Once an advanced (machine-specific) license key is installed to a production system, the license key is bound to the system and can't be installed again. If later you refresh the system, e.g., delete/uninstall TigerGraph and then install again, you need to generate the seed and ask for a new license key again.

However, if there are no hardware changes in the system, TigerGraph also allows you to backup the existing license data and restore it later. This will avoid the need for a new license key.


Below is an outline of the procedures to backup and restore license data.


Backup

  1. Download the attached "tg_lic_backup" script and upload it to your TigerGraph system, on the first machine in your cluster (normally named "m1").
  2. Make sure the system has a valid advanced license.  To check, when the system is online, run
    curl -X GET "localhost:9000/showlicenseinfo"

  3. In a TigerGraph terminal, run the command "tg_lic_backup  <filename>". Note that <filename> may not contain a path. This command will collect the license information and save it to <filename> under the current folder. E.g., assume the license data is to be saved to file "myProdLicBackup":
    chmod 755 tg_lic_backup
    ./tg_lic_backup  myProdLicBackup

  4. Save this file ("myProdLicBackup".) to a safe place.


Install

This is not part of the license retention process itself, but is assumed that the reason you need to restore the license key is that you are are re-installing the TigerGraph platform.  During the installation process, it will ask you for a license key. If you do not have a valid key (other than the one you backed up), the following dummy license key can be used to get through the installation process, but it will not actually allow you create a graph.

5e8aa37a3d61342a24e98d450eab0ee187a6f72dc0b6197d8f8036d1ccdb83ef1940742091

After installing the TigerGraph platform, restore the advanced license key, described next.


Restore

  1. Download the attached "tg_lic_restore" script and upload it to your TigerGraph system, on the first machine in your cluster (normally named "m1").
  2. Upload the license backup file ("myProdLicBackup") to m1.
  3. In a TigerGraph terminal, run the command "tg_lic_restore  <filename>". Note that <filename> may not contain a path. E.g., assume that license data was saved to the file "myProdLicBackup".
    chmod 755 tg_lic_restore
    ./tg_lic_restore  myProdLicBackup

  4. Check the installed license after the system has been restored and started:
    curl -X GET "localhost:9000/showlicenseinfo"