121
sr-whitelist lists SR UUIDs, drtask-create will only introduce and connect to an SR which has
one of the whitelisted UUIDs
drtask-destroy
drtask-destroy uuid=<dr-task-uuid>
Destroys a disaster recovery task and forgets the introduced SR.
vm-assert-can-be-recovered
vm-assert-can-be-recovered uuid=<vm-uuid> database:vdi-uuid=<vdi-uuid>
Tests whether storage is available to recover this VM.
appliance-assert-can-be-recovered
appliance-assert-can-be-recovered uuid=<appliance-uuid> database:vdi-uuid=<vdi-uuid>
Checks whether the storage (containing the appliance's/vAPP disk) is visible.
appliance-recover
appliance-recover uuid=<appliance-uuid> database:vdi-uuid=<vdi-uuid> [force=<true|false>]
Recover an appliance/vAPP from the database contained in the supplied VDI.
vm-recover
vm-recover uuid=<vm-uuid> database:vdi-uuid=<vdi-uuid> [force=<true|false>]
Recovers a VM from the database contained in the supplied VDI.
sr-enable-database-replication
sr-enable-database-replication uuid=<sr_uuid>
Enables xapi database replication to the specified (shared) SR. For example:
xe sr-enable-database-replication uuid=<sr-uuid>
sr-disable-database-replication
sr-disable-database-replication uuid=<sr_uuid>
Disables xapi database replication to the specified SR. For example:
xe sr-enable-database-replication uuid=<sr-uuid>
Example Usage
The example below shows the DR CLI commands in context: