1.3. License Installation#

Without the license file, you will have a maximum of 2 processor cores available for running a virtual machine – one to ensure the operation of the OS and another to process the user traffic.

This should be enough to handle the traffic up to 1Gbps. In case a higher performance is required, purchase a license and install the license file to the VM.

In order to obtain a license file after you have purchased the license, you need to tell your manager the ID of the virtual machine installed, which can be obtained using the command:

# show license host-id
03196D973B6D24649CB55F18804652B8

In the example above, 03196D973B6D24649CB55F18804652B8 is the VM ID to be sent to your manager. In return, you will receive a license file according to the license acqiured.

Warning

If you change the configuration of the virtual machine or transfer the virtual machine to another server, its ID may change and the license file will be invalid. Always consult your manager before performing such actions.

The obtained license file must be uploaded to the VM, for example, with the scp command:

scp 03196D973B6D24649CB55F18804652B8.license admin@vCGNAT_MANAGEMENT_IP:

where vCGNAT_MANAGEMENT_IP is the IP address assigned to the management interface of the virtual machine.

Before using the obtained license file, it is recommended to check its parameters:

show license limits /home/admin/03196D973B6D24649CB55F18804652B8.license

If you have downloaded the license file not as the admin user, then you’ll need to replace the admin in the command above with the according username.

To apply the license file, run the command:

license file /home/admin/03196D973B6D24649CB55F18804652B8.license

If you have downloaded the license file not as the admin user, then you’ll need to replace the admin in the command above with the according username.

After applying the license file, you need to restart the VM:

reboot

After restarting the VM, you can check the parameters of the license applied using the command:

show license limits