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 host was restarted regularly. After every update I restart the host and consequently all VMs running on it. The XOA VM is also running on that host. 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
  • Website XOA XCP-NG missing

    2
    0 Votes
    2 Posts
    591 Views
    olivierlambertO
    Very likely indeed. We hope to recreate the XO website from scratch at some point, but it doesn't mean we'll let this slip Thanks a lot for the report, adding @Marc-pezin in the loop
  • Backing up the VM that is running Xen Orchestra

    Solved
    10
    0 Votes
    10 Posts
    3k Views
    olivierlambertO
    Ah the issue make sense now No worries about asking here, happy to see it works for you now
  • Backup warning: incorrect backup size

    7
    1
    0 Votes
    7 Posts
    583 Views
    M
    @julien-f Thx. I can safely ignore this then.....
  • Backup - Error: Lock file is already being held

    Solved
    5
    0 Votes
    5 Posts
    2k Views
    D
    @olivierlambert Got it, sorry I glossed right over the updates. Ran the updates and everything is green with success. Thanks for taking the time to answer my noob questions!
  • Correct Template for installed OS?

    1
    0 Votes
    1 Posts
    359 Views
    No one has replied
  • Update disk size via API?

    4
    0 Votes
    4 Posts
    919 Views
    olivierlambertO
    You can with the JSON-RPC API. The REST API is still very young, and we only started to modify objects during January release.
  • Xen Orchestra Load Balancer - turning on hosts

    20
    0 Votes
    20 Posts
    5k Views
    ronan-aR
    @berish-lohith Just FYI I created a card in our backlog, I don't see too many blocking points to implement it correctly.
  • CR endless run on backup tab

    2
    1
    0 Votes
    2 Posts
    458 Views
    A
    @Gheppy @julien-f I have the same problem.... post 6940 Check Dashboard->Health and look at the bottom to see if the Importing VMs are still there. So far, no solution, other than to rollback to a working version.
  • What is Viridian?

    4
    0 Votes
    4 Posts
    8k Views
    olivierlambertO
    No, it's useless on Linux.
  • Issues synchronizing LDAP groups (Active Directory)

    bugs blocked
    16
    0 Votes
    16 Posts
    7k Views
    TheNorthernLightT
    @cjackson The reason the login is just username, is because you've specified sAMAccountName. If you want to use email address, change this to UserPrincipleName. Obviously, verify the UPN in your AD box, but that should be the persons email address if your domain it setup correctly. I dont believe most LDAP query tools support nested group security (its a common issue). Not an excuse, just an observation btw.
  • auth-ldap (v0.6.4) - LDAP authentication plugin for XO-Server

    21
    0 Votes
    21 Posts
    15k Views
    C
    I had a lot of trouble getting the LDAP integration to work with Active Directory domain controllers, and i kept finding this post over and over. So i wanted to share my configuration and make it easier on others trying to do the same thing in the future. Using this config i was able to get everything working, but i found a few limitations: Xen Orchestra cannot find any group members where the member has the "Primary Group" attribute set. Only direct members of a group are recognized (nested groups don't work). When signing in, i have to specify "username" instead of "username@cxlab.domain.com" Groups are created by clicking "Synchronize LDAP groups", however users are not created until they sign into XOA the first time. Users are not deleted from Xen Orchestra when they are removed from the domain. (but they can no longer log in to XOA) auth-ldap (v0.10.6) - LDAP authentication plugin for XO-Server Auto-load at server start [checked] Configuration URI: ldap://domaincontroller1.cxlab.domain.com **Certificate Authorities** Check certificate [disabled] Use StartTLS [disabled] Base: DC=cxlab,DC=domain,DC=com **Credentials** dn: cxadmin@cxlab.domain.com password: ****************** User filter: (sAMAccountName={{name}}) ID attribute: dn **Synchronize groups** [checked] Fill information (optional) Base: CN=Users,DC=cxlab,DC=domain,DC=com Filter: (ObjectClass=group) ID attribute: dn Display name attribute: cn **Members mapping** Group attribute: member User attribute: dn
  • Enable NBD Backups for a network

    3
    0 Votes
    3 Posts
    3k Views
    florentF
    hi @lawrencesystems You still need to enable it in config fr now. I hope we 'll be able to improve the ui to enable it on a per backup setting later The nbd protocol use the 10809 port in TCP by default. XO only read from this port f the host. The Nbd setting is used for the whole xo, regardeless of the pool The lock have been replaced by a select, which is more self explanatory . I think the main control pint is to check if there is multiple NBD network for a VM, XO use the first one returned by the Xapi, and it may be , for example, a managemet network as opposed to a backup / high speed one Regards
  • XO Lite in xcp-ng 8.2

    18
    0 Votes
    18 Posts
    10k Views
    olivierlambertO
    @Brice it's included within XCP-ng pro support.
  • XO Proxy Comminuty edition

    4
    0 Votes
    4 Posts
    359 Views
    F
    @Andrew thank you very much
  • incorrect backup size in metadata

    4
    0 Votes
    4 Posts
    2k Views
    julien-fJ
    @savage79 Please take a look at https://xcp-ng.org/forum/post/58196
  • Stable vs. latest risk assessment

    Solved
    6
    0 Votes
    6 Posts
    1k Views
    olivierlambertO
    You are welcome!
  • Problem with delta backup from xoa 5.79

    6
    0 Votes
    6 Posts
    2k Views
    julien-fJ
    @robyt There are no logs at this time (unless executed as part of a backup), only a notification at the end of the execution. We are currently working on a global task/log system that will be used throughout XO (Restore Health Check is obviously on our todo list)
  • Unable to quick deploy XOA

    Solved
    4
    3
    0 Votes
    4 Posts
    731 Views
    olivierlambertO
    You are welcome
  • 0 Votes
    4 Posts
    582 Views
    olivierlambertO
    As explained in the link, please update to the latest commit, be sure to rebuild everything and try again
  • Unable to import vmdk

    9
    0 Votes
    9 Posts
    2k Views
    S
    @olivierlambert I uploaded the disk. https://mega.nz/folder/53YTGRCI#4qP16Kfj-XtKcwkWduGEOg