Parallels Virtuozzo Containers - 4.7 - Linux User Guide

0 (0)
Copyright © 1999-2011 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
Parallels Virtuozzo
Containers 4.7 for Linux
Upgrade Guide
September 23, 2011
Parallels Holdings, Ltd.
c/o Parallels International GMbH.
Parallels International GmbH
Vordergasse 49
CH8200 Schaffhausen
Switzerland
Tel: + 41 526320 411
Fax: + 41 52672 2010
www.parallels.com
Copyright © 1999-2011 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
This product is protected by United States and international copyright laws. The product’s underlying technology,
patents, and trademarks are listed at http://www.parallels.com/trademarks.
Microsoft, Windows, Windows Server, Windows NT, Windows Vista, and MS-
DOS are registered trademarks of Microsoft
Corporation.
Apple, Mac, the Mac logo, Mac OS, iPad, iPhone, iPod touch, FaceTime HD camera and iSight are trademarks of Apple
Inc., registered in the US and other countries.
Linux is a registered trademark of Linus Torvalds.
All other marks and names mentioned herein may be trademarks of their respective owners.
Contents
About This Document ................................................................................................ 4
Upgrade Scenarios .................................................................................................... 5
Preparing for the Upgrade ........................................................................................ 7
Upgrading from Parallels Virtuozzo Containers 4.0 and 4.6 .................................... 8
Upgrading to Parallels Virtuozzo Containers 4.7 ............................................................... 9
Verifying the Upgrade .................................................................................................... 10
Upgrading Host Operating Systems with Parallels Virtuozzo Containers ............. 11
Upgrading a Host OS with Virtuozzo 3.0 ........................................................................ 12
Upgrading a Host OS with Parallels Virtuozzo Containers 4.0 or 4.6 ............................... 14
Upgrading Nodes in Clusters .................................................................................. 15
Upgrading Nodes in a Failover Cluster ........................................................................... 16
Upgrading Nodes in a Data Sharing Cluster ................................................................... 19
Upgrading from OpenVZ ......................................................................................... 22
Performing Post-Upgrade Operations ............................................................................ 24
Rolling Back to a Previous Version ......................................................................... 26
Getting Technical Support ...................................................................................... 27
This document familiarizes you with the way to upgrade the following products to Parallels
Virtuozzo Containers 4.7 for Linux:
Parallels Virtuozzo Containers 4.0 and 4.6
SWsoft Virtuozzo 3.0 Service Pack 1
OpenVZ
Note: Upgrading from the Beta version of Parallels Virtuozzo Containers 4.7 is not supported.
C HAPTER 1

About This Document

Before beginning the upgrade process, it is important to choose the proper upgrade scenario.
Doing so will help you avoid difficulties you may otherwise encounter and will also ensure you can
successfully solve any problems that may still occur. You can use one of the following scenarios to
upgrade your system:
First Scenario
Typically, you perform an in-place upgrade of an existing system. This upgrade scenario is
supported for servers running Parallels Virtuozzo Containers 4.0 and 4.6 and is described in
Upgrading from Parallels Virtuozzo Containers 4.0 and 4.6 (p. 8).
Second Scenario
You want to upgrade the Host operating system (Host OS) installed on your server together with
the Parallels Virtuozzo Containers software running on it. In this case, follow these steps:
1 Back up all important Virtuozzo and Container configuration files.
2 Reinstall the Host operating system on the server.
3 Install Parallels Virtuozzo Containers 4.7 on the server.
4 Restore the backed up Virtuozzo and Container configuration files.
Detailed information on this scenario is given in Upgrading Host Operating Systems with
Parallels Virtuozzo Containers (p. 11).
Third Scenario
You have a spare server to perform a new Parallels Virtuozzo Containers 4.7 installation. In this
case, follow these steps:
1 Install Parallels Virtuozzo Containers 4.7 on the spare server. If the license that you own is in the
old license format, refer to the Upgrading License Manually section below for a way to
upgrade the license to the Parallels Virtuozzo Containers 4.7 format; then use it during a fresh
installation.
2 Migrate all Containers from the Hardware Node you want to upgrade to the spare server.
3 If you store the Container (called Virtual Environment in SWsoft Virtuozzo 3.5.1 Service Pack 1)
backups on the same Hardware Node, copy the backup folder to the spare server.
4 Check that all the Containers on the spare server can be started and stopped. To do this, use
Parallels Virtual Automation, Parallels Management Console, and Parallels command-line
utilities.
C HAPTER 2

