Subcategories

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

    476 Topics
    4k Posts
    acebmxerA
    So if i set VMs to Best-effort or disabled for HA i get not enough memory. @pkgw Do you have Twinstore configured and/or HA enabled? If no I will continue my issues at the twinstore post. If i set to restart i get this.... host.setMaintenanceMode { "id": "35233210-4e37-4703-9bf6-9e8a9c24df9f", "maintenance": true } { "code": "HA_OPERATION_WOULD_BREAK_FAILOVER_PLAN", "params": [], "call": { "duration": 5, "method": "host.disable", "params": [ "* session id *", "OpaqueRef:d9bd976f-445c-8244-1b56-879f446efc12" ] }, "message": "HA_OPERATION_WOULD_BREAK_FAILOVER_PLAN()", "name": "XapiError", "stack": "XapiError: HA_OPERATION_WOULD_BREAK_FAILOVER_PLAN() at XapiError.wrap (file:///opt/xen-orchestra/packages/xen-api/_XapiError.mjs:16:12) at file:///opt/xen-orchestra/packages/xen-api/transports/json-rpc.mjs:38:21 at runNextTicks (node:internal/process/task_queues:65:5) at processImmediate (node:internal/timers:472:9)" }
  • 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
    itservicesI
    Hi @simonp. The problem is gone with commit 44e5b!!! Up-to-date XCP-NG host and XenOrchestra VM were restarted after updating XenOrchestra. I just initiated a full backup and all VMs - including my problematic machine - were backed up successfully without error. Awesome! I will wait with closing until the scheduled delta backup is completed successfully, too. Edit: Scheduled backup ran without issue. The problem seems to have been resolved! Thanks for all your work and assistance 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
  • kubernetes recipe fails to deploy cluster

    Unsolved
    11
    0 Votes
    11 Posts
    2k Views
    BenjiReisB
    @d1rtym0nk3y If DHCP is configured on your network then yes.
  • MTU problems with VxLAN

    22
    0 Votes
    22 Posts
    13k Views
    BenjiReisB
    The issue has been fixed on this branch, it'll be merged into master soon.
  • Can't for the life of me inject cloudinit config

    23
    0 Votes
    23 Posts
    9k Views
    p4-k4P
    What does your cloud config logs show on the guest OS after boot? Can you see if it has made any attempt to inject the config? Only thing I can think of is that your cloud config might be wrong thus the cloud init service is refusing it. Have you tried to use an ubuntu image? I used official images of both debian 10 and ubuntu 18.04 and worked fine once I got rid of the pre-populated network config or inserted a real network config. I spent too long trying to figure out what was going on so let me know if there's anything else you need to know, it's super frustrating.
  • Question: Delta backup retention vs. full backup interval

    4
    0 Votes
    4 Posts
    2k Views
    T
    @Vinylrider your understanding is correct, delta retention is just how many deltas to keep before merging the oldest delta with the full. Full backup interval is the time between each new full back up for use in case of corrupted back up. To answer your question, yes it is recommended to have more than 1 full back up to fall back to in the event of corruption espcially of delta backups since delta backups rely on previous deltas meaning if one of your delta is corrupted, you'll loose all data from that point onward until another full backup is made, or worse your full backup could be corrupted (more likely because of the file size) then you loose the whole chain. And if your corrupted delta is merged with the full, you'll probably have a corrupted chain aswell.
  • How to Hide or removed the canned Templates from XOCE/XOA

    3
    0 Votes
    3 Posts
    965 Views
    DanpD
    I opened an issue on this. Feel free to chime in with your thoughts -- https://github.com/vatesfr/xen-orchestra/issues/5284 Danp2 created this issue in vatesfr/xen-orchestra open Enhancement: Add ability to flag templates as hidden #5284
  • Question: Delta backups and snapshot modes

    8
    0 Votes
    8 Posts
    3k Views
    T
    @aghering the [NOBAK] option only excludes the transfer process, it will still try to make a snapshot of the disks. There are many possible causes for your UNIMPLEMENTED IN SM BACKEND issue, the most likely causes are probably storage related. If it is not a critical VM, you can try to disconnect the second storage disk and try again. If that doesn't work you might have to forget the SR and try (you can reattach it again, just need to remember your sr-uuid. Also, your /var/log/SMlog might reveal something.
  • No "new" Tab

    15
    2
    0 Votes
    15 Posts
    3k Views
    I
    @tony I removed the 2nd XOA... I think that's the reason I'm lagging but now everything is smooth...
  • Detached backups and snapshots with commit '2aed2fd53'

    5
    2
    0 Votes
    5 Posts
    1k Views
    J
    Makes sense now that you mention it... Perhaps I should have realized that because obviously the backups only run on my primary XO instance. Thanks!
  • xo-cli vm.create from bash fails

    2
    0 Votes
    2 Posts
    704 Views
    L
    Solved: you need to use the template id, not the uuid.
  • xo-cli data limit ??

    3
    0 Votes
    3 Posts
    721 Views
    L
    I'm just guessing here, but maybe something like this? xo-cli --list-objects type=VM power_state=Halted | jq -r ".[].name_label"
  • Creating schedules to run on specific days.

    12
    0 Votes
    12 Posts
    3k Views
    badrAZB
    Yes, backup jobs require attached schedules to be executed properly.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    7 Views
    No one has replied
  • Continuous vm replication or VM copy through XOA fails on WAN

    1
    0 Votes
    1 Posts
    451 Views
    No one has replied
  • NFS Storage added through Center

    6
    0 Votes
    6 Posts
    5k Views
    M
    Hi @tony yes I understand that, actually I made a post a while back spanning different aspects of the XOA and where I feel Center is more intuitive but as suggestion for XOA improvement if anyone cares to consider it. Regarding the adding of SR's to pools, I leave my suggestion here, have a selector for pool instead of host, it'd be more intuitive imho. Cheers all.
  • Changed Block Tracking

    9
    0 Votes
    9 Posts
    2k Views
    akurzawaA
    Becouse xoa backup is painfully slow... it's good for CR but for full vm backup, let's say it's unsuitable... on my 1Gb lan, full vm backup (DR or Copy) from xcp1 to xcp2 I have about 10-15Mb/s. This is the topic I've asked many times on this forum. And guys from vProtect brag that the speed im much better on their soft due to CBT not vhd delta - which I'll check in a while.
  • Question: USB filters on XCP VM's?

    xenserver ethernet xenorchestra usb vms
    2
    0 Votes
    2 Posts
    1k Views
    T
    AFAIK, you have to do manual passthrough for USB so if you want to attach ethernet dongle to a VM, you plug it in the host and turn off the VM, passthrough the USB to the VM, start the VM, never do snapshot of this VM as it will fail.
  • Orphan VDIs after every backup

    7
    1
    0 Votes
    7 Posts
    2k Views
    J
    @badrAZ I've rebuilt XO and confirm that the suspended VDI snapshots are no longer listed as orphans, thanks!
  • vm.set not working for int

    4
    0 Votes
    4 Posts
    785 Views
    julien-fJ
    Hi, sorry for the delay! Please read xo-cli's documentation, you need to use JSON when you want to pass non-string values: xo-cli vm.set id=89517372-b45b-ca36-4c51-dd17c0e760c0 CPUs=json:3
  • Specify a username and password for XOA backups

    4
    0 Votes
    4 Posts
    2k Views
    olivierlambertO
    You can map root to a local user you created on the syno (so it's all on NFS server side configuration)
  • XOCE misidentifing Orphaned Snapshots with XCP-ng 8.1

    Solved
    18
    1
    0 Votes
    18 Posts
    4k Views
    badrAZB
    @olivierlambert I've created the dedicated Github issue