Previous page

Next page

Locate page in Contents

Print this page

Transferring the License to Another Server

Sometimes, you may wish to transfer licenses from one host (source server) to another (destination server). For example, this may be the case if the server where the license is installed starts experiencing problems or requires the hardware upgrade.

The procedure of transferring a license from one host to another depends on the license type and can be one of the following:

Activation with a product key

If you have activated your Virtuozzo installation by means of a product key, you can transfer the installed license from the source to the destination server as follows:

  1. Remove the installed license from the source server (e.g., using the vzlicload -r product_key command).
  2. Log in to the destination server.
  3. Install the product key on the destination server. Detailed information on how to install Virtuozzo licenses is provided in Installing a License.

    Activation with an activation code

If you have activated your Virtuozzo installation by means of an activation code, you can use the vzlicupdate utility to move licenses between host. For example, to transfer a license that has been installed using the XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX activation code, do the following:

  1. Ascertain that the source server is shut down, or the license is removed from this server.
  2. Make sure that the destination server is up and connected to the Internet.
  3. Log in to the destination server (e.g., via ssh).
  4. Execute the following command on the destination server:

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

When executed, vzlicupdate sends the activation code to the KA server, thus informing the server of its intention to transfer the license to a new host. The KA server verifies the received code, generates a new license file, sends it back to the destination server, and installs it there.

Note: Your physical server must be assigned at least one public IPv4 address for the correct operation of the vzlicupdate utility.

You can check that the license transferal has completed successfully using the vzlicview utility. For example:

# vzlicview

Show installed licenses...

VZSRV

status="ACTIVE"

version=X.X

serial="XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX"

expiration="05/01/2012 23:59:59"

...

Detailed information on the vzlicview utility and its output is provided in Viewing Current License.