ansible-collections / community.vmware

Ansible Collection for VMware
GNU General Public License v3.0
346 stars 334 forks source link

Configuration: Cluster -> VM Overrides #2026

Open christianbadertrimble opened 6 months ago

christianbadertrimble commented 6 months ago
SUMMARY

Create "Cluster -> VM Overrides" entries

ISSUE TYPE
COMPONENT NAME

vmware_cluster_vm_overrides

ADDITIONAL INFORMATION

Special runtime critical VMs such as database servers or mem caches should not automatically be migrated to other hosts by activated "Fully Automated" vSphere DRS. A feature to create required "VM Overrides" entires is currently not possible via the ansible collection. It would be great to have this functionality via any existing or maybe new community.vmware module.

ihumster commented 6 months ago

I think you can you vmware_vm_host_drs_rule and vmware_drs_group / vmware_drs_group_manager modules for create rules for prevention move VMs from host.