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

    XenServer 8.0 - Major update due Q1 2019

    Scheduled Pinned Locked Moved Development
    89 Posts 18 Posters 61.2k Views 5 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.
    • C Offline
      cg
      last edited by cg

      Not using the latest XS/XCP-ng but at least until 7.1 LTSR it was impossible to change the values for a running VM (by GUI). They are disabled/greyed out.

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates πŸͺ Co-Founder CEO
        last edited by

        We had this feature exposed in Xen Orchestra since the start (or so). It's just that Citrix only added this in XenCenter recently. So it's more a client limitation done by Citrix than a real modification.

        _danielgurgel_ 1 Reply Last reply Reply Quote 0
        • _danielgurgel_ Offline
          _danielgurgel @olivierlambert
          last edited by

          @olivierlambert

          Even with XOA, we have the same problem with XCenter. With vCPU the rule works because you set a usage limit and can increase to the maximum that the host supports.

          But for memory, we have only the minimum and maximum and the dynamic memory feature, which allows only a better allocation of the entire host.

          But imagine the situation where a customer hires an 8GB VM and then wants a feature upgrade, to 16GB, the increase can not be done "hot," with the server on, requiring a schedule to perform the upgrade.

          In the case of VMWare, HOTPLUG is supported, that is, I can upgrade to 16GB without turning off the VM. I believe this is a limit on qemu, since all versions of Xen (Source) support hotplug for vCPU, RAM, Disk and Network,

          In XOA:
          VM_BAD_POWER_STATE(OpaqueRef:8727f5ec-37ad-4273-8130-a1c0df0ed96b, halted, running)
          MEMORY_CONSTRAINT_VIOLATION(Memory limits must satisfy: static_min ≀ dynamic_min ≀ dynamic_max ≀ static_max)

          1 Reply Last reply Reply Quote 0
          • olivierlambertO Offline
            olivierlambert Vates πŸͺ Co-Founder CEO
            last edited by

            I don't see the problem: just extend the static memory to the max of the host capacity and with a dynamic max to the amount you need right now.

            After a while, if you need more RAM, just raise dynamic max up to static max.

            Am I missing something here?

            1 Reply Last reply Reply Quote 0
            • _danielgurgel_ Offline
              _danielgurgel
              last edited by

              When I adjust the FIXED memory to 100GB, and the minimum dynamic to 40GB and maximum dynamic to 60GB.

              But when I click Ok, the static memory gets the same value as the maximum dynamic.
              At least in XenServer 7.1 CU2, the configuration you report does not work for me.

              step1.jpg
              step2.jpg

              1 Reply Last reply Reply Quote 0
              • olivierlambertO Offline
                olivierlambert Vates πŸͺ Co-Founder CEO
                last edited by olivierlambert

                Please try with Xen Orchestra. You should be able to have this setting done once for all when the VM is halted, and then enjoy to set within the whole dynamic setting while it's up.

                1 Reply Last reply Reply Quote 0
                • _danielgurgel_ Offline
                  _danielgurgel
                  last edited by

                  @olivierlambert said in XenServer 8.0 - Major update due Q1 2019:

                  Please try with Xen Orchestra. You should be able to have this setting done once for all when the VM is halted, and then enjoy to set within the whole dynamic setting while it's up.

                  I LOVE XOA! hehehehe
                  That'S exactly what I wanted.
                  Thanks so Much for the help and sorry for the persistence.

                  lovexoa.jpg
                  xoamem.jpg
                  xsmen.jpg

                  But See the problem, VM Guest recognizes total memory.
                  Is That a bug?

                  memoria.jpg

                  1 Reply Last reply Reply Quote 0
                  • olivierlambertO Offline
                    olivierlambert Vates πŸͺ Co-Founder CEO
                    last edited by

                    I need to run some tests on XCP-ng, but IMHO you shouldn't be able to see the static max inside the VM. You should be able to see dynamic max.

                    1 Reply Last reply Reply Quote 0
                    • olivierlambertO Offline
                      olivierlambert Vates πŸͺ Co-Founder CEO
                      last edited by

                      It's as expected in XCP-ng:

                      Capture d’écran de 2019-04-01 20-03-32.png Capture d’écran de 2019-04-01 20-03-40.png

                      1 Reply Last reply Reply Quote 0
                      • _danielgurgel_ Offline
                        _danielgurgel
                        last edited by

                        I tested on other VMs and the memory displayed is always the maximum static.
                        Will a Bug on XS 7.1?

                        1 Reply Last reply Reply Quote 0
                        • olivierlambertO Offline
                          olivierlambert Vates πŸͺ Co-Founder CEO
                          last edited by

                          Possible, dynamic memory management changed a lot since 7.1

                          1 Reply Last reply Reply Quote 0
                          • stormiS Offline
                            stormi Vates πŸͺ XCP-ng Team
                            last edited by

                            If I remember correctly what I read, I think Windows guests see all the memory (static max or dynamic max, I don't remember) but there's a special device that "eats" the memory that is not available to the VM, so that what's really available to it corresponds to the dynamic value (between dynamic min and dynamic max).

                            C 1 Reply Last reply Reply Quote 0
                            • olivierlambertO Offline
                              olivierlambert Vates πŸͺ Co-Founder CEO
                              last edited by

                              It's dynamic max. But I'm pretty sure it was heavily changed in 7.2

                              _danielgurgel_ 1 Reply Last reply Reply Quote 0
                              • C Offline
                                cg @stormi
                                last edited by

                                @stormi It has always been the way that the daemon of xentools bloated up, when you need to free up dynamic memory within the range. I just have 7.1 LTSR running, can't verify for any CR, right now.

                                1 Reply Last reply Reply Quote 0
                                • _danielgurgel_ Offline
                                  _danielgurgel @olivierlambert
                                  last edited by

                                  @olivierlambert I Did a test with the XS 7.6 and CentOS7 (HVM) and the memory calculation does not work correctly.

                                  Sometimes it decreases the memory in the Guest VM, but never displays the values correctly. I am reinstalling the Host for XCP 7.6 and perform new tests. I'll open a new thread for that matter.

                                  1 Reply Last reply Reply Quote 0
                                  • olivierlambertO Offline
                                    olivierlambert Vates πŸͺ Co-Founder CEO
                                    last edited by

                                    Behavior should be the same in XS and XCP-ng 7.6

                                    If you have lower than dyn max in your VM, it's due to pressure of other VMs on the host. Also during a live migration, Xen will "deflate" the VM to dynamic min to allow faster migration.

                                    1 Reply Last reply Reply Quote 1
                                    • C Offline
                                      cg
                                      last edited by

                                      Did anyone notice, that Citrix not only sucks with improvments for (non VDI) server admins, but also doesn't keep their promised releasedates? πŸ˜‰
                                      Q1 is gone for some days and still no updates...
                                      In fall our support contract ends, I'm following xcp-ngs roadmap and changes quite intense...

                                      1 Reply Last reply Reply Quote 1
                                      • stormiS Offline
                                        stormi Vates πŸͺ XCP-ng Team
                                        last edited by

                                        Well, in software development I prefer slipping release dates over broken software, so I won't throw the stone here πŸ™‚

                                        C 1 Reply Last reply Reply Quote 1
                                        • C Offline
                                          cg @stormi
                                          last edited by

                                          @stormi said in XenServer 8.0 - Major update due Q1 2019:

                                          Well, in software development I prefer slipping release dates over broken software, so I won't throw the stone here πŸ™‚

                                          I could say: They had 3 months to geht their job done. πŸ˜‰

                                          stormiS 1 Reply Last reply Reply Quote 0
                                          • stormiS Offline
                                            stormi Vates πŸͺ XCP-ng Team @cg
                                            last edited by

                                            @cg 3 months is short.

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