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

    Cannot resize Dom0 (Control Domain Memory)

    Scheduled Pinned Locked Moved Hardware
    9 Posts 2 Posters 627 Views 2 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.
    • R Offline
      redbob365
      last edited by

      Hi:

      I have a Host with 24Gb RAM. Actually it hasn't any VM running on it.
      It's because Control Domain Memory is using almost all the Server memory:
      image_2023-09-28_180115207.png
      Accordingly to the manual, I executed this command:
      /opt/xensource/libexec/xen-cmdline --set-xen dom0_mem=4096M,max:4096M
      and rebooted it, but no changes were done.

      My Server is a HP Proliant Gen8 24Gb RAM, I installed xcp-ng 8.21

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

        Hi,

        That's weird. do you have the same view in Xen Orchestra? Can you screeshot htop in the Dom0?

        R 1 Reply Last reply Reply Quote 0
        • R Offline
          redbob365 @olivierlambert
          last edited by redbob365

          @olivierlambert here is XOA view: image_2023-09-29_142705371.png

          And this is htop:image_2023-09-29_143041049.png

          I must tell you, I had to change boot grub order, giving priority to Xen hypervisor (second option) because when it boot to first option GNU/Linux, the server start in Recovery Mode, with just 1 core processor.

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

            I'm sure there's something wrong in your Grub file, because Xen is clearly booting a Dom0 with 24GiB of memory 😄

            R 1 Reply Last reply Reply Quote 0
            • R Offline
              redbob365 @olivierlambert
              last edited by

              @olivierlambert Look, I rebooted now the server using this settting: image_2023-09-29_151402300.png
              Now the host has this dashboard values:image_2023-09-29_152222153.png
              and this htopimage_2023-09-29_152437153.png
              Now Dom0 busy RAM is 0.
              I try to start a VM, I have this error:
              image_2023-09-29_152703094.png

              I'll redo a fresh installation of xcp-ng on this server.

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

                This doesn't sound like the Grub of XCP-ng. Are you sure you don't have a leftover or completely modified the original one?

                R 1 Reply Last reply Reply Quote 0
                • R Offline
                  redbob365 @olivierlambert
                  last edited by redbob365

                  @olivierlambert I did right now a fresh install of XCP-ng 8.2.1 in this server. Grub menu is this:
                  image_2023-09-29_173734035.png
                  choosing the first item (default) I get this error(so it begins looping):image_2023-09-29_174135837.png
                  the second item (XCP-ng (Serial)) got a successfull boot.
                  image_2023-09-29_174706700.png

                  Now I remember what I did... I tried to make XCP-ng (Serial) the default option but I ended corrupting grub... Tell me how I turn it the default option?

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

                    1. Update your host and reboot in normal mode to see if it's better
                    2. If not, can you try to see if you can boot with XCP-ng 8.3?

                    Also, your XO version is outdated.

                    R 1 Reply Last reply Reply Quote 0
                    • R Offline
                      redbob365 @olivierlambert
                      last edited by redbob365

                      @olivierlambert I made a system update (yum update) and rebooted the server without interfering on grub menu... So it persisted on the same error... I nad to choose the second option again to do a good boot. I tried to find where those faulty grub log lines where saved, but journalctl just stored healthy boot.

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