V2V migrated VMs don't autostart
-
I'm at the moment doing alot of test with V2V (applause on getting rid of the vddk-dependency btw
)However, what I'm noticing is that the migrated VMs don't automatically start when the import has completed. This is contrary to current documentation.
Is this a potential bug? Or am I missing something obvious?
PS: The imports are all sucessfull. It's just the auto-start part that I'm noticing doesn't work.
Cheers!
Commit: dc573
Template used for testig is: Rocky Linux 9
-
J jr-m4 marked this topic as a question
-
@jr-m4 Hi there... A warm VMware V2V migration should indeed start up by itself, so I'm not sure what you are experiencing is normal. This is documented, as you've probably seen, at: https://xcp-ng.org/blog/2022/10/19/migrate-from-vmware-to-xcp-ng/
That said, in addition, if you want your imported VMs to start up automatically every time your XCP-ng server or pool boots up, you have to enable the Auto Power On / Auto Start configuration.
For this to work, it must be enabled at both the Pool level and the individual VM level.
Method using Xen Orchestra (Recommended):
Go to the VM tab, select your imported VM, and navigate to the Advanced view.
Toggle the Auto power on switch to ON. (XO will handle configuring both the host pool and the VM flags for you).Or alternatively, via the bash shell:
--> Get your Pool UUID
xe pool-list--> Set the auto_poweron parameter to true
xe pool-param-set uuid=<POOL_UUID> other-config:auto_poweron=trueEnable Autostart on the Imported VM:
--> Get your VM UUID
xe vm-list name-label="Your_Imported_VM"--> Set the VM param to true
xe vm-param-set uuid=<VM_UUID> other-config:auto_poweron=true
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login