Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
2/16/2012
CONTENTS
Contents ........................................................................................................................................................ 2
Introduction .................................................................................................................................................. 3
For Best Performance ................................................................................................................................... 3
Backup/Restore............................................................................................................................................. 4
Export/Clone ................................................................................................................................................. 5
Windows P2V or V2V .................................................................................................................................... 6
Linux P2V or V2V ........................................................................................................................................... 8
Glossary ....................................................................................................................................................... 17
Troubleshooting .......................................................................................................................................... 17
Appendix A: Windows Drive Labelling ........................................................................................................ 18
Notice .......................................................................................................................................................... 19
2/16/2012
INTRODUCTION
Before using the Avance 2.0 software, we recommend becoming familiar with the terms listed
in the glossary on page 17.
The Avance 2.0 highly-available virtualized environment enables you to easily export, import,
restore, and migrate virtual machines (VMs), using the Avance Management Console or
command-line interface.
To do this
See
Export
Backup/Restore on page 4
"Export/Clone" on page 5
2/16/2012
BACKUP/RESTORE
Backing up and restore a Virtual Machines to the same Avance unit
The Backup/Restore functions create an image file (OVA format) of a shut-down VM. This file
includes the complete contents and state of the VM, including all volumes and meta-data.
BACKUP
Create a backup as follows:
1. In the Avance Management Console, select Virtual Machines.
2. Select the VM.
3. Shut down the VM (if running).
4. Click Backup/Export.
5. Follow the onscreen instructions in the Export/Backup VM Wizard.
The Throttling Level menu limits the performance impact of the export process on running
VMs. See the Console online help for details.
RESTORE
You can restore the contents of an OVA backup file only to the Avance unit the file was exported
from. You cannot restore to a different unit, or change any of the VMs resources.
Restoring the backup file completely replaces the contents of the VM on the Avance
unit with the contents of the backup file.
Fast network connections are strongly recommended.
The overall restore process is as
follows.
1. Connect the client PC to the
Avance unit.
2. In the Avance Management
Console, click Import/Restore VM.
3. Select Restore a VM.
4. Select the VM image to restore.
5. Follow the onscreen instructions in
the Import/Restore VM Wizard.
6. The image then streams to the PC.
7. The image then streams to the Avance unit.
8. The Avance unit then creates the VM.
2/16/2012
EXPORT/CLONE
Migrating or Cloning Physical or Virtual Machines from Avance to Avance
Cloning an Avance Windows or Linux VM consists of exporting a baseline VM to an image file,
then importing that file onto one or more Avance systems to create duplicates of the original VM.
This process also allows you to change the VMs system resources, such as number of
processors and memory used.
1. Windows only:
a. Make sure all volumes are labelled accurately as outlined in Appendix A: Windows
Drive on page 18.
b. Execute the sysprep command.
c.
2/16/2012
PREPARATION
Install the 32 or 64 bit version XenConvert 2.1 on the source machine. To download XenConvert
2.1, go to the Avance Customer or Partner Portal and navigate to the Downloads page.
Exporting a multi-volume machine virtual or physical requires two steps: convert the boot
volume to OVF and VHD format, and separately convert subsequent volumes to VHD format.
2/16/2012
2/16/2012
SETUP
The boot volume must exist on the first physical disk.
1. Make sure the system includes an FTP server with three times the disk space allocated
to the Linux VM. (Three backup images are created.)
2. Install these applications on the source machine:
Ncftp
Dialog
Lzop
3. Download g4l from http://g4l.sourceforge.net. Click Tar/GZ in the Links box. The file
name is similar to g4l-v0.30.devel.tar.gz.
4. Download the G4L scripts to a G4L subdirectory in the root directory of the computer.
5. Expand (untar) the file by typing the following command:
tar zxvf g4l-v0.30.devel.tar.gz
6. Proceed to Overview: Migrate the Machine Image below.
Restore the Storage Stack to the G4L Virtual Machine from the backup on the FTP
(page 13).
4. Modify the Storage Stack on the G4L Virtual Machine to add drivers (page 13).
5. Back up the Storage Stack from the staging machine to the FTP (page 10).
2/16/2012
6. On the Avance unit, create a Linux virtual machine with the same specifications as the
source machine: number of CPUs, number and size of disks, number of network
adapters, and memory.
7.
Restore the Storage Stack to the Linux Virtual Machine from the backup on the FTP
server (page 16).
2/16/2012
2/16/2012
10
5. Configure the IP address of the FTP server, the userid and password, and the filename
(items D, E, and F, below).
6. Specify a path for Path to Image directory (item P). This directory is for writing and
reading backup files. If the directory does not exist, create or request a directory on the
FTP server with the appropriate permissions.
7. Select Backup and press Enter.
8. Select the backup drive from the s, hd, and c0d0X disks. Do not select the dm-0, sdaX,
hdaX, or dm-X disk.
2/16/2012
11
Provision the VM with at least the same number and size of disks and network
devices as the source virtual machine used.
d. Continue the VM Creation Wizard. Make sure the VM and physical system properties
match.
3. Continue with Restore the Storage Stack to the G4L Virtual Machine below.
2/16/2012
12
13
c.
d. Remake the initrd with the xennet and xenblk drivers. For example:
/sbin/mkinitrd /boot/ initrd-2.6.18-92.1.10.el5. avance1xen.img 2.6.1892.1.10.el5. avance1xen --with=xennet with=xenblk
2/16/2012
14
For example:
UNMODIFIED GRUB MENU
2/16/2012
15
2/16/2012
16
GLOSSARY
AVCLI: Avance command-line interface.
Meta-data: Information describing VM characteristics such as number of network adapters,
number of disks, memory, and the VM name.
OVF: Open Virtual Machine Format. An open standard for packaging and distributing
physical or virtual machine data, and containing meta-data for the VM.
OVA: Open Virtual Appliance/Application, a compressed format of the OVF.
P2V: Physical-to-Virtual. A process that creates VM copy of a physical machine.
V2V: Virtual-to-Virtual. A process that converts a virtual machine from one location or type to
another.
VHD: Virtual Hard Disk format.
TROUBLESHOOTING
If an import, export, backup, or restore is interrupted by an event that changes the primary
node, the process may need to be restarted. For an import or restore, you may also need to
first delete the VM. See the Console online help.
Avance release 2.1.2 or later: If a firewall is used between the Avance Unit and the client
(where the Avance-portal is accessed), the firewall must open Port 80 / http and Port 443 /
https.
Avance release 2.1.1 or earlier: If a firewall is used between the Avance Unit and the client
(where the Avance-portal is accessed), the firewall must open Port 9080.
2/16/2012
17
After importing, use Disk Manager to reassign the drive letters. The labels assigned before using
XenConvert or Sysprep will help identify the drives. For instructions, see the following:
http://windows.microsoft.com/en-us/windows-vista/Change-add-or-remove-a-drive-letter
2/16/2012
18
Notice
The information contained in this document is subject to change without notice.
UNLESS EXPRESSLY SET FORTH IN A WRITTEN AGREEMENT SIGNED BY AN AUTHORIZED REPRESENTATIVE
OF STRATUS TECHNOLOGIES, STRATUS MAKES NO WARRANTY OR REPRESENTATION OF ANY KIND WITH
RESPECT TO THE INFORMATION CONTAINED HEREIN, INCLUDING WARRANTY OF MERCHANTABILITY AND
FITNESS FOR A PURPOSE. Stratus Technologies assumes no responsibility or obligation of any kind for any errors
contained herein or in connection with the furnishing, performance, or use of this document.
Software described in Stratus documents (a) is the property of Stratus Technologies Bermuda, Ltd. or the third party, (b)
is furnished only under license, and (c) may be copied or used only as expressly permitted under the terms of the license.
Stratus documentation describes all supported features of the user interfaces and the application programming interfaces
(API) developed by Stratus. Any undocumented features of these interfaces are intended solely for use by Stratus
personnel and are subject to change without warning.
This document is protected by copyright. All rights are reserved. No part of this document may be copied, reproduced, or
translated, either mechanically or electronically, without the prior written consent of Stratus Technologies.
Stratus and the Stratus logo, Stratus Avance and the Stratus Avance logo are registered trademarks of Stratus
Technologies Bermuda, Ltd.
The Stratus Technologies logo, the Stratus 24 x 7 logo, and ActiveService are trademarks of Stratus Technologies
Bermuda, Ltd.
The registered trademark Linux is used pursuant to a sublicense from the Linux Mark Institute, the exclusive licensee of
Linus Torvalds, owner of the mark on a world-wide basis.
All other trademarks are the property of their respective owners.
Stratus Technologies, Inc.
111 Powdermill Road
Maynard, Massachusetts 01754-3409
2012 Stratus Technologies Bermuda, Ltd. All rights reserved.
2/16/2012
19