Subcategories

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

    476 Topics
    4k Posts
    A
    @pkgw Planning an RPU as a whole is a nice idea in theory, but it's inherently designed to co-exist with normal pool management operations (you should still be able to migrate VMs between hosts B and C during it, or start new ones), we are not "pre-booking" memory and other resources for groups of VMs, otherwise it can quickly make the rest of the pool hard to manage while some VM migrations could still be far away. Regarding the narrower case - I'll note this down and see if we can improve things, thank you!
  • 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 for checking. That's useful, even if it points away from where I was looking. Clocks within a second of each other means drift probably isn't your problem, and I'd guess the MST/UTC difference is just how dom0 displays it, though I'm not sure. What I keep coming back to is that your full backups fail while the delta jobs on the same hosts never do. That's the same split in https://github.com/vatesfr/xen-orchestra/issues/9181, where full backups hit BodyTimeoutError on VMs with big disks or a lot of free space and the deltas are fine. If your failing VMs look like that, your dates and the MST/UTC detail would do more good on that issue than buried in here. 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
  • CERT_NOT_YET_VALID

    Solved
    5
    1
    0 Votes
    5 Posts
    1k Views
    J
    @olivierlambert, I just enabled and disabled the server and the problem went away.
  • XOSAN, what a time to be alive!

    8
    0 Votes
    8 Posts
    3k Views
    olivierlambertO
    It is an option indeed, one of the reason is we share the revenue with LINBIT.
  • How to Extend LVM After Increasing Hard Drive in XO?

    3
    4
    0 Votes
    3 Posts
    2k Views
    nikadeN
    @Danp Deleting and then re-creating doesnt always work if there's another partition (swap) after. I usually do this: fdisk -l /dev/xvda (note the end blocks of the last partition under the End column) fdisk /dev/xvda n accept the defaults except starting blocks (use next free block as starting block) w vgextend almalinux /dev/xvda3 (if thats the number you saw when creating the new partition) lvresize /dev/template-vg/almalinux-root -l +100%FREE -r
  • XO cant Snapshot itself ?

    Solved
    35
    0 Votes
    35 Posts
    13k Views
    W
    @julien-f Thanks a lot for this update!
  • VM console graphics messed up

    Solved
    4
    1
    0 Votes
    4 Posts
    1k Views
    olivierlambertO
    Great news, happy to have helped!
  • Xen Orchestra Prometheus Backup Metrics?

    10
    0 Votes
    10 Posts
    2k Views
    S
    Good things take time. Your team is doing god's work. Remember to stay healthy, in both mind and body!
  • Some guidelines for sizing a XO server ?

    5
    1 Votes
    5 Posts
    2k Views
    HolgiBH
    @Nick-085 Thanks for the hint mate ! I wasn't aware that this script also installs a XO proxy. In the mean time we already have something like backup proxies in place because we splitted backup jobs to two XO instances in the first place since we wanted to separate test environments from "production" (so to speak). A third instance is used mainly for centralized administration (we are only slowly moving away from using "Xencenter" since we are long time Citrix Xenserver users). I guess old habbits die slowly. In the end I guess by coincidence we already build something similar to what a central XO instance plus two XO proxies
  • Can't Disconnect a Physical Drive

    2
    0 Votes
    2 Posts
    464 Views
    L
    To anybody who may stumble across this in the future...I just yanked it. It wasn't connected to the VM anymore. There was no data corruption, and the replacement attached fine.
  • Management agent detected - No version

    9
    0 Votes
    9 Posts
    4k Views
    A
    @flakpyro Yes yes, this is exactly what is happening. If you want to enjoy the version number, you have to install version 9.3.2 first and then upgrade to version 9.3.3.
  • Changing Hosts and XOA IP

    14
    1 Votes
    14 Posts
    9k Views
    olivierlambertO
    No problem. XOA is meant to be disposable
  • Feat: Improvements to the VM statistics page:

    4
    4
    0 Votes
    4 Posts
    1k Views
    ForzaF
    @julien-f said in Feat: Improvements to the VM statistics page:: Yes, I've noted this for XO6 Great. Thanks Now we just need a XO 6.0 release
  • Shared SR (two pools)

    7
    0 Votes
    7 Posts
    3k Views
    J
    @olivierlambert Okay. I'll give it a shot.
  • Creating NFS remote trouble

    1
    0 Votes
    1 Posts
    397 Views
    No one has replied
  • XenOrchestra with Terraform

    4
    0 Votes
    4 Posts
    2k Views
    D
    @ddelnano Sorry to drag this up and also no OP, but I'm just looking at how to set a static RAM allocation via terraform too so this would be relevant to me. Here's a snippet of code, it's using a generic Ubuntu 22.04 LTS cloud image template which has 1GB ram by default, in the code I set the memory to 4GB, which works but uses Dynamic rather than static resource "xenorchestra_vm" "bar" { name_label = "TerraformCreatedMe" name_description = "Terraform Managed" template = data.xenorchestra_template.ubuntu22.id memory_max = 4294967296 cpus = 4 destroy_cloud_config_vdi_after_boot = true hvm_boot_firmware = "uefi" From the hypervisor side the VM looks like this: memory-static-max ( RW): 4294967296 memory-dynamic-max ( RW): 4294967296 memory-dynamic-min ( RW): 1073741824 memory-static-min ( RW): 1073741824 So to me it looks like memory_max in terraform changes just memory-static-max and memory-dynamic-max which leaves the VM with dynamic memory control. I want the behaviour to be, when I create a new VM or change the RAM allocation for the VM to have static RAM not dynamic. I hope this is possible.
  • VM_BAD_POWER_STATE

    13
    0 Votes
    13 Posts
    3k Views
    nick.lloydN
    @jmm Can you check to see if the health check is turned off? In your backup config, it'll be in the schedule just under the "Replication Retention" section. I've found that you can leave it on, but it will "fail" (despite the recovery working fine, unchecking it will get rid of the error on subsequent backups).
  • Shared Storage Redundancy Testing

    13
    0 Votes
    13 Posts
    3k Views
    olivierlambertO
    You can lazy umount a failed network share, then PBD unplug will work.
  • Can't Enable High Availability Feature

    Solved
    9
    0 Votes
    9 Posts
    2k Views
    D
    @olivierlambert Thanks! With HBA SR the HA feature is on for now
  • XOA quick deploy on 8.3 beta 2?

    Solved xoa 8.3 beta2
    4
    0 Votes
    4 Posts
    1k Views
    F
    Just tried it again...it's all good now!
  • Quick Deploy does not list storage options

    Solved xcp-ng xoa quick deploy
    11
    1
    0 Votes
    11 Posts
    8k Views
    SenekenS
    @olivierlambert : Thank you very much for this information. I really happy with xcp-ng!
  • Can't create bond on pool. Error: You do not have permissions

    Solved
    15
    1
    0 Votes
    15 Posts
    3k Views
    L
    Thank you @Danp , that suggestion worked! For anyone seeing this in the future, I just bond the nics on the master before adding the rest of the hosts to the pool.