cmdl tool to manage VMs in a cluster

dank

New Member
Nov 18, 2011
20
2
1
Hi, is there a command line tool to manage VMs in a Proxmox-Cluster? Such as creating VMs, starting, stopping, etc. Similar to "qm". But within a cluster without visiting each machine manually. Thanks Daniel
 
I thought qm can handle only local VMs, not all within a cluster. An Example: I tried on Server1 to start a VM which is located on Server 2 qm start 130 unable to find configuration file for VM 130 - no such machine What went wrong?
 
No, currently not.
Ok. Thank you. Is there something like a cluster "qm" planned? At the moment I will do this by my own scripts using ssh. Is there a "database" where I can find the VM-execServer-Mapping?
 
Ok. Thank you. Is there something like a cluster "qm" planned? At the moment I will do this by my own scripts using ssh. Is there a "database" where I can find the VM-execServer-Mapping?

There is a small tool called 'pvesh' which exposes the whole API on the CLI. This currently only works for the local node, but can be easily extended to work cluster wide. But I do not have time to work on that now.
 
Hi, I wrote a small script called qmc to manage VMs in a cluster using qm. It's just an overlay to qm, but for me its quite useful. I attached the file.
 

Attachments