Subcategories

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

    491 Topics
    4k Posts
    poddingueP
    I tried this on my lab (with XO 6.9.1), moving the pool master to the other host with xe pool-designate-new-master and then back. XO stayed connected both times and picked up the new master, even though Settings > Servers still showed the old host's address; on the way back it took a minute or two to catch up. I didn't test 6.2.2, and I used the CLI rather than the XO 5 Advanced tab, so my guess that your older version is the difference is only a guess. For the XVA, I'm not aware of release notes for the appliance image itself: it updates itself after import, and the notes that exist are per XO version, in the monthly blog post and the changelog, both linked from https://docs.xen-orchestra.com/getting-started/releases#release-cadence-and-channels . How often the downloadable XVA gets rebuilt I don't know, so the 2025.12 tag may just be the date of the base image, but I'd rather ask than guess.
  • ACLs, Self-service, Cloud-init, Load balancing...

    106 Topics
    870 Posts
    D
    I ran into the same problem with DR replicas. Ignoring VMs by tag would solve the problem, but so would excluding the ip address information.
  • All XO backup features: full and incremental, replication, mirrors...

    538 Topics
    6k Posts
    J
    Hi! We recieved a fix via the support after opening a ticket as suggested. Now the pool metadata backup is running smoothly again. As far as i know 6.9 will become "stable" after 6.10 is released. I'd still suggest a patch for the stable version, unless the new release is a few days. Best wishes Jacob
  • Everything related to Xen Orchestra's REST API

    88 Topics
    654 Posts
    poddingueP
    Pretty cool, @samuelolavo, thanks for clarifying!
  • Terraform, Packer or any tool to do IaC

    53 Topics
    492 Posts
    bvitnikB
    @bug-meister Ah. That's cloud-init's support for templating user-data. The issue is that with these templates you only have access to the info available inside the VM itself. No outside data can be used for templating unless it is somehow passed to the VM (inject a file, set xenstore values...)
  • 0 Votes
    2 Posts
    1k Views
    olivierlambertO
    Hi, FreeBSD install was already documented officially: https://xen-orchestra.com/docs/installation.html#freebsd You could have test to use HTTP instead of HTTPS to see if perfs are improved New XO backup code will come in few releases that will speed up things Quiesce snapshot: it's not needed for Linux VMs because of the disk driver automatically handling this.
  • Compatibility issue for XO tool with Windows 10 version 2004?

    Solved
    7
    0 Votes
    7 Posts
    2k Views
    A
    Hi @olivierlambert , cool. Thank you. That makes clear for me now. Andy
  • XOA Console: Windows server - sending ctl+alt+delete keys

    Solved
    2
    0 Votes
    2 Posts
    2k Views
    N
    Cancel that! I found the keys icon for sending the combo just above console.....
  • CR tag ignored (kind of) in smart backup

    Solved
    11
    0 Votes
    11 Posts
    3k Views
    julien-fJ
    I've created a PR for this issue, feel free to test this branch: https://github.com/vatesfr/xen-orchestra/pull/5341
  • Cannot import OVA from VirtualBox

    23
    0 Votes
    23 Posts
    15k Views
    olivierlambertO
    https://developer.mozilla.org/en-US/docs/Tools/Browser_Console
  • Moving XO to New Host

    Solved
    2
    1
    0 Votes
    2 Posts
    490 Views
    olivierlambertO
    You need to select a template first.
  • recommendation for XO

    2
    1 Votes
    2 Posts
    659 Views
    olivierlambertO
    Hi @anchen Thanks for the feedback that will be helpful to build the new UI from scratch Pinging @pdonias @badrAZ and @badrAZ about this
  • Continuous Replication Hosts

    3
    0 Votes
    3 Posts
    941 Views
    R
    @olivierlambert ahh gotcha ok thanks for the info
  • Question about XO snapshot location

    4
    0 Votes
    4 Posts
    3k Views
    olivierlambertO
    Yes indeed, in CR, you'll send a copy of the disk toward a destination SR. But still, the snapshot is made on the same storage. However, I get your point, and I think in theory, it could be doable with some heavy changes in the storage stack (to have a snapshot located "elsewhere"). However, for each read in the VHD chain, you'll have to read on multiple storage at once, which can be complicated technically speaking (especially if they are shared)
  • Windows Server VM backup hangs

    5
    0 Votes
    5 Posts
    869 Views
    P
    Will do
  • xo-cli help

    10
    0 Votes
    10 Posts
    4k Views
    julien-fJ
    @kirovtome > xo-cli --list-commands vdi.set vdi.set id=<string> [name_label=<string>] [name_description=<string>] [size=<integer|string>]
  • How do I remove old pool&host that do not exist?

    5
    4
    0 Votes
    5 Posts
    3k Views
    ForzaF
    Thanks. It works now.
  • Kubernetes Recipe - Basic setup not working

    16
    0 Votes
    16 Posts
    5k Views
    R
    It seems that Debian Buster has some problems with Kubernetes. While this base setup is working, one should also assure that every tool uses the legacy iptables. If not, pod's will not be able to reach the kubernetes api... And then... failure all over! So we also need: update-alternatives --set iptables /usr/sbin/iptables-legacy update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy update-alternatives --set arptables /usr/sbin/arptables-legacy update-alternatives --set ebtables /usr/sbin/ebtables-legacy ```
  • Where does cloud-init log? Deployed template not 100% as configured.

    Solved
    5
    0 Votes
    5 Posts
    996 Views
    S
    Genius! That did the trick. Much appreciated.
  • Audit log export?

    5
    0 Votes
    5 Posts
    2k Views
    badrAZB
    Hi, Audit logs aren't in the same location than the xo-server logs. To get Audit logs you can use this command xo-cli audit.getRecords which returns an array of records. xo-cli audit.getRecords This command has an option ndjson, which allows you to export logs in a ndjson format. xo-cli audit.getRecords ndjson="json:true" @=<outputPath>
  • Question about XO pool network

    5
    0 Votes
    5 Posts
    2k Views
    A
    Hi @olivierlambert , gotcha, no worries. I will just leave it there. Thank you for the reply. Andy
  • Backups stuck at "started" when it looks like they finished

    4
    0 Votes
    4 Posts
    1k Views
    T
    @Rocky most like a connection issue, but since you already restarted I think the logs are already gone. If it was a one-off I wouldn't worry about it (but do make sure that the backup is actually working, may be a good idea to do another full backup).
  • XO debian 10 cloud ready VM template (cloud-init)

    24
    -1 Votes
    24 Posts
    16k Views
    M
    I was able to find the reason XO is not working with cloud-init. XO attaches iso with the cloud-config data as additional disk xvdb and it does not work. But if you provide it as a cd? It will. That is why - as for now you will need to create your own iso and attach it as a cd-rom. You do that this way: Get your files ready (meta-data network-config user-data). My examples below: metadata: instance-id: local-nocloud local-hostname: myhost.example.com network-config: network: version: 1 config: - type: physical name: eth0 subnets: - type: static address: 10.0.0.5/24 gateway: 10.0.0.254 - type: nameserver address: - 8.8.8.8 - 8.8.4.4 search: - example.com - type: physical name: eth1 subnets: - type: static address: 192.168.0.5/24 user-data: #cloud-config ### RUN CMD runcmd: - /usr/bin/apt -y install mc - /usr/bin/date >> /root/testfile # set system default user system_info: default_user: name: testuser gecos: Default Cloud User # password auth - comment out if not using passwords password: testpassword ssh_pwauth: true chpasswd: { expire: false } # do some package management #package_update: true packages: - iptraf - mtr - screen - net-tools - atop Generate iso genisoimage -output myiso.iso -volid cidata -joliet -rock user-data meta-data network-config Upload iso to XO home -> storage -> iso's -> disks -> new disk Prepare VM/template Install Debian 10.6 with xo-tools install cloud-init and cloud-initramfs-growroot remove all network configuration leave just "allow-hotplug ethxxx" (network config will be added in /etc/network/interfaces/50-cloud-init. It will not overwrite yours) shutdown the machine and create the template if you want or just restart VM. DO NOT LET IT BOOT! - keep it in grub. attach your iso let it run It will do whatever you need on the machine.
  • XO templates cd image problem

    Solved
    8
    0 Votes
    8 Posts
    2k Views
    M
    This is a great news as I will be able to have all my scripts written as of now and xo-cli in one place. Thanks @olivierlambert For those who are looking for direct instructions ... on Debian 10.x: # install npm: apt install npm # install xo-cli: npm install -g xo-cli
  • Detached Backups

    Moved
    7
    0 Votes
    7 Posts
    2k Views
    K
    @olivierlambert said in Detached Backups: You can do that already if you like (combined rolling snap and delta backup). But what's the point? Oh, wow. You can combine backup methods in the same job (as long as they are compatible methods (i.e. Delta and CR). This is cool. I currently have separate jobs for my deltas and CRs. I'll need to make time to make the changes, but this will simply things greatly. I'll even throw in a few extra snapshots to retain. So, yea, this is pretty much what I was thinking of. I didn't realize it was there. Why would I need this? Well, when my WSUS installed the Xen drivers on all my Windows VMs, I went a day before realizing what happened. A snapshot would have been sufficient, if I had one from the day before. Instead, I restored the backup which broke the chain. @olivierlambert said in Detached Backups: edit: about your previous question, restoring without breaking the chain. That might be possible. In theory, after restore, we should take a snapshot before booting the backup and then re-link the restored VM to the backup folders. It's doable (renaming some folders correctly) but I'm not sure this will be very useful. I'll look into this when I get some time. Thanks.