NO_HOSTS_AVAILABLE vs Not Enough memory Available
-
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.)
-
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.
-
@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!
-
4GiB on the whole physical machine?
It means you would have 1GiB for the Dom0, so there's 3GiB left roughly.
-
@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. -
Short answer: yes.