Subcategories

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

    434 Topics
    3k Posts
    Mang0MusztardaM
    And my cloud config: #cloud-config hostname: {name}% Network config: network: version: 1 config: - type: physical name: enX0 subnets: - type: static address: 172.1.1.2 netmask: 255.255.255.0 gateway: 172.1.1.1
  • 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
  • Is it possible to reset to full backup at the desired time ?

    4
    4
    0 Votes
    4 Posts
    583 Views
    GheppyG
    Yes, that's what i want to do. But at the moment it create an snapshot for each cron that I made and I want to have only one snapshot and to be reset to full backup on Saturday. In essence, I want to have only one snapshot to an VM no matter how many cron I have attached to the replication. In this case, I want to reset the Continuous Replication chain when the server is least busy, not after a number of replications
  • Migration failing but not failing

    1
    1
    0 Votes
    1 Posts
    217 Views
    No one has replied
  • Plugin transport-email (v0.6.0) broken ?

    Solved
    20
    1 Votes
    20 Posts
    4k Views
    gskgerG
    @julien-f yes, works well (even with the 3td party script ). Nice job and fast as usual . Thanks @Alexander-0 for helping to pin it down
  • Transfer log missing

    2
    2
    0 Votes
    2 Posts
    189 Views
    olivierlambertO
    This is a known issue that will be fixed next week. @julien-f is working on it
  • From the sources build now requires >2GB ram

    4
    0 Votes
    4 Posts
    959 Views
    M
    I also encountered this problem. If you are using Debian you can use pre-packaged XO from sources https://github.com/mathiswolff/xen-orchestra
  • Error on Delta Backup - cannot read property "length" of undefined

    16
    0 Votes
    16 Posts
    2k Views
    julien-fJ
    @mbt Great! Thanks for your report and testing
  • Delta Backup job timeout does not get respected

    5
    0 Votes
    5 Posts
    772 Views
    mkrumbholzM
    @olivierlambert I tested this now a bit more. And now it works with the traffic limiter. Your last updates have optimised the backup system too much for my NFS storage and with that froze somehow the timeout (XO is running on local storage). And you are right it is doing it per VM, but i think this was in an older version the other way around (wich would be more important to me, but not for others ). But it would be great if i could get somehow an evenly distribution of the full backups .
  • Disaster Recovery Storage

    4
    0 Votes
    4 Posts
    1k Views
    olivierlambertO
    You need to get the exact same structure ideally to not lose any data. But it's not a big deal, just copy/rsync whatever you like to the destination and that's it.
  • Migrate failed

    24
    0 Votes
    24 Posts
    8k Views
    olivierlambertO
    Errors in CAPS means an error from the host. Check host logs, also check dynamic min memory == dynamic max
  • XO updating hosts queries

    4
    0 Votes
    4 Posts
    582 Views
    olivierlambertO
    Indeed, XO doc was built for XenServer (before XCP-ng existed). @Darkbeldin will update this accordingly
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    24 Views
    No one has replied
  • XCP-NG static ip address issue

    2
    0 Votes
    2 Posts
    985 Views
    olivierlambertO
    Hi, I'm not sure to get what's your problem. What are you trying to achieve exactly? And what are you doing step by step?
  • XCP-ng 8.2 Rolling Update Error

    12
    0 Votes
    12 Posts
    2k Views
    C
    Great to hear, looking forward to the updates.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    15 Views
    No one has replied
  • XO Sources Build - Yarn ESOCKETTIMEDOUT ?

    Solved
    2
    0 Votes
    2 Posts
    1k Views
    DustyArmstrongD
    I fixed it by running the following: yarn cache clean yarn --network-timeout 10000000
  • xo-cli not working

    Solved
    4
    0 Votes
    4 Posts
    958 Views
    olivierlambertO
    Indeed.
  • Backing up of multiple VM's

    Solved
    3
    0 Votes
    3 Posts
    517 Views
    G
    @olivierlambert Oh, I totally missed the Advanced button! Thanks!
  • Pool Storage wont connect to 2nd host

    2
    2
    0 Votes
    2 Posts
    770 Views
    olivierlambertO
    Double check your 2nd host have permission to connect to the LUN. Try local commands on this host to see if you can access the LUN (iscsiadm for example).
  • Migrate all VMs bug - some VMs do not show as migrating.

    Solved
    6
    2
    0 Votes
    6 Posts
    513 Views
    olivierlambertO
    There's no XO tasks per se, so you can't see it What matters is you have all the VM migrated in the end, but yes, it's not "visible". Next major XO UI will have "XO tasks" that will display clearly the queue
  • getaddrinfo EAI_AGAIN error during backup

    7
    2
    0 Votes
    7 Posts
    2k Views
    ForzaF
    I got the same error again today. It's a delta job with two remotes. [image: 1617015537043-fe12531c-52e2-4457-bc13-ee36db7f4fb5-image.png] Even though it says the backup failed, it looks like it is available on both remotes: [image: 1617015649230-ca6eabb8-f810-44ac-bce0-7079755bc7de-image.png] srv01 = pool member srv02 = pool master srv03, srv04 = backup remotes XOA runs on srv02 The error seems to imply that it can't resolve the hostname of srv02, but that seems rather odd. I am using static IP only.