VZ / KVM command line in cluster

lweidig

Active Member
Oct 20, 2011
104
2
38
Sheboygan, WI
If I go into the web interface from any machine in the cluster I can start, stop, restart,... any of the nodes no matter which cluster node that they are contained on. However, from the command line using commands like vzlist or qm only seem to operate on the cluster node and its containers, not the entire group. We are trying to setup automatic start / stop / restart if certain items are detected for a management system. While we of course know the expected node that the device will be on if it was migrated for some reason to another node we might not be able to easily automate its control without needing to check every node in the cluster. Am I missing some cluster aware versions of these commands for managing nodes?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!