Is there a way to schedule DRS to monitor say hourly via script and manage DRS rules to keep machines with Windows OS on particular hosts? We don't want to babysit this list as new VM's are built. VCenter 7.x, ESXi 7.x
Thanks,
Greg
What kind of DRS rules are you talking about?
Affinity, anti-affinity, VM-Host?
And are you only talking about DRS or also SDRS?
When you add a rule after a VM is created, DRS (or SDRS) should take care of the rules.
A script that check at regular intervals of there are rules for each VM should be sufficient.
In fact, if I remember correctly there is a similar thread (with a solution) in this community.
Try using the Search function.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
It would be an affinity rule based on OS type just for DRS, not SDRS.. I'll see if I can find the example, I didn't see it when searching prior to posting..
Since affinity is a 1-to-1 rule, the number of rules would go up exponentially with the number of VMs.
What rule/method do you employ for these affinity rules?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Perhaps VM-host rules would make more sense then.
It's your environment.
You decide what kind of rules you want, and more importantly what you are trying to achieve with those rules.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
