Subcategories

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

    427 Topics
    3k Posts
    P
    In case anyone wonders how this played out. At the end of the day, I shutdown the host with the running workloads on it, kept it at BIOS boot so the 8.3 installer would upgrade it cleanly, and then booted it back up. For reasons related to my particular setup, the down time was more than 60 minutes. But that's not related to XCP-ng. The XCP-ng installer was maybe 10 of that. 20 of that was 3 reboots on a server that takes ages to boot. One thing that is a bit difficult is that the 8.3 installer doesn't notice ZFS volumes or help with ZFS. So after the upgrade, I have to follow a modified set of these instructions (modified because the package names have changed over time) to install ZFS and its components into the system. So the sequence is: Shutdown Install via ISO Reboot to single user mode Run yum update to pull in all the updates Run the ZFS commands to install ZFS on the host Reboot again Run normally Of course, I ended up rebooting more than just those 2 times, because I forgot that I would need to install ZFS (even though I did it on 2 different hosts already ) So now the pool is fully upgraded, everybody is happy. I'm now working on creating shared storage across the nodes. It's amateur hour over here. I appreciate all the help.
  • 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...

    439 Topics
    4k Posts
    florentF
    @Pilow would it be possible to test from source, or with latest ( note that v6 will be default on latest ) ? it would be useful to have the real error message instead of the itnermediate value
  • 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

    45 Topics
    427 Posts
    CyrilleC
    Terraform provider release v0.37.0 Enables the secure boot parameter for the VM resource Terraform provider release: https://github.com/vatesfr/terraform-provider-xenorchestra/releases/tag/v0.37.0
  • 0 Votes
    5 Posts
    1k Views
    A
    @ronivay, I resolved my problem with orchestra which did not want to make backup with NFS. Orchestra wrote errors like: Command failed with exit code 1: mount -o -t nfs 192.168.11.53:/backups/xo /run/xo-server/mounts/0e5e9511-8912-48d4-96ad-532979533332 mount: only root can use "--options" option In general, orchestra tried to use mount option "--options" but mount command rejected this option. When I mount my NFS-shares manually everything was ok - mount works, read-write too, umount also. I did simplest process. I removed at all "--options" from mount command. (As far as I understand, *BSD mount will not work without this option but my Ubuntu works). Background: xcp-ng server (centos 8.2) as NFS server ubuntu server 16.04 where orchestra is going to be placed Orchestra installed 10 days ago from sources according to https://xen-orchestra.com/docs/installation.html#from-the-sources I complete followed document before chapter "Installing dependencies". I made yarn Then, before "yarn build", I manually edited file: /opt/xen-orchestra/@xen-orchestra/fs/src/_mount.js at string 68 I replaced await this.#execa('mount', ['-o', options, '-t', type, device, realPath], { with await this.#execa('mount', ['-t', type, device, realPath], { I then proceeded to follow the instructions: yarn build a so on... Now "patched" orchestra fine makes any kind of backup with NFS. At least, I solved this problem. Yet another question appeared as backup works What kind of Backup should I use to make full copy which enough for restoring (Heaven forbid)? I tried simply "Backup". It SUCCESSFULLY (!) created several files with 56 kbytes (no giga, no mega but kilo). I suppose it abnormal. My VM has got 20 Gb of disk space and about one half is already used (ubuntu server, postgres etc). As far as I understand (https://xcp-ng.org/forum/topic/7034/backup-with-local-usb-hdd-attached-sr_operation_not_supported/5?_=1688120707451) my version of xcp-ng (8.2.1) does not support "Snapshots" with local disks. Now I copy imagine of my VM with cron as temporary option but may be there is some more correct backup option?
  • Snapshot failure

    12
    0 Votes
    12 Posts
    2k Views
    S
    @sumansaha Hello Team, The issue has resolved after applying xe-toolstack-restart. Thanks.
  • increase 24 hour timeout-limit on backup/copy

    Solved
    24
    0 Votes
    24 Posts
    8k Views
    florentF
    @sumansaha that is a good news yes, the replication go through the XO VM, the faster the link the better the performances
  • if ACL is not free?

    3
    0 Votes
    3 Posts
    573 Views
    K
    @AtaxyaNetwork Thanks
  • Debian 12 (Bookworm) default template

    3
    0 Votes
    3 Posts
    1k Views
    escape222E
    @olivierlambert Thanks
  • Hosts have disappeared from XO Web UI

    30
    0 Votes
    30 Posts
    11k Views
    D
    @julien-f @julien-f All I have done is let ronivay's script do the builds daily on schedule if there is a new commit on the master branch. His script has not changed. There have been no new patches to the hosts. I don't have an explanation.
  • clone linode to local

    1
    0 Votes
    1 Posts
    157 Views
    No one has replied
  • SR_SOURCE_SPACE_INSUFFICIENT

    Solved
    4
    0 Votes
    4 Posts
    727 Views
    olivierlambertO
    XO saved the day
  • Check User creation Date/time

    3
    0 Votes
    3 Posts
    331 Views
    N
    @Danp Yes but unfortunately before of this incident audit is disabled
  • Move VMs between SRs

    4
    0 Votes
    4 Posts
    984 Views
    olivierlambertO
    No problem! Did you manage to do what you need?
  • XOA does not reliably autostart

    Solved
    4
    0 Votes
    4 Posts
    959 Views
    B
    Toggling it back and forth seems to have worked, thanks.
  • OIDC not redirecting back to XO

    22
    0 Votes
    22 Posts
    4k Views
    julien-fJ
    The fix is now merged on master and will be part of the next release.
  • DR - Failback Scenario

    5
    0 Votes
    5 Posts
    562 Views
    H
    That's great, we'll be watching the space.
  • How to restore vm and xo metadata from backups?

    2
    0 Votes
    2 Posts
    2k Views
    GheppyG
    I don't have experience with something like this, but I can do a mini lab with something like this, to test the steps below . What would I do. 0. Do you have metadata backup for XCP-ng? If YES 1.1. I would reinstall the server from scratch, before make a backup with Clonezilla with the boot disk of XCP-ng ; 1.2. I would reconnect iSCSI, without formatting it - reinitialize, only reconnecting (to not delete the data on it); 1.3. I would restore the metadata; 1.4. The result should be all the info about the VM that was on XPC-ng, and hopefully it also attaches the iSCSI disks. If NO 2.2. I would reinstall the server from scratch, before make a backup with Clonezilla with the boot disk of XCP-ng; 2.2. I would reconnect iSCSI, without formatting it - reinitialize, only reconnecting (to not delete the data on it); 2.3. I would redone the VMs from scratch and start attaching the disks to identify which and to which VMs they were attached before; 2.4. The result should be functional VMs In principle, if you have the disks intact, the data is there, you just have to restore the VMs (RAM, CPU, attached the correct disks, etc.) This is the menu for XCP-ng metadata backup, Backup/New. [image: 1686467766517-cf7e9ec4-0d85-4ab6-9a1a-1061cd40a685-image.png] [image: 1686467824225-129ea089-e38b-4cf6-aa04-f7b3020b23a3-image-resized.png]
  • Failing backups due to the Lock File

    5
    2
    0 Votes
    5 Posts
    1k Views
    B
    @olivierlambert Thank you! Updated to latest version of Xen Orchestra, commit b0e2e, and started backup again. Will update once it finishes. One thing that scares me is that now XOA is saying that XVA might be broken. [image: 1686296039914-206f4cb2-9efc-424f-808b-cf55c0c03e4c-image.png]
  • Host/Guest Console Scrolling

    7
    0 Votes
    7 Posts
    2k Views
    R
    @olivierlambert Hi there I also have this issue. Neither in XCP-NG-Center nor in XO I am able to use Shift + PgUp to scroll upwards. (Just nothing happens) I tested it with Ubuntu 18, 20 and also with Rocky 9.1 VMs. Is there a way to activate it? Many thanks, Cheers
  • xoa api SR space usage

    4
    0 Votes
    4 Posts
    572 Views
    V
    @jedimarcus thank you i will have a look!
  • Mirror Backup Testing, So Far Awesome!!

    12
    1 Votes
    12 Posts
    2k Views
    planedropP
    This is all so cool, love to see a platform under this level of development.
  • How do I create a new plugin?

    Unsolved
    7
    0 Votes
    7 Posts
    2k Views
    H
    @olivierlambert, To start I would like to get my backup notification sent to HomeAssistant.
  • XOA 5.83.0 Backups Failing

    4
    0 Votes
    4 Posts
    513 Views
    planedropP
    @olivierlambert Yeah no worries, was a minor issue overall anyway! Just figured I'd make my own post about it since the other post mentions CR but not Disaster Recovery, the fix definitely works for both though!