This is handled by using create_vm
, which is a pool action. There's an example in this blog post.
Posts made by Danp
-
RE: APIs SDKs and Xen-ng
-
RE: Failed to migrate vdi
@lol_tux How did you come to the conclusion that warm migration is more reliable? Did you check SMlog for any obvious errors?
-
RE: Import from VMWARE gives error Cannot read properties of undefined (reading 'name')
@rporter Are you using v5.94.2 of XOA? If yes, then you should open a support ticket so that we can investigate further.
-
RE: Failed to migrate vdi
I've never encountered this particular error. Have you tried rescanning both SRs to see if the disk reappears?
-
RE: Import from VMWARE gives error Cannot read properties of undefined (reading 'name')
There are a few requirements for the import from VMWare process to work correctly --
- Be sure to connect directly to the ESXi server, not vCenter
- The VM needs to have at least one snapshot
- The VM should be stopped prior to import when using ESXi versions newer than v6.5
-
RE: VM_BAD_POWER_STATE
@jmm said in VM_BAD_POWER_STATE:
2-full backup,snapshot without ram
Restore ok but at the end vm is in halted state, i think the vm should be in suspended state
I can start vm, not sure where the ram is goneWas the "without ram" above a typo? If not, then halted is the correct state since the memory wasn't captured during the backup.
-
RE: VM_BAD_POWER_STATE
@jmm said in VM_BAD_POWER_STATE:
If I do a full backup "with ram" restore goes to then end but vm stay in halted state, is it a normal behavior ?
Yes. The VM will be in a suspended state unless you select the option to start the VM after restoration.
Here is the message from ui
Are you finding this under
Settings > Logs
or somewhere else?FWIW, I can't replicate on this side. Does this happen with all VMs or only those migrated from ESXi?
Dan
-
RE: VM_BAD_POWER_STATE
Can you post the full error message? FWIW, I just tested this with XOA and it worked correctly for me.
-
RE: XCP-ng host error - unable to create any VMs
@fatek You may be out of luck until they release updates for 8.3
-
RE: XCP-ng host error - unable to create any VMs
@fatek Are you running XOA or XO from sources? What release channel / commit?
-
RE: XCP-ng host error - unable to create any VMs
Updates for XOSTOR have not been released for XCP-ng 8.3, so it is only intended to be run on XCP-ng 8.2.1 at this time.
From https://xen-orchestra.com/blog/take-off-with-xostor/ --
-
RE: Export to ova from command line
@Dude417 said in Export to ova from command line:
That looks like xva format ...not ova ??? unless I am reading something wrong ??
Ah... I overlooked that. Not sure if OVA is supported here without looking into it further.
-
RE: Export to ova from command line
Looks like you can do this with XO CLI --
xo-cli vm.export vm=a01667e0-8e29-49fc-a550-17be4226783c @=vm.xva
From https://github.com/vatesfr/xen-orchestra/blob/master/packages/xo-cli/README.md
-
RE: VM group
@mbriet The current ACL implementation doesn't allow assigning an ACL to specifics tags. This type of functionality could be coming in the future, but I don't know the timeframe.
The ACL documentation explains how to assign permissions to users / groups.
-
RE: XCP-ng host status enabled but can't access it.
@quackerjeff You are on the latest commit .
-
RE: HA Operation Would Break Failover Plan
@arc1 What does
xe pool-ha-compute-max-host-failures-to-tolerate
return? -
RE: freepbx import from esxi wont boot correctly
@jsox79 You can try the method shown here -- https://xcp-ng.org/docs/migratetoxcpng.html#from-vmware
You would run the following command on the VM before importing it from VMware:
dracut --add-drivers "xen-blkfront xen-netfront" --force
-
RE: freepbx import from esxi wont boot correctly
Hi,
The device names likely changed during the migration (ie: from
/dev/sda1
to/dev/xvda1
). What are the contents of/etc/fstab
?Dan
-
RE: Rolling Pool Update - failing
@olivierlambert That is what I was thinking as well, but the he said that all hosts had been rebooted the previous day.
-
RE: Poor VM performance after migrating from VMWare to XCP-NG
@markds Looks that way. What output do you get for
sudo dmesg | grep xen
?