vCloud Director SP 8.10 has been out for about a month now and the general buzz around this release has been extremely positive. The decision to expose the previously API only features has been warmly welcomed by most vCloud Air Network Service Providers and I have heard of quiet a few looking to deploy or plan deployment of vCD SP 8.10 into their hosting platforms.
In Part One I went through the new NSX supportability improvements and for Part Two I am going to focus on a couple of Virtual Datacentre improvements that Organisational Clients can take advantage off with the upgrade. One of the key features now exposed directly to tenants is the ability to configure VM affinity and anti-affinity rules. I’ll also mention a couple of non UI exposed features like more granular vDC permissions, and being able to import running VM.
Virtual Machine Affinity Rules:
Support has been added for creation of affinity and anti-affinity rules for VMs. This is available via the vCD UI or the vCD API to create affinity rules that allow you to spread a group of virtual machines across different hosts or keep a group of virtual machines on a particular host. This is welcomed feature as it’s been a common question from customers who have asked us to keep or split VMs from the backend. I believe it’s also something that’s unique in the IaaS space and allows tenants greater control of VM placement that allows them to configure for certain applications or services requirements.
To configure this as a tenant head to the Administration Menu of the vCD UI and double-click on the Virtual Datacenter. From there you should see the Affinity Rules Tab as shown below.
Once there you have two sections where you can configure Affinity or Anti-Affinity Rules.
To configure the Rules, click on the + button, enter in a Rule Name and select the VMs you want to keep together or split up.
Note that it will error out if a VM is part of an existing rule as shown below.
You can not have the same VM of the same type in more than one rule. If you attempt this you will get a fairly unhelpful error complain talking about an incorrect or missing values.
Taking a look at vCenter, under the Clusters DRS Rules you will see the System created rules as shown below.
What I found interesting looking at the vCenter while the initial rules where create from the vCD UI was that a tiny drsShellVM (1 vCPU, 4MB RAM, No HDD, No Network) gets created during the process. At this stage I have not found out what this does or it’s purpose, but I was intrigued by it’s creation…if anyone can shed some light please comment below.
Overall this is an excellent feature and again…one that tenants will welcome.
vDC Permissions and Live VM Migrations:
I am not going to go dig deep into these features as Tom Fojta has already put through a couple of awesome posts around these and given some examples about how to make the API calls to configure them, but they are worth listing out and mentioning as they do extend the granularity of control in vDC permissions and allow for the importing of a running VM into vDC which had previously been an offline only thing.
The implication of the live running import is that together with xVC-vMotion you could think about doing cross VC imports either between IaaS providers or from a customers on-premises site…given the right networking is in place.