Previous page

Next page

Locate page in Contents

Print this page

Installing the License

Depending on the way you have obtained your Virtuozzo license, the process of installing the license slightly differs:

  • If you have obtained the license in the form of a product key, you can install it on the server using the -p option of the vzlicload command. For example, you can execute the following command to install the XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX product key:

    # vzlicload -p XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX

    Note: You can also use the vzlicload utility to upgrade the license. For example, this may be necessary if your current license does not support using Virtuozzo Automator for managing host.

  • If you have obtained the license in the form of an activation code, you can install it on the server using the -a option of the vzlicupdate command. For example:

    # vzlicupdate -a XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX

    where XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX is your activation code. When executed, vzlicupdate connects to the Key Authentication (KA) licensing server and transmits the specified activation code there. The licensing server, in turn, generates a license file, sends it back to the server from where the activation code has been dispatched, and automatically installs it on this server. So, before executing the aforementioned command, make sure that your host is connected to the Internet.

If you are activating your installation by means of an activation key, you must have an active Internet connection to successfully complete the license installation. Otherwise, you will be presented with the corresponding warning message informing you of the steps you have to take to activate your license. As a rule, these steps are:

  1. Visiting the license activation page..
  2. Providing the following information on the above Web page:
    • In the Product Code field, specify your license activation code.
    • In the HWID field, provide the ID of your Hardware Node. You can obtain the ID from /proc/vz/hwid. For example:

      # cat /proc/vz/hwid

      C737.BB31.AD4D.E3D2.FB27.8485.0477.5569

      Note: If the command returns multiple IDs, choose one for license purchase.

    • In the Enter following digits field, type the digits displayed next to this field.
  3. Clicking the ACTIVATE LICENSE button.

If you have entered the correct information on the Virtuozzo License Activation page, you will be provided with a link to a license file that you should download to and install on the server. For example, you can run this command to install the obtained license file

# vzlicload -f /etc/vzlicense

This command will install the license file with the name of vzlicense on your server.