Subcategories

  • All Xen related stuff

    565 Topics
    5k Posts
    AlexanderKA
    @amosgiture xcp-ng 8.2 and 8.2.1 is working without any issue. Have you checked the logs? it is recognized as xenserver 8.2.1 [image: 1747995496573-91f8952f-3e5e-4ed2-9990-2dc7ffc8a8a9-image.png]
  • The integrated web UI to manage XCP-ng

    18 Topics
    261 Posts
    G
    Confirmed by trying to install a Windows Server 2025 with UEFI and it did not boot the CD from the ISO SR (SMB share). Started over to be able to grab screen shots of the process for documentation, Debian 12 from the latest ISO worked just fine in BIOS mode. Overall, pretty pleased at where XO Lite is going, it's complete enough to get started, easier if you deploy XOA (as it has always been), but you can do everything in a semi GUI/Text based workflow now which opens this up to more users. And once some form of XO is running, it's all back to the same as it has been which is certainly one of the easiest systems to get up and running.
  • Section dedicated to migrations from VMWare, HyperV, Proxmox etc. to XCP-ng

    90 Topics
    1k Posts
    R
    On vmware u would need als vcenter for this kind of features. And as u can easy deploy an empty xoa, why would this be an issue?
  • Hardware related section

    114 Topics
    1k Posts
    olivierlambertO
    I was just thinking about the potential reasons why it doesn't work, and it wasn't a correct guess
  • The place to discuss new additions into XCP-ng

    239 Topics
    3k Posts
    TeddyAstieT
    Hello ! Xen supports 3 virtualization modes, PV (deprecated), HVM (used in XCP-ng) and PVH. While HVM is supported in XCP-ng (and used), PVH hasn't been integrated yet, but today in XCP-ng 8.3 we have some early support for it. The PVH mode has been officially introduced in Xen 4.10 as leaner, simpler variant of HVM (it was initially named HVM-lite) with little to no emulation, only PV devices, and less overall complexity. It aims to be a great and simpler alternative to traditional HVM for modern guests. A quick comparison of all modes PV mode : needs specific guest support only PV devices (no legacy hardware) relies on PV MMU (less efficient than VT-x EPT/AMD-V NPT overall, but works without virtualization technologies) unsafe against Spectre-style attacks supports: direct kernel boot, pygrub deprecated HVM mode : emulate a real-behaving machine (using QEMU) including legacy platform hardware (IOAPIC, HPET, PIT, PIC, ...) including (maybe legacy) I/O hardware (network card, storage ...) some can be disabled by the guest (PVHVM), but they exist at the start of the guest relies on VT-x/AMD-V traditional PC boot flow (BIOS/UEFI) optional PV devices (opt-in by guest; PVHVM) performs better than PV mode on most machines compatible with pretty much all guests (including Windows and legacy OS) PVH mode : relies on VT-x/AMD-V (regarding that, on the Xen side, it's using the same code as HVM) minimal emulation (e.g no QEMU), way simpler overall, lower overhead only PV devices support : direct kernel boot (like PV), PVH-GRUB, or UEFI boot (PVH-OVMF) needs guest support (but much less intrusive than PV) works with most Linux distros and most BSD; doesn't work with Windows (yet) Installation Keep in mind that this is very experimental and not officially supported. PVH vncterm patches (optional) While XCP-ng 8.3 actually has support for PVH, due to a XAPI bug, you will not be able to access the guest console. I provide a patched XAPI with a patched console. # Download repo file for XCP-ng 8.3 wget https://koji.xcp-ng.org/repos/user/8/8.3/xcpng-users.repo -O /etc/yum.repos.d/xcpng-users.repo # You may need to update to testing repositories. yum update --enablerepo=xcp-ng-testing # Installing the patched XAPI packages (you should see `.pvh` XAPI packages) yum update --enablerepo=xcp-ng-tae2 This is optional, but you probably want that to see what's going on in your guest without having to rely on SSH or xl console. Making/converting into a PVH guest You can convert any guest into a PVH guest by modifying its domain-type parameter. xe vm-param-set uuid={UUID} domain-type=pvh And revert this change by changing it back to HVM xe vm-param-set uuid={UUID} domain-type=hvm PVH OVMF (boot using UEFI) You also need a PVH-specific OVMF build that can be used to boot the guest in UEFI mode. Currently, there is no package available for getting it, but I provide a custom-built OVMF with PVH support https://nextcloud.vates.tech/index.php/s/L8a4meCLp8aZnGZ You need to place this file in the host as /var/lib/xcp/guest/pvh-ovmf.elf (create all missing parents). Then sets it as PV-kernel xe vm-param-set uuid={UUID} PV-kernel=/var/lib/xcp/guest/pvh-ovmf.elf Once done, you can boot your guest as usual. Tested guests On many Linux distros, you need to add console=hvc0 in the cmdline, otherwise, you may not have access to a PV console. Alpine Linux Debian Known limitations Some stats shows "no stats" (XAPI bug ?) No support for booting from ISO, you can workaround this by importing your iso as a disk and using it as read-only disk No live migration support (or at least, don't expect it to work properly) No PCI passthrough support No actual display (only PV console)
  • VM not booting after attaching GPU

    2
    0 Votes
    2 Posts
    82 Views
    DanpD
    You should start by checking the logs. https://docs.xcp-ng.org/troubleshooting/log-files/
  • XCP-ng v8.3 Host Crashing Upon Console Login and Performing Any Action

    Solved
    6
    1
    0 Votes
    6 Posts
    198 Views
    bleaderB
    Thanks for letting us know, and I'm happy you have thing working nicely now. I think to mark this as resolved you need to convert your original post as a question, and it can then be marked as resolved. I actually cannot do it myself, I think only a few people have the permission to do it for others at Vates.
  • Change VM RAM

    Solved
    6
    0 Votes
    6 Posts
    199 Views
    olivierlambertO
    Enjoy XO & XCP-ng then
  • host time and xoa time are not consistent with each other

    Solved
    4
    1
    0 Votes
    4 Posts
    326 Views
    C
    @olivierlambert I resolved it, logged in the XCP-ng console and set the NTP servers to default. All good now. Thanks [image: 1733066154172-xcp-ntp2.png]
  • Cloning Windows VMs

    5
    0 Votes
    5 Posts
    180 Views
    D
    Preferably after, since the PV drivers contain some VM-specific settings that may be wiped by Sysprep.
  • Issues with XCP-ng Windows PV Tools 9.0.9000.0 Testsign Pre-release

    6
    1
    1 Votes
    6 Posts
    253 Views
    W
    @dinhngtu said in Issues with XCP-ng Windows PV Tools 9.0.9000.0 Testsign Pre-release: With 9.0.9000.0, you could sometimes run into this issue if you reboot too early after installing. This will also be fixed in the next release. I just did two more tests and the boot-up failure happened both times. On the last test I waited some time (like 30 to 60 sec) after the driver installation before rebooting (using Windows restart from the start menu). Even though I waited before rebooting I still encountered the boot-up problem: Windows is spinning on this screen and doesn't finish booting: [image: 1732291273907-ef30a370-5897-41e6-a0f1-41fa3720dacb-image.png]
  • 0 Votes
    5 Posts
    215 Views
    olivierlambertO
    I wasn't aware of this plugin even existing (thanks for the discovery). I'm not sure it's really maintained, but we have a clear goal of getting one officially maintained anyway.
  • Windows Admin Center extensions for XCP?

    4
    0 Votes
    4 Posts
    213 Views
    G
    @olivierlambert Which one, powershell or WAC. They are kind of one in the same when you look at how WAC makes the calls to do the work, there's a button to reveal the powershell behind the button clicks so you might be able to get both at once. But WAC draws nice graphs and gives us a GUI to get the work done. Yes I know, real Admins don't use GUI. Whatever, AI will eat our jobs anyway, just trying to stick it out another 9 years at this point. When I get time, I'll still probably take a swing at this task for WAC, because to me this would be valuable. Big learning curve though. Now if MS would finally add Group Policy to WAC and fix some of the DHCP and DNS features that are still in preview...
  • xenserver - net 9.1.7.65 issues

    3
    0 Votes
    3 Posts
    272 Views
    D
    @dinhngtu Ah thank you! Idk why I couldn't find that on my own, I searched for a while.
  • Xapi service missing

    6
    0 Votes
    6 Posts
    268 Views
    DanpD
    According to the documentation, you only need xfsprogs.
  • Error migration

    3
    1
    0 Votes
    3 Posts
    100 Views
    olivierlambertO
    I'm not aware of such problem it's like the VM was kept in limbo. You did the right thing with your commands.
  • Can pass through all NICs except one

    1
    1 Votes
    1 Posts
    80 Views
    No one has replied
  • SMB share write performance issue windows server 2019

    4
    3
    0 Votes
    4 Posts
    312 Views
    D
    Hello, I've tried benchmarking several Windows VMs from another client and am getting expected performance: Read: .\diskspd.exe -c1G -d10 -Su -Sw g:\data.dat Write: .\diskspd.exe -c1G -d10 -Su -Sw -w100 g:\data.dat Windows Server 2022: Read IO thread | bytes | I/Os | MiB/s | I/O per s | file ------------------------------------------------------------------------------ 0 | 1151533056 | 17571 | 109.72 | 1755.53 | g:\data.dat (1GiB) ------------------------------------------------------------------------------ total: 1151533056 | 17571 | 109.72 | 1755.53 Write IO thread | bytes | I/Os | MiB/s | I/O per s | file ------------------------------------------------------------------------------ 0 | 966000640 | 14740 | 92.12 | 1473.98 | g:\data.dat (1GiB) ------------------------------------------------------------------------------ total: 966000640 | 14740 | 92.12 | 1473.98 Windows 11 24H2 (with Eset): Read IO thread | bytes | I/Os | MiB/s | I/O per s | file ------------------------------------------------------------------------------ 0 | 1100283904 | 16789 | 104.81 | 1677.01 | g:\data.dat (1GiB) ------------------------------------------------------------------------------ total: 1100283904 | 16789 | 104.81 | 1677.01 Write IO thread | bytes | I/Os | MiB/s | I/O per s | file ------------------------------------------------------------------------------ 0 | 931594240 | 14215 | 88.82 | 1421.07 | g:\data.dat (1GiB) ------------------------------------------------------------------------------ total: 931594240 | 14215 | 88.82 | 1421.07 Several questions: Are you running benchmarks on a separate virtual disk? If not, could you try again using a share created from a separate virtual disk? Could you run CrystalDiskMark locally on these VMs and see the performance? You mentioned that Eset security takes up 100% CPU during the benchmark. Could you try temporarily uninstalling Eset and testing again?
  • USB Passthrough speed issue

    16
    0 Votes
    16 Posts
    1k Views
    olivierlambertO
    Thanks for your feedback. In the meantime, I will plan a "spike" to investigate the status of USB speed on passthrough.
  • 8.3 USB Passthrough - Win Server 2019 BSOD

    19
    1
    0 Votes
    19 Posts
    677 Views
    M
    @andsmith windbg is also a regular win32 app and is included in any recent windows SDK. Here: https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/ You just need windbg so deselect all the other crap.
  • VDI export of running VM

    7
    0 Votes
    7 Posts
    891 Views
    olivierlambertO
    Yes, you can use XO webhooks (IIRC) to trigger something before or after a backup and send the request to a custom agent you made inside the VM. But I'm not sure to get it, can you provide what do you want to achieve, not the technical solution (script VM backup is already a solution, not the problem you are trying to solve)
  • Is Cold Migration of VMs from XCP-ng 8.3 back to 8.2.1 Not Supported?

    6
    0 Votes
    6 Posts
    547 Views
    stormiS
    @andrewperry The release notes warn about PV guests.
  • 8.3 cannot contact other host using TLS

    1
    0 Votes
    1 Posts
    133 Views
    No one has replied
  • XO-lite issue - 8.3 / IPv6

    2
    1
    0 Votes
    2 Posts
    192 Views
    BenjiReisB
    @PimAarts hi! Thx for the report - I reproduced the issue and am investigating. Meanwhile clicking on Cancel will give you access to XOLite
  • Failed upgrade to 8.3 now stuck on grub

    7
    2
    0 Votes
    7 Posts
    291 Views
    olivierlambertO
    2 times the charm I have no idea why it failed initially, but at least you tested the magic rollback As you can see, it's really a GREAT feature