virtualization:xenserver:xenserver_migration
Differences
This shows you the differences between two versions of the page.
Both sides previous revision
Previous revision
Next revision
|
Previous revision
|
virtualization:xenserver:xenserver_migration [2017/02/26 11:26] gcooper |
virtualization:xenserver:xenserver_migration [2017/04/12 13:56] (current) gcooper |
:!: VMs must be **shut down** before transferring with these commands. | :!: VMs must be **shut down** before transferring with these commands. |
| |
:!: Add ''sr-uuid=<desired-sr-uuid>'' to ''vm-import'' to specify the **destination SR**. Alternately, just set the desired SR as the pool Default SR using XenCenter. | :!: Add ''sr-uuid=<desired-sr-uuid>'' to ''vm-import'' to specify the **destination SR**. Alternately, just set the desired destination SR as the pool Default SR using XenCenter. |
| |
CLI example, as ''root'' at the 'sender' console: | CLI example, as ''root'' at the 'sender' console: |
<file> | <file> |
xe template-export template-uuid=<template-uuid> filename= | ssh root@<ip-of-new-server> xe vm-import filename=/dev/stdin && xe vm-export uuid=<vm-uuid> filename= | ssh root@<ip-of-new-server> xe vm-import filename=/dev/stdin | xe template-export template-uuid=<template-uuid> filename= | ssh root@<ip-of-new-server> xe vm-import filename=/dev/stdin && xe vm-export uuid=<vm-uuid> filename= | ssh root@<ip-of-new-server> xe vm-import filename=/dev/stdin |
| </file> |
| |
| ===== Export/Import to/from Mounted Storage ===== |
| |
| <file> |
| xe vm-export vm="Name of VM" filename="/mount/point/Name Of VM.xva" |
| |
| xe vm-import filename="/mount/point/Name Of VM.ova" sr-uuid=<UUID of storage repository to place import> host-username=root host-password=>password of xenserver> |
</file> | </file> |
virtualization/xenserver/xenserver_migration.1488133584.txt.gz · Last modified: 2017/02/26 11:26 by gcooper