Building a Private Cloud with vCloud Director-Part 10: Creating and Configuring Org vDC


In our last post Creating and configuring Organizations we have created a new organization and went through the configuration settings. In this post we will see how to allocate resources to an organization.

Basically allocating resources means configuring org vDC’s and org vDC will be deriving their resources from Provider vDC (PvDC).

Lets begin with configuring the org vDC in this post.

Login to vCloud Director web interface and navigate to Home Tab and select item no 6 “Allocate resources to an organization

vcdcon-27

A new wizard named “New Organization vDC” will be launched and the very first option that you will be presented is selecting the organization to which you want to allocate resources.

Select the organization from the list (I have only one in my home lab) and hit Next.

vcdcon-28

The next screen present you with option to select the Provider vDC. As the name suggests Provider vDC is the candidate which provides the resources to any org vDC. All the resources (Network/Compute/Storage) is pooled at the PvDC and a subset of the pooled resources is presented to the Org vDC’s.

I have already created a PvDC by name “Prod-vDC” in my home lab. selecting the PvDC will highlight the available External Networks that are present in this PvDC.

Hit Next to continue.

vcdcon-29

The next page offers you to select the allocation model for the resources. There are 3 allocation model available:

a: Allocation Pool: Only a percentage of the resources you allocate are committed to the organization vDC. You can specify the percentage, which allows you to overcommit resources.

b: Pay-As-You-Go: Allocated resources are only committed when users create vApps in the organization vDC. You can specify the maximum amount of CPU and memory resources to commit to the organization vDC.

c: Reservation Pool: All of the resources you allocate are committed to the organization vDC.

If you want to go in much depth about understanding the allocation model then I would recommend reading articles VCD Allocation Models by Duncan Epping and Understanding Allocation Models by Magnus Anderson.

The easiest method is to use “Reservation Pool” allocation model and since I am very new to vCloud Director I am going ahead with same in my home lab.

vcdcon-30

The next page allows you to do the real configuration. You will be asked to configure 3 settings here:

CPU allocation: Amount of CPU in GHz that will be reserved for this Org vDC. I have selected 2 and selecting this is telling me I am using 24% of total available cpu from my Provider vDC as my PvDC has total 8.45 GHz cpu power.

Memory allocation: Amount of RAM in GB ythat will be reserved for this Org vDC. I have selected 6 GB and it says it will reserve 65% of total available RAM from PvDC.

Max Number of VM’s: This setting dictates what will be the max number of running VM that can be created using the resources which we just reserved. Unlimited here means you can create “n” number of machines till you exhaust all the CPU/RAM resources reserved for your Org VDC.

There is a table below which shows the calculation of % of resources that have been reserved for this Org vDC and what is available at the PvDC.

Hit Next to continue.

vcdcon-31

The next setting in this wizard is to “Allocate Storage”. You should have created storage profiles in advance before creating Org vDC then only you will be able to select the storage tier for your Org vDC. I don’t have any storage profile created in my lab so I went ahead with what is available default.

Once you select your storage tier hit the Add button to add that tier for use by your Org vDC

If you are planning to use “Thin Provisioning” select the check box and it will allow you to over commit the storage while creating vApp/VM’s

If you are looking for faster deployment of VM’s from vApp Templates then you should select “Enable fast provisioning“. It will let you create linked clone VM’s within matter of seconds.

vcdcon-33

Once you are done with settings hit next to continue. Next page in this wizard allows you to select the Network Pool to be used by your Org vDC.

I am not going to use any Network pool in my environment so I went ahead with Next available setting by hitting Next.

vcdcon-34

Next is to configure the Edge gateways. I am not using any edge network as of now so I left it blank and moved forward.

vcdcon-35

Next option is to name your Org vDC.

For my lab I am using the name Dev_VDC. Hit Next to go to ready to complete page.

vcdcon-36

Review your settings on “Ready to Complete” page and hit finish.

vcdcon-37

After hitting finish I can see the status of the newly created Org vDC in “Manage and Monitor” tab under “Organization vDC” and as visible in below screenshot it is showing as creating.

vcdcon-38

In recent tasks pane on my vCenter Server I can see some tasks have been triggered while Org vDC is in process of creation.

vcdcon-39

Also under VM and template view I can see some new folders added by the name “Developers (my organization name)” and “Dev_VDC (my org vDC name)”

vcdcon-40

Also now in vCloud Director console it is showing that my Org vDC have been created now.

vcdcon-41

The Next task is to attach a network to this Org vDC so that when a vApp/VM is deployed they can communicate with each other.

In my lab I am directly connecting my Org vDC to the External Network which is on the IP Subnet: 10.0.0.x

From Manage and Monitor tab click on the Organization vDC and select your org vDC which you created.

A new tab will be open. Navigate to 2nd last tab which says “Org vDC Networks” and click on the + button to attach a network

orgvdc-nw-1

From “Select Network Type” select the option Connect directly to external network and hit next.

orgvdc-nw-2

Give a name and description for this external network.

orgvdc-nw-3

On Ready To Complete page review your settings and hit finish.

org-vdc-nw-4

Now you can see an external network attached to your vDC

org-vdc-nw-5

In next post of this series we will learn to create and publish catalogs.

About Alex Hunt

Hi All I am Manish Kumar Jha aka Alex Hunt. I am currently working in VMware Software India Pvt Ltd as Operations System Engineer (vCloud Air Operations). I have around 5 Years of IT experience and have exposure on VMware vSphere, vCloud Director, RHEL and modern data center technologies like Cisco UCS and Cisco Nexus 1000v and NSX. If you find any post informational to you please press like and share it across social media and leave your comments if you want to discuss further on any post. Disclaimer: All the information on this website is published in good faith and for general information purpose only. I don’t make any warranties about the completeness, reliability and accuracy of this information. Any action you take upon the information you find on this blog is strictly at your own risk. The Views and opinions published on this blog are my own and not the opinions of my employer or any of the vendors of the product discussed.
This entry was posted in vCloud Director, Vmware and tagged . Bookmark the permalink.

One Response to Building a Private Cloud with vCloud Director-Part 10: Creating and Configuring Org vDC

  1. Pingback: Building a Private Cloud with vCloud Director-Part 11-Creating and Publishing Catalogs | Go Virtual.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s