Hi,
I have a three node cluster and I'm basically at my memory limit. The nodes are chinstrap, magellanic, and humboldt. On humboldt there's a VM that uses up quite a lot of memory but isn't important. What I'd like is to automatically shut down that VM when either chinstrap or magellanic begin to go offline so that there is enough memory free for the HA migrations of the important VM's. Then, once all the hosts are running and all the VM's are back where they normally live, the VM can start again.
How would I go about doing that? Is there a script that Proxmox executes as a host goes into maintenance mode or anything like that?
Thanks.
I have a three node cluster and I'm basically at my memory limit. The nodes are chinstrap, magellanic, and humboldt. On humboldt there's a VM that uses up quite a lot of memory but isn't important. What I'd like is to automatically shut down that VM when either chinstrap or magellanic begin to go offline so that there is enough memory free for the HA migrations of the important VM's. Then, once all the hosts are running and all the VM's are back where they normally live, the VM can start again.
How would I go about doing that? Is there a script that Proxmox executes as a host goes into maintenance mode or anything like that?
Thanks.