Subcategories

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

    452 Topics
    3k Posts
    DanpD
    @olivierlambert It's even older than that. https://github.com/vatesfr/xen-orchestra/blob/master/CHANGELOG.v5.md#5540-2020-12-29 https://xen-orchestra.com/blog/xen-orchestra-5-54/
  • ACLs, Self-service, Cloud-init, Load balancing...

    100 Topics
    832 Posts
    Tristis OrisT
    Ok, my syntax is oudated. resize_rootfs: true growpart: mode: auto devices: ['/dev/xvda3'] ignore_growroot_disabled: false runcmd: - pvresize /dev/xvda3 - lvextend -r -l +100%FREE /dev/ubuntu-vg/ubuntu-lv || true this one works. final_message. doesn't support any macro like %(uptime) %(UPTIME)
  • All XO backup features: full and incremental, replication, mirrors...

    465 Topics
    5k Posts
    J
    @flakpyro said in backup mail report says INTERRUPTED but it's not ?: @olivierlambert Using the prebuilt XOA appliance which reports: [08:39 23] xoa@xoa:~$ node --version v20.18.3 @majorp93 Can you please capture some heap snapshots from during backup runs of XOA via NodeJS? Then compare them to each other, they need to be in the following order:- Snapshot before backup Snapshot following first backup Snapshot following second backup Snapshot following fourth backup Snapshot following subsequent backups to get to Node.js OOM (or as close as you’re willing to risk) These will require that XOA (or XOCE) is started with Node.js heap snapshots enabled. Then open in a Chromium based browser the following url:- chrome://inspect Another option is to integrate and enable use of Clinic.js (clinic heapprofiler), or configure node to use node-heapdump when it reaches a threshold amount. Once your got those heap dumps your looking for the following:- Object types that grow massively between the snapshots. Large arrays or maps of backup-related objects (VMs, snapshots, jobs, tasks, etc.). Retained objects whose “retainers” point to long-lived structures (global, caches, singletons).
  • Everything related to Xen Orchestra's REST API

    78 Topics
    594 Posts
    BytevenidosB
    @Danp alright, thanks. I'll give that a try.
  • Terraform, Packer or any tool to do IaC

    49 Topics
    459 Posts
    T
    Just a follow-up that the PV and PVC creation was successful. All pods stable since previous post. k get pv NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS VOLUMEATTRIBUTESCLASS REASON AGE dtw-6m 2Gi RWO Retain Bound kube-system/xo-csi-test csi-xenorchestra-sc <unset> 10h k get pvc -nkube-system NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS VOLUMEATTRIBUTESCLASS AGE xo-csi-test Bound dtw-6m 2Gi RWO csi-xenorchestra-sc <unset> 9h kgp -nkube-system | grep csi* csi-xenorchestra-controller-b5b695fb-ts4b9 3/3 Running 0 43h csi-xenorchestra-node-27qzg 3/3 Running 0 43h csi-xenorchestra-node-4bflf 3/3 Running 0 43h csi-xenorchestra-node-8tb5m 3/3 Running 0 43h csi-xenorchestra-node-t9m78 3/3 Running 0 43h
  • How to implement the perfect backup strategy with Xen Orchestra?

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Single backup job two locations

    2
    0 Votes
    2 Posts
    426 Views
    olivierlambertO
    You can have one job with 2 remotes. Or a job with backup and DR at the same time.
  • SAML, automatic user generation

    5
    0 Votes
    5 Posts
    2k Views
    pdoniasP
    @mrbaz Thanks for the detailed feedback! If XO had a way of pulling the user's group information and only allowing those in a certain group to have authorization to XO to have their accounts automatically generated, that would work too. That wouldn't be trivial to implement with our current plugin system. But as you said, a user that logs into XO isn't able to do anything without granting them permissions first. Also, if this is still a concern for you, you can disable user auto-generation in xo-server configuration by adding this line: createUserOnFirstSignin = false However, you'd then have to create the users manually before they can log in. the issue still stands that I can't put a user into a group or assign ACLs until after they have signed in for the first time. I agree but I'm not sure what a good solution to this would be. If we add an option to import all the users at once, it could mean importing a lot of users for some companies, even if many of those users would never actually log in later.
  • Cannot import a large VHD using Import Disk option

    Solved
    8
    0 Votes
    8 Posts
    2k Views
    D
    @nraynaud @olivierlambert Thanks guys!
  • S3 Remote

    12
    0 Votes
    12 Posts
    2k Views
    F
    @lawrencesystems said in S3 Remote: I was hoping to avoid this method as my pfsense is not connected at 10G. Thank you for the clarification. Happy I could help.
  • un-zstd .xva files exported with XOA?

    Solved
    3
    0 Votes
    3 Posts
    383 Views
    ForzaF
    @olivierlambert said in un-zstd .xva files exported with XOA?: Hi! Again, before starting to talk about technical solution, can you explain the use case? If you have zstd installed on your machine, yes. It's a tar with compression (gzip or zstd). But then it won't be trivial to assemble VM data (but you can exctract metadata easily!) I didn't really mean disassemble the .xva, but rather create an uncompressed .xva that has broader support/portability. The zstd command line tool seems to be able to uncompress it just fine. Thanks.
  • Reset Xen Orchestra Community Edition Web Password

    2
    0 Votes
    2 Posts
    10k Views
    olivierlambertO
    Hey there! It's a good thing to start by reading our doc. If you enter "Password" in the search field, you would have find: https://xen-orchestra.com/docs/troubleshooting.html#recover-web-login-password As you are using Xen Orchestra into production, may I suggest to go for XOA with pro support at some point?
  • Automating VM creation via Terraform

    7
    0 Votes
    7 Posts
    3k Views
    E
    @newknowledge Thanks, I'll try it out later.
  • Pool Metadata backup sometimes fails when using multiple remotes

    4
    5
    0 Votes
    4 Posts
    419 Views
    ForzaF
    @olivierlambert Maybe. Ive created a support ticket for now. Hopefully you can see if the problem is a configuration mistake on our end or a problem in XO. Thanks.
  • Multiple internal networks in pool for each user

    2
    0 Votes
    2 Posts
    733 Views
    T
    @jfrelik Similar issue here - still trying to figure this out. https://xcp-ng.org/forum/topic/4209/xcp-ng-and-network-virtualisation-help
  • Ansible dynamic inventory and XO

    11
    0 Votes
    11 Posts
    2k Views
    olivierlambertO
    Nice
  • xo-cli - Get alarms

    Solved
    8
    1
    0 Votes
    8 Posts
    976 Views
    olivierlambertO
    You are welcome Enjoy! (great thing about xo cli is that you can get alarms of all your hosts from a single endpoint)
  • XOA migrate the XO itself

    Unsolved
    2
    0 Votes
    2 Posts
    848 Views
    olivierlambertO
    You can't, indeed, live migrate a VM from Intel to AMD (or vice-versa), for obvious reason (the VM will try to call Intel specific instructions after migrating on an AMD CPU, the result would be… a crash!) We had a similar migration ourselves (in our own prod), from Intel to AMD. And we decided to use Continuous Replication to make a first "backup" on destination (the full) while the original VMs were running (no service interruption). Then, we shut down the VMs, make another round of replication (delta, very fast) and then we booted on destination.
  • New VMs created in Xen Orchestra reboot every couple of minutes

    5
    0 Votes
    5 Posts
    865 Views
    R
    @olivierlambert That socket issue was not what was causing the problem, I went through setting by setting and if I choose 2GB of memory for a VM I get constant reboots when using XOA. I was able to repeat the issue with a number of OSs not just RHEL 8 (and variants). I havent went through and compared the differences between XOA and XenCenter yet.
  • Multiple remotes in a backup - how is retention calculated

    5
    0 Votes
    5 Posts
    971 Views
    badrAZB
    @s-pam said in Multiple remotes in a backup - how is retention calculated: OK Great. So if I set retention to 10, it would keep 10 copies on each remote? Yes. it will keep 10 copies on each remote.
  • 0 Votes
    1 Posts
    926 Views
    No one has replied
  • Error: SR_BACKEND_FAILURE_109(, The snapshot chain is too long, )

    6
    0 Votes
    6 Posts
    2k Views
    olivierlambertO
    In theory, Xen Orchestra got a protection against this issue (see https://xen-orchestra.com/docs/backup_troubleshooting.html#vdi-chain-protection ) So you have to find what's causing a long chain outside XO. You can check in XO, in the Advanced tab of the SR view, if there's VDI to coalesce. Or maybe very long chain for other reasons, there's a tool we made called xapi-explore-sr.
  • Backups/VM Migrations Slow

    4
    0 Votes
    4 Posts
    1k Views
    olivierlambertO
    Use CR instead of DR then, it will send only the diff to the other host, so it will be faster.
  • Cannot migrate VM from 7.5/7.6 to 8.2 INTERNAL_ERROR

    4
    0 Votes
    4 Posts
    608 Views
    M
    I can migrate this VM from another host (7.6) to the 8.2 host just fine: [image: 1612363337871-29412a19-7047-4feb-a82e-1b3d3ce61a94-image.png] Im not sure what the agent actually is, thats why im guessing this might be related [image: 1612363441628-eb67e1dd-0979-4b17-94a8-b3d4f72397a5-image.png] VM that fails: [image: 1612363482511-153e71d2-3779-4894-b990-3b4f6b02e032-image.png]
  • Crashed XOA. Can't boot a clean XOA and use RESTORE because of REGISTRATION

    10
    -1 Votes
    10 Posts
    2k Views
    olivierlambertO
    It's not that easy to block some screens. But that's an interesting suggestion, I'll pass that to @pdonias