7.3. Upgrading from CentOS 7 to Virtuozzo 7

Warning

This procedure cannot be reverted.

Physical or virtual servers running CentOS 7.x can be upgraded to Virtuozzo 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,
  • have Internet connection for downloading Virtuozzo Linux and Virtuozzo packages.

To upgrade CentOS 7.x to Virtuozzo 7, do the following:

  1. Convert CentOS 7 to Virtuozzo Linux 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 Virtuozzo Linux ones, install a Virtuozzo Linux kernel in addition to the current CentOS one, and activate a trial Virtuozzo Linux license.

  2. Reboot to the Virtuozzo Linux kernel.

  3. Optionally, you can remove the CentOS kernel to make sure that the server always boots to the Virtuozzo kernel.

    # yum remove kernel
    
  4. Upgrade Virtuozzo Linux 7 to Virtuozzo 7. To do this, run the script do-upgrade-vzlin-vz7 installed with the vzlin-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 the vzlicload tool.

    The script will add Virtuozzo 7 repositories, install Virtuozzo 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).

  5. Reboot the server to start using Virtuozzo 7.