User`s guide
Parallels Virtuozzo Containers 4.7 allows you to upgrade servers running OpenVZ
(www.openvz.org) to Parallels Virtuozzo Containers 4.7. To do this:
1 Update OpenVZ to its latest version. You can download the latest versions of OpenVZ
packages from http://download.openvz.org.
2 Back up all OpenVZ and Container configuration files. These are the following files:
• /etc/sysconfig/vz-scripts/*.conf
• /etc/sysconfig/vz-scripts/*.mount
• /etc/sysconfig/vz-scripts/*.umount
• /etc/vz/*
• /etc/sysconfig/vz
• /etc/cron.d/venetclean
• /etc/cron.d/vereboot
You can back up these files to any location. For example, you can just copy them to the
/vz/conf partition that is left intact during the upgrade.
3 As with any major changes to the hard disk, it is highly recommended that you do the following
before starting the upgrade:
a Back up all Containers (former Virtual Environments) on the Hardware Node.
b Perform a full backup of the entire Virtuozzo server using a third-party software. For
example, you can make use of the Acronis Backup & Recovery 10 Advanced Server (a free
trial version is available at http://www.acronis.com/backup-recovery/advanced-server)
software allowing you to quickly create an exact copy of your server and to easily restore the
entire system if something goes wrong during the upgrade.
4 Reinstall the Host operating system on the server. When reinstalling the system, make sure that
the /vz partition is left intact. Once the installation is complete, restart the server. Install one of
the following operating systems: Red Hat Enterprise Linux 6 (recommended), CentOS 6
(recommended), Red Hat Enterprise 5, or CentOS 5.
5 Install Parallels Virtuozzo Containers 4.7. For detailed information on installing Parallels
Virtuozzo Containers 4.7, see the Parallels Virtuozzo Containers 4.7 Installation Guide. Once the
installation is complete, restart the server.
6 Restore the OpenVZ and Container configuration files you backed up in Step 1:
• Restore the vz Virtuozzo global configuration file to the /etc/sysconfig directory.
C HAPTER 7
Upgrading from OpenVZ