Subcategories

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

    475 Topics
    4k Posts
    olivierlambertO
    Great! I think this is really the best possible approach to make it clean
  • 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...

    514 Topics
    5k Posts
    poddingueP
    Sorry it's back. Just to line things up for whoever picks this up: the original full-backup Body Timeout was tracked in https://github.com/xapi-project/xen-api/pull/6786 and shipped with the March 2026 8.3 updates, so what you're seeing on metadata backups might be a cousin rather than the same bug. From Olivier's earlier note the error just means XO got nothing from the pool master for 5 minutes mid-transfer, so the useful question is what the master was doing during that silence. The fact that a toolstack restart clears it for a while and then it returns is probably itself a clue. Could you grab the complete logs from one failed metadata run (the ask pierrebrunet made earlier), plus a rough note of whether it lines up with the master being busy or briefly unreachable? I'm out of my depth on the internals, but that's the piece the team will want. last-genius opened this pull request in xapi-project/xen-api closed stream_vdi: Only process allocated clusters for VHD and QCOW on XVA export #6786
  • 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
  • 0 Votes
    6 Posts
    3k Views
    pdoniasP
    Thanks @cookie-eater2000, we'll take a look.
  • Allowing replicated server to start

    4
    0 Votes
    4 Posts
    759 Views
    olivierlambertO
    There's no issue nor restriction to replicate a shutdown VM. CR will work as long as the destination VM never booted (otherwise destination blocks will be modified, so you understand now why we should block boot except if you really know what you do )
  • Error: footer1 !== footer2

    10
    0 Votes
    10 Posts
    2k Views
    M
    @julien-f said in Error: footer1 !== footer2: @markhewitt1978 In that case, please open a support ticket there and then, open a support tunnel for us to investigate Thanks. I shall run it one more time manually to make sure. And if it fails I’ll open a ticket Thanks.
  • Xen Orchestra CLI

    Solved
    7
    0 Votes
    7 Posts
    3k Views
    S
    @stormi Awesome! Thanks again for your help stormi.
  • Backup, CR and snapshots question

    2
    0 Votes
    2 Posts
    1k Views
    olivierlambertO
    Correct, no problem to do that No other limitation. Yes, space will be reclaimed thanks to coalesce after that.
  • Why XOA did not restore the backup to a vm, but a template

    6
    0 Votes
    6 Posts
    1k Views
    T
    @ninghe Are A and B identical servers? No shared storage? Does it work if you use normal snapshot mode?
  • Backup storage - what connects to the remote storage device?

    2
    0 Votes
    2 Posts
    674 Views
    olivierlambertO
    Hi, It doesn't' work that way. XCP-ng is not capable of pushing any data by itself, it has to be pulled. That's exactly why we manage to build XO Proxies to solve this kind of common "enterprise" issue, when you have remote sites
  • Backing up the backup

    5
    0 Votes
    5 Posts
    2k Views
    M
    Doing a bit more hunting it seems like if we could get Arcserve to use the nolock option then that would likely solve the problem, but there's nowhere to add any options and the Arcserve Proxy itself uses the Windows NFS client behind the scenes. Right now we've worked around the problem by creating a separate, read-only SMB share pointing to the same location and using that for Arcserve instead. Our only concern now is what could happen if XO starts a job while Arcserve is still doing its own backup. Edit: I did a bit more Googling after posting the above and came across this thread: https://www.truenas.com/community/threads/nfs-the-process-cannot-access-the-file-because-another-process-has-locked.12644/ ... which suggests that it's actually a long-standing TrueNAS bug. Buried within the comments is this suggestion: If you're having trouble with the NFS locking mechanism, and you would like to use the "NET USE" command, or the [WNetAddConnection] function to mount a NFS share without locking, there's an undocumented registry entry hidden in the NFSNP.DLL: "HKLM\Software\Microsoft\Client for NFS\CurrentVersion\Users\Default\Mount" REG_DWORD "Locking" If the value is "0x0" then locking will be disabled globally. If the value is "0x1" then locking will ben enabled globally. We'll test it and report back.
  • How setting NFS remote target when NFS target is not all time online?

    7
    1
    0 Votes
    7 Posts
    2k Views
    fohdeeshaF
    @cbaguzman hi, you could try a hard mount instead of soft, then it should constantly retry until it sees the mount again https://www.ibm.com/docs/en/spectrum-protect/8.1.6?topic=considerations-nfs-hard-soft-mounts
  • Failed to join the pool

    3
    3
    0 Votes
    3 Posts
    1k Views
    N
    @gskger thank you a lot. I'll try again.
  • Very minor issue: tooltip location

    1
    1
    0 Votes
    1 Posts
    361 Views
    No one has replied
  • Delta backups vs ZFS snapshots

    4
    0 Votes
    4 Posts
    1k Views
    DarkbeldinD
    @tsettle I'm using a cloud to save regularly my full backup, but otherwise i'm only using a Truenas with ZFS.
  • XO console keyboard on iOS and iPadOS - no input possible

    7
    0 Votes
    7 Posts
    2k Views
    M
    @olivierlambert said in XO console keyboard on iOS and iPadOS - no input possible: No but it doesn't mean this won't be solved with a virtual keyboard anyway It would need to be able to trigger the built in iPad / iPhone keyboard for it to be properly usable.
  • Default for create new ...

    3
    0 Votes
    3 Posts
    689 Views
    E
    Whenever a server or pool is needed, so the field doesn't stay empty and requires manual selection. For example, when creating a new VM, the screen is empty with one line: Create new VM on: [pull down] The same goes for some other items but I don't click nearly as much so in particular for creating new VM's it would save some time if a default could be configured. Thanks!
  • XOA - static route - persistent

    Solved
    10
    0 Votes
    10 Posts
    4k Views
    olivierlambertO
    Since this is a pretty advanced setting, I'm not sure we want to add it into the UI What do you think @julien-f ?
  • Blank CloudInit Drive from Xen Orchestra

    9
    0 Votes
    9 Posts
    2k Views
    M
    @olivierlambert Amazing. Thank you for your help sir!
  • XO console

    3
    0 Votes
    3 Posts
    2k Views
    R
    @olivierlambert thanks. I do understand the console not intended to be Remote Desktop but more of the "I really need access" type of service. Tools like NX and any desk you give a very nice Remote Desktop experience but the virtual graphics card (framework?) Limits what those tools can provide for Remote Desktop. I'll take your advice and check into UDS enterprise.
  • Custom script execution after backup job

    5
    0 Votes
    5 Posts
    1k Views
    AnonabharA
    @olivierlambert Ah.. I'm being thick.. I didnt have the plugin loaded so I was wracking my brains to try and find out where the hook would have been called.. Thanks for you help, and back to coding! 8-)
  • Sign up, Error

    3
    1
    0 Votes
    3 Posts
    547 Views
    olivierlambertO
    The problem is now fixed.
  • Orphaned host after pool metadata restore

    7
    0 Votes
    7 Posts
    1k Views
    S
    @oryon-br I didn't get any more help on this and I couldn't find any solutions so I ended up rebuilding the pool to fix this issue. Not ideal.