Subcategories

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

    433 Topics
    3k Posts
    florentF
    @wmazren said in VDI not showing in XO 5 from Source.: is-a-snapshot ( RO): false snapshot-of ( RO): d31f2db0-be21-4794-b858-1bea357869c8 this disk is now recognized as a snapshot by xo is it a disk from a restored VM ?
  • ACLs, Self-service, Cloud-init, Load balancing...

    97 Topics
    818 Posts
    olivierlambertO
    October release fixed it
  • All XO backup features: full and incremental, replication, mirrors...

    444 Topics
    4k Posts
    P
    @florent yes they are, I screenshoted earlier in the thread
  • Everything related to Xen Orchestra's REST API

    75 Topics
    571 Posts
    F
    @MathieuRA Thank you, perfect Br,
  • Terraform, Packer or any tool to do IaC

    46 Topics
    428 Posts
    dalemD
    I have created two Nix flakes for running Xen Orchestra inside a NixOS virtual machine on XCP-ng. I am a strong supporter of Nix and NixOS, and I was interested in the idea of building Xen Orchestra from source in a fully declarative way. Requirements Before you begin, you need: • A virtual machine running NixOS • Flakes enabled (either in your system configuration or in your current shell) • The git package installed Overview of the Flakes There are two flakes: nixoa-vm This is the main flake of the project. It includes: • A Xen Orchestra package built from source • A libvhdi Nix module • Update and maintenance modules • System and user configuration modules • Xen guest tools (via xen-guest-agent) • Support for a separate user-config flake This flake is where the Xen Orchestra service and core functions are defined. It is not intended to be user editable when using it. user-config This flake contains your machine-specific settings. • configuration.nix Used for basic system settings such as: • Hostname • Username • Time zone • SSH keys • hardware-configuration.nix You must copy this file from /etc/nixos/hardware-configuration.nix into the root of the user-config directory. Making Customizations There are helper scripts to simplify setup. In the future, these may be replaced with a text-based user interface (TUI). In most cases, you will only need to edit: • configuration.nix – system-level settings • home.nix (optional) – if you want more control using Home Manager • config.nixoa.toml – only if you have custom Xen Orchestra server settings You usually do not need to edit config.nixoa.toml. If you do, avoid changing the Redis, sudo, or HTTPS mount settings unless you know exactly what you are doing, as this can break the system. Building the System After you finish editing your configuration: 1. Go to the user-config directory 2. Update inputs from nixoa-vm: nix flake update 3. Add all changed files (including hardware-configuration.nix): git add * 4. Commit your changes: git commit -m "Initial configuration" 5. Rebuild the system: sudo nixos-rebuild switch --flake .#nixoa (Replace nixoa if you changed the hostname.) Installer The documentation mentions an installer that automates most of these steps. It exists, but it still needs more testing and should be considered experimental. Optional Shell Enhancements If you change the shell for the xoa user from bash to zsh in configuration.nix, the system will automatically install several quality-of-life tools, including: • oh-my-posh • fzf • eza • bat • and other terminal enhancements This is a personal passion project that I built on my own. If you are interested, please take a look and share any feedback or suggestions: https://codeberg.org/NiXOA
  • host connection error

    3
    1
    0 Votes
    3 Posts
    238 Views
    P
    @irtaza9 Sometimes when I have been tinkering with a host, I get a red triangle. Then just pressing Enabled and then Disabled can get rid of the triangle and the host back in business again.
  • 0 Votes
    10 Posts
    1k Views
    D
    @julien-f said in Enhancement suggestion: Filter showing VMs that don't have the agent installed: XO does not support this for halted VMs but that could be added indeed. Can you change the title of my thread to "Enhancement suggestion: Update 'ManagementAgentDetected?' to support halted VMs" ?
  • XO High Availability

    6
    0 Votes
    6 Posts
    796 Views
    DanpD
    @irtaza9 You should be able to login with the default credentials after you restart the xo-server service with systemctl restart xo-server.service.
  • Web Hook plugin

    2
    0 Votes
    2 Posts
    277 Views
    olivierlambertO
    Hi, Before enabling the plugin, you need to configure it in the Plugin view.
  • XOA on a vSphere VM

    4
    0 Votes
    4 Posts
    517 Views
    DanpD
    @yzgulec You will likely need to install the fix given in the following post for XOA to function correctly on vSphere -- https://xcp-ng.org/forum/post/50279
  • Difference between "pool", "host" and "server".

    Solved
    6
    0 Votes
    6 Posts
    2k Views
    pdoniasP
    @andrewperry Exactly
  • Lots of performance alerts after upgrading XO to commit aa490

    28
    0 Votes
    28 Posts
    8k Views
    Bastien NolletB
    @ph7 Some of the errors you encountered are intended. We don't allow values in the "Virtual Machines" field if "Exclude VMs" is disabled and "All running VMs" is enabled, because it would make the plugin configuration confusing. However you're right, there seems to be an issue when the VMs are selected and then removed. The value becomes an empty list instead of being undefined, which causes the validation to fail when we try to turn off the "Exclude VMs" option. I'm going to create a task on our side so that we can plan to resolve this problem. In the meantime you can work around the problem by deleting the monitor and recreating a new one with the same parameters.
  • S3 Backup - maximum number of parts

    1
    0 Votes
    1 Posts
    166 Views
    No one has replied
  • How to update to the latest version of XOA?

    2
    1
    0 Votes
    2 Posts
    488 Views
    DanpD
    Hi, This is explained in this KB article -- https://help.vates.tech/kb/en-us/30/21 Regards, Dan
  • Guide : XOA OIDC authentication with Fortiauthenticator

    1
    0 Votes
    1 Posts
    295 Views
    No one has replied
  • Rolling pool update failed to migrate VMs back

    14
    0 Votes
    14 Posts
    2k Views
    N
    @BenjiReis HA is automatically disabled by the RPU when it starts, then enabled at the end. - I see the task for that in the task log. We do have about 5 VMs that do not have HA enabled, but they are very small (~4GB each) so should not make any difference regardless of which hosts they were on. Also all VMs successfully evacuate from the host for the updates, its only when VMs are migrated back after all hosts are upgraded that I see a problem. I've raised a support ticket, if anything relevant comes out of it I'll try and report back here for future readers. Thanks for the suggestions, Neal.
  • Acl setting not clear, how to

    4
    0 Votes
    4 Posts
    423 Views
    I
    @Chico008 ACLs are used to assign rights to the guest users. As you said you have an admin who can do anything. In case you want to go with acl then your guest can get no leverage by using ACL create vm You as an admin will create VMs and manage other stuff but you then have ability to give three type of rights to the guest user. admin, operator, viewer In case of VMs when you give the admin right to a user then it means that user can have ability to anything with that VM. Delete, Reboot, etc But from you query you said that you want to give a right to guest user to create/run the vms to achieve this you have to look Self Service feature which is supported in XO from sources and in Premium XOA In self service you have ability to create resource sets which are pools, storage, networks, templates etc, and assign a user or group to it.
  • 0 Votes
    16 Posts
    3k Views
    M
    @florent Sorry for the delay. I was able to make it work with the change you posted. Thank You.
  • All drop-down options are empty

    Solved
    18
    3
    0 Votes
    18 Posts
    2k Views
    TS79T
    @Andrew said in All drop-down options are empty: XO install video thanks Andrew - 100% agree Tom's video is the exact one that introduced me to the ronivay script, which is what I've used for all XO-from-source installs without problems.
  • OIDC issue with Microsoft Entra ID

    3
    0 Votes
    3 Posts
    498 Views
    J
    I'm expericing the same/similar behaviour with SAML, and submitted a Feature Request that it should be looked at. https://xcp-ng.org/forum/topic/10430/feature-request-if-authenticated-don-t-stop-at-the-xo.company.net-signin-page
  • This topic is deleted!

    17
    1
    0 Votes
    17 Posts
    41 Views
  • Is there any way to cleanup or reset xo config db

    Solved
    4
    0 Votes
    4 Posts
    488 Views
    A
    @Danp Thanks a million dear. much appreciated
  • $getFrom Understanding

    1
    3
    0 Votes
    1 Posts
    139 Views
    No one has replied
  • 0 Votes
    5 Posts
    2k Views
    D
    I'm starting to think that something is wrong. Everywhere I check, I can see that the SAML request from the SP should have a signature of some sort. It doesn't seem that there is anything of the sort in our case. We are using the opensource for preproduction and are waiting for a pro license (paperwork on it's way) so maybe there is something wrong in the implementation ?
  • LDAP fails with error "Code: -32000 Message: Code: 0x3"

    Solved
    7
    0 Votes
    7 Posts
    743 Views
    Y
    @dinhngtu said in LDAP fails with error "Code: -32000 Message: Code: 0x3": sAMAccountName Thank you. (userPrincipalName={{name}}) filter made the trick. When I use (userPrincipalName={{name}}), it works for me either I set certificate check ON or not. (Actually I was expecting to check AD root cert as this connection is using LDAPS) And also test only works when I do it using UPN but not with username@domain format. Other filter options did not work at all.