
10
Performing an In-Place Upgrade
Upgrading Parallels Virtuozzo Containers
To upgrade a system that runs Parallels Virtuozzo Containers 4.7, Parallels Virtuozzo Containers
4.0, Parallels Virtuozzo Containers 4.6, or Virtuozzo 3.0, do the following:
1 Prepare for the upgrade using the instructions in Preparing for the Upgrade (p. 6).
Also make sure that you 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
If /vz is a directory rather than a separate partition, you also need to back up this directory.
2 Install Parallels Server 5 Bare Metal on the server. Use these guidelines:
a Follow the instructions in the Parallels Server 5 Bare Metal Installation Guide to install the
product.
b When partitioning your disk drives, do not delete the /vz partition intact but remove all the
other partitions. Create the partitions required for Parallels Server 5 Bare Metal.
c Once the installation is complete, restart the server.
3 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.
If /vz is a directory and you backed up this directory in Step 1, you also need to restore the
/vz directory.
4 Drop the quota currently set for Containers, and recalculate it:
# for i in $(ls /vz/root) ; do vzquota drop “${i}” ; done
# service vz restart
Komentáře k této Příručce