Configuring the domain for VMware backups
Before you begin a virtual machine backup, you can predefine a domain to include VMware virtual machines for backup. The virtual machines that are specified in the domain are only backed up when you issue the backup VM command without a virtual machine or a list of virtual machines.
About this task
This function is available only if you are using the IBM Spectrum Protect™ for Virtual Environments: Data Protection for VMware licensed product.
Important: Ensure that you set the following environment variable
path before any VMware backup operation occurs, otherwise the VMware
backup and restore functions will not work:
LD_LIBRARY_PATH=/opt/tivoli/tsm/client/ba/bin
Without
this environment variable, the vStorage backup server will
fail with the following message:
"ANS8809E The LD_LIBRARY_PATH is either not set or is set incorrectly.
Ensure that the LD_LIBRARY_PATH environment variable contains the installation
directory /opt/tivoli/tsm/client/ba/bin.
ANS4152E Failure initializing VMware virtual machine environment. RC=4387.
Refer to client dsmerror.log for detailed error messages.
Procedure
To configure the domain for VMware virtual machine backups:
- Click in the IBM Spectrum Protect window.
- Click the VM Backup tab.
- From the Backup Type list, select VMware Full VM.
- Select an item from the VM options list.
- Specify an object to process in the VM host, VM host cluster, VM folder, VM datastore, or VM name field.
- Click Insert. Your selections are added to the list box in the Domain for VM Backup field. If you need to delete and item from the list, highlight the item and click Remove.
- Click OK to save your configuration and close the Preferences Editor.
Results
The new domain definition is added to existing domain definitions in the list box in the Domain for VM Backup field, and also to the client options file (dsm.sys).
The client can detect new virtual machines
that were added to the VMware environment after the initial setup in the following situations:
- When you run a full VM backup after a new virtual machine is added to the VMware environment, the backup-archive client can detect any new virtual machine that matches the Domain Full VM specification (ALL-VM, ALL-WINDOWS, VMHOST, or VMFOLDER) and backs up the full VM files. No additional processing is needed to define an extra node on the IBM Spectrum Protect server.
Related concepts:
Related tasks: