Subcategories

  • All Xen related stuff

    603 Topics
    6k Posts
    A
    @cg said in Question on CPU masking with qemu and xen: In the early days (~XenServer 6) it had to be done manually Yes, and I rewrote it entirely in XenServer 7 because doing it manually was absurd. tl;dr, for your case: Add the Gen12's to the pool Migrate remaining VMs off the Gen 9's 2a. Any VMs which can't migrate for feature reasons, reboot first then migrate Remove the Gen9's from the pool Reboot all VMs The longer answer: When Xen boots, it calculates what it can offer to guests, feature wise. This takes into account the CPU, firmware settings, errata, command line parameters, etc. This feature information is made available to the toolstack/xapi to work with. On a per-VM basis, Xen knows the features that the guest was given. Different VMs can have different configurations, even if they're running on the same host. An individual VM's features are fixed during it's uptime (including migrate). The only point at which the features can safely change is when the VM reboots. All the migration safety checks are performed as "is the featureset this VM saw at boot compatible with the destination host it's trying to run on". At a pool level, Xapi always dynamically calculates the "pool level". i.e. the common subset[*] of features that will allow a VM to migrate to anywhere in the pool. Importantly, this is recalculated as pool members join and leave the pool, including a pool member rebooting (where it leaves temporarily, then rejoins. Feature information may change after the reboot, e.g. changing a firmware or command line setting). When a VM boots, it gets given the "pool level" by default, meaning that it should be able to migrate anywhere in the pool as the pool existed at the point of booting the VM. If you subsequently add a new host to the pool, the pool level may drop and already-running VMs will be unable to migrate to this new host, but will be able to migrate to other pool members. As you remove members from the pool, the pool level may rise. e.g. if you removed the only host that was lacking a certain feature. The final reboot in your case is to allow the VM's to start using the Gen10 feature baseline, now that it's not "levelled down" for compatibility with the Gen9's. ~Andrew [*] While subset is the intuitive way to think of this operation, it's not actually a subset in the mathematical sense. Some features behave differently to maintain safety for the VM.
  • The integrated web UI to manage XCP-ng

    26 Topics
    348 Posts
    olivierlambertO
    It's not meant to be used like that. If you are behind a NAT, the right approach is to have your XOA behind the NAT and inside the same network than the hosts. That's because hosts will always use and return their internal IPs to connect to some resources (stats, consoles etc.). XOA deals with that easily as being the "main control point" for all hosts behind your NAT (or a XO proxy if you prefer).
  • Section dedicated to migrations from VMWare, HyperV, Proxmox etc. to XCP-ng

    111 Topics
    1k Posts
    A
    Thanks @olivierlambert , really appreciate quick help. VM migrated successfully.
  • Hardware related section

    144 Topics
    1k Posts
    olivierlambertO
    Yes!! Congrats for everyone (including you for the feedback @dcskinner !)
  • The place to discuss new additions into XCP-ng

    245 Topics
    3k Posts
    G
    @zeropointer @numo68 I have added my script back seeing so many people might require a solution. I'll try and improve it as and when required.
  • Recurring crashes on VM

    3
    0 Votes
    3 Posts
    538 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
    185 Views
    No one has replied
  • import vhd

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

    60
    0 Votes
    60 Posts
    29k 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
  • PVHv2 - how to configure VM

    4
    0 Votes
    4 Posts
    744 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
    1k 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
    1k 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
    692 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
    841 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
    486 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
    45k 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
    435 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
    48k 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
  • 8.3 beta, crashed Windows11 VM when trying to snapshot with memory

    18
    0 Votes
    18 Posts
    2k 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
    286 Views
    No one has replied
  • Guest tools in nested XCP-ng

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

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

    4
    0 Votes
    4 Posts
    645 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
    880 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/