Upgrading from CentOS 7 to Virtuozzo Server 7

This procedure cannot be reverted.

Physical or virtual servers running CentOS 7.x can be upgraded to Virtuozzo 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 Server 7 system requirements described in the Installation Guide.
  • Have Internet connection for downloading VzLinux and Virtuozzo Server packages.

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

  1. Convert CentOS 7 to VzLinux 7. To do this, download and run the upgrade script:

    1
    2
    3
    
    # 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.

  2. Upgrade VzLinux 7 to Virtuozzo Server 7. To do this, run the script do-upgrade-vzlin-vz7 installed with the vzlin-release package on previous steps.

    1
    
    # do-upgrade-vzlin-vz7 --key <VZ7_product_key>
    
    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 Server 7 repositories, install Virtuozzo 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).

  3. Reboot the server to start using Virtuozzo Server 7.

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

    1
    
    # yum remove kernel