XenServer 6.1Storage XenMotionChristian FerberSr Systems Engineer Cloud InfrastructureNovember, 2012
Feature Overview: Use cases1. Upgrade a storage array2. Upgrade a pool with VMs on local storage3. Provide tiered storage ...
Live Storage XenMotionUpgrading VMs from Local to Shared Storage                                             Live         ...
Live Storage XenMotionMoving VMs within a Pool with local-only storage                       Live                      Vir...
Live Storage XenMotionMoving or rebalancing VMs between Pools (Local  SAN)                           Live               ...
Live Storage XenMotionMoving or rebalancing VMs between Pools (Local  Local)                           Live             ...
Storage XenMotion Features•   Destination network can be selected•   Transfer network can be selected•   Migration doesn’t...
Feature Overview: GUI walkthrough© 2012 Citrix
Feature Overview: GUI walkthrough© 2012 Citrix
DEMO                Storage XenMotion© 2012 Citrix
Storage XenMotionDeep dive
Feature Overview: CLI walkthrough• xe vm-migrate ᵒ New params: remote-address, remote-username, remote-password,   remote-...
Feature Overview: Bird’s-eye viewCross-pool migration and VDI migration consist of the following:1. Synchronously mirror V...
Architecture: Intro to VHDs• Many SRs implement VDIs as VHD trees• VHDs are a copy-on-write format for storing virtual dis...
no color = emptyStorage XenMotion         gradient = live                   VM          root                 SOURCE       ...
Architecture: VDI operations• For each VDI: ᵒ Snapshot VDI and synchronously mirror all subsequent writes to destination S...
Architecture: Summary• New components: xenopsd, SMAPI v2, tapdisk NBD plugin• Cross-pool migration comprised of VDI snapsh...
Troubleshooting tips• Check logs: /var/log/{xensource.log,SMlog,messages} ᵒ Note: xensource.log and messages both implemen...
Work better. Live better.
Upcoming SlideShare
Loading in...5
×

Christian ferber xen server_6.1_storagexenmotion

536

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
536
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
45
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Christian ferber xen server_6.1_storagexenmotion

  1. 1. XenServer 6.1Storage XenMotionChristian FerberSr Systems Engineer Cloud InfrastructureNovember, 2012
  2. 2. Feature Overview: Use cases1. Upgrade a storage array2. Upgrade a pool with VMs on local storage3. Provide tiered storage arrays4. Rebalance VMs between XenServer pools, or CloudStack clusters“The Cloud” was the major use case we had in mind when designing this.© 2012 Citrix
  3. 3. Live Storage XenMotionUpgrading VMs from Local to Shared Storage Live Virtual Machine XenServer Hypervisor VDI(s) Local Storage FC, iSCSI, NFS SAN XenServer Pool © 2012 Citrix
  4. 4. Live Storage XenMotionMoving VMs within a Pool with local-only storage Live Virtual Machine XenServer Hypervisor XenServer Hypervisor VDI(s) Local Local Storage Storage XenServer Pool © 2012 Citrix
  5. 5. Live Storage XenMotionMoving or rebalancing VMs between Pools (Local  SAN) Live Virtual Machine XenServer Hypervisor XenServer Hypervisor XenServer Hypervisor XenServer Hypervisor XenServer Hypervisor XenServer Hypervisor VDI(s) Local Storage FC, iSCSI, NFS SAN XenServer Pool 1 XenServer Pool 2 © 2012 Citrix
  6. 6. Live Storage XenMotionMoving or rebalancing VMs between Pools (Local  Local) Live Virtual Machine XenServer Hypervisor XenServer Hypervisor XenServer Hypervisor XenServer Hypervisor XenServer Hypervisor XenServer Hypervisor VDI(s) Local Local Storage Storage XenServer Pool 1 XenServer Pool 2 © 2012 Citrix
  7. 7. Storage XenMotion Features• Destination network can be selected• Transfer network can be selected• Migration doesn’t interfere with VM powerstate ops• Extra network IO won’t interfere with Xapi’s management interface• Up to 3 concurrent Storage Migrations per host• Up to 6 VDIs on each VM• Supported on all VHD based SRs (Local EXT, Local LVHD, iSCSI, FC)* © 2012 Citrix * Not currently supported with StorageLink SRs
  8. 8. Feature Overview: GUI walkthrough© 2012 Citrix
  9. 9. Feature Overview: GUI walkthrough© 2012 Citrix
  10. 10. DEMO Storage XenMotion© 2012 Citrix
  11. 11. Storage XenMotionDeep dive
  12. 12. Feature Overview: CLI walkthrough• xe vm-migrate ᵒ New params: remote-address, remote-username, remote-password, remote-network, vif, vdi • Extends the original vm-migrate command • Bold params are required to enable cross-pool migration • vif and vdi map VIFs to target networks and VDIs to target SRs • remote-network specifies the network used for data transfer • Can use host/host-uuid to specify host on pool to send VM• xe vdi-pool-migrate ᵒ Params: uuid, sr-uuid • uuid of target VDI • sr-uuid of destination SR© 2012 Citrix
  13. 13. Feature Overview: Bird’s-eye viewCross-pool migration and VDI migration consist of the following:1. Synchronously mirror VDIs between source and destination2. Create new VM object on destination pool (new ref, same uuid)3. When copy complete, migrate VM as usualNote: VDI migrate implemented with “localhost” cross-pool migrate! © 2012 Citrix
  14. 14. Architecture: Intro to VHDs• Many SRs implement VDIs as VHD trees• VHDs are a copy-on-write format for storing virtual disks• VDIs are the leaves of VHD trees• Interesting VDI operation: snapshot (implemented as VHD “cloning”) RW RO A RO RWA: Original VDI B AB: Snapshot VDI © 2012 Citrix
  15. 15. no color = emptyStorage XenMotion gradient = live VM root SOURCE DESTINATION© 2012 Citrix
  16. 16. Architecture: VDI operations• For each VDI: ᵒ Snapshot VDI and synchronously mirror all subsequent writes to destination SR ᵒ Copy the snapshot to destination SR ᵒ Finally, compose those writes onto the snapshot on the destination SR • Continue to mirror all new writes• Each of these operations occurs sequentially for each VDI, but each VDI mirror continues until the VM migration is complete• VM memory is copied only after final VDI compose is complete VDI 1: snapshot & start mirroring VDI 1: copy snapshots VDI 2: snapshot & start mirroring VDI 2: copy snapshots Copy VM memory© 2012 Citrix
  17. 17. Architecture: Summary• New components: xenopsd, SMAPI v2, tapdisk NBD plugin• Cross-pool migration comprised of VDI snapshotting, copying, and mirroring• VDI-migration implemented as a “localhost” cross-pool migration• Both operations require extra, temporary space on source and destination SR© 2012 Citrix
  18. 18. Troubleshooting tips• Check logs: /var/log/{xensource.log,SMlog,messages} ᵒ Note: xensource.log and messages both implemented with syslog, so they now have consistent timestamps!• xn command: CLI to xenopsd ᵒ Try ‘xn help’ for documentation.• tap-ctl command ᵒ Could be useful for diagnosing problems © 2012 Citrix
  19. 19. Work better. Live better.
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×