How to activate NX 3.5.0 subscriptions using the license keys that were emailed to me

Added on: 2009-01-22 Last Modified: 2013-10-10
ID: AR01G00522 Applies To: NX Licensing


NX Subscription Activation

You will have received two license keys in an attachment in order for you to activate your subscription. Please follow the steps below which explain how to proceed with the correct installation of each of the files:

Install NX Node if you didn't already do so. When installing the NX Node package make sure you install beforehand the prerequisite NX Client package.

Install NX Server if you didn't already do so. When installing the NX Server  package  please make sure you install beforehand the prerequisite NX Node package.

Run a root shell prompt on the machine which hosts NX Node and NX Server to execute commands as listed below.

If you are setting-up a multi-node environment, you need to activate the NX Node subscription on each of the remote nodes.

Note that the key file is a 'ASCII'  text  file  in  UNIX format.  If you are experiencing problems when checking if the subscription file was correctly installed, try to run:

# dos2unix /usr/NX/etc/node.lic

to make sure you didn't accidentally convert the file to the DOS format.

Create a backup of node.lic and server.lic for evaluation

Rename the default subscription files that are provided with the installation of the node and of the server:

# mv /usr/NX/etc/node.lic  /usr/NX/etc/node.lic-eval

# mv /usr/NX/etc/server.lic  /usr/NX/etc/server.lic-eval

Upload the key.tar.gz archive to the host machine

Download the attachment of this email to a file named:

key.tar.gz

and put it in the '/usr/NX/etc' directory.

Extract the subscription key file(s) otherwise skip to the next point:

# gzip -d /usr/NX/etc/key.tar.gz

# tar -xvf /usr/NX/etc/key.tar

Alternatively, if the attachment is corrupted or empty,  please extract the relevant subscription data reported at the end of the subscription email you received with your keys.

The NX Node subscription key is enclosed between the tags:

<NX Node Subscription Key>

and:

<End of NX Node Subscription Key>

Cut all the lines between the tags (excluding the tags) then paste them into the '/usr/NX/etc/node.lic' subscription key file.

The NX Server subscription key is enclosed between the tags:

<NX Server Subscription Key>

and:

<End of NX Server Subscription Key>

Cut all the lines between the tags (excluding the tags) then paste them into the '/usr/NX/etc/server.lic' subscription key file.


Activate the Node.lic File

Set the proper permissions attributes and ownership:

# chmod 0400 /usr/NX/etc/node.lic

# chown root:root /usr/NX/etc/node.lic

To check if the new subscription file was correcly installed run:

# /usr/NX/bin/nxnode --version

The output should look similar to the following, if you have for example acquired a subscription for NX Enterprise Server:

NXNODE - 3.2.0-11 - LESN

To verify your subscription and its validity, run:

# /usr/NX/bin/nxnode --subscription

Activate the Server.lic File

Set the proper permissions attributes and ownership:

# chmod 0400 /usr/NX/etc/server.lic

 # chown nx:root /usr/NX/etc/server.lic

To check if the new subscription file was correcly installed run:

# /usr/NX/bin/nxserver --version

The output should look similar to the following, if you have acquired for example a NX Enterprise Server Subscription:

NXSERVER - Version 3.2.0-13 - LESS

To verify your subscription and its validity, run:

# /usr/NX/bin/nxserver --subscription

Remove the key.tar file

Once you activated the NX Node and/or NX Server subscriptions, store in a safe place the /usr/NX/etc/key.tar archive to be able to recover your subscriptions if needed.

Then remove the /usr/NX/etc/key.tar archive from your NX installation:

# rm /usr/NX/etc/key.tar

Your subscription keys have now been installed.