User`s guide

Upgrading from OpenVZ 29
Performing Post-Upgrade
Operations
Use the guidelines below to configure your system once the upgrade is complete.
Installing Templates
During the upgrade, the SimFS filesystem used by OpenVZ Containers is converted to VZFS
used by Containers in Parallels Virtuozzo Containers 4.6. As a result, you cannot use old OS
templates on upgraded Nodes to create new Containers. To be able to create new Containers,
you need first to install OS templates used in Parallels Virtuozzo Containers 4.6 and called EZ
templates. To install an OS EZ template, execute the vzup2date -z command on the server,
and follow the on-screen instructions. For detailed information on the vzup2date utility, see
the Downloading and Installing EZ Templates with vzup2date section in the Parallels Virtuozzo
Containers 4.6 Templates Management Guide.
Once you install an OS EZ template, you can create a new Container on its basis using the --
ostemplate option of the vzctl create command. For detailed information on creating
Containers, see the Parallels Virtuozzo Containers 4.6 User's Guide.
Upgrading Existing Containers
Upgraded Containers continue using old OS templates after the upgrade. To make existing
Containers fully compatible with Parallels Virtuozzo Containers 4.6, you need to install the new
EZ OS templates that correspond to the OS templates used by OpenVZ Containers. For
example, if a Container was based on the CentOS 4 OpenVZ template, install the CentOS 4 EZ
OS template on the server. Once you install an OS EZ template used by a Container, the
Container automatically starts using this template instead of the old one.
To download and install OS EZ templates, execute the vzup2date -z command on the
server, and follow the on-screen instructions. For detailed information on the vzup2date
utility, see the Downloading and Installing EZ Templates with vzup2date section in the Parallels
Virtuozzo Containers 4.6 Templates Management Guide.
Once you install an OS EZ template, you are recommended to run the vzpkg link CT_ID.
command. When executed, this command replaces real files in the Container private area with
symlinks to these very files on the server. This can free megabytes of disk space on the server.
For more information on using the vzpkg link command, see the Cleaning Up Containers
section in the Parallels Virtuozzo Containers 4.6 User's Guide.
Configuring Virtual Ethernet Network Adapters
If any of your Containers were operating in the bridged mode (that is, had one or more virtual
Ethernet adapters configured) before the upgrade, you need to re-configure these Containers
once the upgrade is complete. To do this:
1 Roll back all changes you made when configuring bridge interfaces and virtual Ethernet
adapters on the server with OpenVZ. If you do not remember exactly what settings you
changed, consult the manual at http://wiki.openvz.org/VEs_and_HNs_in_same_subnets.