admin
Immortal
Immortal

VMotion

Hello,

as far, as I can see VMotion is not possible/implemented with VI-Toolkit yet!?

That raises the question:"Which commands are selected to be integrated in VI-Toolkit" ... "why is no vm-vmotion availible (yet)"..."and who makes suggestions which commands are implemented"

Carsten

0 Kudos
4 Replies
bshell
Enthusiast
Enthusiast

I am fairly certain the move-vm does exactly that.

0 Kudos
admin
Immortal
Immortal

I already saw that command

Move-VM -Destination []

but I thought it only moves VMs into different Folders or resource groups. I didn't manage it to accept a ESX server as "-Destination".

Can you provide an example!?

Carsten

0 Kudos
admin
Immortal
Immortal

Move-VM supports VMotion. It is of course necessary that the source and target hosts and the VM meet the criteria for VMotion. Assuming they do, something like this should work:

$target = Get-VMHost serverName

$vm = Get-VM vmName

Move-VM -VM $vm -Destination $target

If this is not working and it works through other means (e.g. through the Windows client), please post the set of commands you're trying and the relevant VC log and we'll follow up.

Antonio (VMware developer)

0 Kudos
halr9000
Commander
Commander

I've used this before in a non-vmotion environment and it worked great for what it was. Had to turn the VMs off of course.

My signature used to be pretty, but then the forum software broked it. vExpert. Microsoft MVP (Windows PowerShell). Author, Podcaster, Speaker. I'm @halr9000
0 Kudos