Using TSM/TSM for VE to protect VMware virtual machines deployed in a vApp

Technote (FAQ)


Question

Can you use IBM Tivoli Storage Manager (TSM) or IBM Tivoli Storage Manager for Virtual Environments (TSM for VE) to protect VMware virtual machines deployed in a vApp?

Cause

According to the IBM Tivoli Storage Manager Backup-Archive Clients documentation, the Backup-Archive client " ... cannot backup virtual machines that are deployed as vSphere vApps" and " ... are not included in full VM backups." (http://publib.boulder.ibm.com/infocenter/tsminfo/v6r3/topic/com.ibm.itsm.client.doc/r_cmd_bkupvm.html?resultof=%22%76%41%50%50%22%20%22%76%61%70%70%22%20)

Answer

Yes. Using the Tivoli Storage Manager Backup-Archive client V6.3, either stand-alone or as part of Tivoli Storage Manager for Virtual Environments - Data Protection for VMware V6.3 solution, virtual machines deployed in vSphere vApps can be backed up and recovered.

This article does not pertain to Backup-Archive client V6.4 and higher; the Backup-Archive client V6.4 has native support for vSphere vApps; please refer to the product documentation for more information.

Note the following limitations with Backup-Archive clients prior to V6.4::

  • Only virtual machines deployed in vApps can be backed-up and recovered; the vApp object (container) itself cannot be backed-up and recovered.
  • Upon restore, the virtual machine will not be automatically placed back into the containing vApp; this must be done manually by the user after the virtual machine is restored.
  • The Backup-Archive command-line interface (CLI) or graphical user interface (GUI) must be used to restore a virtual machine that was originally deployed in a vApp; the recovery cannot be accomplished with the Data Protection for VMware vCenter plug-in
  • The user must explicitly specify the datacenter parameter when restoring a virtual machine that was originally deployed in a vApp (see section "How to properly recover virtual machines deployed in vApps" below for more details)
  • This article is only pertinent to V6.3 products; the Tivoli Storage Manager Backup-Archive client V6.1 and V6.2 cannot backup virtual machines that are deployed in a vApps.
  • This article only applies to VMware vSphere 4.1 and higher (including vSphere 5.0).
  • This article only applies to vApps in the context of VMware vSphere and VMware vSphere Hypervisor (ESX and ESXi); this article does not apply to vApps in the context of VMware vCloud Director

Error conditions when trying to restore a virtual machine that was deployed in a vApp using default parameters

These are the expected error conditions when trying to restore a virtual machine that was deployed in a vApp. Note that these errors occur specifically in the case when you try to restore a virtual machine using the default parameters, specifically if you do not override the datacenter name associated with the virtual machine:
  1. Backup-Archive command-line interface (CLI)

    Attempting a restore from the Backup-Archive command-line client will produce the following errors:

    ANS4166E: Creating a Virtual Machine, but the datacenter '' was not found. The name may be incorrect or may be located in a VMware folder and require the folder name such as vmfolder/dcname.

    >>>>>> Restore Processing Interrupted!! <<<<<<
    ANS9372E Unable to create the virtual machine to be restored due to an invalid host name, datacenter name, or datastore name.

    (Note: the name of the datacenter will always be empty)
  2. Backup-Archive graphical user interface (GUI)

    Attempting a restore from the Backup-Archive Client JAVA user interface will
    produce an error dialog with the ANS4166E message as listed above.
  3. Data Protection for VMware vCenter plug-in

    Attempting a restore from the Data Protection for VMware vCenter plug-in will produce unpredictable results. The error below is a typical error dialog but does not represent all possible dialogs that can occur when trying to restore a virtual machine deployed in a vApp using this interface:

    Error
    GVM1179E
    No Host is found in data center NAME-OF-DATACENTER
    Select another data center to restore.

How to properly recover virtual machines deployed in vApps

Virtual machines deployed in vApps can be recovered by specifying the datacenter parameter as indicated below:
  1. Backup-Archive command-line interface (CLI)

    Specify the datacenter parameter in the restore vm command, e.g.,:

    dsmc restore vm 'vm1' -datacenter=mydatacenter
  2. Backup-Archive graphical user interface (GUI)

    Specify the datacenter parameter in the "Select destination for restored objects" panel by selecting "Restore to ... Following location" and provide the "Datacenter" information. The other fields do not have to be specified.
  3. Data Protection for VMware vCenter plug-in

    This interface cannot currently be used to restore virtual machines deployed in a vApp.

Rate this page:

(0 users)Average rating

Document information


More support for:

Tivoli Storage Manager for Virtual Environments
Data Protection for VMware

Software version:

6.2, 6.3

Operating system(s):

Linux, Windows

Software edition:

All Editions

Reference #:

1579252

Modified date:

2012-02-07

Translate my page

Machine Translation

Content navigation