Subcategories

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

    476 Topics
    4k Posts
    dvdwxD
    @john.c my XO is compiled from sources... on future i will try config the v.6 to use the RBAC ACL for this case. @poddingue Thanks for your response, i will look this in a near future... My Cluster here is used only by the Tech/NOC team for tests/homologation purposes , beside that we are studying other virtualization systems because we will decrease our dependency on VMware on next year. Soon i will try change a few configurations and overview the v.6 to try fix this issue.
  • 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, that complicates the large-VM theory in a good way. If these are long-established VMs that backed up fine for years, "too much free space on a new VM" probably isn't the whole story here. Your deltas run from a completely different XO instance, on a different host, to different remotes, at non-overlapping times, so "deltas never fail, fulls do" might not be purely about job type, it could be tangled up with which instance or remote is doing the work. If you ever get the chance to run a full from the XO instance that normally handles your deltas, that would help tell whether the timeout follows the job type or the instance. I could easily be wrong, though, but that split feels worth isolating before we lean too hard on the free-space angle in https://github.com/vatesfr/xen-orchestra/issues/9181 . 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
  • This topic is deleted!

    2
    1
    0 Votes
    2 Posts
    31 Views
  • 0 Votes
    3 Posts
    1k Views
    G
    @Danp thanks for responding. Your suggestions are very good, caused me to check other things and reveal some things: My metadata and XOA config backups have started to fail with the error 'no such object' The metadata/config backup job's pool parameter was highlighted red with a warning symbol, showing a long GUID style id. I could not update the pool parameter - I have the spinning circle (of doom). After deleting the metadata/config backup job, I cannot recreate it - similar problem with pool parameter, none shown plus spinnng circle (of ongoing doom). To cut a story shorter - I think I have fixed my problem by re-attaching the hosts/SRs to my XOA-community VM... Then I also noticed that the 'successful' backups are not successful as when I looked at their logs by clicking on the green 'successful' indicator in the backup logs I see they are skipping missing VMs. Terrific. So I have now updated all the jobs and reselected each VM, saved them and then re-run the backups. So my big concern (understatement) is my XOA host VM backups have gone bad without any external changes, other than my applying XOA community updates. Do I need to check the backups carefully after every update? Surely not? Perhaps my method of updating, by running a script is horribly HORRIBLY flawed?? I found and have used an update script by Jarli01, applied as noted here. I've got a script to pull the latest update script and execute it. Not clear if I should inbclude the '-b stable' parameter. #!/bin/bash sudo curl https://raw.githubusercontent.com/Jarli01/xenorchestra_updater/master/xo-update.sh | bash To answer your useful questions: Q. When did you last pull from the source? A. Assume you mean 'when did I last retore from the backup volume'? Never. This is a first time for me. Q. What type of SR(s) should be showing? A. I have two: a local xcp-ng host (also hosting the XOA-community VM being used) and a remote xcp-ng host. Although it does seem an SR is an xcp-ng host, I am confused to the nomclature of 'SR' - I will try to find that out with Google ;). However, as mentioned above my hosts had disconnected themselves... WTF? Q. Are you able to target an SR when defining a new backup job? A. No! OMG. Also noticed the VMs have stopped being shown, no hostts connected!! WTF? Q. Have I opened dev tools (F12), checked console for errors? A. No, but I will when I next report something. Checking the backup page today I do get an error in index.js. I am happy to debug more and return trace/debug data if it is useful; below is what I see today on the backups page: [React Intl] Error formatting time. RangeError: date value is not finite in DateTimeFormat.format() index.js:525 Z index.js:525 formatTime index.js:719 value index.js:1168 React 81 _renderOverlay Portal.js:84 componentDidMount Portal.js:47 m factory.js:665 React 12 notifyAll close closeAll perform perform perform S closeAll perform batchedUpdates batchedUpdates dispatchEvent Q. Check system logs? A. Assume you mean from xoa vm? I will include those next time I post - when I find where they are. Google will no doubt help me out there.
  • Workload Balancing Issue.

    1
    0 Votes
    1 Posts
    470 Views
    No one has replied
  • Build error during upgrade

    Solved
    5
    0 Votes
    5 Posts
    1k Views
    P
    I have isolated the problem. The issue was with dynamic memory allocation on our test server. This was definitely a localized issue. Cheers
  • Feature request - RDP Link in Console window

    4
    1 Votes
    4 Posts
    2k Views
    A
    @olivierlambert https://docs.microsoft.com/en-us/windows-server/remote/remote-desktop-services/clients/remote-desktop-uri a plain rpd://ip-address seems to work fine in Mac OS and iOS but more information may be needed on windows clients not sure if the uris work on all systems the same. EDIT Looks like windows doesn't support URI to RDP but Microsoft makes it work for basically every other OS. I still think its a worthwhile feature even if it is slightly less functional because Microsoft is weird.
  • Zstd instead of zlib?

    5
    0 Votes
    5 Posts
    716 Views
    ForzaF
    Normal backup jobs. In this case it is the "full" copy of the VDI I just moved to a local SR (due to maintenance on the NFS) I mentioned here https://xcp-ng.org/forum/topic/2247/moved-vdi-delta-backup-restarts-on-full. I see that Control Domain load is high and in top I see this: [image: 1574324430375-ea0c91a9-d64d-4403-b97e-e00103b6f7a2-image.png] At the moment it is only one disk left to transfer, but there were 3 to start with, so the load was higher in the beginning.
  • Moved VDI, delta backup restarts on full

    3
    0 Votes
    3 Posts
    710 Views
    ForzaF
    OH ok. Hope you can prioritize this soon
  • Continuous replication fails every time

    31
    1
    0 Votes
    31 Posts
    15k Views
    olivierlambertO
    Your CR issue might be related to a XO bug on master, not too a XCP-ng issue
  • VDI_IO_ERROR(Device I/O errors) when trying to restore a Delta

    6
    0 Votes
    6 Posts
    2k Views
    V
    Sorry, I was trying to execute the git command in the wrong directory, my bad. Everything worked perfectly, the restores worked now. Thank you very much @Danp.
  • error on copy VM cross pools

    12
    0 Votes
    12 Posts
    2k Views
    julien-fJ
    I'm working on it at this very moment, I'll let you know what I find.
  • Continuous Replication -> SR Disk space

    2
    0 Votes
    2 Posts
    855 Views
    olivierlambertO
    Hi, There is different things one must consider during CR: SR type: block based or file based? First one will be thick provisioned, so plan a lot of space (eg: local LVM, LVM over iSCSI etc.). Local ext/XFS, NFS or XOSAN aren't affected by this problem Snapshot left: to do a delta, we must have a way to compare to something. The snapshot which left on the SR is the one that will be used for the next backup. It will be compared to the current disk state and only the delta will be sent. So that's perfectly normal "Job canceled to protect the VDI chain": this is a protection to avoid doing another backup while the previous removed snapshot isn't coalesced. You have a link in the message, please refer to the documentation for details
  • Restore of VMs

    15
    0 Votes
    15 Posts
    3k Views
    R
    Sure ... this is worth a try!
  • Disaster Recovery with Delta

    Solved
    3
    0 Votes
    3 Posts
    725 Views
    ForzaF
    @olivierlambert right. Of course. Forgot about that option
  • Backup - some VMs skipped (unhealthy VDI chain)

    6
    1
    0 Votes
    6 Posts
    2k Views
    R
    So im guessing its failing because it hasnt coalsced on one of the SRs yet.. Thx for the quick reply
  • Backup retry on failure

    4
    0 Votes
    4 Posts
    838 Views
    DanpD
    Not dead, just not a top priority.
  • Health say: VDIs attached to Control Domain

    Solved
    6
    1
    0 Votes
    6 Posts
    6k Views
    J
    Does that happen automatically? ... edit xvdd refers to the cdrom. Topic solved now. Thanks all.
  • XCP Guest Tools SUSE Linux

    22
    0 Votes
    22 Posts
    10k Views
    stormiS
    So don't trust XCP-ng Center on this, I'd say
  • Continuous Replication -> Exchange Log

    12
    0 Votes
    12 Posts
    3k Views
    akurzawaA
    @mts said in Continuous Replication -> Exchange Log: If you use the native windows-backup or a third-party application it will delete the transaction-log after backup. How can I achieve the same with xen-orchestra? I'm running low on disk-space right now... I think that you confusing physical (layer) backup with logical backup. XOA can backup/replicate/snapshot phisical medium which is a hard disk presented to your VM. It has nothing to do with the data in the VM (logical layer).
  • NOBAK not working for delta backup?

    4
    2
    0 Votes
    4 Posts
    723 Views
    ForzaF
    Ohh. of course. I'll check this on Monday morning.
  • Adding additional DVD and choosing generic template

    4
    0 Votes
    4 Posts
    3k Views
    olivierlambertO
    Hmm I think it might be possible using xe CLI and creating the drives manually (creating VBDs I suppose). I never spotted such a use case before, but again, might be doable It is using VNC (via noVNC in XO). You can copy a template, but a template is just a set of "configuration" for your VM (eg PV or HVM mode, some virtual BIOS settings).