XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Citrix or XCP-ng drivers for Windows Server 2022

    Scheduled Pinned Locked Moved XCP-ng
    16 Posts 8 Posters 5.0k Views 6 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D Offline
      dinhngtu Vates 🪐 XCP-ng Team @Forza
      last edited by

      You simply install the XenServer tools as usual, making sure to disable driver installing and auto-updating in the setup wizard:
      b2429a17-74ba-4b58-9167-df9d1c0e6599-image.png

      ForzaF 1 Reply Last reply Reply Quote 2
      • ForzaF Offline
        Forza @dinhngtu
        last edited by

        @dinhngtu Thank you. I think it is clear for me now.

        The docs at https://xcp-ng.org/docs/guests.html#windows could be improved to cover all three options but also to be a little more concise to make it easier to read.

        1 Reply Last reply Reply Quote 2
        • M Offline
          manilx @dinhngtu
          last edited by

          @dinhngtu We're running the old xcpng Windows drivers on 2 Windows 2022 servers.
          We would like to change them to the latest Citrix 9.4.0 ones.

          How can we do this?

          D 1 Reply Last reply Reply Quote 0
          • olivierlambertO Offline
            olivierlambert Vates 🪐 Co-Founder CEO
            last edited by olivierlambert

            @Forza as you know it very well now, I think that would be wonderful if you could provide an update to the doc directly. Would you like to try?

            1 Reply Last reply Reply Quote 0
            • D Offline
              dinhngtu Vates 🪐 XCP-ng Team @manilx
              last edited by

              @manilx You can use the XenClean tool from our 9.0.9000 driver release: https://github.com/xcp-ng/win-pv-drivers/releases/tag/v9.0.9000.0

              Just go into package\XenClean\x64 and run Invoke-XenClean.ps1 as admin, it will remove all existing drivers and automatically reboot.
              Afterwards you can install the Citrix 9.4.0 tools.

              Note: Please make sure to take a snapshot before running the tool.

              M W 2 Replies Last reply Reply Quote 2
              • M Offline
                manilx @dinhngtu
                last edited by

                @dinhngtu Thx for the info.

                Actually trying to do this I realized that I have installed the Citrix 9.4.0 tools on top of the xcpng ones 🤦 when they came out (forgot that I had the xcpng ones installed on those 2 servers, dumb me) But as all was working I just realized this now.
                I used the batch anyway and it removed the tools, reinstalled the Citrix ones, had to reenter the IP4 config but all working after that.

                1 Reply Last reply Reply Quote 0
                • W Offline
                  WayneSherman @dinhngtu
                  last edited by WayneSherman

                  (In regards to uninstalling XenServer / Citrix Tools)

                  I tested uninstalling XenServer tools v9.4.0 on Windows and it seems to uninstall cleanly. (the xcp-ng docs mention there have been problems uninstalling everything cleanly in the past)

                  Also since XenServer tools v9.3.1 there is a new purge function:

                  uninstall.exe purge - (9.3.1 and later) Resets the VM to a clean state as it was before any part of the XenServer VM Tools were installed.

                  Full uninstall of all XenServer VM Tools components
                  https://docs.xenserver.com/en-us/citrix-hypervisor/vms/windows/vm-tools.html#full-uninstall-of-all-xenserver-vm-tools-components

                  What does the purge option remove?
                  https://docs.xenserver.com/en-us/citrix-hypervisor/vms/windows/vm-tools.html#what-does-the-purge-option-remove

                  F 1 Reply Last reply Reply Quote 2
                  • F Offline
                    FreddyF1977 @WayneSherman
                    last edited by

                    @WayneSherman

                    Thanks for this.

                    1 Reply Last reply Reply Quote 0
                    • S Statitica referenced this topic on
                    • C Offline
                      cg
                      last edited by

                      Small warning: XenTools are still a clusterfuck.
                      On (allmost) all machines without our main environment it keeps the ip-configuration within the Realtek emulated NIC and never transfers it to the Xen device.
                      It's fucked for long now - but doesn't matter if all VMs are getting their IPs via DHCP.

                      Currently struggling with: Windows Server 2016 + XenTools/Management 9.4.2.
                      At least it didn't break the whole VM by destroying the disk device drivers this round.

                      tl;dr: Snapshot your VMs and have a documentation at hand, when upgrading the tools/drivers.

                      1 Reply Last reply Reply Quote 0
                      • G Offline
                        Greg_E
                        last edited by Greg_E

                        [edit] I just realized this was from 2024.

                        So far I only have 1 of my 2022 servers changed to the XCP-ng drivers and management agent, the only thing that happened was the NIC went back to DHCP and a short struggle to shift it back to static. I use the e1000 profile when I set up a VM.

                        This was previously using the Xen 9.4.x drivers downloaded from Xenserver.

                        The only other glitch is that if you migrate the VM to another host in the pool, the management agent is no longer detected. But additional migrations and rolling pool updates and reboots are not bothered by this. I'm told this will be fixed in the next version.

                        As far as the drivers themselves, I don't see any issues on this one VM.

                        I think I have another 2022 in my lab with the XCP-ng stuff installed, I'll have to check later. I've had no issues with it. These were both installed from the new Tools ISO that is default with the latest XCP-ng 8.3.x

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post