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

    NO_HOSTS_AVAILABLE vs Not Enough memory Available

    Scheduled Pinned Locked Moved Solved Xen Orchestra
    6 Posts 2 Posters 1.1k Views 1 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.
    • kdmK Offline
      kdm
      last edited by

      I have single XCP-ng host in my pool. It's a small footprint dual core host with 4Gb.
      It contains 4 VMs (XO, Home Assistant, Linux Mint and openmediavault).
      By default, XOA and HA are running. When I try to start Linux from XO, I'm told NO_HOSTS_AVAILABLE(). If I try to start Linux from xsconsole, I'm told "Not enough memory available."
      No two of these VMs will be used in anger at the same time; it would simply be nice to have them all available.

      Is there something I can do to get all four of them running?

      (I have reduced the number of CPUs used by XO to 1, but in xsconsole, it still show 2 cores in use.)

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

        Hi,

        Single host and HA? 😅 What does it mean?

        Also, you can use more vCPU than physical CPUs in total. But for memory, you need to have enough reserved for all your VMs.

        kdmK 1 Reply Last reply Reply Quote 0
        • kdmK Offline
          kdm @olivierlambert
          last edited by kdm

          @olivierlambert Single host: One computer in the pool. HA: Home Assistant. Probably not relevant, but I can't seem to get the right balance of useful information in support requests!

          4Gb RAM and 1Gb reserved for each VM. 2 cores and 1 core reserved for each VM, but I can't run more than 2 VMs.

          Thanks!

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

            4GiB on the whole physical machine?

            It means you would have 1GiB for the Dom0, so there's 3GiB left roughly.

            kdmK 1 Reply Last reply Reply Quote 0
            • kdmK Offline
              kdm @olivierlambert
              last edited by

              @olivierlambert Must the RAM be hard-allocated uniquely to each VM?
              I'd swear my previous hardware had 2Gb allocated to each of 4 VMs (=8Gb) but it only had 4Gb RAM.

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

                Short answer: yes.

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