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)
  • 8.3 beta, crashed Windows11 VM when trying to snapshot with memory

    18
    0 Votes
    18 Posts
    811 Views
    stormiS
    Using dynamic memory is known to be prone to causing occasional issues. Thanks for the feedback. Oh, by the way, regarding vTPM and snapshots, we finally established that it's fully supported by XenServer 8 and that the documentation was just out of date.
  • cluster slave no connection to pool

    1
    0 Votes
    1 Posts
    150 Views
    No one has replied
  • Guest tools in nested XCP-ng

    Solved
    2
    0 Votes
    2 Posts
    156 Views
    olivierlambertO
    Hi, It's not possible.
  • XCP/Vates support hours

    support xcp-ng xostor
    2
    0 Votes
    2 Posts
    226 Views
    olivierlambertO
    Hi, No.
  • Hosts fencing after latest 8.2.1 update

    4
    0 Votes
    4 Posts
    348 Views
    J
    Right, so yeah I did just that - disabled HA and have been keeping an eye on the logs as well as general performance in the env. Glad to know my actions align with your recommendations at least There are a couple of hosts that get a lot of these sorts of messages in the kern.log: Apr 25 08:15:33 oryx kernel: [276757.645457] vif vif-21-3 vif21.3: Guest Rx ready Apr 25 08:15:54 oryx kernel: [276778.735509] vif vif-22-3 vif22.3: Guest Rx stalled Apr 25 08:15:54 oryx kernel: [276778.735522] vif vif-21-3 vif21.3: Guest Rx stalled Apr 25 08:16:04 oryx kernel: [276788.780828] vif vif-21-3 vif21.3: Guest Rx ready Apr 25 08:16:04 oryx kernel: [276788.780836] vif vif-22-3 vif22.3: Guest Rx ready Am I wrong to attribute this to issues within specific VMs (i.e. not a hv performance issue)? I know one of the VMs that causes these is a very old centos 5 testing VM one of my devs use and the messages stop when it's powered down. Is there any way to easily associate those vifs with the actual VMs they are attached to? My google-foo failed me for that. Other than that, I noticed my nic firmware is a bit old on the X710-da2's I use so I'm going through and upgrading those with no noticeable changes. I'm fairly hesitant to re-enable HA without tracking down the root cause.
  • Stuck in maintenance mode after joining pool.

    2
    8
    0 Votes
    2 Posts
    504 Views
    DanpD
    @DwightHat said in Stuck in maintenance mode after joining pool.: When I try to look at the host in Xen Orchestra it just says "An error has occurred". Check to browser's Dev Tools console when this happens. It will likely contain some additional details. You likely need to check the logs to find out why you are encountering this issue. Many times the "stuck in maintenance mode" issue is related to an unmountable storage repository. https://docs.xcp-ng.org/troubleshooting/log-files/
  • Whatchdog support for Linux and Windows guests

    4
    0 Votes
    4 Posts
    427 Views
    olivierlambertO
    This post specifically: https://xcp-ng.org/forum/post/57441 The person had issues to speak in English but wanted to tell this configuration worked. You can use the xen_wdt backend to rely on a Xen operation to force restart the VM. I have no idea how it works on Windows.
  • 0 Votes
    12 Posts
    1k Views
    abudefA
    @lawrencesystems I think this is quite common when you need to test certain scenarios with multiple hypervisors (backup, migrations, etc.). You only need a couple of HVs with a few tiny running VMs. We have done this setup with nested esxi many times for testing purposes. And since e.g. Ubuntu and Windows work this way, the problem is probably specific to Debian (and maybe others?).
  • PXE Boot a VM and use HTTP for kernel/initrd download

    4
    0 Votes
    4 Posts
    736 Views
    olivierlambertO
    Question for @gduperrey or @stormi
  • USB pass-through device with wrong product and vendor identifiers on 8.2

    Unsolved
    3
    0 Votes
    3 Posts
    246 Views
    I
    @infodavid Finally, I follow an existing topic and configure nut-server on the hypervisor to access the ups via usb. I know that Olivier is not fully aligned with the fact that the host is modified but IMO it is an acceptable change on my XCP-NG host.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    25 Views
    No one has replied
  • VMs are abruptly getting shutdown

    14
    0 Votes
    14 Posts
    890 Views
    J
    @lritinfra Something to consider also the HPE Intelligent Provisioning is the main way, outside of HPE iLO, HPE SUM or HPE SPP to update the server's hardware firmware. If you aren't using individual RPMs or SCEXE files for the task. With HPE Intelligent Provisioning and HPE SPP being able to update, both firmware and BIOS. As not all of the updates for firmware will be in a compatible format, for use with HPE iLO. I'm not sure if it has changed but an Administrator Password set on the BIOS (at minimum), also locks out (disables) access to the Erase option on the HPE Intelligent Provisioning. At least it does on my only HPE Server running an up to date BIOS, HPE iLO and HPE Intelligent Provisioning. Thus disabled HPE Intelligent Provisioning doesn't help with being up to date enough to fix vulnerabilities and bugs at hardware or firmware level.
  • 1 Votes
    6 Posts
    982 Views
    R
    @rjt Note to self about creating and managing appliances at xe cli. xe help --all | egrep -i '(appliance)' # find xe appliance related commands. appliance-assert-can-be-recovered, appliance-create, appliance-destroy, appliance-list, appliance-param-clear, appliance-param-get, appliance-param-list, appliance-param-set, appliance-recover, appliance-shutdown, appliance-start,
  • XCP-ng on a laptop - turning off the monitor

    5
    0 Votes
    5 Posts
    663 Views
    D
    @abudef I ran into the same thing on a dell latitude 5411, but I eventually found a workaround. In the BIOS under System Configuration there was an option called Unobtrusive Mode, and when enabled, a specific key combination will turn off the display and speakers, independent of the OS. The same key combination will then turn them back on when needed. While an automatic feature would be preferable, the manual option meets my needs since it would be rare to need to use the laptop screen. The one downside for me is that if power is lost long enough that the battery drains, the screen will need manual intervention after power is restored - the BIOS will turn the machine back on when it receives power, but won't put the screen back in its previous state. I put a sticker on the laptop with the key combination so I will remember it when needed.
  • XAPI servic failed

    8
    0 Votes
    8 Posts
    572 Views
    DanpD
    @sushant-diwakar I think you misunderstood @olivierlambert as he was referring to the support ticket that you opened with Vates, which is still open and awaiting a response from you. I restored the forum thread that you deleted because it contains information that is pertinent to this discussion. I'm leaving this topic separate for now, but IMO there really was no valid reason to start this new thread instead of continuing the prior one.
  • Pool Master unreachable

    8
    0 Votes
    8 Posts
    755 Views
    S
    @sushant-diwakar
  • Issues with PCIE Passthrough

    20
    0 Votes
    20 Posts
    2k Views
    J
    @ImThatFluffy said in Issues with PCIE Passthrough: @john-c Yea im not sure, it was either an issue with the way I had Debian setup or compatibility things booted up Ubuntu 22.04LTS with the HWE kernel and it worked perfectly. Well if you are using Ubuntu Linux 22.04.1 LTS or one of the later point releases then it would be using a Linux Kernel version 6.1 or later, when its a HWE kernel. So any bugs from earlier versions of the kernel would have been fixed, also the Intel ARC graphics hardware would have been released during one of the point releases. On the Debian Linux front a distribution version earlier than version 12.0 would have been unlikely to have complete properly functioning support, due to that release being the first one with the Linux kernel version of 6.1 or later.
  • Imbedded Docker

    docker container xcp-ng
    12
    0 Votes
    12 Posts
    5k Views
    S
    @DustinB said in Imbedded Docker: Has anyone else done this, and can provide benefits or faults in doing so, besides the obvious that this isn't officially supported? I am actually going through the process of trying this right now, and am having significant difficulties with the xscontainer-prepare-vm piece - it doesn't work. So far, I have built a Docker VM, made sure all prerequisites are in there, and then run this script. It does insert an ssh-rsa key into my user's authorized_keys file, but the public key it inserts doesn't actually work. The host is not able to ssh into the VM due to the certificate not matching and requires a password, which does not work because it can't pass the VM check. Has anyone else seen this behaviour before?
  • Issues with Windows 11 VM

    5
    0 Votes
    5 Posts
    2k Views
    planedropP
    I've got passthrough to work a number of times without issue, the only thing I had to make sure of was that all devices related to the GPU were passed through completely. Are you following the docs step by step? I have a Ubuntu VM running with a 2060 passed through right now, works flawlessly and even survived a power loss on the host.
  • How do I/should I disable the local webserver

    Solved
    11
    0 Votes
    11 Posts
    1k Views
    J
    @olivierlambert Thank you. We'll be looking into it when we upgrade the hardware.