Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-62606

[Doc Enhancement] VM CPU/Memory Hot Plugging

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • CNV v4.18.0
    • CNV Documentation
    • Future Sustainability
    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • Green
    • Yes
    • Important
    • None

      Red Hat Documentation states the process of hot plugging cpu/memory but it does not clearly mention the max limit before a VM restart is required to take this into effect. This is important for the users to plan in advance about the initial VM sizing and what max they can hot plug before a restart is required.

      Existing doc links:

      We may write something like this to aware the users in both CPU and Memory sections linked above:

      The system applies these changes immediately. If the VM is migratable, a live migration is triggered. If not, or if the changes cannot be live-updated, a RestartRequired condition is added to the VM.
      
      Each time a VM is started, there is a maxSockets(cpu) and maxGuest (memory) value that is calculated and defined in the XML for the VM.  You cannot hotplug above these values without restarting. 
      
      By default that value is 4x whatever we start the VM with.  A 1 CPU / 2 GB VM can hotplug up to 4 cpu / 8GB max before a restart is required for the VM.
      
      This default behavior can be modified cluster-wide by `maxHotplugRatio` which modifies this calculation, or can be set per VM basis.

              rhn-support-vathakur Vaishali Thakur
              szobair Shah Zobair (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: