XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. Wugutech
    3. Posts
    W
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 13
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Red Hat Virtualization (RHV or RHVH) installation not booting

      https://access.redhat.com/solutions/5347091

      System fails to mount filesystem on multipath partition during boot time in RHEL8
      Solution Verified - Updated May 31 2021 at 2:25 PM - English
      Environment

      Red Hat Enterprise Linux 8
          dracut-049-27.git20190906.el8.x86_64
      

      Issue

      System fails to mount filesystem created on multipath partition during boot time in RHEL8.
      

      Raw

      [ 235.191955] testsystem systemd[1]: Mounting /sysroot...
      [ 235.398136] testsystem kernel: SGI XFS with ACLs, security attributes, no debug enabled
      [ 235.398913] testsystem mount[2922]: mount: /sysroot: /dev/sdb4 already mounted or mount point busy.
      [ 235.399207] testsystem systemd[1]: sysroot.mount: Mount process exited, code=exited status=32
      [ 235.399259] testsystem systemd[1]: sysroot.mount: Failed with result 'exit-code'.
      [ 235.399480] testsystem systemd[1]: Failed to mount /sysroot.

      Resolution

      Upgrade dracut package to dracut-049-135.git20210121.el8 as per RHBA-2021:1661
      As a workaround, rebuild initramfs with /lib/udev/rules.d/11-dm-parts.rules.
      

      Raw

      dracut -f -v --include /lib/udev/rules.d/11-dm-parts.rules /lib/udev/rules.d/11-dm-parts.rules

      Or create /etc/dracut.conf.d/part.conf with below lines and rebuild initramfs image.
      #vi /etc/dracut.conf.d/part.conf
      install_items+=/lib/udev/rules.d/11-dm-parts.rules

      Root Cause

      dracut doesn't install /lib/udev/rules.d/11-dm-parts.rules, which is what changes the link priority for kpartx partition devices, which should make /dev/disk/by-uuid point to multipath devices instead of the scsi path devices.
      

      Diagnostic Steps

      Check boot logs and verify whether root filesystem mounted using sdX device or mpath device.
      

      Raw

      [ 235.185721] testsystem systemd[1]: Starting File System Check on /dev/disk/by-uuid/3a9fc23b-e95d-44a2-b95c-9651799f8c77...
      [ 235.190597] testsystem systemd-fsck[2920]: fsck.none doesn't exist, not checking file system on /dev/disk/by-uuid/3a9fc23b-e95d-44a2-b95c-9651799f8c77.
      [ 235.191192] testsystem systemd[1]: Started File System Check on /dev/disk/by-uuid/3a9fc23b-e95d-44a2-b95c-9651799f8c77.
      [ 235.191955] testsystem systemd[1]: Mounting /sysroot...
      [ 235.398913] testsystem mount[2922]: mount: /sysroot: /dev/sdb4 already mounted or mount point busy.

      Verify /lib/udev/rules.d/11-dm-parts.rules rule available in initramfs image.
      

      Raw

      lsinitrd initramfs-4.18.0-193.el8.x86_64.img |grep dm-parts |wc -l

      0

      Rebuild initramfs image with /usr/lib/udev/rules.d/11-dm-parts.rules.
      

      Raw

      #lsinitrd initramfs-4.18.0-193.el8.x86_64.img |grep dm-parts
      Arguments: -f -v -a 'multipath' --include '/usr/lib/udev/rules.d/11-dm-parts.rules' '/usr/lib/udev/rules.d/11-dm-parts.rules'
      -rw-r--r-- 1 root root 1442 Dec 17 2019 usr/lib/udev/rules.d/11-dm-parts.rules

      posted in Compute
      W
      Wugutech
    • RE: Red Hat Virtualization (RHV or RHVH) installation not booting

      @danp

      thanks for replying!

      posted in Compute
      W
      Wugutech
    • RE: Red Hat Virtualization (RHV or RHVH) installation not booting

      šŸ˜€ šŸ˜€ šŸ˜€ šŸ˜€ šŸ˜€

      posted in Compute
      W
      Wugutech
    • Red Hat Virtualization (RHV or RHVH) installation not booting

      Red Hat Virtualization (RHVH) installation not booting on XCP-NG

      If I create it on XCP-NG, it always failed while booting
      I tried BIOS, UEFI, other install media, rhel8 template,

      the boot process shows:
      Failed to mount /sysroot
      hostname also does not apply correctly

      94c9c55e-7edf-4098-83a7-971c81e92c7d-image.png

      it says:

      mount: /sysroot: cannot mount /dev/mapper/rhvh-root read only.
      kernel: XFS (dm-3): log mount failed
      systemd[1]: sysroot.mount: Mount process exited, code=existed status=32
      systemd[1]: sysroot.mount: Failed with result 'exit-code'.
      systemd[1]: Failed to mount /sysroot.
      

      3f014bc3-ebfa-4b5f-832b-f99cd6e065ce-image.png

      • I tried this on VirtualBox, it just boot to the OS normally, so I presume may be it has something to do with the hypervisor,
      • including hostname applied correctly,
      • and also, in virtualbox, the boot menu shows RHVH -4.4.9.2 and so on
      • while with XCP-NG VM, the boot menu shows Red Hat Enterprise Linux (kernel version)
      • virtualbox use sda while XCP use xvda (so may be because of this?)

      234920cf-ba3b-4880-8eff-8daea8ec4a3d-image.png

      eb76d59b-d58f-4710-a251-3bce71aabaf6-image.png

      Thanks!

      posted in Compute
      W
      Wugutech
    • RE: CPU and memory overcommit (oversubscribe) support

      @olivierlambert
      What to do with RAM, how we can oversubscribe it?

      Thanks!

      posted in Compute
      W
      Wugutech
    • RE: CPU and memory overcommit (oversubscribe) support

      last time I did power up a lot of VMs, if I remember it, Xen didnt allow it because I ran out of vCPU,

      Am I wrong maybe?

      So no need to do anything right, just turn it on, it will work?

      posted in Compute
      W
      Wugutech
    • RE: CPU and memory overcommit (oversubscribe) support

      Hi @olivierlambert

      Could you point out the doc/reference/info about it?
      Especially CPU,

      Thanks!

      posted in Compute
      W
      Wugutech
    • CPU and memory overcommit (oversubscribe) support

      Is XCP-NG support CPU and memory RAM over commit?

      posted in Compute
      W
      Wugutech
    • RE: Minisforum HM80 (Ryzen 7 4800u)

      Hii,

      yes its working,
      but not the second 2.5 Gb ethernet, since it requires newer kernel,
      same with PCI passthrough the wifi card is new popular AX200 which requires newer kernel also,

      I have USB passthrough a Wifi USB adapter, the speed looks underperforming, but i haven't test the adapter plugged in to laptop and see its speed comparison,
      I didnt ask much about it, since I guess its not coorporate use case except closely to edge computing? maybe not too important?

      if you need other info, you can tell me, perhaps some logs or debuging, i will share šŸ™‚

      posted in Hardware
      W
      Wugutech
    • RE: XOCE and Zerotier SDN

      its working, it just took very long time to detect,

      posted in Xen Orchestra
      W
      Wugutech
    • XOCE and Zerotier SDN

      I have zerotier installed but I see in Zerotier web console, XOCE is not connected,

      anyone had experience to make this work at Xen Orchestration?

      xo@xo-ce:~$ systemctl status zerotier-one
      ā— zerotier-one.service - ZeroTier One
         Loaded: loaded (/lib/systemd/system/zerotier-one.service; enabled; vendor preset: enabled)
         Active: active (running) since Mon 2021-09-27 18:03:14 WIB; 1h 11min ago
       Main PID: 419 (zerotier-one)
          Tasks: 7 (limit: 4673)
         Memory: 7.3M
         CGroup: /system.slice/zerotier-one.service
                 └─419 /usr/sbin/zerotier-one
      
      xo@xo-ce:~$ sudo /usr/sbin/zerotier-cli status
      200 info 5526157180 1.6.6 ONLINE
      
      xo@xo-ce:~$ sudo /usr/sbin/zerotier-cli listnetworks
      200 listnetworks <nwid> <name> <mac> <status> <type> <dev> <ZT assigned ips>
      200 listnetworks 8286ac0e47e8a001  02:f5:ce:52:7f:2c REQUESTING_CONFIGURATION PRIVATE ztrtaujlsg -
      
      posted in Xen Orchestra
      W
      Wugutech
    • Minisforum HM80 (Ryzen 7 4800u)

      Hi,
      long time no see,
      Now after so much time waiting, I finally was able to order something with good pricing,

      I hope this will replace my old DL380 servers + ESXi 6.5,
      into Mini PC + XCP-NG !

      posted in Hardware
      W
      Wugutech
    • XCP-ng high availability & xoSAN basic quesstions

      What kind of HA feature do we have in XCP-ng?

      IF you have VM HA, what is the level protection of this? is it only IF the VM level is in trouble right?
      What if we have VM HA, but the service or app inside the VM is in trouble?

      All hypervisor product mostly provide HA at VM level right, not the service/processes/apps running inside the OS?

      Where is XCP-ng road map?

      is vSAN equivalent in principle to xoSAN?
      I have read the doc here: https://xen-orchestra.com/docs/xosan.html
      is that mean to make xoSAN that i have to build separate dedicated "xoSAN VM" for each host?

      What is the alternative option of storage to make xoSAN work? local storage of host only?
      What about direct attached storage? exclude anything external storage except DAS?
      What is supported networking protocol and/or storage protocol?
      It just aggregating separate storage of each host in one consolidated virtual storage right? and thats why we are recommended to have at least 10Gb ethernet?

      Thank you,

      posted in Xen Orchestra
      W
      Wugutech