Quantcast
Channel: VMware Communities : Popular Discussions - vCloud Director PowerCLI
Viewing all articles
Browse latest Browse all 13334

Automate DRS groups affinity in a vcloud environment

$
0
0

Hi,

 

I'm trying to automate affinity rules for drs groups manger on a vcloud cluster.

The idea is to let certain VMs run on assigned esx hosts.

We do not create the vm's ourself -> our customers do...

So to avoid unnecessary administration when a customer creates a machine i would like to automate this process.

 

So maybe a script that would run every xx hours to list all datastores and add the vm's on it to the correct virtual machine drs groups...?

 

 

Setup:

ESX version 4.1. Vcloud 1.5

We've esx hosts in two datacenters interconnected and a  netapp cluster on each site hosting the luns.

Each datastore is created by us and always starts ST-"site1" or ST-"site2".

There are 2 host groups called : "site1" and "site2".

There are 2 virtual machine groups called : "site1" and "site2".

 

Many thanks!
Denpowel

Viewing all articles
Browse latest Browse all 13334

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>