User`s guide

14
Upgrading Host Operating Systems with Parallels Virtuozzo Containers
Upgrading a Host OS with Parallels Virtuozzo
Containers 4.0 or 4.6
To upgrade a server that runs one of the supported Host OSs and Parallels Virtuozzo Containers
4.0 or 4.6, do the following:
1 Back up all Virtuozzo and Container configuration files. These are the following files:
/etc/sysconfig/vz-scripts/*.conf
/etc/sysconfig/vz
/etc/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.
2 As with any major changes to the hard disk, it is 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.
3 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.
4 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.
5 Restore the Virtuozzo and Container configuration files you backed up in Step 1:
Restore the vz Virtuozzo global configuration file to the /etc/sysconfig directory.
Restore the /etc/sysconfig/vz-scripts/*.conf file to the
/etc/sysconfig/vz-scripts directory.
Restore the contents of the /etc/vz/* directory to the /etc/vz directory.
Restore the files /etc/cron.d/venetclean and /etc/cron.d/vereboot to the
/etc/cron.d directory.
6 Restart the Virtuozzo service:
# service vz restart