@olivierlambert @olivierlambert Yes, it is "tag affinity" that we need exactly in this case.
Agreed we could start the VM on one of the correct hosts, so that is good. The load balancer needs to keep it running on a host with the correct tags (and HA failover to the correct tagged hosts as well.)
@tjkreidl thanks for the information. We are trying to get away from the simple scripts which end up as a monster. But I do appreciate the suggestion.
To give you some more background examples of how we would use the tags:
-
CPU clock speed. We have some servers with much faster CPU that are used for running very long simulation jobs (over several days) on multiple cores in parallel. We would want to start the simulation VMs on any free host with the right clock tags.
-
Custom hardware. Some servers are fitted with custom PCIe cards and some VMs need to target the right hardware.
A lot of the config / VM startup will be done with automation. I will also have a look at the APIs as well.
Many thanks for your time.
Graham