User`s guide
Upgrading Host Operating Systems with Parallels Virtuozzo Containers 18
Upgrading a Host OS with Virtuozzo
3.0
To upgrade a server that runs one of the supported Host OSs and Virtuozzo 3.0 Service Pack 1,
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-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.
2 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
®
True Image Echo™ Enterprise Server (a
free trial version is available at
http://www.acronis.com/enterprise/download/ATIESWin/) 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 Once the Parallels Virtuozzo Containers 4.6 installation is complete, 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 files /etc/sysconfig/vz-scripts/*.conf,
/etc/sysconfig/vz-scripts/*.mount, and /etc/sysconfig/vz-
scripts/*.umount 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.
5 Install Parallels Virtuozzo Containers 4.6. For detailed information on installing Parallels
Virtuozzo Containers 4.6, see the Parallels Virtuozzo Containers 4.6 Installation Guide.
Once the installation is complete, restart the server.