Starting a defined VM on a different host

25 Feb
2021
25 Feb
'21
2:42 p.m.
Hi, I might be missing something here, but I'm looking for the right API way to start a defined VM on a different host. The scenario is this: 1. VM is running under Cluster Affinity Host. and there is a need to cold migrate it to another host on that Affinity. 2. for that I will stop the VM. 3. And now I would like to start the VM on another host, I tried few ways like: vm_service.start( vm=types.Vm( host=types.Host( name='<host name>' ), ) ) But VM keep starting on the current host. Can you please show me the right way to do it. Thanks, Lavi
1628
Age (days ago)
1628
Last active (days ago)
0 comments
1 participants
participants (1)
-
lavi.buchnik@exlibrisgroup.com