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...

    445 Topics
    4k Posts
    anivardA
    Hello, After a crash server, only disk system. I reinstalled XCP-NG. To restore my VM, I have to install XO, done. But after that, I can't restore a VM through XO. I need to restore my Firewall to have the correct setting of my network but I have WRITE EPIPE. My server and my backup NAS are on the same subnet with the correct access right. I would like also restore my old XOA because of settings are on it but IMPORT_INCOMPATIBLE_VERSION() PS: I backup the XOA configuration via the backup process in XO. I attached the log because I don't understand why after a complete reinstall of an hypervisor, it's difficult to restart from backup. firewall.txt xoa.txt
  • 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 Flake Overview 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. Editing configuration.nix is 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. While you're at it, go ahead and update hardware-configuration.nix to have a swap file (you can ignore this if you set a swap file in the NixOS installer) by adding the following lines to the config: swapDevices = [ { device = "/swapfile"; size = 4096; # in MB (4GB) } ]; 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: Go to the user-config directory Update inputs from nixoa-vm: nix flake update Add all changed files (including hardware-configuration.nix): git add * Commit your changes: git commit -m "Initial configuration" 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 zoxide 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
  • Import from VMware

    18
    0 Votes
    18 Posts
    2k Views
    D
    @florent said in Import from VMware: @Olest that's a nice catch, every day I discover new limits of the vmware licensing . At least we could catch the error and show something useful to the user Just wait, everything free from VMWare is going away, so it'll just be the assumption that if you should be able to do it, you won't be able to.
  • VM import

    8
    1
    0 Votes
    8 Posts
    931 Views
    E
    @Danp said in VM import: m pode ser devido a nenhum servidor definido/habilitado em C It worked out, I added my xcp-ng to servers. Thanks xD
  • Stats position

    6
    1
    0 Votes
    6 Posts
    1k Views
    olivierlambertO
    I have no idea why or how it's fixed But at least it is, so good news
  • Multiple XO applications for one pool?

    Solved
    3
    0 Votes
    3 Posts
    698 Views
    gskgerG
    @mestafin XOA/XO is an appliance with a web UI that should run as bare-metal or virtualized instance. It is a multi user management solution, that can handle different pools and user. Backup of a VM allows for easy restore. No need to install it on a notebook.
  • SMB SR Creation Fails

    14
    0 Votes
    14 Posts
    3k Views
    MathieuRAM
    Hi! The issue should be resolved on the branch fix-smb-storage
  • disable vswitch controller

    Solved
    3
    0 Votes
    3 Posts
    654 Views
    S
    @gskger works thanks
  • 24 hour time format for Xen Orchestra

    6
    0 Votes
    6 Posts
    1k Views
    olivierlambertO
    This will be done in XO 6 and XO Lite, not XO 5.
  • Custom template not showing on orchestra

    Solved
    13
    0 Votes
    13 Posts
    1k Views
    D
    @julien-f @olivierlambert That fix it. Thanks guys
  • Backup Error: "302 Found"

    7
    0 Votes
    7 Posts
    686 Views
    D
    @Danp said in Backup Error: "302 Found": @DustinB You could try the same backup job using XOA. If that works correctly, then that would eliminate some of the environmental causes. Got it sorted out, and addressed a speed issue I was experiencing. The advanced options of the pool, I had set ETH1 as the backup network, which for some reason keeps falling back to 10FDx and is generally just bad. Undid that change as well as moved my XO over to a different vNIC which appears to have addressed the issues.
  • Faulty XCP-ng host after update (but only on XO)

    Solved
    22
    2
    0 Votes
    22 Posts
    5k Views
    A
    Alright I updated XO again and the problem is gone. I would just like to comment that unlike described by another user that was only happening on single-node installs, this was happening to me in 2 out 4 nodes in a cluster. Two hosts would show normal, and another two showed glitched. Anyway, SOLVED!
  • Is my backup configuration sane? (plus a bonus delta backup question)

    Solved
    16
    1
    0 Votes
    16 Posts
    2k Views
    olivierlambertO
    I'm talking about VM snapshots (and by transitivity, VDI snapshots). Retention is the number of backup you save on the backup repository, and it's totally unrelated to the number of snapshots when doing full or incremental backups.
  • is Xo Proxy available in community version

    6
    0 Votes
    6 Posts
    2k Views
    olivierlambertO
    The code is entirely open source. It's just that the deploy is exposed in the XOA UI
  • Delta backups failing

    5
    0 Votes
    5 Posts
    675 Views
    A
    @Hannes_5253 No, my mistake.... I think it was this post. (off buy a digit... 8117 vs 8177)
  • If using XO from Source - How much ram are you assigning

    4
    1
    0 Votes
    4 Posts
    567 Views
    olivierlambertO
    Of real RAM usage? Eg with htop, take care of the cache too, because even if the cache is used doesn't mean it's really important. Maybe 8GiB is enough for example.
  • "Orphan VDIs" and "VDIs attached to Control Domain" Safe to delete all?

    11
    0 Votes
    11 Posts
    3k Views
    olivierlambertO
    Nothing like that could happen. If your orphaned VDI is in use, it will error out with "VDI in use".
  • Just performed server update and stats page is blank in XO now.

    Solved
    6
    0 Votes
    6 Posts
    1k Views
    olivierlambertO
    You are welcome, thanks for the feedback
  • PIF_VLAN_STILL_EXISTS

    4
    1
    0 Votes
    4 Posts
    2k Views
    julien-fJ
    @olivierlambert I can do it pretty easily, but there may be a good reason for XAPI to throw this error instead.
  • NDB Connections per Disk?

    3
    0 Votes
    3 Posts
    764 Views
    planedropP
    I second 4 being a good sweet spot, I personally have seen very little improvement from going higher than 4 in my environments.
  • advanced tag creation

    Solved
    3
    0 Votes
    3 Posts
    841 Views
    V
    @ajpri1998 Thank you!
  • VDI_IO_ERROR Continuous Replication on clean install.

    Solved
    66
    2
    0 Votes
    66 Posts
    23k Views
    olivierlambertO
    Good to know it works now Thanks for the feedback!