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.8k 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

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • First post
                  Last post