M mikiudon Member Apr 13, 2022 17 1 8 Apr 22, 2023 #1 Hi, I ran a command line ha-manager add vm:xxx and added the vm to the HA cluster. What is the command to add all the clustered VM into a defined HA group. Just don't want to click a 100+ VMs and set the group
Hi, I ran a command line ha-manager add vm:xxx and added the vm to the HA cluster. What is the command to add all the clustered VM into a defined HA group. Just don't want to click a 100+ VMs and set the group
bbgeek17 Distinguished Member Nov 20, 2020 4,945 1,558 198 Blockbridge www.blockbridge.com Apr 22, 2023 #2 There is no single command. If your IDs are sequential, and even if they are not: for i in {100..1000};do ha-manager add vm$i:xxx;done those that dont exist will fail and thats ok. Of course there are better ways to build a list to add. Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
There is no single command. If your IDs are sequential, and even if they are not: for i in {100..1000};do ha-manager add vm$i:xxx;done those that dont exist will fail and thats ok. Of course there are better ways to build a list to add. Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox