Subcategories

  • VMs, hosts, pools, networks and all other usual management tasks.

    476 Topics
    4k Posts
    A
    @pkgw Planning an RPU as a whole is a nice idea in theory, but it's inherently designed to co-exist with normal pool management operations (you should still be able to migrate VMs between hosts B and C during it, or start new ones), we are not "pre-booking" memory and other resources for groups of VMs, otherwise it can quickly make the rest of the pool hard to manage while some VM migrations could still be far away. Regarding the narrower case - I'll note this down and see if we can improve things, thank you!
  • ACLs, Self-service, Cloud-init, Load balancing...

    105 Topics
    864 Posts
    M
    Is a centralized XOA server "managing" two remote Proxy-fronted XCP clusters supported with the SDN Controller Plugin? We are looking to deploy an architecture similar to this blog post from 2022: https://xen-orchestra.com/blog/xo-proxy-a-concrete-guide/
  • All XO backup features: full and incremental, replication, mirrors...

    515 Topics
    5k Posts
    poddingueP
    Thanks for checking. That's useful, even if it points away from where I was looking. Clocks within a second of each other means drift probably isn't your problem, and I'd guess the MST/UTC difference is just how dom0 displays it, though I'm not sure. What I keep coming back to is that your full backups fail while the delta jobs on the same hosts never do. That's the same split in https://github.com/vatesfr/xen-orchestra/issues/9181, where full backups hit BodyTimeoutError on VMs with big disks or a lot of free space and the deltas are fine. If your failing VMs look like that, your dates and the MST/UTC detail would do more good on that issue than buried in here. MajorP93 created this issue in vatesfr/xen-orchestra open Full backup fails on large VMs / VMs with lots of free disk space #9181
  • Everything related to Xen Orchestra's REST API

    86 Topics
    645 Posts
    J
    Hello I'm pulling stats for all VMs to understand CPU usage. We're a bit behind the curve in terms of XO versions, but these questions hopefully are still relevant. If using a granularity of days, the interval is set to 86400 (understandably) but the endTimestamp varies. Running this on June 9th @ ~1740 we get timestamps for both Mon Jun 8 01:00:00 AM BST 2026 and Tues Jun 9 01:00:00 AM BST 2026. Does this average across the day? Why is the timestamp 0100? Why would there be different timestamps between VMs (all are running) and does that mean that the figures are misaligned in the results? These are retrieved via curl and a bash script, a bit hacky, but for clarity the request is: ++ curl -X GET -s -H accept:application/json -b authenticationToken=[[REDACTED]] -o [[REDACTED]] 'https://[[REDACTED]]/rest/v0/vms/[[REDACTED]]/stats?granularity=days' Really keen to know if we can control the start and endtime, as well as provide a manual interval, as well as the aggregation strategy (min, max, average). Are any of these possible? Lastly, is cpuUsage the percentage as per the dashboard, but averaged over all CPUs? Thanks so much in advance. James
  • Terraform, Packer or any tool to do IaC

    51 Topics
    471 Posts
    poddingueP
    The Kubernetes CSI driver for Xen Orchestra just hit v0.4.0, and we want it on more real clusters before it reaches a stable release candidate. If you run Kubernetes on XCP-ng VMs, this is a good time to give it a proper workout. What's new in v0.4.0: Local-storage support Automatic pool-discovery fallback Kubernetes metadata now lives in Xen Orchestra VDI tags instead of the deprecated other_config. That change also drops the old requirement for Xen Orchestra 6.4 or newer, so the driver runs on more deployments now. ️ Read this before you upgrade. v0.4.0 is a breaking change. The Kubernetes metadata moved from other_config to VDI tags, so you must migrate before upgrading from v0.3.0. Do not upgrade in place: follow the v0.3.0 to v0.4.0 migration guide in the release notes, then move to v0.4.0. What helps us most is hearing how it behaves on your own setup: what works, what breaks, which storage backend you use, and which flavour of Kubernetes you run (k3s, full k8s, or something else). Edge cases on real clusters are the ones we don't see in our own testing. Where to report: start right here in this thread. It keeps everything visible to the community and lets others on the same setup jump in. If something turns out to be a reproducible bug, we'll move it to a GitHub issue on the repo so the team can track it to a fix. Release notes and migration guide: https://github.com/vatesfr/xenorchestra-csi-driver/releases/tag/v0.4.0
  • Export list of Backup results (to TXT or CSV)

    5
    0 Votes
    5 Posts
    767 Views
    K
    @DustinB said in Export list of Backup results (to TXT or CSV): @KPS That might be sufficient for now if you can share it with me. I assume you mean if the backup files are deleted there is nothing to detect, correct? If the backup-files are deleted, the script does still "count" them, as it only parses the logs.
  • Moving hypervisors to a new pool with VMs on local storage

    9
    0 Votes
    9 Posts
    1k Views
    H
    Yeah, I was going to but wanted to put it as a discussion with other people. Maybe someone else has had similar situation. I'll open a support ticket now. Thanks.
  • Shared SR between two pools?

    5
    0 Votes
    5 Posts
    2k Views
    ajpri1998A
    It is possible to have both AMD and Intel in the same pool. My homelab had it until recently when I upgraded RAM and retired the optiplexes just recently. Live migration will not work, however, shared storage will work. You just have to shutdown the VM and "Start on" the specific host. In the VM Advanced tab.
  • Updated Permissions Matrix for XO documentation

    4
    0 Votes
    4 Posts
    961 Views
    D
    @olivierlambert said in Updated Permissions Matrix for XO documentation: Hi! Thanks for your recap, however: ACLs will be massively revamped in the future (but it's already good to have a view at the moment) I'm not sure about the viewer permission regarding VM console I converted that to a Markdown, I did however lose the header column (wasn't really sure how to do that). Anyways let me know what you think, and the Viewer permissions I really wasn't sure what else would be granted, seems like its only meant to generate reports from XO for a given system/host.
  • XO Proxy not working

    23
    7
    0 Votes
    23 Posts
    12k Views
    olivierlambertO
    We made the proxy with the smallest attack surface possible, so I would say it's pretty safe. But indeed, and as usual, it's a perpetual balance benefits and costs
  • Self Service naming policies ?

    5
    0 Votes
    5 Posts
    1k Views
    D
    @olivierlambert Yes. Using Cloudbase-init. I'd like to use something like - hostname: uk-xcp-{something} Where {something} is a number that XO keeps track of per group so that for a new VM {something} is unique.
  • SAML Force ReAuth

    9
    0 Votes
    9 Posts
    2k Views
    julien-fJ
    @danielspahiu Thank you!
  • 10GB xfer speed

    11
    0 Votes
    11 Posts
    4k Views
    olivierlambertO
    That's exactly what I said When you create a SR into an NFS path, it will create a new folder with a unique ID (UUID). Then, all vhd files must be there "flat" (no subfolder). Also, the only format working is <uuid>.vhd, nothing else. You can generate an UUID pretty easily with uuidgen.
  • "An error has occurred" message on every VM's Disks tab

    5
    1
    0 Votes
    5 Posts
    1k Views
    JamfoFLJ
    @Andrew Thank you Andrew... sorry it took me a while to get back to you. It seems every time I have to go and update Node they change the method you need to do so and it takes me forever to figure out what I'm supposed to do. I still haven't figured that out, but that's on me. However, restarting the toolstack did not fix the issue, but restarting the XO Ubuntu host server did. I've not seen anything like that before, where I've had to reboot the entire host server after applying commits... but if it works, I shall not argue! Thank you again for all of your help. I hope you have a wonderful weekend and a fantastic holiday season.
  • 404 Error Migration from VMware

    4
    0 Votes
    4 Posts
    1k Views
    olivierlambertO
    @kenkaniff412 said in 404 Error Migration from VMware: 404 Not Found https://10.15.47.11/folder/5ef46e5c-6682-c9cd-48af-e4434b3e0130/vsan://5205fb491e65dc99-62e26f64d9b34c60/60f46e5c-8ca4-eea4-a0ff-e4434b3e0130?dcPath=ha-datacenter&dsName=VxRail-Virtual-SAN-Datastore-5364d40d-1687-4c72-b904-248c54599994 I was talking about this URI @florent Look at the /vsan:// part in the middle
  • Recover Admin Password when XOA CLI is not installed

    8
    0 Votes
    8 Posts
    2k Views
    julien-fJ
    @Pechkin000 It should be installed alongside xo-server, it depends how you installed XO on this. But still, it requires root access for security.
  • In XOA, change Virtual disk properties (device position)

    4
    0 Votes
    4 Posts
    1k Views
    olivierlambertO
    Even if we add an UI to change it, I'm not sure that would be possible (or a good idea) to do it live
  • Need some customization in xen-orchestra

    3
    0 Votes
    3 Posts
    465 Views
    P
    Hey @olivierlambert, Thank you for update.
  • xo-upload-ova error

    7
    0 Votes
    7 Posts
    1k Views
    florentF
    @mdavico I will re test it tomorrow, to ensure the recent update didn't impact the cli
  • Backup to Azure?

    4
    0 Votes
    4 Posts
    1k Views
    A
    @poltushima As there is no S3 support in Azure Blob Storage, no you can't use XO for direct backup to Azure. There are S3 proxy projects (here's one) that could make it work.
  • Remove a VM without Destroying the Disk

    5
    0 Votes
    5 Posts
    2k Views
    JSylvia007J
    @Anonabhar Thanks!! This worked exactly as you described!
  • Unable to create bonded network on slave hypervisor in pool

    8
    0 Votes
    8 Posts
    3k Views
    retroipR
    @olivierlambert Thank you for quick reply. correct, it is agiants pool. Going to rename and order them correctly. Thank you
  • CLI/SSH delete VMs that were set as "Protect from accidental deletion" in XO

    Solved
    16
    0 Votes
    16 Posts
    9k Views
    L
    I had to do the following to remove the reboot block: xe vm-param-remove param-name=blocked-operations param-key=hard_reboot uuid=$UUID And then: xe vm-reboot force=true vm=$UUID
  • Migrate from XOA to Built from Sources

    8
    0 Votes
    8 Posts
    2k Views
    olivierlambertO
    Thank you! You can make the difference by promoting the solution, that's part of how the community can give back
  • Backup and/or snapshot only the boot disk of a virtual machine.

    13
    0 Votes
    13 Posts
    4k Views
    J
    Ok. Great I wait for the release. Thanks