Good Day !!
I have a requirement for VMs to be svmotioned from one Datastore cluster to another DS cluster. First DS cluster has around 800+ VMs with different in sizes, First Job would be
1. Check the cluster which has less than 500GB VMs
2. Check the VMs has any RDMs connected
3. Check the VMs for any affinity or anti-affinity rules
After all above conditions met VM will svmotion to another datastore cluster and after svmotion completed it has to check the free space in datastore cluster which should not cross 80%. if the free space is above 75% it should start the migration and if it is less than 75% it should stop the migration. Eveytime migration completes it should check the free space and again back to next VM for migration.. Can this be scripted.. pls update