Subcategories

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

    473 Topics
    4k Posts
    olivierlambertO
    Hi, IP conflict?
  • ACLs, Self-service, Cloud-init, Load balancing...

    104 Topics
    863 Posts
    laszlobortelL
    @florent Thanks for your reply! We have started to migrate thousands of VMs, so disk transfer speed is important for us.. We will also do our detailed tests soon with different threads setting and publish it here. I think threads=1 is a good and logical default, but not efficient. Others might complain if you set it to a higher value. Configuration option would be a real good solution.
  • All XO backup features: full and incremental, replication, mirrors...

    511 Topics
    5k Posts
    itservicesI
    Evening @pierrebrunet My bad. I am now on commit b440f and the issue persist. I have written you a message with the link to the file. Regards, Marc
  • 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
  • Debian cloud template for XenServer Default Password

    6
    0 Votes
    6 Posts
    5k Views
    olivierlambertO
    There's no root password. Use sudo -s
  • Server can no longer connect after crash

    Solved pool server
    5
    0 Votes
    5 Posts
    2k Views
    grapesmcG
    @olivierlambert FYI turned out to be a networking issue that had nothing to do with the server itself. I'm still getting to the bottom of what exactly the cause was, and will update here once I do just in case someone else runs into this. Thanks again. And thanks for the awesome software. ! -Rob
  • Uncertain state of VM tools

    7
    0 Votes
    7 Posts
    2k Views
    olivierlambertO
    No, there's no need to upgrade VM tools when you upgrade the host. You can keep old tools, it will work fine.
  • VDI is not available Error

    4
    0 Votes
    4 Posts
    3k Views
    F
    @dan2462 Did you get a resolution to your VDI issue? I have a similar problem as it seems hosts are locking up the VDI's on my shared iscsi storage and if they are shutdown and I try to boot them on an alternate host, I get the VDI not available error.
  • HOST_NOT_ENOUGH_FREE_MEMORY

    9
    0 Votes
    9 Posts
    3k Views
    M
    @olivierlambert Thanks for the quick feedback!
  • What ordering does XO trigger backups in?

    3
    0 Votes
    3 Posts
    759 Views
    badrAZB
    Hi @xo-g , We don't use any specific order to pick the VMs to backup.
  • How to implement the perfect backup strategy with Xen Orchestra?

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Single backup job two locations

    2
    0 Votes
    2 Posts
    517 Views
    olivierlambertO
    You can have one job with 2 remotes. Or a job with backup and DR at the same time.
  • SAML, automatic user generation

    5
    0 Votes
    5 Posts
    2k Views
    pdoniasP
    @mrbaz Thanks for the detailed feedback! If XO had a way of pulling the user's group information and only allowing those in a certain group to have authorization to XO to have their accounts automatically generated, that would work too. That wouldn't be trivial to implement with our current plugin system. But as you said, a user that logs into XO isn't able to do anything without granting them permissions first. Also, if this is still a concern for you, you can disable user auto-generation in xo-server configuration by adding this line: createUserOnFirstSignin = false However, you'd then have to create the users manually before they can log in. the issue still stands that I can't put a user into a group or assign ACLs until after they have signed in for the first time. I agree but I'm not sure what a good solution to this would be. If we add an option to import all the users at once, it could mean importing a lot of users for some companies, even if many of those users would never actually log in later.
  • Cannot import a large VHD using Import Disk option

    Solved
    8
    0 Votes
    8 Posts
    3k Views
    D
    @nraynaud @olivierlambert Thanks guys!
  • S3 Remote

    12
    0 Votes
    12 Posts
    3k Views
    F
    @lawrencesystems said in S3 Remote: I was hoping to avoid this method as my pfsense is not connected at 10G. Thank you for the clarification. Happy I could help.
  • un-zstd .xva files exported with XOA?

    Solved
    3
    0 Votes
    3 Posts
    529 Views
    ForzaF
    @olivierlambert said in un-zstd .xva files exported with XOA?: Hi! Again, before starting to talk about technical solution, can you explain the use case? If you have zstd installed on your machine, yes. It's a tar with compression (gzip or zstd). But then it won't be trivial to assemble VM data (but you can exctract metadata easily!) I didn't really mean disassemble the .xva, but rather create an uncompressed .xva that has broader support/portability. The zstd command line tool seems to be able to uncompress it just fine. Thanks.
  • Reset Xen Orchestra Community Edition Web Password

    2
    0 Votes
    2 Posts
    10k Views
    olivierlambertO
    Hey there! It's a good thing to start by reading our doc. If you enter "Password" in the search field, you would have find: https://xen-orchestra.com/docs/troubleshooting.html#recover-web-login-password As you are using Xen Orchestra into production, may I suggest to go for XOA with pro support at some point?
  • Automating VM creation via Terraform

    7
    0 Votes
    7 Posts
    3k Views
    E
    @newknowledge Thanks, I'll try it out later.
  • Pool Metadata backup sometimes fails when using multiple remotes

    4
    5
    0 Votes
    4 Posts
    529 Views
    ForzaF
    @olivierlambert Maybe. Ive created a support ticket for now. Hopefully you can see if the problem is a configuration mistake on our end or a problem in XO. Thanks.
  • Multiple internal networks in pool for each user

    2
    0 Votes
    2 Posts
    880 Views
    T
    @jfrelik Similar issue here - still trying to figure this out. https://xcp-ng.org/forum/topic/4209/xcp-ng-and-network-virtualisation-help
  • Ansible dynamic inventory and XO

    11
    0 Votes
    11 Posts
    3k Views
    olivierlambertO
    Nice
  • xo-cli - Get alarms

    Solved
    8
    1
    0 Votes
    8 Posts
    1k Views
    olivierlambertO
    You are welcome Enjoy! (great thing about xo cli is that you can get alarms of all your hosts from a single endpoint)
  • XOA migrate the XO itself

    Unsolved
    2
    0 Votes
    2 Posts
    935 Views
    olivierlambertO
    You can't, indeed, live migrate a VM from Intel to AMD (or vice-versa), for obvious reason (the VM will try to call Intel specific instructions after migrating on an AMD CPU, the result would be… a crash!) We had a similar migration ourselves (in our own prod), from Intel to AMD. And we decided to use Continuous Replication to make a first "backup" on destination (the full) while the original VMs were running (no service interruption). Then, we shut down the VMs, make another round of replication (delta, very fast) and then we booted on destination.
  • New VMs created in Xen Orchestra reboot every couple of minutes

    5
    0 Votes
    5 Posts
    1k Views
    R
    @olivierlambert That socket issue was not what was causing the problem, I went through setting by setting and if I choose 2GB of memory for a VM I get constant reboots when using XOA. I was able to repeat the issue with a number of OSs not just RHEL 8 (and variants). I havent went through and compared the differences between XOA and XenCenter yet.