Subcategories

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

    434 Topics
    3k Posts
    nikadeN
    Cool, thnx for the info!
  • 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
    olivierlambertO
    Hi! Thanks for the feedback. Can you be more specific? This might be helpful if others would have the same issue Thanks!
  • 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
  • Fresh Install - Can't Create VMs or See VMs after Refresh?

    17
    0 Votes
    17 Posts
    3k Views
    B
    @Danp No, I haven't as I never use non-LTS servers from Ubuntu, and most software and guides asks for LTS. I might test it later with 19.04 but my posting here was more for the sake of others as I imagine that I'm not the only one that has experienced this on Ubuntu so when I figured out that it works in Debian I figured others could get some help too. It might also point the developers in the right direction if they wish to look into this, I don't know how many users there are that have got this problem but at least there are some of us so it might be something to look at if not at least there is a posted alternative. Most would not change OS if all guides tell them that Ubuntu works so this was more meant as a PSA if nothing else.
  • Windows 7 VM backup issues

    1
    0 Votes
    1 Posts
    409 Views
    No one has replied
  • Developing XenOrchestra

    2
    1 Votes
    2 Posts
    454 Views
    olivierlambertO
    It's Javascript, so there's no really mandatory tools: Any text editor supporting editor config for basic rules formatting is a good start A GitHub account Same recommendation for the dev env than running XO from the sources: NodeJS 8 and yarn That's pretty much it.
  • Error When Creating VM

    6
    0 Votes
    6 Posts
    1k Views
    olivierlambertO
    Try to remove the source folder and reinstall it. Please try following the official documentation: https://xen-orchestra.com/docs/from_the_sources.html
  • Int Error when trying delta backups in XO

    14
    0 Votes
    14 Posts
    2k Views
    DanpD
    Use FreeBSD instead of FreeNAS Avoid JPE
  • Auto Power ON says Invalid Parameters

    Solved
    21
    1
    0 Votes
    21 Posts
    5k Views
    M
    @cg it works on restored VMs from pre-fix backups. I haven't tested post fix backups yet. However, it also works on newly installed VMs.
  • Seem to have lost a host along the way.

    1
    1
    0 Votes
    1 Posts
    839 Views
    No one has replied
  • Xen Orchestra Webpage not working correctly via Netscaler

    Solved
    7
    1
    0 Votes
    7 Posts
    2k Views
    G
    Thanks for your help @olivierlambert After Enabling the Websockets everything works now. The Webpage is now display correctly without any issues.
  • XOA import script failing silently

    6
    0 Votes
    6 Posts
    1k Views
    olivierlambertO
    Hi! The new standard way to import is here: https://xen-orchestra.com/#!/xoa Let me know if you have any issue. It's still in beta yet, and we got one small issue to fix (it won't fetch the XO username/password, so it's still admin@admin.net / admin)
  • What is miss in XO and What i like and What I like to have ;-)

    3
    0 Votes
    3 Posts
    509 Views
    A
    THX Oliver I will try it soon more like XO-CLI
  • XOSAN - few questions :)

    4
    0 Votes
    4 Posts
    2k Views
    olivierlambertO
    Technically everything is possible (even adding disk) but not with the XOSAN UI. If you want more flexibility, I suggest you wait for XOSANv2.
  • Migrate VM with a private network to another host.

    7
    0 Votes
    7 Posts
    2k Views
    olivierlambertO
    Advanced tab of the VM view, "Start on…" button. Cross server private network will be a Xen Orchestra plugin for our next release.
  • After started CR backup I cannot open XOA web page

    5
    1
    0 Votes
    5 Posts
    602 Views
    julien-fJ
    @olivierlambert If you're talking about the merge, yes it's done in separate threads.
  • Continous replication - testing - start replicated VM

    2
    2
    0 Votes
    2 Posts
    348 Views
    olivierlambertO
    That's normal. If you boot the replicated VMs, then blocks will be changed. It mean no further delta replication will work on this VM. Force boot it if you lost the original VM and you don't care about delta toward the copy anymore. If you just want to test the VM without doing a new full (breaking the delta chain), boot with a copy. I think I explained that in this video: https://www.youtube.com/watch?v=FfUqIwT8KzI That's a display glitch.
  • Wrong time on XOA

    7
    0 Votes
    7 Posts
    5k Views
    olivierlambertO
    It's tzdata
  • host.call_plugin?

    2
    0 Votes
    2 Posts
    958 Views
    olivierlambertO
    It's everytime a XAPI plugin is called. Eg the update plugin is called regularly and there is other plugins. So it's OK
  • Error when migrate with XOA

    3
    0 Votes
    3 Posts
    899 Views
    olivierlambertO
    Ah yes, when you migrate, unmount your CD drive, sometimes it causes issues!
  • This topic is deleted!

    2
    0 Votes
    2 Posts
    2 Views
    No one has replied
  • Importing VMs all with same mac-address

    Moved
    7
    0 Votes
    7 Posts
    1k Views
    ?
    @borzel sweet.
  • This topic is deleted!

    1
    1
    0 Votes
    1 Posts
    4 Views
    No one has replied