VMware Cloud Community
justinsmith
Enthusiast
Enthusiast
Jump to solution

Migration Question

Im going to be upgrading some hardware in an ESX host and want to migrate all the VM's (15 in this case) to one of the other hosts in the cluster. Is this something I can do automatically, rather then an individual migrate? I tried to enter maintenance mode, which if I keep the check box checked, will move the VM's for me automatically, but thats stuck at 2%.

Thanks          

0 Kudos
1 Solution

Accepted Solutions
TomHowarth
Leadership
Leadership
Jump to solution

puting a machine into maintenance mode should migrate the guest, however there are some exceptions to that rule, machines that have RDM's or Serial or pararel port set to local will not automatically migtrate

Tom Howarth VCP / VCAP / vExpert
VMware Communities User Moderator
Blog: http://www.planetvm.net
Contributing author on VMware vSphere and Virtual Infrastructure Security: Securing ESX and the Virtual Environment
Contributing author on VCP VMware Certified Professional on VSphere 4 Study Guide: Exam VCP-410

View solution in original post

0 Kudos
4 Replies
justinsmith
Enthusiast
Enthusiast
Jump to solution

If I go to the Virtual Machine's tab under the ESX host, I can highlight all the powered on VM's and rt click to migrate... this might be the easiest way..... scripting might be cooler though.

0 Kudos
idle-jam
Immortal
Immortal
Jump to solution

you can perform a mass vmotion via this powercli script: http://runningvm.wordpress.com/2010/12/17/vmware-bulk-vmotion-via-powercli/

0 Kudos
TomHowarth
Leadership
Leadership
Jump to solution

puting a machine into maintenance mode should migrate the guest, however there are some exceptions to that rule, machines that have RDM's or Serial or pararel port set to local will not automatically migtrate

Tom Howarth VCP / VCAP / vExpert
VMware Communities User Moderator
Blog: http://www.planetvm.net
Contributing author on VMware vSphere and Virtual Infrastructure Security: Securing ESX and the Virtual Environment
Contributing author on VCP VMware Certified Professional on VSphere 4 Study Guide: Exam VCP-410
0 Kudos
andershansendk
Contributor
Contributor
Jump to solution

Also if the vm's has a ISO attached to the DVD-drive - then the vm wont migrate.

If you go to the virtual machines tab on the host, you can mark all the VM's and drag´n´drop on to another host. If the VM's cant migrate and errormessage will give you a hint on whats wrong.

regards

Anders Hansen

Blog:  http://www.vperformance.org

Blog: www.vperformance.org
0 Kudos