In case you need to transfer a license installed on one server to another server, you can do so as described below.
If you have a Virtuozzo product key:
-
Remove the installed license from the source server with the
vzlicload -r <serial>command (the serial is shown invzlicviewoutput). -
Install the product key on the destination server:
# vzlicload -p <product_key>A new license file will be generated and installed in the
/etc/vz/license/directory on the server.
If you have a Virtuozzo activation code:
-
Shut down the source server or remove the installed license from it with the
vzlicload -r <serial>command (the serial is shown invzlicviewoutput). - Make sure that the destination server is up, connected to the Internet, and has at least one public IPv4 address.
-
On the destination server, run
# vzlicupdate -t -a <activation_code>When executed,
vzlicupdatesends the activation code to the KA server. The KA server verifies the code, generates a new license file, sends it back, and the license file is installed on the server automatically. -
To check that the license transfer has been successful, run
vzlicview. The information about the newly installed license should be displayed.