VMware Cloud Community
ManivelR
Hot Shot
Hot Shot
Jump to solution

VCloud director query along with PVDC/OVDC

Hi Guys

I have a cluster with 6 ESXi hosts along with VSAN data store.

My question:-

Can i provide 2 ESXi hosts dedicatedly to one customer(i.e  one organization VDC) from the same 6 node cluster.

When i try to integrate the cluster in to PVDC,i dont see any option there to isolate the ESXi hosts.

Is this option possible ?

Thank you,

Manivel R

0 Kudos
1 Solution

Accepted Solutions
sk84
Expert
Expert
Jump to solution

Can we create a host group in cluster DRS for these resource pools(in Vcenter server) and then can be implemented in vcloud director ?

You can create 2 different resource pools and PVDCs and you can create DRS groups and rules. But you cannot bring these things together. A resource pool works clusterwide on all ESXi hosts. And that's not getting you anywhere.

And for DRS you can only create VM groups and host groups. You cannot select resource pools. So you would need an affinity rule for all VMs which should/must run on these hosts and, in addition, you need an anti-affinity rule for all VMs which should/must not run on these two hosts.

In the end, you would have 1 host group with these 2 ESXi hosts, 2 vm groups (one with the customer's VMs and one with all other VMs) and 2 DRS rules. And this must be statically configured or managed through a (PowerCLI) script outside of vCD. Because vCD cannot select a DRS vm group during VM deployment. That's why I said it's hard to manage.

--- Regards, Sebastian VCP6.5-DCV // VCP7-CMA // vSAN 2017 Specialist Please mark this answer as 'helpful' or 'correct' if you think your question has been answered correctly.

View solution in original post

0 Kudos
4 Replies
sk84
Expert
Expert
Jump to solution

I can't think of a way to make this work. When you create a PVDC you choose a resource pool and according to the vSphere design this resource pool is cluster-wide. That's by design. You could theoretically control the VM placement with affinity and anti-affinity rules, but in my opinion this is not manageable with a self-provisioning tool like vCD.

--- Regards, Sebastian VCP6.5-DCV // VCP7-CMA // vSAN 2017 Specialist Please mark this answer as 'helpful' or 'correct' if you think your question has been answered correctly.
0 Kudos
ManivelR
Hot Shot
Hot Shot
Jump to solution

Hi Sebastian,

Thanks for your reply.

For example:-

I create 2 resource pool in the same  6 node cluster.

4 ESXi host---> 1 resource pool---->PVDC1---->Org.VDC(customer name US1)

2 ESXi host---> 2 resource pool---->PVDC2---->Org.VDC(customer name US2)

Can we create a host group in cluster DRS for these resource pools(in Vcenter server) and then can be implemented in vcloud director ? I mean when i integrate the resource pool in PVDC,it will show 2 resource pool.Once PVDC created with 2 different resource pools,then whenever i create any VMs in their respective respective organization(example US2),all the VMs will be created on those particular 2 ESXi hosts only.

Is this possible?

Thanks,

Manivel R

0 Kudos
sk84
Expert
Expert
Jump to solution

Can we create a host group in cluster DRS for these resource pools(in Vcenter server) and then can be implemented in vcloud director ?

You can create 2 different resource pools and PVDCs and you can create DRS groups and rules. But you cannot bring these things together. A resource pool works clusterwide on all ESXi hosts. And that's not getting you anywhere.

And for DRS you can only create VM groups and host groups. You cannot select resource pools. So you would need an affinity rule for all VMs which should/must run on these hosts and, in addition, you need an anti-affinity rule for all VMs which should/must not run on these two hosts.

In the end, you would have 1 host group with these 2 ESXi hosts, 2 vm groups (one with the customer's VMs and one with all other VMs) and 2 DRS rules. And this must be statically configured or managed through a (PowerCLI) script outside of vCD. Because vCD cannot select a DRS vm group during VM deployment. That's why I said it's hard to manage.

--- Regards, Sebastian VCP6.5-DCV // VCP7-CMA // vSAN 2017 Specialist Please mark this answer as 'helpful' or 'correct' if you think your question has been answered correctly.
0 Kudos
ManivelR
Hot Shot
Hot Shot
Jump to solution

Thanks so much Sebastian.

0 Kudos