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
  • Netdata is not available on this appliance, please deploy a new one

    Solved
    3
    0 Votes
    3 Posts
    942 Views
    H
    That updated my Netdata package from 1.23 to 1.26, and now the plugin is working. Thanks!
  • Xen Orchestra TLS minimum version requirement -- How to set?

    Solved
    9
    0 Votes
    9 Posts
    2k Views
    julien-fJ
    @kevdog Not at all, it made us aware that our vendor config was no longer relevant Thank your for your report!
  • Add server, Connection Failed

    Solved
    8
    0 Votes
    8 Posts
    6k Views
    olivierlambertO
    No worries, it happens
  • Cannot take snapshots with XO

    6
    0 Votes
    6 Posts
    2k Views
    G
    X-O Server is 5.51.1 and XO-Web is 5.51.0.
  • XO UI Storage Feedback

    6
    0 Votes
    6 Posts
    1k Views
    badrAZB
    Hi, Remotes and SRs aren't managed the same way by XO. XO is connected directly to the remotes to do some read/write operations, unlike SRs which is connected to them via XCP-ng. So the SRs aren't directly managed by XO, but are managed using the XCP-ngs' XAPI and we are limited to what the XAPI provides as information.
  • 0 Votes
    2 Posts
    1k Views
    olivierlambertO
    Hi, FreeBSD install was already documented officially: https://xen-orchestra.com/docs/installation.html#freebsd You could have test to use HTTP instead of HTTPS to see if perfs are improved New XO backup code will come in few releases that will speed up things Quiesce snapshot: it's not needed for Linux VMs because of the disk driver automatically handling this.
  • Compatibility issue for XO tool with Windows 10 version 2004?

    Solved
    7
    0 Votes
    7 Posts
    2k Views
    A
    Hi @olivierlambert , cool. Thank you. That makes clear for me now. Andy
  • XOA Console: Windows server - sending ctl+alt+delete keys

    Solved
    2
    0 Votes
    2 Posts
    2k Views
    N
    Cancel that! I found the keys icon for sending the combo just above console.....
  • CR tag ignored (kind of) in smart backup

    Solved
    11
    0 Votes
    11 Posts
    2k Views
    julien-fJ
    I've created a PR for this issue, feel free to test this branch: https://github.com/vatesfr/xen-orchestra/pull/5341 julien-f opened this pull request in vatesfr/xen-orchestra closed fix(xo-server/{CR,DR}): add tags at VM creation #5341
  • Cannot import OVA from VirtualBox

    23
    0 Votes
    23 Posts
    13k Views
    olivierlambertO
    https://developer.mozilla.org/en-US/docs/Tools/Browser_Console
  • Moving XO to New Host

    Solved
    2
    1
    0 Votes
    2 Posts
    413 Views
    olivierlambertO
    You need to select a template first.
  • recommendation for XO

    2
    1 Votes
    2 Posts
    544 Views
    olivierlambertO
    Hi @anchen Thanks for the feedback that will be helpful to build the new UI from scratch Pinging @pdonias @badrAZ and @badrAZ about this
  • Continuous Replication Hosts

    3
    0 Votes
    3 Posts
    795 Views
    R
    @olivierlambert ahh gotcha ok thanks for the info
  • Question about XO snapshot location

    4
    0 Votes
    4 Posts
    2k Views
    olivierlambertO
    Yes indeed, in CR, you'll send a copy of the disk toward a destination SR. But still, the snapshot is made on the same storage. However, I get your point, and I think in theory, it could be doable with some heavy changes in the storage stack (to have a snapshot located "elsewhere"). However, for each read in the VHD chain, you'll have to read on multiple storage at once, which can be complicated technically speaking (especially if they are shared)
  • Windows Server VM backup hangs

    5
    0 Votes
    5 Posts
    718 Views
    P
    Will do
  • xo-cli help

    10
    0 Votes
    10 Posts
    3k Views
    julien-fJ
    @kirovtome > xo-cli --list-commands vdi.set vdi.set id=<string> [name_label=<string>] [name_description=<string>] [size=<integer|string>]
  • How do I remove old pool&host that do not exist?

    5
    4
    0 Votes
    5 Posts
    3k Views
    ForzaF
    Thanks. It works now.
  • Kubernetes Recipe - Basic setup not working

    16
    0 Votes
    16 Posts
    4k Views
    R
    It seems that Debian Buster has some problems with Kubernetes. While this base setup is working, one should also assure that every tool uses the legacy iptables. If not, pod's will not be able to reach the kubernetes api... And then... failure all over! So we also need: update-alternatives --set iptables /usr/sbin/iptables-legacy update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy update-alternatives --set arptables /usr/sbin/arptables-legacy update-alternatives --set ebtables /usr/sbin/ebtables-legacy ```
  • Where does cloud-init log? Deployed template not 100% as configured.

    Solved
    5
    0 Votes
    5 Posts
    838 Views
    S
    Genius! That did the trick. Much appreciated.
  • Audit log export?

    5
    0 Votes
    5 Posts
    1k Views
    badrAZB
    Hi, Audit logs aren't in the same location than the xo-server logs. To get Audit logs you can use this command xo-cli audit.getRecords which returns an array of records. xo-cli audit.getRecords This command has an option ndjson, which allows you to export logs in a ndjson format. xo-cli audit.getRecords ndjson="json:true" @=<outputPath>