Upgrade Scenarios

6
Upgrade Scenarios
5 Reinstall the operating system on the Hardware Node.
6 Install Parallels Virtuozzo Containers 4.7 on the Hardware Node.
7 Migrate the Containers back from the spare server to the Hardware Node, if necessary.
Consult the Parallels Virtuozzo Containers 4.7 User's Guide and Parallels Virtuozzo Containers 4.7
Installation Guide for detailed information on how to migrate Containers between Hardware Nodes
and to perform a clean installation of Parallels Virtuozzo Containers 4.7, respectively.
Upgrade Specifics
When upgrading the Hardware Nodes included in a Virtuozzo Group (called the Virtuozzo cluster in
SWsoft Virtuozzo 3.5.1 Service Pack 1), do the following:
1 Upgrade all Slave Nodes in the Group.
2 Upgrade the Master Node.
It is recommended that you do the following before starting the upgrade:
Install all Parallels updates available for your system.
Back up all Containers and virtual machines on the server.
Perform a full backup of the entire 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.
C HAPTER 3

Preparing for the Upgrade

Parallels Virtuozzo Containers 4.7 officially supports an in-place upgrade on Hardware Nodes that
run Parallels Virtuozzo Containers 4.0 or 4.6 and one of the following Linux distributions (both x86
and x64 versions):
Red Hat Enterprise Linux 5
CentOS 5
It is recommended that you install the latest Parallels Virtuozzo Containers update on the Hardware
Node before starting the upgrade procedure. Use the vzup2date utility to check that you have all
of the available updates installed on the Node.
In This Chapter
Upgrading to Parallels Virtuozzo Containers 4.7 ...................................................... 9
Verifying the Upgrade ............................................................................................. 10
C HAPTER 4
Upgrading from Parallels Virtuozzo
Containers 4.0 and 4.6
9
Upgrading from Parallels Virtuozzo Containers 4.0 and 4.6

Upgrading to Parallels Virtuozzo Containers 4.7

To upgrade your system to Parallels Virtuozzo Containers 4.7, do the following:
1 Download the vzinstall-linux-i386.bin or vzinstall-linux-x86_64.bin utility
(for the x86 or x86-64 version of Parallels Virtuozzo Containers 4.7, respectively) from the
Parallels web site.
The process of downloading and installing Parallels Virtuozzo Containers 4.7 with the
vzinstall-linux-i386.bin and vzinstall-linux-x86_64.bin utilities is the same.
Therefore, we use a generic term vzinstall-linux.bin to indicate both utilities throughout
this document.
2 Run the chmod a+x vzinstall-linux.bin command to make the vzinstall-
linux.bin utility executable.
3 Execute the vzinstall-linux.bin utility. You can run vzinstall-linux.bin in one of
the following modes:
In the 'Download and install' mode, the utility automatically starts the upgrade after it has
downloaded the Parallels Virtuozzo Containers 4.7 installation files to the server.
In the 'Download only' mode, the utility only downloads theParallels Virtuozzo Containers
4.7 installation files but does not install them on the server. You can copy the downloaded
files to the server you plan to upgrade to Parallels Virtuozzo Containers 4.7 and execute the
following command:
# ./virtuozzo-4.7.0-<build_version>-<arch>.sfx
Detailed information on the vzinstall-linux.bin utility is provided in the Parallels
Virtuozzo Containers 4.7 Installation Guide.
During the upgrade, you will have to complete the same steps as those described in the Parallels
Virtuozzo Containers 4.7 Installation Guide for installing Parallels Virtuozzo Containers 4.7 on a fresh
Linux distribution. Consult this guide if you need more information about specific steps.
Loading...
+ 18 hidden pages