Subcategories

  • All Xen related stuff

    603 Topics
    6k Posts
    A
    For documentation purposes, there's a more general step of "Any VM you can shut down, do". Live Migration is great for VMs which need to stay up, but it's not free, and not even cheep. You will get done quicker if you can shut down VMs you don't need, migrate fewer things, and then (re)boot everything at the end.
  • The integrated web UI to manage XCP-ng

    26 Topics
    348 Posts
    olivierlambertO
    It's not meant to be used like that. If you are behind a NAT, the right approach is to have your XOA behind the NAT and inside the same network than the hosts. That's because hosts will always use and return their internal IPs to connect to some resources (stats, consoles etc.). XOA deals with that easily as being the "main control point" for all hosts behind your NAT (or a XO proxy if you prefer).
  • Section dedicated to migrations from VMWare, HyperV, Proxmox etc. to XCP-ng

    111 Topics
    1k Posts
    snk33S
    I can confirm the warm migration work from OVHcloud Managed vSphere from both vSAN and NFS datastores. We just need to follow these steps : make a snapshot of the VM on vSphere import from VMware on XOA with VM stop actions disabled once import is finished, remove open-vm-tools on active VM and gracefully stop the OS new import from VMware on XOA with VM stop actions disabled -> it detects the VM has already been imported and just sync the delta once import is finished, the VM can be started There are still 2 drawbacks : the network interfaces naming differs (ens192/226/etc -> eth0/eth1/eth2) so it needs some reconfiguration the network remapping is global so in case a VM has multiple interfaces with different VLANs (ex : pfSense FW), you need to manually set networks before starting the VM Anyway it works well and make the migration possible for us without waiting for QCOW2 because we don't have >2TB vdisks (we usually add disks and use LVM to grow FS). Thanks @florent for your help
  • Hardware related section

    144 Topics
    1k Posts
    Y
    It still fails with latest iso (xcp-ng-8.3.0-20250606.2.iso) on Dell R770 and Broadcom 57508 100GbE QSFP56 Dual Port Adapter, PCIe Full Height See post here By the way, it works ok with 8.2.1 iso
  • The place to discuss new additions into XCP-ng

    245 Topics
    3k Posts
    G
    @exetico I have updated my script. Please use your previous install file (if you have it saved) to remove your previous version (remember to save your config before running uninstall), before you proceed to install the new version.
  • Red Hat Linux 10.1 ISO Won't Boot in UEFI Mode

    7
    2
    0 Votes
    7 Posts
    85 Views
    J
    Actually Alma Linux does have a variant for v2 CPUs so they can run 10.0. Just look for x86_64 v2 on the downloads page.
  • Lost VMs disk after using new SR

    5
    4
    0 Votes
    5 Posts
    58 Views
    D
    @Danp I do not, I did not know it was needed. Last cmd run, blew away old SR, using new pool. Type "xsconsole" for access to the management console. [00:09 localhost ~]# xe sr-list uuid ( RO) : bda59d9a-5655-e903-c569-02c8e1c84465 name-label ( RW): VM-Pool name-description ( RW): host ( RO): localhost type ( RO): ext content-type ( RO): user uuid ( RO) : 5ee50bda-201e-633c-ea4c-4ba32b2a0428 name-label ( RW): casaHOS-NextCloud name-description ( RW): casaHOS-NextCloud host ( RO): localhost type ( RO): nfs content-type ( RO): user uuid ( RO) : ae10e37f-237a-d62e-8146-1b9aeeae0562 name-label ( RW): TrueNAS-ISO name-description ( RW): ISOs on trunas host ( RO): localhost type ( RO): iso content-type ( RO): iso uuid ( RO) : 405be593-196a-e6c1-1154-737d870ca2c8 name-label ( RW): DVD drives name-description ( RW): Physical DVD drives host ( RO): localhost type ( RO): udev content-type ( RO): iso uuid ( RO) : d076f279-50f3-906a-f29b-a20822dba819 name-label ( RW): Local-ISO name-description ( RW): host ( RO): <not in database> type ( RO): iso content-type ( RO): iso uuid ( RO) : c360423b-dbc3-833c-a77c-9f7cae7102d5 name-label ( RW): USB-ISO name-description ( RW): host ( RO): localhost type ( RO): iso content-type ( RO): iso uuid ( RO) : 7acdd6e8-90ba-8657-2a0a-ffbcca86d405 name-label ( RW): casaHOS-Qbitorrent name-description ( RW): casaHOS-Qbitorrent host ( RO): localhost type ( RO): nfs content-type ( RO): user uuid ( RO) : a8875f36-cfbe-f46e-c59f-88fff7d122c1 name-label ( RW): XCP-ng Tools name-description ( RW): XCP-ng Tools ISOs host ( RO): localhost type ( RO): iso content-type ( RO): iso uuid ( RO) : 9551e268-d298-8b69-fc1c-15f466ca2b09 name-label ( RW): casHOS-JellyFin name-description ( RW): casHOS-JellyFin host ( RO): localhost type ( RO): nfs content-type ( RO): user uuid ( RO) : eae7b525-517f-6473-d052-0415c7991752 name-label ( RW): casaHOS-immich name-description ( RW): casaHOS-immich host ( RO): localhost type ( RO): nfs content-type ( RO): user uuid ( RO) : 3ae63e9d-33cd-57ff-759a-f939968f1d69 name-label ( RW): Removable storage name-description ( RW): host ( RO): localhost type ( RO): udev content-type ( RO): disk uuid ( RO) : 27384ca2-a23c-d5c7-a3fc-e2ac755d356c name-label ( RW): Main-Pool-XCP name-description ( RW): host ( RO): localhost type ( RO): ext content-type ( RO): user [00:13 localhost ~]# xe sr-list uuid ( RO) : bda59d9a-5655-e903-c569-02c8e1c84465 name-label ( RW): VM-Pool name-description ( RW): host ( RO): <not in database> type ( RO): ext content-type ( RO): user uuid ( RO) : 5ee50bda-201e-633c-ea4c-4ba32b2a0428 name-label ( RW): casaHOS-NextCloud name-description ( RW): casaHOS-NextCloud host ( RO): localhost type ( RO): nfs content-type ( RO): user uuid ( RO) : ae10e37f-237a-d62e-8146-1b9aeeae0562 name-label ( RW): TrueNAS-ISO name-description ( RW): ISOs on trunas host ( RO): localhost type ( RO): iso content-type ( RO): iso uuid ( RO) : 405be593-196a-e6c1-1154-737d870ca2c8 name-label ( RW): DVD drives name-description ( RW): Physical DVD drives host ( RO): localhost type ( RO): udev content-type ( RO): iso uuid ( RO) : d076f279-50f3-906a-f29b-a20822dba819 name-label ( RW): Local-ISO name-description ( RW): host ( RO): <not in database> type ( RO): iso content-type ( RO): iso uuid ( RO) : c360423b-dbc3-833c-a77c-9f7cae7102d5 name-label ( RW): USB-ISO name-description ( RW): host ( RO): localhost type ( RO): iso content-type ( RO): iso uuid ( RO) : 7acdd6e8-90ba-8657-2a0a-ffbcca86d405 name-label ( RW): casaHOS-Qbitorrent name-description ( RW): casaHOS-Qbitorrent host ( RO): localhost type ( RO): nfs content-type ( RO): user uuid ( RO) : a8875f36-cfbe-f46e-c59f-88fff7d122c1 name-label ( RW): XCP-ng Tools name-description ( RW): XCP-ng Tools ISOs host ( RO): localhost type ( RO): iso content-type ( RO): iso uuid ( RO) : 9551e268-d298-8b69-fc1c-15f466ca2b09 name-label ( RW): casHOS-JellyFin name-description ( RW): casHOS-JellyFin host ( RO): localhost type ( RO): nfs content-type ( RO): user uuid ( RO) : eae7b525-517f-6473-d052-0415c7991752 name-label ( RW): casaHOS-immich name-description ( RW): casaHOS-immich host ( RO): localhost type ( RO): nfs content-type ( RO): user uuid ( RO) : 3ae63e9d-33cd-57ff-759a-f939968f1d69 name-label ( RW): Removable storage name-description ( RW): host ( RO): localhost type ( RO): udev content-type ( RO): disk uuid ( RO) : 27384ca2-a23c-d5c7-a3fc-e2ac755d356c name-label ( RW): Main-Pool-XCP name-description ( RW): host ( RO): localhost type ( RO): ext content-type ( RO): user [00:17 localhost ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sdb 8:16 0 465.7G 0 disk ├─sdb4 8:20 0 512M 0 part /boot/efi ├─sdb2 8:18 0 18G 0 part ├─sdb5 8:21 0 4G 0 part /var/log ├─sdb3 8:19 0 424.2G 0 part ├─sdb1 8:17 0 18G 0 part / └─sdb6 8:22 0 1G 0 part [SWAP] sdc 8:32 1 57.3G 0 disk ├─sdc2 8:34 1 32M 0 part └─sdc1 8:33 1 57.3G 0 part sda 8:0 0 7.5T 0 disk └─XSLocalEXT--27384ca2--a23c--d5c7--a3fc--e2ac755d356c-27384ca2--a23c--d5c7--a3fc--e2ac755d356c 253:0 0 7.5T 0 lvm /run/sr-mount/27384ca2-a23c-d5c7-a3fc-e2ac755d356c [00:20 localhost ~]# mount | grep sr-mount 10.10.10.1:/mnt/Deadpool/cos-appdata/cos-immich/eae7b525-517f-6473-d052-0415c7991752 on /run/sr-mount/eae7b525-517f-6473-d052-0415c7991752 type nfs4 (rw,relatime,vers=4.1,rsize=1048576,wsize=1048576,namlen=255,acdirmin=0,acdirmax=0,soft,proto=tcp,timeo=200,retrans=4,sec=sys,clientaddr=10.10.10.2,local_lock=none,addr=10.10.10.1) /dev/mapper/XSLocalEXT--27384ca2--a23c--d5c7--a3fc--e2ac755d356c-27384ca2--a23c--d5c7--a3fc--e2ac755d356c on /run/sr-mount/27384ca2-a23c-d5c7-a3fc-e2ac755d356c type ext4 (rw,relatime) 10.10.10.1:/mnt/Deadpool/cos-downloads/7acdd6e8-90ba-8657-2a0a-ffbcca86d405 on /run/sr-mount/7acdd6e8-90ba-8657-2a0a-ffbcca86d405 type nfs4 (rw,relatime,vers=4.1,rsize=1048576,wsize=1048576,namlen=255,acdirmin=0,acdirmax=0,soft,proto=tcp,timeo=200,retrans=4,sec=sys,clientaddr=10.10.10.2,local_lock=none,addr=10.10.10.1) 10.10.10.1:/mnt/Deadpool/cos-media/9551e268-d298-8b69-fc1c-15f466ca2b09 on /run/sr-mount/9551e268-d298-8b69-fc1c-15f466ca2b09 type nfs (rw,relatime,vers=3,rsize=1048576,wsize=1048576,namlen=255,acdirmin=0,acdirmax=0,soft,proto=tcp,timeo=200,retrans=4,sec=sys,mountaddr=10.10.10.1,mountvers=3,mountport=39057,mountproto=tcp,local_lock=none,addr=10.10.10.1) 10.10.10.1:/mnt/Deadpool/AppShare/ISO-Tank on /run/sr-mount/ae10e37f-237a-d62e-8146-1b9aeeae0562 type nfs4 (rw,relatime,vers=4.1,rsize=1048576,wsize=1048576,namlen=255,acdirmin=0,acdirmax=0,soft,proto=tcp,timeo=200,retrans=4,sec=sys,clientaddr=10.10.10.2,local_lock=none,addr=10.10.10.1) [00:20 localhost ~]# mount | grep bda59d9a || echo "VM-Pool not mounted" VM-Pool not mounted [00:24 localhost ~]# xe sr-forget uuid=bda59d9a-5655-e903-c569-02c8e1c84465 --force [00:24 localhost ~]# xe sr-forget uuid=bda59d9a-5655-e903-c569-02c8e1c84465 The uuid you supplied was invalid. type: SR uuid: bda59d9a-5655-e903-c569-02c8e1c84465 [00:24 localhost ~]# lsblk -a NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT tdg 254:6 0 250G 0 disk sdb 8:16 0 465.7G 0 disk ├─sdb4 8:20 0 512M 0 part /boot/efi ├─sdb2 8:18 0 18G 0 part ├─sdb5 8:21 0 4G 0 part /var/log ├─sdb3 8:19 0 424.2G 0 part ├─sdb1 8:17 0 18G 0 part / └─sdb6 8:22 0 1G 0 part [SWAP] tde 254:4 0 1.2T 0 disk tdc 254:2 0 6.4G 1 disk tda 254:0 0 1.2T 0 disk tdh 254:7 0 3.1G 1 disk sdc 8:32 1 57.3G 0 disk ├─sdc2 8:34 1 32M 0 part └─sdc1 8:33 1 57.3G 0 part tdf 254:5 0 4.7G 1 disk sda 8:0 0 7.5T 0 disk └─XSLocalEXT--27384ca2--a23c--d5c7--a3fc--e2ac755d356c-27384ca2--a23c--d5c7--a3fc--e2ac755d356c 253:0 0 7.5T 0 lvm /run/sr-mount/27384ca2-a23c-d5c7-a3fc-e2ac755d356c tdd 254:3 0 900G 0 disk tdb 254:1 0 500G 0 disk [07:48 localhost ~]# xe sr-list uuid ( RO) : 5ee50bda-201e-633c-ea4c-4ba32b2a0428 name-label ( RW): casaHOS-NextCloud name-description ( RW): casaHOS-NextCloud host ( RO): localhost type ( RO): nfs content-type ( RO): user uuid ( RO) : ae10e37f-237a-d62e-8146-1b9aeeae0562 name-label ( RW): TrueNAS-ISO name-description ( RW): ISOs on trunas host ( RO): localhost type ( RO): iso content-type ( RO): iso uuid ( RO) : 405be593-196a-e6c1-1154-737d870ca2c8 name-label ( RW): DVD drives name-description ( RW): Physical DVD drives host ( RO): localhost type ( RO): udev content-type ( RO): iso uuid ( RO) : d076f279-50f3-906a-f29b-a20822dba819 name-label ( RW): Local-ISO name-description ( RW): host ( RO): <not in database> type ( RO): iso content-type ( RO): iso uuid ( RO) : c360423b-dbc3-833c-a77c-9f7cae7102d5 name-label ( RW): USB-ISO name-description ( RW): host ( RO): localhost type ( RO): iso content-type ( RO): iso uuid ( RO) : 7acdd6e8-90ba-8657-2a0a-ffbcca86d405 name-label ( RW): casaHOS-Qbitorrent name-description ( RW): casaHOS-Qbitorrent host ( RO): localhost type ( RO): nfs content-type ( RO): user uuid ( RO) : a8875f36-cfbe-f46e-c59f-88fff7d122c1 name-label ( RW): XCP-ng Tools name-description ( RW): XCP-ng Tools ISOs host ( RO): localhost type ( RO): iso content-type ( RO): iso uuid ( RO) : 9551e268-d298-8b69-fc1c-15f466ca2b09 name-label ( RW): casHOS-JellyFin name-description ( RW): casHOS-JellyFin host ( RO): localhost type ( RO): nfs content-type ( RO): user uuid ( RO) : eae7b525-517f-6473-d052-0415c7991752 name-label ( RW): casaHOS-immich name-description ( RW): casaHOS-immich host ( RO): localhost type ( RO): nfs content-type ( RO): user uuid ( RO) : 3ae63e9d-33cd-57ff-759a-f939968f1d69 name-label ( RW): Removable storage name-description ( RW): host ( RO): localhost type ( RO): udev content-type ( RO): disk uuid ( RO) : 27384ca2-a23c-d5c7-a3fc-e2ac755d356c name-label ( RW): Main-Pool-XCP name-description ( RW): host ( RO): localhost type ( RO): ext content-type ( RO): user [07:48 localhost ~]#
  • log_fs_usage / /var/log directory on pool master filling up constantly

    17
    1
    0 Votes
    17 Posts
    420 Views
    M
    Another thing that I noticed: despite enabling remote syslog (to graylog) for all XCP-ng hosts in the pool /var/log gets filled up to 100%. Adding remote syslog seem to not change usage of /var/log at all. Official XCP-ng documentation states otherwise here: https://docs.xcp-ng.org/installation/install-xcp-ng/#installation-on-usb-drives The linked part of the documentation indicates that configuring remote syslog can be a possible solution for /var/log space constraints which seems to be not the case. I feel like logging could use some investigation by Vates in general.
  • suggestions for upgrade path XCP-ng 8.2.1 -> XCP-ng 8.3.0

    11
    0 Votes
    11 Posts
    318 Views
    olivierlambertO
    Great! Keep us posted
  • Xapi#getResource /rrd_updates (on xcp-dl380-gen10) 0%

    5
    0 Votes
    5 Posts
    56 Views
    olivierlambertO
  • Citrix or XCP-ng drivers for Windows Server 2022

    17
    0 Votes
    17 Posts
    6k Views
    V
    Hi Forza, Have you finished migrating the workloads? If you are still looking for an easy migration solution, you can try Vinchin Backup & Recovery. It will replace the driver during migration intelligently.
  • XCP-ng center 25.04.0 does not see guest-tools.iso

    1
    1
    0 Votes
    1 Posts
    80 Views
    No one has replied
  • ubuntu xen-guest-agent vs xe-guest-utilities

    5
    0 Votes
    5 Posts
    185 Views
    A
    @olivierlambert Thank you for the reply. There was a thread on here about the iso not being mounted properly and I commented about having power off the vm and back and it will load the iso. This is specifically true with the 0.4.0 for linux. Image pulled from the XO Hub will not mount the ios if the vm is powered on. There is Yellow Explanation mark next to it. Power off vm and power on vm iso is ok. Reboot vm does not let the ios to work.
  • Booting to Dracut (I trusted ChatGPT)

    25
    0 Votes
    25 Posts
    1k Views
    N
    @AtaxyaNetwork @Pilow @bvitnik Ok, knowing that the p2 partition was likely an old backup was exactly the breadcrumb that I needed. I confirmed via chroot and xsconsole that p2 was xcp-ng v8.2.1, and that p1 was v8.3. Then I was able to check the initrd files there. Namely I needed to see the updated dates and the kernel version. Thankfully, I saw initrd files on the backup that were the correct kernel and hadn't been disturbed. I then just cloned the initrd files from the backup partition to the p1 partition and BOOM. We booted right up. Much appreciated for the assistance, everyone. I'll still need to figure out why my disks are disconnecting, but that will be another post for another day.
  • 0 Votes
    5 Posts
    282 Views
    T
    @Pilow Yes, we monitor observability metrics for guest OSes via other means but being able to see this info via the Xen Orchestra web UI along with the other metrics in the Stats tab definitely has is benefits, especially when performing initial troublehshooting or when dealing with groups in our org that only have access to the XO interface and not the other metrics dashboards. Don't get me wrong, I definitely appreciate all of the work that you are all doing to get these tools working and can't wait to start using them in production. I just need to make sure that they work as expected.
  • This topic is deleted!

    3
    0 Votes
    3 Posts
    3 Views
  • Error installing windows PV drivers 9.0.9137

    11
    0 Votes
    11 Posts
    1k Views
    H
    @zpvS9 said in Error installing windows PV drivers 9.0.9137: I have this error too installing the new PV driver, after uninstalling Citrix driver, reboot, execute XenClean, reboot again, it said that an unsupported device is still present. I must uninstall the device by showing hidden device in Device manager and the Windows PV driver now install. So adding this step in XenClean would be appreciated. encountered the same problem with hidden base system that i needed manually uninstall to get the tools to work.
  • Boot device: Hard Disk - Success

    2
    0 Votes
    2 Posts
    150 Views
    D
    @rustylh We really need more information to even begin. What version of XCP-ng are you using? What hardware are you using to run XCP-ng? What is the underlying storage where the VM resides on? What OS is the VM running? How are you taking snapshots, XO? How old was the snapshot? Were the guest utilities installed into the VM? You do know snapshots are not backups, right?
  • Error installing Ubuntu 24.04 on new xcp-ng host.

    20
    1
    0 Votes
    20 Posts
    2k Views
    A
    Helped if i read the error message.... raise RuntimeError(f"{vm_type} {vm_uuid} is {power_state}, expected Halted; refusing to fix") Shut down vm ran the fix again, and fix applied. Edit - I did have to disable secure boot on windows vms for them to boot afterwards.
  • VDI Migrate Fail

    6
    1 Votes
    6 Posts
    435 Views
    olivierlambertO
    So first, it's not an XO issue, which helps to diagnose it. Then, it might be a subtle XCP-ng bug indeed.
  • Unable to enable High Availability - INTERNAL_ERROR(Not_found)

    33
    0 Votes
    33 Posts
    3k Views
    J
    said in Unable to enable High Availability - INTERNAL_ERROR(Not_found): said in Unable to enable High Availability - INTERNAL_ERROR(Not_found): @psafont Would designating a new pool master do the same thing? I ran the above command and its had no effect Well, I tried changing the pool master and when VMHost11 was the master I was able to enable HA. Switching back to VMHost13 as the master now so will see how that goes Everything is working as expected/hoped. So for anyone reading through this and wants a TL;DR Issue was related to the pool master setting, changing the pool master to a different host and then back to the original fixed the incorrect settings allowing HA to be enabled
  • 0 Votes
    2 Posts
    169 Views
    D
    @lastcmaster Hi, it's a known issue that guest agent versions are not reported after migration or suspend. Other functionalities (poweroff/reboot, suspend, network change etc.) should continue to work normally.
  • VM start stuck on "Guest has not initialized the display (yet)."

    7
    0 Votes
    7 Posts
    742 Views
    D
    @flakpyro said in VM start stuck on "Guest has not initialized the display (yet).": @dinhngtu said in VM start stuck on "Guest has not initialized the display (yet).": You must run secureboot-certs clear if you're updating from 1.2.0-2.4 or 1.2.0-3.1 and have previously run secureboot-certs install with the above versions installed. Should we run this before installing the update or after 1.2.0-3.2 has been installed? You should run that preferably after updating all hosts. @lukasz_s said in VM start stuck on "Guest has not initialized the display (yet).": @dinhngtu thanks for advice i've upgraded varstored and varstored-tools: rpm -qa | grep varstored varstored-1.2.0-3.2 varstored-tools-1.2.0-3.2 than i've cleared varstore with secureboot-certs clear should taht folder contain more files ? ls /usr/share/varstored/ KEK.uth PK.auth db.auth what about dbx file ? That file is not shipped with varstored nor needed for now. We're validating the final 1.2.0-3.2 and preparing our guidance for the official update.
  • 0 Votes
    6 Posts
    546 Views
    P
    @dinhngtu I'll try this on the next VM that exhibits the behavior as to not interrupt the end users on the completed VMs.
  • What to do about Realtek RTL8125 RTL8126 RTL8127 drivers

    13
    0 Votes
    13 Posts
    5k Views
    A
    I have updated the drivers for the Realtek RTL812x 2.5/5/10G cards. So far they are working correctly. There are a few minor issues that Realtek needs to fix (for the next version, they say). Also the new Realtek firmware has not been added to XCP (but it's not required). The standard included 8125 driver for XCP 8.3 is not updated. To use the new driver install the new alt version of the 8125 driver. To support the 8126 install the required 8125 alt version first and then the new 8126 driver. The 8127 driver is also available for the new 10GB chips (I just got a production PCIe card for testing). The first issue I see with this card is, it is only a PCIe x1 card, so for full performance you need PCIe 4.0... There are other 8127 chips that support x2 so they will better support PCIe 3.0. Realtek will keep releasing new versions of the chips that will require updates to the drivers to function correctly. Even current versions of Linux needs updates to support the newer chips.