How do I put 30+ VM's into HA mode via CLI?

tomgt

New Member
Jul 29, 2021
4
0
1
59
Hello, I have tried the commands tha ChatGPT gave me but they didnt work. I also looked at the options for QM but did not see anything for setting VM's to HA mode.

ChatGPT said: qm ha set <vmid> --max-tries 3 --wait 60 (which did not work)

Also tried:
root@evq-ash-gt-px8:~# qm set 800 --ha 1
Unknown option: ha
400 unable to parse option

Is there a way to set bulk VM's into HA for example: qm ha set 100-200?
 

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!