XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    • Profile
    • Following 0
    • Followers 1
    • Topics 14
    • Shares 0
    • Posts 304
    • Groups 0
    F Offline
    1. Home
    2. flakpyro
    3. Posts

    Posts

    Recent Best Controversial
    • RE: Bad Performance CPU? get-cpufreq-para failed

      @poddingue One more thing to mention on Lenovos is CPU Pstate control needs to be set to "Legacy" for the OS to be able to control clocks. This is found on the same BIOS menu as the "Power/Performance Bias " option. I had to set this on a number of SR250V3 servers to allow xenpm to report anything.

      posted in Compute
      F
      flakpyro
    • RE: Bad Performance CPU? get-cpufreq-para failed

      @poddingue I have a PowerEdge R6515 which is AMD based an the settings in iDrac look the same as the Intel host i reported. This server is running Ubuntu however so i cannot confirm with results with xenpm

      I have an ProLiant DL325 Gen10 which is also AMD based, again running Ubuntu that also has the same " iLO Power Regulator" setting as Intel hosts.

      posted in Compute
      F
      flakpyro
    • RE: XCP-ng 8.3 updates announcements and testing

      Installed on my same test servers as before. No issues so far.

      posted in News
      F
      flakpyro
    • RE: Backups in OX v6

      @jr-m4 I feel the same way about XO6 myself and I've only been a XCP-NG user since 2024. XO5 is fast and easy to navigate, i find myself struggling much more with XO6 and find myself back using 5 more often than not.

      posted in Backup
      F
      flakpyro
    • RE: XCP-ng 8.3 updates announcements and testing

      Installed on my usual test systems without issue. (AMD and Intel)
      Ran a backup on a pool not using CBT, no issue.
      Ran a backup on a pool that uses CBT, no issues.
      SSH public key auth continues to work as before.

      posted in News
      F
      flakpyro
    • RE: Backups in OX v6

      If i can also add some feedback to how backups look in XO6. In its current from is very hard to see what VM is currently being backed up in a job. In XO5 clicking on tasks showed you a quick at a glance view of what VMs were being backedup and their current progress.

      In XO6, unless im missing something this is missing:

      image.jpeg

      I think it would be useful to be able to monitor backup progress as we currently can in XO5.

      posted in Backup
      F
      flakpyro
    • RE: New Tools 9.2.445 update failure

      @dinhngtu I will mention that the package was deployed via windows SCCM deployment tools so that may have also played a part in leaving the old product code behind. After running the above script we were able to deploy 9.2.445 via SCCM without issue and no old product codes were left behind.

      posted in Management
      F
      flakpyro
    • RE: New Tools 9.2.445 update failure

      Looks like we ended up with a corrupt duplicate install in the MSI installer database.

      After some googling and learning how the installer determines the currently installed version from the tools github page i was able to come up with a command to check what version windows thought was installed, i noticed on working installs no error was output however on broken servers the command would end with an error.

      PS C:\xcpng-winpv-9.2.445.0-Release-x64\xcpng-winpv-9.2.445.0-Release-x64\package> $Installer.ProductsEx("", "", 7) | ForEach-Object {
      
          [PSCustomObject]@{
              ProductName    = $_.InstallProperty("ProductName")
              ProductVersion = $_.InstallProperty("VersionString")
              ProductCode    = $_.ProductCode()
          }
      } | Where-Object { $_.ProductName -like "*XCP-ng*" }
      
      ProductName                ProductVersion ProductCode
      -----------                -------------- -----------
      XCP-ng Windows Guest Tools 9.2.385.0      {A9CDEFA1-AB19-426F-8065-64331E634A62}
      InstallProperty
      At line:2 char:5
      +     [PSCustomObject]@{
      +     ~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : OperationStopped: (:) [], COMException
          + FullyQualifiedErrorId : System.Runtime.InteropServices.COMException
      

      I fed this output to Calude for a bit help and to shed some light on the issue and its solution, it first had me check for duplicate install entries:

      image.jpeg

      After confirming the presence of a unreadable entry it was able to create a powershell script to remove the bad entry.

      From the LLMs output:

      
      This script computes the packed GUID itself (no hand-conversion errors), exports a backup of each key, and does a dry run by default so you can see what it would delete. Run it from an elevated, 64-bit PowerShell.
      
      How to use it:
      
      Run it as is. It prints the packed GUID (confirm it matches 970CA0A0E00DBC0488B2F1DE377268AA) and lists which keys exist.
      If the list looks right, set $DryRun = $false and run again. It tries msiexec /x first and only falls back to registry deletion if that fails. Note that on the real run it attempts the msiexec step before any registry work, and the registry section runs even if msiexec fails.
      Re-run your listing script. Only the 9.2.385.0 row should remain.
      
      Caveats:
      
      This leaves a few residual references behind, such as entries in ...\Installer\UserData\S-1-5-18\Components and ...\Installer\UpgradeCodes. Windows Installer ignores these once the product keys are gone, so they’re harmless for your purposes.
      If the bad entry turns out to be a per-user install rather than machine-wide, the keys will live under a user SID instead of S-1-5-18. The “Not present” lines would tell you that. In that case, tell me and I’ll adjust the paths.
      The backup .reg files let you restore anything with a double-click if something goes wrong.
      

      fix_xcptools.txt

      I am by no means anywhere near an expert in powershell as i spend most of my time on Linux, this all AI generated but it was able to remove the entry and get the installer moving along on VMs where it would no proceed prior.

      posted in Management
      F
      flakpyro
    • RE: XCP-ng Windows PV tools announcements

      Running into an installation issue with this new version. I created a separate thread here about the issue:
      https://xcp-ng.org/forum/topic/12580/new-tools-9.2.445-update-failure

      posted in News
      F
      flakpyro
    • New Tools 9.2.445 update failure

      Noticed a new version of the tools had been released however while trying to upgrade we are met with the following error:

      image.jpeg

      As you can see we are already running a more recent version than we are being prompted to upgrade to before proceeding.
      Install log attached:
      install.txt

      posted in Management
      F
      flakpyro
    • RE: XCP-ng 8.3 updates announcements and testing

      Installed on my test hosts, no issues.

      posted in News
      F
      flakpyro
    • RE: XCP-ng 8.3 updates announcements and testing

      Installed on my usual test hosts once again. This time i made sure to test backup job behaviour multiple times across the same two pools that gave me trouble last time. All backup job runs (4 runs on one pool, 2 on another) have been successful.

      posted in News
      F
      flakpyro
    • RE: XCP-ng 8.3 updates announcements and testing

      @jr-m4 I had this issue on one of the pools i tested on as well and was able to fix the issue by following the fix here:
      https://xcp-ng.org/forum/topic/10603/sr_backend_failure_46-the-vdi-is-not-available-not-detached-cleanly/3

      posted in News
      F
      flakpyro
    • RE: XCP-ng 8.3 updates announcements and testing

      @rzr I was worried about this because of XAPI. Luckily i have a host thats not currently running any VMs so i tried it there first hoping it was a small enough change that i could get away with it. Good to know i could have just disabled NBD for now though!

      posted in News
      F
      flakpyro
    • RE: XCP-ng 8.3 updates announcements and testing

      @acebmxer I was able to run successfully one time after multiple failures. I don't think its consistently reliable. Interesting that disabling NBD helped though. I didn't try that before reverting.

      posted in News
      F
      flakpyro
    • RE: XCP-ng 8.3 updates announcements and testing

      @acebmxer

      I was able to revert by running

       yum history list
      

      Finding the transaction from todays updates then running

       yum history undo <id>
      

      I did this on both pools, doing the slaves first then the master. (Reverse order of updating) and so far everything is back to normal.

      posted in News
      F
      flakpyro
    • RE: XCP-ng 8.3 updates announcements and testing

      Installed on my usual test hosts.

      Backups seem to have major ussues for me, much less stable with these updates. On two different test pools i ran into a similar issue. These pools are different hardware, one pool uses CBT for backups, one does not.

      Pool 1:
      Started a backup after running the updates, 2 VMs in the job hung on first run requiring restarting XO and the hosts tool stack. When trying to clear the leftover snapshots one VM got stuck with "VBD.unplug_force", restarting the toolstack didn't help with this i had to reboot the entire host to remove it. Second attempt backups ran ok.

      Third attempt, VM hung again, same story as above, had to reboot the whole host to clear the "VBD.unplug_force"

      Pool 2:

      Backup job completed however again two VMs got stuck at the end with "VBD.unplug_force" and "VDIs attached to Control Domain"
      On one VM the backup showed "Error: operation timed out" despite it otherwise finishing.

      Is there a way to revert these updates for now? They are test hosts but i do like backing up the test VMs on them.

      posted in News
      F
      flakpyro
    • RE: XCP-ng 8.3 updates announcements and testing

      Installed on my usual test hosts without any issues so far.

      posted in News
      F
      flakpyro
    • RE: XCP-ng 8.3 updates announcements and testing

      @dinhngtu We did initially run into this issue a number of years ago and were able to fix it by following this kb article at the time:
      https://support.citrix.com/external/article?articleUrl=CTX692813-xenserver-potential-performance-issues-on-imported-windows-vms&language=en_US

      Checking s few random migrated windows VMs and it appears these flags are still set as they should be.

      posted in News
      F
      flakpyro
    • RE: XCP-ng 8.3 updates announcements and testing

      @dinhngtu Thanks for clarifying. I can confirm our windows VMs that were migrated with V2V with "Other Install media" do show having this enabled.

      I will deploy to my usual batch of test hosts and update this post with my results.

      posted in News
      F
      flakpyro