This post provides information on storage vMotion in VMware vSphere 4 with ESXi 4.0 U2 hosts. While using storage vMotion to move data between unconnected storage, I conducted some simple testing to identify the networks and ports used for vMotion.
I’ve never seen an explanation of how storage vMotion works, and while it seems kind of obvious in retrospect, I thought some people might find this interesting.
Summary
- The scope of a storage vMotion operation is datacenter wide, not limited to clusters or which host can see which storage.
- In the testing conducted, storage vMotion relies upon the management network to transfer the disk data between the two ESXi hosts
- If this method was used to import a large number of VMs from foreign storage then the limitation would typically be the 1GB vmnic used for the management network.
- To allow the migration between datastores not visible by a single host, the VM would also be migrated between hosts.
Scenario
Two hosts managed by single vCenter instance, vc01:
- esx01 part of the CLUS1 cluster
- esx02 not in a cluster
- esx01, connected only to the iSCSI SAN 1
- esx02, connected only to the iSCSI SAN 2
Management network on vmk0 using two GbE interfaces on both hosts. Vmk0 on the management network with load balancing based on the virtual port ID.
Test
The test conducted was using storage vmotion to move a virtual machine through VirtualCenter on vc01 from a datastore visible only to esx02 to a datastore visible only to esx01.
- The source datastore was LUN02 (visible only to esx02) and the destination datastore was LUN01 (visible only to esx01).
- vMotion was used to automatically migrate the VM from esx02 to esx01 (as the VM had moved storage)
Traffic and network usage observed
- On esx02 unsupported console, vmk0 source 192.168.0.12.60504 (esx02), destination 192.168.0.11.902 (esx01).
- Command: /bin/tcpdump-uw -I vmk0 -nn
esx02
- MbRx 190Mb/sec on software iSCSI NIC – Reading the disk information from iSCSI SAN 2 for the VM
- MbTx 136Mb/sec – Transmit the information across the management network to esx01.
- Command: resxtop --server esx02 (‘n’ for network information)
esx01
- MbRx 120Mb/sec – receiving the disk data from esx02 across the management network
- MbTx 200Mb/sec on software iSCSI NIC – writing the data to the SAN across the iSCSI network
- Command: resxtop --server esx01 (‘n’ for network information)
The following diagram shows the traffic flow of storage vMotion on an iSCSI network:
8 comments:
Thank you. You are correct, this info is nowhere to be found.
Thanks for these! Now I have a clear idea on how vSphere Storage vMotion traffic works. Most likely, I'm into it services. Houston, TX where I now stays, allow me to try different things and this includes equipment and design such as the vSphere storage.
As you stated I too have never thought or seen an explanation of how storage vMotion works.Your blog is really interesting to think about it and now I have a clear vision on this topic.I really appreciate your efforts.Keep It up
This is absolutely 100% incorrect. Storage vMotion is one host, two datastores. Here is a great explanation from VMware themselves: http://www.vmware.com/products/storage-vmotion/overview.html
Thanks for post. It’s really informative stuff.
I really like to read.Hope to learn a lot and have a nice experience here! my best regards guys!
Why would you not have both datastores available to both hosts on a seperate vlan for iSCSI traffic? Nothing would then have to go via the Management network. Your configuration would be very peculiar.
Just moved to Texas and been i need of some repairs. The it services houston would be good.
Hi. I really enjoyed my brief visit on your site and I’ll be sure to be back for more.
Can you please consider placing my website on your link list?
Please email me back.
Thanks!
Kevin
kevincollins1012 gmail.com
Post a Comment