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
    P
    @pedro_udifar Hi, We think we have found two issues into one: can you test this branch please? It has the changes from previous branch you built: fix_throttled_stream This should fix the stream issue and fix the warning.
  • 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
  • How to delete orphaned VHD virtual disks?

    4
    1
    0 Votes
    4 Posts
    2k Views
    olivierlambertO
    Check host logs to understand why. Maybe those VHD were attached to the control domain or something like that.
  • XenOrchestra multicore ?

    6
    2
    0 Votes
    6 Posts
    943 Views
    julien-fJ
    @akurzawa xo-server is not explicitly multi-processed, but it uses async IO calls in Node which should lead to multi-threaded operations. Anyway, we are currently working on reimplementing backups for the proxy and it will eventually lead to using multiple processes. These changes will at the end be merged back to xo-server as well.
  • Backup NG Remote "File already exists"

    Solved
    2
    0 Votes
    2 Posts
    752 Views
    G
    ok, logged into linux, su root, and tried the command on the console mount -t nfs 192.168.30.60:/mnt/Brutus/Remote /run/xo-server/mounts/86109d77-9600-48c6-b131-0ca475cd1ad4 -o vers=3 mount.nfs: requested NFS version or transport protocol is not supported tried without -o vers=3 and it worked.
  • Continuous Replication and snapshots together

    10
    1
    0 Votes
    10 Posts
    3k Views
    badrAZB
    If you create two separated jobs. One for the CR and one for the Rolling snapshot they will not interfere.
  • Scheduling continuous replication on xo-server built from sources

    Solved
    5
    1
    0 Votes
    5 Posts
    1k Views
    S
    Changed it to run after every 10 mins. I was missing the correct configuration. Thank you very much.
  • Deleting 25 vms - stuck, nothing happening

    4
    1
    0 Votes
    4 Posts
    1k Views
    akurzawaA
    OK the tasks (it been 8 hours since I've checked) are gone, but the VHDs localted on backup server's localstorage remains. QUESTION: How to delete VHDs that are not realted to any vm? I think it will not be deleted automatically. EG. For example - I've deleted "Atlas" VM, but big atlas VHD remains on BackupHost's local storage: [image: 1581667660068-666ed028-c8e0-4ae7-86f3-1a307f7eee76-image.png]
  • XO Backup Retention and Replication Retention

    4
    0 Votes
    4 Posts
    2k Views
    badrAZB
    Hi, It's possible to do it using the UI, simply create a schedule with 7 as Backup retention and 2 as Replication retention. [image: 1581581696403-fd938a54-8730-4bcf-85c3-7caf2018ac52-image.png]
  • Xen Orchestra Backup Stuck

    Solved
    13
    2
    0 Votes
    13 Posts
    3k Views
    olivierlambertO
    Because there's a ton of dependencies, and we try to decouple things, this work takes time. We should be able to run on a more recent version of Node soon, and when it will be the case, our doc will be updated accordingly. That's exactly why we can't support 3rd party installers. Our doc might change and during the interval, if the 3rd party installer isn't following, then it will break.
  • This topic is deleted!

    95
    0 Votes
    95 Posts
    11k Views
  • How do you create a new vm from an imported disk

    Solved
    15
    0 Votes
    15 Posts
    13k Views
    P
    OK, seems I wasn't trying hard enough. I was trying to mount the tools under the iso list, but when I look further down the list to xc-ng Tools it turns out I can mount the tools from there as long as I do it manually (mount /dev/sr0 /media/blahblah). Installed now, all good.
  • Merging XO forum here

    5
    7 Votes
    5 Posts
    3k Views
    olivierlambertO
    There's no tool to "merge" old forum or fetch old message. So for few months we'll still have old XO forum then it will be automatically redirected to the XO category here.
  • XOA build number

    13
    1 Votes
    13 Posts
    3k Views
    olivierlambertO
    It's just a missing info in a config file of the appliance. Not a big deal, just surprising to see that now, despite the fact it was there before.
  • 0 Votes
    1 Posts
    380 Views
    No one has replied
  • XO Delta Backup Fails to Local Storage Mounted via NFS

    4
    2
    0 Votes
    4 Posts
    756 Views
    S
    Hi, So I tried using the NFS target remotes but the speed of transfer was very poor even though the connection from XO to the NFS server is over 10Gbe. XO is on the same XCP-ng host as the VMs being backed up. This XCP-ng server is connected to the NFS mount over 10Gbe network: [image: 1581002643082-56cc5a0a-e633-443b-9a50-6575ef5cddaf-image.png] Here is the NFS Remotes setting in XO to the backup server (FreeNAS) at IP 10.10.2.3:[image: 1581002745614-046fcdaa-8788-4d69-aa00-c1620a0afb46-image.png] The backup logs show extremely low transfer speed: [image: 1581001993532-b51d304d-2fb6-472f-8eb9-0dbec967d49c-image.png]
  • How to select network for migration in XOA

    3
    0 Votes
    3 Posts
    2k Views
    G
    Okay perfect I'll have a look Thanks!
  • VSS Backup/Application Consistent

    5
    0 Votes
    5 Posts
    937 Views
    stormiS
    Also note that Citrix guest tools version 9 removed VSS support already.
  • VM backup to local storage

    6
    0 Votes
    6 Posts
    2k Views
    D
    @olivierlambert Thanks again for the reply. I’m looking into it more. I think I need to add the storage directly to the VM running XO. I was trying to use a drive connected to a drive on my local network. Though it says it can talk to the drive, it does not reach it. I’m trying now to add an NFS to the XO server.
  • Back up only the OS disk

    2
    1 Votes
    2 Posts
    2k Views
    olivierlambertO
    You can avoid transferring some disk data with the [NOBAK] title in the VM disk. However, a VM snapshot isn't capable of ignoring a disk. This would require a change either in the way we do backup in XO (not using VM.snapshot, but VDI.snapshot instead) or modify XCP-ng API to support VM.snapshot with excluded disk. The first option will make quiesce snapshots impossible. The other one is a bit more complicated to realize, but not impossible. The issue already exists in our bug tracker: https://github.com/vatesfr/xen-orchestra/issues/2560 julien-f created this issue in vatesfr/xen-orchestra closed [Full backups] Supports `[NOBAK]` #2560
  • XOA guest tools error

    18
    0 Votes
    18 Posts
    6k Views
    stormiS
    This may be related to https://github.com/xcp-ng/xcp/issues/282 My guess is that the tools ISO was mounted into the XO VM, then updates were applied to the host that contained an update of the tools ISO, which led to the XO VM having an non-existing tools ISO still mounted. I have made a change in 8.1 to avoid that (eject all tools ISOs after updating the ISO, not just from shutdown VMs), and testing will tell us whether that's a good solution. To solve the situation, you usually just need to eject the ISO with xe vm-cd-eject, not xe vm-cd-remove, as @tuxen said. If you had a snapshot of the VM before removing the CD drive, I think restoring it should bring the CD drive back and then you can eject the CD with xe vm-cd-eject... Unless restoring the snapshot also fails. Else as tuxen said you need to recreate a CD/DVD device and attach it to the VM. iw0der created this issue in xcp-ng/xcp closed This operation cannot be performed because the specified virtual disk could not be found #282
  • Backup and Replication from HP 3Par (iSCSI) to HP MSA (iSCSI)?

    8
    0 Votes
    8 Posts
    2k Views
    olivierlambertO
    It's pretty simple: just replace "xva" in the image by VHD and that's it. Otherwise it's explained https://xen-orchestra.com/docs/delta_backups.html If you still have questions, let me know