Hi,
I have some machines in a Proxmox Cluster.
Sometimes I need to take down a Proxmox Server for Maintenance or updates.
Today I do some scripting like
for vmid in 100 103 105 109;do
qm migrate $vmid someserver -online
done
This is a manual process and I would like very much a script that finds out which vms are running on the machine I want to take down and then to relocate the vms to some other hosts which have enough resources which means the script should validate how much free ram the other Proxmox Servers have.
Before I reinvent the wheel: Has anybody scripted things like that ? Will such logic be implemented in proxmox in the near future ? Does somebody have an idea how this could easily be implemented ?
Thanks
Christoph
I have some machines in a Proxmox Cluster.
Sometimes I need to take down a Proxmox Server for Maintenance or updates.
Today I do some scripting like
for vmid in 100 103 105 109;do
qm migrate $vmid someserver -online
done
This is a manual process and I would like very much a script that finds out which vms are running on the machine I want to take down and then to relocate the vms to some other hosts which have enough resources which means the script should validate how much free ram the other Proxmox Servers have.
Before I reinvent the wheel: Has anybody scripted things like that ? Will such logic be implemented in proxmox in the near future ? Does somebody have an idea how this could easily be implemented ?
Thanks
Christoph