Integrating Citrix XenServer and HP Data Protector

4. Run the backup specification (or schedule it in the specification).
These operations are described in this section.
Updating configuration script DPxen_config.py for backup
In the configuration file DPxen_config.py, or a configuration file with a name of your own,
you can specify the following parameters required to perform the backup:
Mode
The type of backup to be used and whether all, or only specified virtual
machines are to be backed up. Valid options are:
online, allOnline,
offline, and allOffline. For explanations of these, see Integration
concepts
on page 2.
url
The URL of the XenServer containing the virtual machines to be backed up.
username
The username of a user with the required access rights to the Xen Server.
password
The password of the user specified in username.
vmName
A list containing the names of the virtual machines to be backed up. If you
specify
online or offline for the Mode parameter, you must specify the
names of the individual virtual machines that you want to backup. The format of
the list is:
["name1", "name2",...]
The names can be obtained from the command line interface on the XenServer
(running the
xe vm-list command) or from the XenCenter interface, as shown
in
Figure 3.
If you specify allOnline or allOffline for the Mode parameter, this
parameter will be ignored.
debug
A Boolean value that should be set to True if you want to create a debug file
during the backup.
sr
This parameter is used for restore only. It is ignored during backup operations
and can be left out for backup, if preferred.
Figure 3 Obtaining the names of the virtual machines
Once you have all the information for these parameters you can proceed to change the
DPxen_config.py file or create a new configuration file.
8