xe
Full metadata backup and disaster recovery (DR)
This section introduces the concept of Portable Storage Repositories (Portable SRs), and explains how they work and how to use them as part of a DR strategy.
DR and metadata backup overview
XenServer 5.6 introduces the concept of Portable SRs. Portable SRs contain all of the information necessary to recreate all the Virtual Machines (VMs) with Virtual Disk Images (VDIs) stored on the SR after
Using portable SRs has similar constraints to XenMotion as both cases result in VMs being moved between hosts. To use portable SRs:
•The source and destination hosts must have the same CPU type and networking configuration. The destination host must have a network of the same name as the one of the source host.
•The SR media itself, such as a LUN for iSCSI and FibreChannel SRs, must be able to be moved, re- mapped, or replicated between the source and destination hosts
•If using tiered storage, where a VM has VDIs on multiple SRs, all required SRs must be moved to the destination host or pool
•Any configuration data required to connect the SR on the destination host or pool, such as the target IP address, target IQN, and LUN SCSI ID for iSCSI SRs, and the LUN SCSI ID for FibreChannel SRs, must be maintained manually
•The backup metadata option must be configured for the desired SR
Note:
When moving portable SRs between pools the source and destination pools are not required to have the same number of hosts. Moving portable SRs between pools and standalone hosts is also supported provided the above constraints are met.
Portable SRs work by creating a dedicated metadata VDI within the specified SR. The metadata VDI is used to store copies of the pool or host database as well as the metadata describing the configuration of each VM. As a result the SR becomes fully
The metadata backup and restore feature works at the
Backup and restore using xsconsole
When a metadata backup is first taken, a special backup VDI is created on a SR. This VDI has an ext3 filesystem that stores the following versioned backups:
•A full
•Individual VM metadata backups, partitioned by the SRs in which the VM has disks.
•
124