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
  • error -104

    21
    0 Votes
    21 Posts
    10k Views
    P
    @tuxen No GPUs were removed. only 2 were added. The only PCIE item removed was a NIC but I didn't remove it from dom0 or assign it to any VMs, it was just in the system.
  • [XO-CE] job.Sequence error - invalid parameters

    xoce jobs
    3
    7
    0 Votes
    3 Posts
    1k Views
    julien-fJ
    I believe this is a known issue (https://github.com/vatesfr/xen-orchestra/issues/5973) that is unlikely to be fixed in XO5. We'll need to wait for @pdonias to be back from holidays to have more info on this. just-333 created this issue in vatesfr/xen-orchestra closed Error on vm.set from Jobs tab in XO web GUI #5973
  • Deleting snapshots and base copies

    18
    1
    0 Votes
    18 Posts
    7k Views
    S
    @sumansaha In summary , I've deleted Orphan VDIs from Dashboard->health . But in deletion, I've maintained the sequence of their age.It has taken 6 hours, though that depends on the VM size.
  • Show me your backup performance

    11
    0 Votes
    11 Posts
    1k Views
    olivierlambertO
    If you do a full every time, it's fine (use no retention or full every time)
  • How to delete unmanaged disks in local storage

    7
    0 Votes
    7 Posts
    5k Views
    olivierlambertO
    You can't delete a base copy. You need to understand how it works before doing dangerous operations. A base copy exists if there's a snapshot. If you have 0 snap and still base copy, it could be either: because the coalesce isn't finished because the coalesce doesn't work In both case, you have to take a look at your SMlog. If you have no idea about it, you should either get pro support or start to read the doc in more details You can start here: https://xcp-ng.org/docs/storage.html#coalesce
  • FYI - Applying 11/3/2022 and 11/4/2022 Commits in XO from Sources

    22
    0 Votes
    22 Posts
    11k Views
    E
    Thanks for sharing
  • Delta Backup broken with commit 45dcb914...

    3
    0 Votes
    3 Posts
    502 Views
    A
    @julien-f The new update seems to be working correctly now. Thanks for the quick update fix. The backup cache fixes/cleanup made a huge difference (improvement). I was trying to figure out what was going on with my backups as they were running but were missing from the restore list. After the cache cleanup, it showed 3-4 times the number of restore points! All the missing stuff and more. It took some time to clean up all the extra stuff, but backups seem to be back on track again.
  • EIO: i/o error, close when making backup over 10 GbE nic.

    2
    0 Votes
    2 Posts
    532 Views
    tjkreidlT
    @anturk What errors do you see in /var/log./SMlog related to this? Have you run ifconfig or netstat to look for network transmission errors? Is this a new setup and if so, are you sure the cables are of good quality? Is this a dedicated NIC or is it part of a VLAN?
  • Backup jobs started to fail after last XOA update

    13
    2
    0 Votes
    13 Posts
    3k Views
    julien-fJ
    @Forza No, it's not possible to add multiple hosts of the same pool to XO.
  • Windows VM - No ram reported?

    Solved
    3
    0 Votes
    3 Posts
    634 Views
    N
    @olivierlambert I blew away the docker container and did a fresh build of XO from source on a *buntu box. Issue resolved itself with that. Must be a bad build in the docker.
  • "an error has occurred" in home -> storage

    xenorchestra
    6
    3
    0 Votes
    6 Posts
    1k Views
    olivierlambertO
    You can't login to our servers with your source version (from Git), you must download the virtual appliance. If you can't access https://xen-orchestra.com internally, then, indeed, you won't be able to register it in the end. But if you managed to clone it from Github, you have some access to outside
  • Monitor Backups - Last backup for VM

    14
    0 Votes
    14 Posts
    4k Views
    julien-fJ
    @KPS You can use xo-cli --list-objects type=VM. Also you should only get the backup logs once and join with the VM list, because backupNg.getLogs is heavy.
  • XO NTP

    6
    1
    1 Votes
    6 Posts
    6k Views
    lightingman117L
    @olivierlambert Yep, thanks. OP edited to direct link to XOA NTP documentation for those who need that. There was no clear distinction in my mind. Apologies for any confusion caused.
  • Having trouble configuring transport-nagios after latest update

    5
    0 Votes
    5 Posts
    1k Views
    julien-fJ
    Fixed by https://github.com/vatesfr/xen-orchestra/commit/9dda99eb2089eaf163b68ea817bf990872cf2d22 @Danp Thank you 0 julien-f committed to vatesfr/xen-orchestra fix(xo-server/_handleBackupLog): fix sendPassiveCheck condition Introduced by ba782d269 Fixes https://xcp-ng.org/forum/post/56175
  • Can't register new XOA installation

    Solved
    3
    0 Votes
    3 Posts
    534 Views
    H
    @Danp My fault, I just did register here. When I click on register on my XOA, I was pointed to the forum, so I thought it is the same account. Thank you, that solved my problem.
  • How to set http proxy for connect S3 service?

    7
    0 Votes
    7 Posts
    1k Views
    L
    @julien-f ok, thanks. I will temporary use Transparent proxy to connect S3 service, which can't use my main firewall setting is a downside, other than that is work well.
  • Attaching USB storage via XOA

    22
    1 Votes
    22 Posts
    30k Views
    G
    @SpoonyLove @olivierlambert For usb passthrough we are using USB redirector over network For anything storage related we use something like this: mkdir /adm/passSR passUUID=`xe sr-create name-label="Direct access SR" name-description="Direct acces to hdd with simlink" type=udev content-type=disk device-config:location=/adm/passSR` ln -s /dev/sdb /adm/passSR/sdb xe sr-scan uuid=$passUUID xe vdi-list sr-uuid=$passUUID Remember to replace /dev/sdb with your device.
  • xcp-ng Pro "alert" in the XOA pools page

    6
    0 Votes
    6 Posts
    3k Views
    olivierlambertO
    Participating on the forum is a totally acceptable form of contribution. And to be clear: you have the choice. The choice to do nothing, or to help the project to grow. It's really up to you Freedom of choice is great! Everyone can contribute, spread the word and advocate for our solutions. And believe me, if everybody does, we stand a chance against those juggernauts (VMware for example). Also, you have my words, and I'm not afraid to tell that publicly: every $ we make is 100% re-invested into our projects. No big VC nor investors asking for insane ROI.
  • Ghost Backup job keeps failing

    23
    3
    0 Votes
    23 Posts
    7k Views
    N
    @florent any other ideas in order to resolve this?
  • XOCE shows "success" although backup not successful

    6
    0 Votes
    6 Posts
    672 Views
    olivierlambertO
    Is it a known behavior @julien-f ? To recap: with XVA backup starting the backup cancel the task get a success on the export I vaguely remember something about this