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

    How to increase XOA-memory with XOA

    Scheduled Pinned Locked Moved Management
    4 Posts 3 Posters 625 Views 3 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!

      Lately, I had to increase the memory of the XOA-VM.
      I tried this through XOA "itself" and failed...

      After changing the memory-value for the VM, I thought, it would reboot, but it was shut down and I had to start it manually.

      Is this "expected" behaviour? Shouldn't there be a "change after next boot"?

      Best wishes
      KPS

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

        In theory, we could tell XO to say "shutdown the VM, change the static memory, and start it". But if you are doing on XO itself, it will obviously stop at "shutdown the VM" since the rest cannot be executed.

        It's a chicken-egg problem 😄 My advice: just do a quick:

        xe vm-memory-limits-set vm=XOA static-min=2GiB dynamic-min=4GiB dynamic-max=8GiB static-max=8GiB
        
        J 1 Reply Last reply Reply Quote 0
        • J Offline
          jebrown @olivierlambert
          last edited by

          @olivierlambert

          do you need to edit anything else after increasing the memory for the XOA VM?
          on the help guides it says ```
          In that case, you need to increase the memory allocated to the XOA VM (from 2GB to 4GB or 8GB). Note that simply increasing the RAM for the VM is not enough. You must also edit the service file (/etc/systemd/system/xo-server.service) to increase the memory allocated to the xo-server process itself.

          [link text](https://xen-orchestra.com/docs/troubleshooting.html#configuration)
          1 Reply Last reply Reply Quote 0
          • olivierlambertO Offline
            olivierlambert Vates 🪐 Co-Founder CEO
            last edited by

            It's 2 different things. It's not because you add RAM that you might need to raise the Node memory either. First, add memory and see if it's enough 🙂

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