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?