# Create VDC with vcenter resource pool

**URL:** <https://forum.opennebula.io/t/create-vdc-with-vcenter-resource-pool/10246>\
**Category:** Installation & Configuration\
**Created:** [January 13, 2022, 2:39pm UTC](https://forum.opennebula.io/t/create-vdc-with-vcenter-resource-pool/10246 "2022-01-13T14:39:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hashimruar](https://avatars.discourse-cdn.com/v4/letter/h/dec6dc/32.png) [@Hashimruar](https://forum.opennebula.io/u/Hashimruar)\
**Post date:** [January 13, 2022, 2:39pm UTC](https://forum.opennebula.io/t/create-vdc-with-vcenter-resource-pool/10246/1 "2022-01-13T14:39:06Z")

</div>

I have a ESXI server running with vCenter.

I would like to have the VMs of VDC group 1 in resource pool 1 and the VMs of VDC group 2 in resource pool 2.

I can enter the resource pool only in the template or host not at the VDC, at the templates I could work with USER\_INPUTS, but the users should not get the possibility to set this themselves.

Every created VM from VDC 1 should come to resource pool 1, how can I realize this?

---

<div class="post-metadata">

**Author:** ![ahuertas](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/ahuertas/32/7487_2.png) [@ahuertas](https://forum.opennebula.io/u/ahuertas)\
**Post date:** [January 17, 2022, 9:00am UTC](https://forum.opennebula.io/t/create-vdc-with-vcenter-resource-pool/10246/2 "2022-01-17T09:00:16Z")

</div>

Hello @Hashimruar,

That is not possible. A VDC is just a way of grouping infrastructure resources (clusters, hosts, vnets and datastores) with groups to ensure the correct permissions on each resource.

As you said a great way of achieving it is using user inputs.

Best,  
Álex.

---

<div class="post-metadata">

**Author:** ![Hashimruar](https://avatars.discourse-cdn.com/v4/letter/h/dec6dc/32.png) [@Hashimruar](https://forum.opennebula.io/u/Hashimruar)\
**Post date:** [January 20, 2022, 3:28pm UTC](https://forum.opennebula.io/t/create-vdc-with-vcenter-resource-pool/10246/3 "2022-01-20T15:28:20Z")

</div>

Hello @ahuertas

What about host ?  
Can i set a resource pool as host ?

---

<div class="post-metadata">

**Author:** ![ahuertas](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/ahuertas/32/7487_2.png) [@ahuertas](https://forum.opennebula.io/u/ahuertas)\
**Post date:** [January 24, 2022, 7:56am UTC](https://forum.opennebula.io/t/create-vdc-with-vcenter-resource-pool/10246/4 "2022-01-24T07:56:47Z")

</div>

Hello @Hashimruar,

No, you can not.

Best,  
Álex.
