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

    Set Static Memory for VM in XOA

    Scheduled Pinned Locked Moved Xen Orchestra
    9 Posts 3 Posters 218 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.
    • K Offline
      KPS Top contributor
      last edited by

      Hi!

      I am quite confused about the way XOA is showing the memory settings of a VM.

      In Xencenter, there was:

      • Static --> set fixed value
        OR
      • Dynamic - min/max

      79cded11-f5fd-48dc-a5c2-64f3f47d8219-image.png

      XOA is always showing both - static AND dymamic without the option to choose.
      72a3663f-afd0-42f2-91c0-b09868f7fdca-image.png

      Can you give me a hint on how to understand it?

      Thank you and best wishes
      KPS

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

        It's the same thing presented differently. Click on the amount to change the value.

        K 1 Reply Last reply Reply Quote 0
        • K Offline
          KPS Top contributor @olivierlambert
          last edited by

          @olivierlambert
          Yes, but what is the equivalent of "static"?
          I have to setup 4 values and I do not understand why?

          For me, there are just two options:

          • static with ONE value
          • dynamic with TWO values

          Sorry, but I do not understand it, yet.

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

            Because you are kind of fooled by XenCenter UI. Static only means dyn min == dyn max == static max. In your screenshot, you are already in static memory.

            K 1 Reply Last reply Reply Quote 0
            • K Offline
              KPS Top contributor @olivierlambert
              last edited by

              @olivierlambert
              Definitely biased through Xencenter and vCenter, but:

              Why are there 4 settings?
              Why 2 settings for „static“? Isn’t the characteristic oh static, that it is one fixed value?

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

                Static memory definition in Xen means that dynamic min, max and static max are equal.

                Check the VM params with xe, you will never see any "static memory" field. The UI of XenCenter is just providing a "helper", but clicking on static will just set dynamic min, max and static max to the same value.

                K 1 Reply Last reply Reply Quote 0
                • K Offline
                  KPS Top contributor @olivierlambert
                  last edited by

                  @olivierlambert
                  Thank you!
                  But what is the meaning of „static min“?

                  DanpD 1 Reply Last reply Reply Quote 0
                  • DanpD Offline
                    Danp Pro Support Team @KPS
                    last edited by

                    @KPS That is the minimum memory limit as defined by the related template.

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

                      Yes, you can ignore static min, 99% of the time it's not relevant.

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