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?