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)
  • can't start vm after host disconnect

    29
    0 Votes
    29 Posts
    3k Views
    olivierlambertO
    No, from the XCP-ng point of view, the VM is still running without any interruption.
  • XCP-ng Documentation - Roadmap

    Solved xcp-ng doc roadmap question out of date questions
    6
    0 Votes
    6 Posts
    534 Views
    J
    @olivierlambert @Marc-pezin Thank you very much for sorting this out!
  • problem with export or moving VM between pools

    18
    0 Votes
    18 Posts
    644 Views
    N
    @nick-lloyd I like your interpretation.
  • Upgrading to 2.5GB NICs and Troubleshooting Driver Issues on XCP-ng

    6
    0 Votes
    6 Posts
    958 Views
    A
    @aghering You could try compiling it yourself on 8.1... I don't have an 8.1 test/build system.
  • Optimization of Virtual Machines

    4
    0 Votes
    4 Posts
    329 Views
    M
    @NerdsOrder66 Ah, good question... My most recent environment included a Windows Server with 100+ RDP users. There wasn't anything special for optimization there aside from giving it a bunch of RAM/CPU resources, but YMMV.
  • Recurring crashes on VM

    3
    0 Votes
    3 Posts
    257 Views
    T
    @olivierlambert No, the only thing I get with xl dmesg on the host, for some time back, are random brief reports of individual CPUs running above temperature threshold and then being clocked down, and then resolving. Nothing else.
  • VHD import fails

    1
    0 Votes
    1 Posts
    76 Views
    No one has replied
  • import vhd

    6
    0 Votes
    6 Posts
    504 Views
    olivierlambertO
    I suppose you mean OVA, right? Anyway, good news
  • Very scary host reboot issue

    60
    0 Votes
    60 Posts
    16k Views
    M
    @olivierlambert said in Very scary host reboot issue: I am very very busy so I don't have time to make a search by myself but maybe someone else around with few minutes could point you to the blog post talking about this edit: found it in few sec luckily: https://xcp-ng.org/blog/2024/01/26/january-2024-security-update/ Thanks. I'll check this out.
  • This topic is deleted!

    1
    1
    0 Votes
    1 Posts
    45 Views
    No one has replied
  • 0 Votes
    3 Posts
    812 Views
    R
    @James92 Storage Performance: Storage Performance in a single VM on a single disk is very slow on xen compared to hyper-v and vmware. this is because of the single-thread design of tapdisk. so nvme performance on xen will be cpu-core-ghz limited. there are only some workarounds like raid-0 in vm but no general satisfactorily solution. it does not seem that this will change soon.
  • PVHv2 - how to configure VM

    4
    0 Votes
    4 Posts
    406 Views
    olivierlambertO
    Indeed, but it's a bit old, and I would say for many reasons HVM with PV drivers is still the way to go for classical server virtualization mode
  • Unable to unblock a vm for reversion of snapshot

    7
    0 Votes
    7 Posts
    522 Views
    D
    @Danp I tried some of the xe commands listed in that post like xe vm-param-clear and xe vm-param-remove and wasn't successful.
  • Problems with existing pool, problems migrating to new pool

    Solved
    12
    0 Votes
    12 Posts
    648 Views
    S
    @tjkreidl Yeah, thanks. 12 hours, 68 VDIs to coalesce down to 10. Quite the improvement.
  • Oops! We removed busybox

    5
    0 Votes
    5 Posts
    347 Views
    olivierlambertO
    Interpreting vulnerability scanners is a hard task. They are often screaming for "common cases", but remember XCP-ng is an appliance, so there are many cases where things do not apply. Happy to help you further via our pro support to answer in details your concerns
  • Rebuild boot / OS drive

    community os rebild disaster-rec
    3
    0 Votes
    3 Posts
    448 Views
    G
    @Danp So, that's the "best" way? Backup the meta-data with XOA, rebuild the OS drive - add the "new" server into XOA and restore the meta-data back to the new install? (I'm not doubting it is, just wanting to be sure we're understanding each other fully.) Seems straight-forward - but there's a ton of things I've done over the years that "seemed" pretty straight-forward that turned out to be anything but, and at least occasionally found I had no way back.
  • Re enabling NIC without rebooting host

    2
    0 Votes
    2 Posts
    252 Views
    BenjiReisB
    @mmancina Hi you can try to call xe pif-scan host-uuid=<uuid of your host> , the NIC should appear after that.
  • Endless Xapi#getResource /rrd_updates in tasks list

    85
    0 Votes
    85 Posts
    25k Views
    1
    Spoke too soon. Still getting them... Just much slower and father apart.. about 5-10 a day
  • 8.3beta2 dom0 kernel panic, possibly triggered by over-mtu packet?

    3
    0 Votes
    3 Posts
    217 Views
    W
    @bleader No, the opnsense box itself doesn't have wireguard (or anything else VPN-ish) running on it. It's mostly just a NAT with the normal variety of DHCP, DNS, ... services running on it.
  • After installing updates: 0 bytes free, Control domain memory = 0B

    92
    7
    0 Votes
    92 Posts
    29k Views
    nikadeN
    @Dataslak said in After installing updates: 0 bytes free, Control domain memory = 0B: @nikade @olivierlambert @stormi @Danp @yann Just wanted to say to you all: Thank you for your contributions and kind helpful assistance which has helped me through this crisis. I would have been in deep trouble without you. I respect your expertise, and appreciate deeply that you are working so hard to help us dumb users. I have learned a lot, and hope one day to become skilled enough to at least help other new users on this forum. Best wishes Aslak Happy everything worked out, this is what this community is all about. I've gotten a lot of help and given some too, it's all about helping out with the things that you can. With time you'll be able to help out more and more and more