xe pool-emergency-transition-to-master xe pool-recover-slaves

2.If the commands succeed, restart the VMs.

To restore a pool with all hosts failed

1.Run the command:

xe pool-restore-database file-name=<backup>

Warning:

This command will only succeed if the target machine has an appropriate number of appropriately named NICs.

2.If the target machine has a different view of the storage (for example, a block-mirror with a different IP address) than the original machine, modify the storage configuration using the pbd-destroycommand and then the pbd-createcommand to recreate storage configurations. See the section called “PBD commands” for documentation of these commands.

3.If you have created a new storage configuration, use pbd-plugor Storage > Repair Storage Repository menu item in XenCenter to use the new configuration.

4.Restart all VMs.

To restore a VM when VM storage is not available

1.Run the command:

xe vm-import filename=<backup> --metadata

2.If the metadata import fails, run the command:

xe vm-import filename=<backup> --metadata --force

This command will attempt to restore the VM metadata on a 'best effort' basis.

3.Restart all VMs.

135

Page 155
Image 155
Citrix Systems 5.6 manual To restore a pool with all hosts failed, To restore a VM when VM storage is not available