HA Requirements
• Minimum 3 XS hosts
• Shared Storage
• Resource Pool
• Static IP addresses for all XS hosts
• Advanced edition or higher
• VMs connected to pool-wide networks
• VMs not connected to any XS host DVD drive configuration
• All VM virtual disks on shared storage accessible pool-wide
• 4MB heartbeat volume
• 256MB metadata volume – Stores pool master metadata
• Use bonded management interface

VM Restart Priority
• HA restart priority - Restart, Restart if possible, Do not restart
• Start order
• Attempt to start next VM after

Fencing and Overcommitting
• Fencing – Network connectivity loss, Problem with the control stack
• Overcommitting - Warning alert when you are about to overcommit resource pool

Backup
• Resource Pool or VM metadata, VMs and XS hosts
• Backup VM metadata:
– xe vm-export vm= file-name= etadata=true
– xe vm-list
• Backup a VM:
– xe vm-export vm= file-name=
• Backup a XS host:
– xe host-backup file-name= -h -u root –pw

Recovery
• Restore VM metadata:
– xe pool-restore-database file-name=/var/backup/pool-database-*
• Restore a XS host:
– xe host-restore file-name= -h -u root –pw
• Metadata database on each XS host stores information about VM metadata and associated resources
• Backup VM metadata:
– xe -backup-metadata
• Re-import VM, re-attach virtual disks:
– xe -restore-metadata
Backup and Recovery Metadata

Backup Resource Pool Database
• Metadata database on each XS host stores information about VM metadata and associated resources
• Backup resource pool database:
– xe pool-dump-database file-name=
• On new XS master host:
– xe pool-restore-database
– xe host-forget

Backup VMs as Snapshots
• Regular snapshots – Fail-consistent, All VMs including Linux
• Quiesced snapshots –Windows only, VSS for application-consistent point-in-time snapshots
• Snapshots with memory – Reverting back to a point in time

Working with Snapshots
• Listing VM snapshots
– xe snapshot-list
– xe vm-list
– xe snapshot-list snapshot-of=[vm uuid]
• Deleting snapshots
– xe snapshot-uninstall snapshot-uuid=
– xe snapshot-destroy snapshot-uuid=
• Restoring VM from snapshot
– xe snapshot-revert snapshot-uuid=