7.3. Upgrading from CentOS 7 to Virtuozzo Hybrid Server 7¶
Warning
This procedure cannot be reverted.
Physical or virtual servers running CentOS 7.x can be upgraded to Virtuozzo Hybrid Server 7.
The server must:
Have a clean CentOS 7.x installation without third-party drivers or packages
Have ext4 file system on the root disk
Meet Virtuozzo Hybrid Server 7 system requirements described in the Installation Guide
Have Internet connection for downloading VzLinux and Virtuozzo Hybrid Server packages
To upgrade CentOS 7.x to Virtuozzo Hybrid Server 7, do the following:
Convert CentOS 7 to VzLinux 7. To do this, download and run the upgrade script:
# wget http://repo.virtuozzo.com/vzlinux/vzdeploy/vzdeploy # chmod 755 vzdeploy # ./vzdeploy
The script will replace CentOS repositories and packages with VzLinux ones, install a VzLinux kernel in addition to the current CentOS one, and activate a trial VzLinux license.
Upgrade VzLinux 7 to Virtuozzo Hybrid Server 7. To do this, run the script
do-upgrade-vzlin-vz7
installed with thevzlin-release
package on previous steps.# do-upgrade-vzlin-vz7 --key <VZ7_product_key>
Note
You can skip license installation by specifying
--skip-license
instead of--key <VZ7_product_key>
. In this case, you will need to install a license later with thevzlicload
tool.The script will add Virtuozzo Hybrid Server 7 repositories, install Virtuozzo Hybrid Server 7 packages, and perform required configuration. No new partitions will be created during installation (e.g.,
/vz
will be a directory on the root disk).Reboot the server to start using Virtuozzo Hybrid Server 7.
Optionally, you can remove the CentOS kernel to make sure that the server always boots to the Virtuozzo Hybrid Server kernel.
# yum remove kernel