Protecting Vmware Vcloud™ Director: Statement of Support by Ibm® Tivoli® Storage Manager
Protecting Vmware Vcloud™ Director: Statement of Support by Ibm® Tivoli® Storage Manager
Statement of Support by IBM Tivoli Storage Manager By Stefan Bender, James P. Smith, Anthony Wong Version 1.0
Copyright Notice Copyright IBM Corporation 2009. All rights reserved. May only be used pursuant to a Tivoli Systems Software License Agreement, an IBM Software License Agreement, or Addendum for Tivoli Products to IBM Customer or License Agreement. No part of this publication may be reproduced, transmitted, transcribed, stored in a retrieval system, or translated into any computer language, in any form or by any means, electronic, mechanical, magnetic, optical, chemical, manual, or otherwise, without prior written permission of IBM Corporation. IBM Corporation grants you limited permission to make hardcopy or other reproductions of any machine-readable documentation for your own use, provided that each such reproduction shall carry the IBM Corporation copyright notice. No other rights under copyright are granted without prior written permission of IBM Corporation. The document is not intended for production and is furnished as is without warranty of any kind. All warranties on this document are hereby disclaimed, including the warranties of merchantability and fitness for a particular purpose. U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corporation. Trademarks IBM, the IBM logo, Tivoli, the Tivoli logo, AIX, Cross-Site, NetView, OS/2, Planet Tivoli, RS/6000, Tivoli Certified, Tivoli Enterprise, Tivoli Enterprise Console, Tivoli Ready, and TME are trademarks or registered trademarks of International Business Machines Corporation or Tivoli Systems Inc. in the United States, other countries, or both. Lotus is a registered trademark of Lotus Development Corporation. Microsoft, Windows, Windows NT, and the Windows logo are trademarks of Microsoft Corporation in the United States, other countries, or both. UNIX is a registered trademark of The Open Group in the United States and other countries. C-bus is a trademark of Corollary, Inc. in the United States, other countries, or both. PC Direct is a trademark of Ziff Communications Company in the United States, other countries, or both and is used by IBM Corporation under license. ActionMedia, LANDesk, MMX, Pentium, and ProShare are trademarks of Intel Corporation in the United States, other countries, or both. For a complete list of Intel trademarks, see http://www.intel.com/sites/corporate/trademarx.htm. SET and the SET Logo are trademarks owned by SET Secure Electronic Transaction LLC. For further information, see http://www.setco.org/aboutmark.html. Java and all Java-based trademarks and logos are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries. Other company, product, and service names may be trademarks or service marks of others. Notices References in this publication to Tivoli Systems or IBM products, programs, or services do not imply that they will be available in all countries in which Tivoli Systems or IBM operates. Any reference to these products, programs, or services is not intended to imply that only Tivoli Systems or IBM products, programs, or services can be used. Subject to valid intellectual property or other legally protectable right of Tivoli Systems or IBM, any functionally equivalent product, program, or service can be used instead of the referenced product, program, or service. The evaluation and verification of operation in conjunction with other products, except those expressly designated by Tivoli Systems or IBM, are the responsibility of the user. Tivoli Systems or IBM may have patents or pending patent applications covering subject matter in this document. The furnishing of this document does not give you any license to these patents. You can send license inquiries, in writing, to the IBM Director of Licensing, IBM Corporation, North Castle Drive, Armonk, New York 10504-1785,
iii
U.S.A.
iv
Authors
Those who write field guides belong to one of these three groups:
Tivoli Support and Services Engineers who work directly with customers Tivoli Customers and Business Partners who have experience using Tivoli software in a production environment Tivoli developers, testers, and architects
Audience
The field guides are written for all customers, both new and existing. They are applicable to external audiences including executives, project leads, technical leads, team members, and to internal audiences as well.
Field Guides for technical issues are designed to address specific technical scenarios or concepts that are often complex to implement or difficult to understand, for example: endpoint mobility, migration, and heartbeat monitoring. Field Guides for business issues are designed to address specific business practices that have a high impact on the success or failure of an ESM project, for example: change management, asset Management, and deployment phases.
Purposes
The Field Guide program has two major purposes:
To empower customers & business partners to succeed with Tivoli software by documenting and sharing product information that provides accurate and timely information on Tivoli products and the business issues that impact an enterprise systems management project To leverage the internal knowledge within Tivoli Customer Support and Services and the external knowledge of Tivoli customers and Business Partners
Availability
All completed field guides are available free to registered customers and internal IBM employees at the following Web site: http://www.ibm.com/software/sysmgmt/products/support/Field_Guides.html Authors can submit proposals and access papers by e-mail:
mailto:[email protected]
vi
Table of Contents
Sponsor.......................................................................................................v Authors........................................................................................................v Audience..................................................................................................... v Types of Field Guides................................................................................ v Purposes..................................................................................................... v Availability.................................................................................................. v
OTHER CONSIDERATIONS........................................................................9
LIMITATIONS FOR FAST PROVISIONED VIRTUAL MACHINES (SO CALLED LINKED CLONES)............9 Backup and Changed Block Tracking............................................................. 9 Restored virtual machines are not linked........................................................ 9 NETWORK CONFIGURATION AFTER RESTORE...........................................................................10 RESTORED VIRTUAL MACHINES REQUIRE FULL BACKUPS........................................................10
vii
Protecting VMware vCloud Director IBM Tivoli Storage Manager for Virtual Environments Data Protection for VMware version 6.3
1 Introduction
VMware vCloud Director is a software solution that enables enterprises to build secure, multitenant private clouds by pooling infrastructure resources into virtual data centers and exposing them to users through Web-based portals and programmatic interfaces as fully automated, catalog-based services. (source: VMware vCloud Director Datasheet from vmware.com) This paper will discuss how IBM Tivoli Storage Management software can be used to provide protection of VMware vCloud Director assets (i.e. virtual machines) using IBM Tivoli Storage Manager for Virtual Environments Data Protection for VMware solution.
2 Statement of Support
IBM Tivoli Storage Manager for Virtual Environments Data Protection for VMware is designed to provide protection for VMware vSphere Hypervisor infrastructures. Although Tivoli Storage Manager Data Protection does not support the VMware vCloud Director software solution at this time, Data Protection for VMware can be used to backup and restore virtual machines that are created by the VMware vCloud Director software solution to the extent described in this field guide. IBM will support the backup and recovery of virtual machines as explicitly described in this document. Tivoli Storage Manager Data Protection for VMware does not offer any additional protection for VMware vCloud Director deployments beyond what is described in this field guide. Specifically in the context of the vCloud Director software solution, the following caveats are discussed in this field guide:
Understanding how virtual machines created in vCloud Director map to the underlying vSphere infrastructure and how they are named in the context of Tivoli Storage Manager Understanding how to recover a virtual machine into the vCloud Director infrastructure by restoring the virtual machine with Tivoli Storage Manager and then importing it into vCloud Director Understanding restrictions for backup and restore of fast provisioned clones (linked clones) Understanding how to reconfigure the virtual machine network configuration after recovery
The folder name is the name of each vApp including its unique identifier. For example, if you wish to backup the vApps Test_small and Test_default, the option has to look like: domain.vmfull vmfolder=Test_small (6fc71a8c-3ee4-4711-ba45518015c28eba), Test_default (55dee5ea-0815-4ef2-1174428d0b178fbf)
Tivoli Storage Manager is only able to backup the virtual machine. It does not backup the folder structure nor is it able to backup any of the vCloud Director properties. As the name of multiple virtual machines might be similar, consider to take some records about the grouping of virtual machines into vApps and organizations. This will simplify the identification of the right virtual machine at the time of recovery. Refer to the Tivoli Storage Manager documentation for more information about protecting VMware virtual machines (see product documentation).
4 Recovery
The sections in this chapter describe the steps required to recover a virtual machine by restoring it from Tivoli Storage Manager and then import it back to vCloud Director. As mentioned above, Tivoli Storage Manager is operating in the vSphere infrastructure and is not explicitly aware of the vCloud Director software solution. Tivoli Storage Manager restores virtual machines into the vSphere infrastructure. vCloud Director does not recognize these virtual machines as being managed by vCloud Director or as a part of a vCloud Director vApp. For proper recovery and re-integration of a virtual machine into vCloud Director identify the virtual machine and restore it using Tivoli Storage Manager, import the virtual machine into vCloud Director and configure any additional, necessary settings of the virtual machine.
Restoring
There are many reasons why a virtual machine might need to be recovered. For example, the virtual machine might have been deleted by mistake, the data store on which the virtual machine was placed is damaged or the operating system has crashed. In these cases you can use Tivoli Storage Manager to restore the virtual machine. Please refer to the product documentation for the individual steps of restoring the machine, ensuring to restore the correct virtual machine as identified by the virtual machine name including the vCloud Director unique identifier. Before you restore the virtual machine you must ensure that either the original virtual machine is deleted in vCloud Director, or that you restore the virtual machine with a new name. Restoring a virtual machine over an existing virtual machine will make the machine unusable for vCloud Director. You will not be able to import the virtual machine correctly and the virtual machine must be restored from Tivoli Storage Manager again ensuring no virtual machines with the same name exist. The restore using Tivoli Storage Manager does not preserve the folder structure inside vSphere. The virtual machine is restored to the same level as the organizations (as displayed in Home > Inventory > VMs and Templates) or virtual data center resource pools (as displayed in Home > Inventory > Host and Clusters). In an example a restore command looks like: dsmc restore VM "Test_VM (d2ac8508-a696-4711-8493-d360815c8d8b)" -vmname="Test_VM-restored" In this example a new name is assigned to the new virtual machine. For all other options the defaults are used.
For details about restoring virtual machines using Tivoli Storage Manager see the product documentation. Once the virtual machine is restored it has to be imported as described in the next section.
Cloud Director will now complete the import. A new unique identifier will be assigned and the virtual machine will be moved to the correct folder. Note that this operation does not rename files in the data store. If you browse the data store you will find all the virtual machine files in the same directory and with the same name as they have been restored. In order to reconfigure the network settings of your imported virtual machine see section Network Configuration after Restore.
5 Other Considerations
This chapter describes additional considerations as well as known problems and limitations.
Limitations for Fast Provisioned Virtual Machines (so called Linked Clones)
Backup and Changed Block Tracking
In case of virtual machines that are fast provisioned (so called linked clones), VMwares Change Block Tracking (CBT) mechanism is not able to determine the used blocks. During the initial and each subsequent full backup operation, the Data Protection for VMware client will send the complete allocated disk size to the Tivoli Storage Manager server. If CBT is activated, the subsequent incremental backups can still be used to only send changed blocks.
10