Subcategories

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

    482 Topics
    4k Posts
    poddingueP
    I don't know the probe path well enough to say where the time goes, so this is mostly questions back at you. Is it the IQN probe or the LUN probe that drags, and are we talking seconds or minutes? Our docs describe it as two steps, xe sr-probe type=lvmoiscsi device-config:target=<ip> to list the IQNs, then the same call plus device-config:targetIQN=<iqn> for the LUNs behind one ( https://docs.xcp-ng.org/storage/manage-srs#discover-what-the-storage-offers-probe ). Timing those by hand on the host would at least split XO's share from XAPI talking to your array. It'd also help to know the target type, roughly how many IQNs and LUNs it exposes, and whether multipath is on, because my guess (and it's really a wild one) is that a wide target is where an enumeration gets expensive. Might be worth a mention to @Team-Storage, who'd know what the probe does underneath.
  • ACLs, Self-service, Cloud-init, Load balancing...

    106 Topics
    868 Posts
    mpitonM
    @tmk Confirmed bug on our side; thanks for the report. The plugin declared its secret with a random default in the config schema. That expression runs when the module is imported, so every xo-server process computes a different one, and xo-server never writes back the values ajv fills in from schema defaults. So if you copied the secret out of the plugin form without saving the configuration, scraping worked until the next restart, and Prometheus started getting 401s. Fix is here: https://github.com/vatesfr/xen-orchestra/pull/10290. The random default is gone. The secret is generated once on the first load and saved through the plugin configuration, so it survives a restart. If you already have one saved, it's left alone. Once it's merged it'll be on master for people building from sources, and it'll reach XOA in the next release.
  • All XO backup features: full and incremental, replication, mirrors...

    526 Topics
    6k Posts
    poddingueP
    Thanks for the feedback so far, folks!
  • Everything related to Xen Orchestra's REST API

    87 Topics
    650 Posts
    A
    @poddingue Borrow away - "smoke alarm" is a better name for it than anything we had, so we might borrow it right back. Since you mentioned reading the matrix - here is the classification you would be reading, straight from the file: grep access: dadl/xen-orchestra.dadl | sort | uniq -c 49 access: admin 21 access: dangerous 122 access: read 75 access: write 122 of the 267 tools are plain read - that is the entire surface a review-capped agent gets. The other 145 exist in the same file, but for that agent they might as well not. The whole security taxonomy is greppable plaintext - which is rather the point of a declarative format. And if anything in the matrix looks wrong or missing, this thread is exactly the right place - real-world corrections are how it improves.
  • Terraform, Packer or any tool to do IaC

    51 Topics
    472 Posts
    JeremyLARDENOISJ
    New releases! Terraform Provider Xen Orchestra v0.40.0 This new release allows users to import VMs directly from Xen Orchestra into Terraform without recreating it or modifying manually the Terraform state. There is still some drift when importing it, but nothing that changes the real state of VM and we are currently on it! https://github.com/vatesfr/terraform-provider-xenorchestra/releases/tag/v0.40.0 Golang SDK for Xen Orchestra v1.17.0 v2 The network service is now available from the v2 client! You can now create, get and delete your network directly from it! v1 & v2 The template value in VM struct params has been fixed, We can now get the template id directly from it. https://github.com/vatesfr/xenorchestra-go-sdk/releases/tag/v1.17.0
  • Backup error: "no writers left"

    6
    0 Votes
    6 Posts
    2k Views
    julien-fJ
    @vmpr Not much, this is a system issue which means that it's either due to your NFS server or to the connection between your XO and the NFS server. First, try to unmount the share and restart xo-server, if it keeps happening, restart the whole machine on which XO is. If that does not help, you should mount the share manually and do some tests directly on it.
  • Backup solutions?

    2
    0 Votes
    2 Posts
    991 Views
    olivierlambertO
    Most users are relying NFS shares. However, we are open to build something for tapes. The problem is: we have no knowledge on that technology nor have any tape system in our lab. If there's enough traction for this, or even sponsored dev to do it, we'll be happy to work on that!
  • What happens when a delta backup fails?

    9
    0 Votes
    9 Posts
    2k Views
    julien-fJ
    @olivierlambert XO does not test the full VHD structure because that would be too long, but does check both the begining and the end of the file (and all other VHDs in the chain) before each backup to make sure the files were not truncated. For full backup we are using a simple heuristic to attempt to validate XVA files, but it's very basic and unfortunately it does not applies to compressed files.
  • 0 Votes
    8 Posts
    5k Views
    D
    @danp Thanks for the tips... Ran the command to do a force rebuild and started up ok now... sudo curl https://raw.githubusercontent.com/Jarli01/xenorchestra_updater/master/xo-update.sh | bash -s -- -f
  • Hourly Error: "fs_usage"

    Solved
    11
    0 Votes
    11 Posts
    3k Views
    M
    Have created an SMB share and shoved them all there - problem seems to have gone away. Thanks for the help!
  • Yarn install error with latest XO github update

    Solved
    7
    0 Votes
    7 Posts
    4k Views
    P
    For the installation of the correct node version for some major Linux distributions please follow the installation instructions in this readme: https://github.com/nodesource/distributions/blob/master/README.md The Ubuntu section worked for me.
  • Backup Strategy

    2
    0 Votes
    2 Posts
    856 Views
    DarkbeldinD
    To change your IP address see doc here
  • Installation form sources missing xo-server module

    7
    0 Votes
    7 Posts
    2k Views
    DanpD
    @julien-f I believe that you already updated the docs, but that occurred after the postings above. You may want to review the section discussing forever-service to be sure it doesn't need modified.
  • restoring META

    7
    0 Votes
    7 Posts
    3k Views
    C
    @s-pam i'd say use them, always use the. Only a few KB of space and could be every handy. We have 3 servers in the pool so overlooked requirement for full pool recovery. (p.s we didn't fail, it's during DR testing it was flagged) we had the backups on already and if this had been a real issue, would have saved a lot of bacon!! turn it on ! (and check you can get it without a running XOA for quicker restore in full meltdown.)
  • Build from source Error

    Solved
    12
    0 Votes
    12 Posts
    2k Views
    olivierlambertO
    Thanks for the report!
  • NTP Settings XOA?

    13
    2
    0 Votes
    13 Posts
    9k Views
    olivierlambertO
    This section has nothing to do with XOA IP address, but useful to restrict some VMs to some IP address. I agree it's unclear. But as I said, for now, there's 0 GUI to configure the system per se. That's why I said it could be an addition sure, but there's nothing yet, so adding it will take some time or efforts, and it's not a priority as we speak (our backlog is already pretty big). But again, as an Open Source project, we are welcoming contributions!
  • 0 Votes
    2 Posts
    511 Views
    olivierlambertO
    To pick a pool: it's up to you to decide, depending on available pool storage capacity, speed. Same for compute and network. It's very very specific to your own needs, there's no universal rules. Host selection for a VM: it's not decided by XO but by XAPI (except if you specifically ask to boot on a host). IIRC, it's a mix of load and memory available, but if you want to dig further, it should be written in the XAPI code somewhere
  • USB Hard drives for VM exports

    13
    0 Votes
    13 Posts
    6k Views
    IndyJI
    @indyj FYI when I ran this test again it worked. this time: I ran it as a "Delta" backup. And then rescanned the removable media. I was then able to restore an individual file from the backup on USB media.
  • creating trunked connections through physical interfaces.

    3
    0 Votes
    3 Posts
    1k Views
    fohdeeshaF
    @garrya Hi, it sounds like you've set up VLAN interfaces correctly on the XCP-ng side, but the switch they are connected to also needs to be aware of VLAN tags to pass them, or else it will only pass untagged traffic as you noticed. You'll need a smart/managed switch with VLAN capability to do so
  • Authentication via Active Directory

    3
    0 Votes
    3 Posts
    2k Views
    B
    @deoccultist Sadly, none of this seemed to make any difference.
  • Can Network be selected for Backups?

    4
    1
    0 Votes
    4 Posts
    1k Views
    olivierlambertO
    See my answer in the other thread.
  • Support for XO in docker container

    21
    0 Votes
    21 Posts
    15k Views
    olivierlambertO
    We are investigating an elegant solution called RunX. Basically, it might be able to transparently any standard "container stack" (Docker and/or k8s). See https://www.youtube.com/watch?v=9m95hojMtsU There's some work to adapt that to XAPI, but it might be doable. This means XCP-ng could be "container" native while having very good level of isolation with very small VMs (only few MiB overhead).
  • Add rescan ISO SR from VM menu

    6
    1
    0 Votes
    6 Posts
    2k Views
    pdoniasP
    This is simple enough so we'll implement it in XO 5. Thanks for the feedback!
  • Wasabi just wont work...

    9
    0 Votes
    9 Posts
    2k Views
    K
    5.79.3 / 5.81.0 All of my backups work (now), and speeds range between 5 MB/s to 20 MB/s. Most of my VM's are smaller (zstd helps a lot), though the largest archive is about 80 GB. Also, all of my backups are sequential -- I seem to remember a previous note where somebody had problems with concurrent uploads. My XOCE VM runs with 12 GB, which was the number that "just works" according to some of my earlier problems (and I haven't bothered to chase down or fine tune further).
  • This topic is deleted!

    3
    0 Votes
    3 Posts
    4 Views