• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

UnixArena

  • Home
  • kubernetes
  • DevOps
    • Terraform
    • Jenkins
    • Docker
    • Openshift
      • OKD
    • Ansible engine
    • Ansible Tower
      • AWX
    • Puppet
  • Cloud
    • Azure
    • AWS
    • Openstack
    • Docker
  • VMware
    • vCloud Director
    • VMware-Guests
    • Vcenter Appliance 5.5
    • vC OPS
    • VMware SDDC
    • VMware vSphere 5.x
      • vSphere Network
      • vSphere DS
      • vShield Suite
    • VMware vSphere 6.0
    • VSAN
    • VMware Free Tools
  • Backup
    • Vembu BDR
    • Veeam
    • Nakivo
    • Azure Backup
    • Altaro VMBackup
    • Spinbackup
  • Tutorials
    • Openstack Tutorial
    • Openstack Beginner’s Guide
    • VXVM-Training
    • ZFS-Tutorials
    • NetApp cDot
    • LVM
    • Cisco UCS
    • LDOM
    • Oracle VM for x86
  • Linux
    • How to Articles
    • Q&A
    • Networking
    • RHEL7
  • DevOps Instructor-led Training
  • Contact

VMware vCloud Director Build From Scratch – 1

September 29, 2014 By Cloud_Devops 2 Comments

In this VMware vCloud Director article series, this article is going to demonstrate that how to attach the vCloud director to VMware vCenter Server and how to create a provider virtual Data-center. vCloud director can’t manage the system resources or virtual resources directly.It requires VMware vCenter server in the back-end to get the required  resources using vCloud API. Once you have setup the below prerequisite, you can attach the VMware vCenter server to vCloud director.

Prerequisite:

  • Understanding the VMware vCloud Architecture 
  • Setup the VMware vSphere Environment (In VMware Workstation or in Physical servers)
  • Deploy and configure VMware vCloud Director as virtual machine 
  • Deploy and configure VMware vShield Manager as virtual machine

[box type=”info” align=”alignleft” ]For learning purpose , i had setup the vCloud Director and VMware vSphere on VMware workstation. Physical serves will be used for production VMware vSphere environment .[/box]

Here is my LAB setup model – VMware vCloud Director .

Unixarena vCloud LAB
Unixarena vCloud LAB

vCloud Director logical terms:

vCloud Director Construct

Description

Provider Virtual Datacenter Logical grouping of vSphere compute resources (attached vSphere cluster and one or more datastores) for the purposes of providing cloud resources to consumers
External Network A network that connects to the outside using an existing vSphere network port group.
Network Pool A set of pre-allocated networks that vCloud Director can draw upon as needed to create private networks  and NAT-routed networks.
Organization A unit of administration that represents a logical collection of users, groups, and computing resources, and also serves as a security boundary from which only users of a particular organization can deploy workloads and have visibility into such workloads in the cloud.In the simplest term, an organization = an association of related end consumers.
Organization Virtual Datacenter Subset allocation of a provider virtual datacenter’s  resources assigned to an organization, backed by a vCenter resource pool automatically created by vCloud Director. An organization virtual datacenter allocates resources using one of three models:
•Pay as you go
•Reservation
•Allocation
Organization Network A network visible within an organization. It can be an external organization network with connectivity to an external network, and use a direct or routed connection, or it can be an internal network visible only to vApps within the organization.

Attach a vCenter Server to vCloud Director:

1. Access the vCloud director portal  and click on home.Here we are just going to follow the “Quick Setup” to provide private cloud to the customers. Click on “Attach a vCenter ”

Attach vcloud director to vCenter server
Attach vCloud director to vCenter server

2.Enter the vCenter Server IP address/Hostname and super user credentials .Click on next to continue.

Enter the vCenter Server details
Enter the vCenter Server details

3.Enter the VMware vShield Manager IP/hostname and admin credentials.

Enter the vShield Manager IP/Credntials
Enter the vShield Manager IP/Credntials

4. Click Finish to complete the wizard.

Complete the wizard
Complete the wizard

5.Once the vCenter server is attached , you will be getting “green ticket mark”  in quick setup like below .You can see the attached vCenter server resources in Manager & monitor tab .

vCloud director is attached to vCenter Server
vCloud director is attached to vCenter Server

Quick setup just guides that what needs to be done next.  Now we need to create a provider VDC.

Create a Provider vDC:

We need to create a “provider virtual data center” based on the service level. (Ex: Gold vDC , Silver vDC ). Cloud service provider will be managing the “Provider vDC” and cloud end users won’t get access to this virtual datacenter. Let’s see how we can create the Provider vDC.

1. Click on the “Create a Provider vDC”  to create new virtual datacenter.

2.Name this provider vDC . (Ex: GOLD vDC)

Creating new Provider vDC
Creating new Provider vDC

3.Select the vCenter’s datacenter and resource pools.

Select the vCenter DC & RP
Select the vCenter DC & RP

4.Select the storage polices for this virtual datacenter.

Select the storage policy
Select the storage policy

5.Prepare the ESXi hosts for vCloud Director. If the root user password is same for both the nodes, you can select like below .Otherwise , you need to enter for each host.

Prepare the host for vcloud
Prepare the host for vcloud

[box type=”note” align=”alignleft” ]During the ESXi host preparation , vCloud agent will be installed on both the ESXi servers. To install those agents , system needs to go in to Maintenance mode and running VM will be migrated to available ESXi if the clustering is enabled. If you have any issue to prepare the host, refer the below article . https://www.unixarena.com/2014/07/host-prepare-vcloud-director-agent-installation.html[/box]

6.Click Finish the complete the wizard.

Click finish to create provider vDC
Click finish to create provider vDC

7.Once the Provider vDC is created, you can see the indication in Quick Setup .

Successfully created the Provides vDC
Successfully created the Provides vDC
  1. Attach a vCenter  – Completed 
  2. Create a Provider vDC – Completed 
  3. Create an external network
  4. Create a network pool
  5. Create a new organization
  6. Allocate the resources to an organization
  7. Add a Catalog to an organization

We will see the rest of quick setup in the next article . Thank you for visiting UnixArena.

Filed Under: vCloud Director Tagged With: vcloud, vCloud Director Build

Reader Interactions

Comments

  1. aminefennane says

    December 13, 2021 at 3:21 am

    its very helpful for me, thanks a lot for this amazing article and thank you for your incredible efforts

    Reply
  2. Aaditya Bhaiji says

    December 13, 2015 at 10:18 pm

    Its quite descriptive. Very helpful for beginners. Thank U. request u to develop series similar to this on vCloud Air and Vmware VDI.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Follow UnixArena

  • Facebook
  • LinkedIn
  • Twitter

Copyright © 2025 · UnixArena ·

Go to mobile version