This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
virtualization:xenserver:xenserver_migration [2014/09/04 09:46] gcooper created |
virtualization:xenserver:xenserver_migration [2017/04/12 13:56] (current) gcooper |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== XenServer | + | ====== XenServer Migration |
- | | + | http:// |
+ | |||
+ | http:// | ||
+ | |||
+ | http:// | ||
+ | |||
+ | ===== VM Live Migration ===== | ||
+ | |||
+ | | ||
* No need for an additional purchase | * No need for an additional purchase | ||
- | * The disk file of the VM has to be on shared storage | + | * Virtual |
* You must have installed the Xen Tools package in the VM | * You must have installed the Xen Tools package in the VM | ||
- | ===== Storage ===== | + | ===== Storage |
:!: I haven' | :!: I haven' | ||
Line 12: | Line 20: | ||
http:// | http:// | ||
- | ===== VMs ===== | + | ===== Migration to a New Pool ===== |
- | http:// | + | See also **[[computing:linux: |
- | http://support.citrix.com/servlet/KbServlet/download/ | + | https://techblog.jeppson.org/2016/06/quickly-transfer-vms-xenserver-pools/ |
- | http://opentodo.net/2012/10/xenserver-ha-live-migration/ | + | :!: In the following commands, it is **necessary to configure SSH keys** for password-less access (one direction) prior. |
+ | |||
+ | Using these commands, VMs are transferred (actually, exported and imported) directly from one ' | ||
+ | |||
+ | This process will **monopolize Management network bandwidth** for a good long while, affecting/affected by all other Management network traffic for the duration of the transfers. | ||
+ | |||
+ | Exporting, then importing will **flatten (coalesce) all VHD chains** in the process...a wonderful thing. | ||
+ | |||
+ | ==== Transfer a VM from One Pool to Another ==== | ||
+ | |||
+ | :!: VMs must be **shut down** before transferring with these commands. | ||
+ | |||
+ | :!: Add '' | ||
+ | |||
+ | CLI example, as '' | ||
+ | |||
+ | < | ||
+ | xe vm-export uuid=< | ||
+ | </ | ||
+ | |||
+ | ==== Transfer Two VMs from One Pool to Another ==== | ||
+ | |||
+ | < | ||
+ | xe vm-export uuid=< | ||
+ | </ | ||
+ | |||
+ | ==== Transfer a Template and a VM from One Pool to Another ==== | ||
+ | |||
+ | < | ||
+ | xe template-export template-uuid=< | ||
+ | </ | ||
+ | |||
+ | ===== Export/ | ||
+ | |||
+ | < | ||
+ | xe vm-export vm=" | ||
+ | |||
+ | xe vm-import filename=" | ||
+ | </file> |