XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. tjkreidl
    Offline
    • Profile
    • Following 0
    • Followers 7
    • Topics 0
    • Posts 205
    • Groups 1

    tjkreidl

    @tjkreidl

    Ambassador

    Originally an astronomer for 15 years and later, an NAU employee in IT for 25+ years, most of which as a Team Lead. I was a Citrix CTP and NVIDIA NGCA for four years prior to retirement. Over 10 years' experience with XenServer/Citrix Hypervisor and close to that with NVIDIA GRID products. I was also a Red Hat Linux administrator and system programmer. Still trying to contribute what knowledge I have for the benefit of the IT community.

    106
    Reputation
    525
    Profile views
    205
    Posts
    7
    Followers
    0
    Following
    Joined
    Last Online
    Website None
    Location Somewhere, USA

    tjkreidl Unfollow Follow
    Ambassador

    Best posts made by tjkreidl

    • RE: Introduce yourself!

      Hi, everyone. Nice to see this project turning into reality. I will try to spend time here as possible, which is hard with already being spread thinly. I've been a XenServer user for around a decade and am as interesting in learning as well as contributing whatever knowledge might be helpful to the community.

      Best regards,
      -=Tobias

      posted in Off topic
      tjkreidlT
      tjkreidl
    • RE: Remove a host from a pool

      And from the CLI:

      1. xe host-list (to get the UUID of the host)
      2. xe pool-eject host-uuid=<host_UUID>
      posted in Management
      tjkreidlT
      tjkreidl
    • RE: Socket/core configuration in VM

      @robyt It depends on (1) licensing, if any, as some licenses go by cores vs. sockets, and (2) NUMA/VNUMA depending on how critical the performance is depending on how the VCPUs get allocated between sockets or on a single socket. Best way IMO is to try all and test with benchmarks. See, for example, this article and the previous two articles, as well as articles by Frank Denneman and others: https://blogs.mycugc.org/2019/04/30/a-tale-of-two-servers-part-3-the-influence-of-numa-cpus-and-sockets-cores-persocket-plus-other-vm-settings-on-apps-and-gpu-performance/

      posted in Compute
      tjkreidlT
      tjkreidl
    • RE: NUMA-impact - Xeon/Epyc - 1P vs 2P

      @olivierlambert said in NUMA-impact - Xeon/Epyc - 1P vs 2P:

      There is no universal answer (because it's mostly depending on your VM load and what do you expect). As usual, my advice is to keep it simple if you don't have a problem with it (ie: you are satisfied by the perf.). Even a default EPYC configuration will be likely always better than a Xeon one.

      After that, if you want to go deeper and learn the details, it's OK, let me just ping @tjkreidl who did a remarkable job (if I remember correctly) on this very topic.

      Thanks for the mention, @olivierlambert ! Here's a link to part 3, which contains links back to parts 1 and 2. Note that NUMA will affect EPYC processors differently as they changed the die configuration at one point with the number of cores. I'm open for any questions on this topic. 🙂 https://blogs.mycugc.org/2019/04/30/a-tale-of-two-servers-part-3-the-influence-of-numa-cpus-and-sockets-cores-persocket-plus-other-vm-settings-on-apps-and-gpu-performance/

      posted in Compute
      tjkreidlT
      tjkreidl
    • RE: vCPU Over-Subscription...

      @epretorious I would add that you have to be careful about overprovisioning when NUMA/vNUMA kicks in, that is when you allocate more VCPUs to exceed the number of physical CPUs of a bank of them as well as the associated physical memory (assume, for the sake of argument, you have two banks of physical CPUs and each has directly accessible to it one of two banks of memory) then things get inefficient because a CPU may need to go across to a different bank of memory to access data and there is additional overhead involved. See for example this article and the two preceding it:
      https://blogs.mycugc.org/2019/04/30/a-tale-of-two-servers-part-3-the-influence-of-numa-cpus-and-sockets-cores-persocket-plus-other-vm-settings-on-apps-and-gpu-performance/

      -=Tobias

      posted in Compute
      tjkreidlT
      tjkreidl
    • RE: How to Re-attach an SR

      @olivierlambert Agreed. The Citrix forum used to be very active, but especially since Citrix was taken over, https://community.citrix.com has had way less activity, sadly.
      It's still gratifying that a lot of the functionality still is common to both platforms, although as XCP-ng evolves, there will be continually less commonality.

      posted in XCP-ng
      tjkreidlT
      tjkreidl
    • RE: How to Re-attach an SR

      @Chrome Cheers -- always glad to help out. I put in many thousands of posts on the old Citrix XenServer site, and am happy to share whatever knowledge I still have, as long as it's still relevant! In a few years, it probably won't be, so carpe diem!

      posted in XCP-ng
      tjkreidlT
      tjkreidl
    • RE: How to Re-attach an SR

      @Chrome Fantastic! Please mark my post as helpful if you found it as such. Was traveling much of today, hence the late response.

      BTW, it's always good to make a backup and/or archive of your LVM configuration anytime you change it, as the restore option is the cleanest way to deal with connectivity issues if there is some sort of corruption. It's saved my rear end before, I can assure you!

      Yeah, if the SSD drive got wiped, there's no option to get those back unless you made a backup somewhere of all that before you installed XCP-ng onto it.

      BTW, another very useful command for LVM is "vgchange -ay" which will attempt to renew VG information if a VG seems missing or the like.

      posted in XCP-ng
      tjkreidlT
      tjkreidl
    • RE: How to Re-attach an SR

      @Chrome As M. Lambert says, you may be able to sue pbd-plug to re-attach the SR if you can sr-introduce the old SR back into the system.
      If not, and if your LVM configuration has not been wiped out, here are some steps t try to recover it (it's an ugly process!):

      1. Identify the LVM configuration:
        Check for Backups: Look for LVM metadata backups in /etc/lvm/archive/ or /etc/lvm/backup/.
        Use vgscan: This command will search for volume groups and their metadata.
        Use pvscan: This command will scan for physical volumes.
        Use lvs: This command will list logical volumes and their status.
        Use vgs: This command will list volume groups.
      2. Restore from Backup (if available):
        Find the Backup: Locate the LVM metadata backup file (e.g., /etc/lvm/backup/<vg_name>).
        Boot into Rescue Mode: If you're unable to access the system, boot into a rescue environment.
        Restore Metadata: Use vgcfgrestore to restore the LVM configuration.
      3. Recreate LVM Configuration (if no backup):
        Identify PVs: Use pvscan to list available physical volumes.
        Identify VGs: Use vgscan to identify volume groups if they are present.
        Recreate PVs: If necessary, use pvcreate to create physical volumes.
        Create VGs: If necessary, use vgcreate to create a new volume group.
        Create LVs: If necessary, use lvcreate to create logical volumes.
      4. Mount and Verify:
        Mount the Logical Volumes: Mount the restored LVM volumes to their respective mount points.
        Verify Data: Check the integrity of the data on the restored LVM volumes.
      5. Extend LVM (if adding capacity):
        Add a new disk: Ensure the new disk is recognized by the system.
        Create PV: Use pvcreate on the new disk.
        Add PV to VG: Use vgextend to add the PV to the volume group.
        Extend LV: Use lvextend to extend the size of an existing logical volume.
        Extend Filesystem: Use e2resize (for ext4) or resize2fs (for ext3) to extend the filesystem on the LV.
      posted in XCP-ng
      tjkreidlT
      tjkreidl
    • RE: How to Re-attach an SR

      @Chrome Do then just a "xe vm-list" and see if you recogniize any VMs other than the dom0 instance of XCP-ng.
      If there is nothing else showing up, you will need to try to find your other LVM storage.

      posted in XCP-ng
      tjkreidlT
      tjkreidl

    Latest posts made by tjkreidl

    • RE: 10gb backup only managing about 80Mb

      @nikade Did the same. VLANs are great! We did use separate NICs for iSCSI storage. But the PMI and VMs, traffic was handled easily by the dual 10 GiB NICs, even with several hundred XenDesktop VMs hosted among three servers (typically around 8- VMs per server).

      posted in Backup
      tjkreidlT
      tjkreidl
    • RE: 10gb backup only managing about 80Mb

      @utopianfish Or look for deals in places like amazon.com or bestbuy.com or even Ebay.com.

      posted in Backup
      tjkreidlT
      tjkreidl
    • RE: 10gb backup only managing about 80Mb

      @nikade Yeah, that is a far from optimal setup. It will force the data to flow through the management interface before being routed to the storage NICs.
      Running iostat and xtop should show the load. A better configuration IMO would be putting the storage NICs on the switch and using a separate network or VLAN for the storage I/O traffic.
      Storage I/O optimization takes some time and effort. The type, number, and RAID configuration of your storage device as well as speed of your host CPUs, eize and type of memory, and configuration of your VMs (if NUMA aware, for example) all will play a role.

      posted in Backup
      tjkreidlT
      tjkreidl
    • RE: GPU Passthrough

      @gb.123 Interesting -- alert the XCP-ng team to take a closer look, if they haven't seen this already.

      posted in Management
      tjkreidlT
      tjkreidl
    • RE: GPU Passthrough

      @gb.123 I'm sure you can also find some NVIDIA "hoe to" guides that might be helpful. As mentioned before, I've only done server passthrough so that all VMs would get access,
      so sorry I can't provide more specifics. You can always try with one or the other option and add the other if it still doesn't work. I'm pretty sure, though, that you do need both enabled.
      Keep us posted!

      posted in Management
      tjkreidlT
      tjkreidl
    • RE: GPU Passthrough

      @gb.123 Are you sure you have the correct drivers installed? Also, check if the GPU is compatible with AMD CPUs -- I only had Intel CPUs, so am not sure if that's an issue or not.

      posted in Management
      tjkreidlT
      tjkreidl
    • RE: GPU Passthrough

      @gb.123 You need to do both. After adding the PCI device, you might also need to specifically enable "passthrough" for that device within the VM's settings. It may do it automatically when you add it.
      Make sure the appropriate NVIDIA driver is also installed on the the VM.

      posted in Management
      tjkreidlT
      tjkreidl
    • RE: GPU Passthrough

      @gb.123 YOu are trying to do passthrough to a specific VM? I don't think that used to be supported, but maybe is now.
      Are NVIDIA drivers installed on the VM, as needed?
      Sorry, it's been a while since doing this so I'm digging back into my memory.
      Also, is IOMMU supported and enabled in the BIOS?
      Also, check this out and see if it may be of some help:
      https://www.youtube.com/watch?v=_JPmxmxqhds

      posted in Management
      tjkreidlT
      tjkreidl
    • RE: GPU Passthrough

      @gb.123 Ah, OK. then the more powerful GP is the RTX4060, right? If so, use it for the passthrough. Also, on some CPUs you have to do a BIOS setting to allow this to work, because of memory limitations, but only on probably much older systems, if I recall correctly.

      posted in Management
      tjkreidlT
      tjkreidl
    • RE: GPU Passthrough

      @gb.123 You need one video card for your administrative console and another can be used for GPU passthrough. There must be two separate physical devices.
      So make sure you have two video boards, one that has the GPU capabilities you want to use in your passthrough configuration.

      posted in Management
      tjkreidlT
      tjkreidl