This article focuses on migrating virtual machine storage, which is the migration of files such as the virtual machine's hard disk to other data stores, and the vmotion online migration of virtual machines.
One: Deployment environment
650) this.width=650; "title=" Picture 0.png "alt=" Wkiol1ef3dpc_urkaaalyaihyci671.png "src=" http://s5.51cto.com/wyfs02/M02 /84/1b/wkiol1ef3dpc_urkaaalyaihyci671.png "/>
Ii. Migrating virtual machine storage
Migrating a virtual machine originally stored on the first host's local disk to an iSCSI shared disk can only be realized by migrating the virtual machine to shared storage for vmotion online migration and automatic failover.
1, migrate the virtual machine, choose Change data storage 650) this.width=650; "title=" Picture 1.png "style=" Float:none; "alt=" Wkiom1efpwyixl3xaac5twx6zg8437.png " src= "Http://s1.51cto.com/wyfs02/M02/84/18/wKiom1eFpWyixL3XAAC5Twx6ZG8437.png"/>
2. Select target storage as iSCSI shared storage "Esxi-ha-sharedisk"
650) this.width=650; "title=" Picture 2.png "style=" Float:none; "alt=" wkiol1efpw3ywaz1aafoaimwc5m096.png "src=" http:/ S1.51cto.com/wyfs02/m00/84/17/wkiol1efpw3ywaz1aafoaimwc5m096.png "/>
3. Click Finish
650) this.width=650; "title=" Picture 3.png "style=" Float:none; "alt=" wkiom1efpw6ixmaxaab-oc0bl_g669.png "src=" http:/ S1.51cto.com/wyfs02/m00/84/18/wkiom1efpw6ixmaxaab-oc0bl_g669.png "/>
4. Wait patiently for the migration to complete
650) this.width=650; "title=" Picture 4-1.png "style=" Float:none; "alt=" wkiol1efpxozajsfaaggrfkxhxm908.png "src=" http:/ S5.51cto.com/wyfs02/m01/84/17/wkiol1efpxozajsfaaggrfkxhxm908.png "/>
Third, virtual machine on-line migration
1, virtual machine WIN10 storage has been migrated to the shared storage, can realize the Vmotion cross-host online migration, turn on the virtual machine power on.
650) this.width=650; "title=" Picture 5.png "style=" Float:none; "alt=" wkiol1efpxtbnfawaafjtm93kao539.png "src=" http:/ S2.51cto.com/wyfs02/m02/84/17/wkiol1efpxtbnfawaafjtm93kao539.png "/>
2, confirm that the virtual machine is currently located on the host 192.168.10.41, we will migrate it live to another host 192.168.10.46, the IP address of the virtual machine before migration long ping, to test the migration process packet loss rate. The original source of this article: Jiangjianrong Technical Blog http://jiangjianlong.blog.51cto.com/3735273/1826051
650) this.width=650; "title=" Picture 6.png "style=" Float:none; "alt=" wkiom1efpxrdc9fqaadbxjala88752.png "src=" http:/ S4.51cto.com/wyfs02/m02/84/18/wkiom1efpxrdc9fqaadbxjala88752.png "/>
3, migrate the virtual machine, choose to change the host
650) this.width=650; "title=" Picture 7.png "style=" Float:none; "alt=" wkiom1efpxyjykekaadwg0kxple898.png "src=" http:/ S5.51cto.com/wyfs02/m00/84/18/wkiom1efpxyjykekaadwg0kxple898.png "/>
4, select the target host for another host 192.168.10.46
650) this.width=650; "title=" Picture 8.png "style=" Float:none; "alt=" wkiom1efpx6s57uxaachfffgxps899.png "src=" http:/ S2.51cto.com/wyfs02/m02/84/18/wkiom1efpx6s57uxaachfffgxps899.png "/>
650) this.width=650; "title=" Picture 9.png "style=" Float:none; "alt=" wkiol1efpx7bupzfaacxl57qnnc806.png "src=" http:/ S2.51cto.com/wyfs02/m01/84/17/wkiol1efpx7bupzfaacxl57qnnc806.png "/>
5. Click Finish
650) this.width=650; "title=" Picture 10.png "style=" Float:none; "alt=" wkiol1efpx_twm99aab4lgymkbg416.png "src=" http:/ S2.51cto.com/wyfs02/m00/84/17/wkiol1efpx_twm99aab4lgymkbg416.png "/>
6, the process of online migration is mainly to migrate the virtual machine's memory data, this process may lose one or two packets
650) this.width=650; "title=" Picture 11-1.png "alt=" Wkiol1efqf6gpdgjaagtav1xysg311.png "src=" http://s3.51cto.com/wyfs02/ M01/84/17/wkiol1efqf6gpdgjaagtav1xysg311.png "/>
7. migration completed, migrated to 192.168.10.46 host
650) this.width=650; "title=" Picture 12.png "style=" Float:none; "alt=" wkiol1efpykbn2uhaaeewlr5ia0801.png "src=" http:/ S2.51cto.com/wyfs02/m01/84/17/wkiol1efpykbn2uhaaeewlr5ia0801.png "/>
Iv. Automatic fault transfer
The HA cluster of vcenter can not only proactively initiate the migration of virtual machines, but most importantly, host failures automatically transfer virtual machines and allow virtual machines to restart on other host hosts. The test diagram is followed by a fill.
This article is from the "Jiangjianrong Technology blog" blog, make sure to keep this source http://jiangjianlong.blog.51cto.com/3735273/1826051
vCenter6.0 configuration Three: virtual machine migration