Before moving forward with vCloud Director Cell foundation to create “external network and network pools”. lets create the vSphere (Resource group (RG) Cluster) network environment as a baseline for vCloud Director Cell external network and network pool configuration.
In this Lab we perform following tasks
- Configuration layout/logical design of RG Cluster Network baseline for vCloud External Networks.
- Configure RG Cluster Network baseline for vCloud Director External Networks.
- Configuration layout/logical design of RG Cluster Network baseline for vCloud Network Pools.
- Configure RG Cluster Network baseline for vCloud Director Network Pools.
1-Configuration layout/logical design of RG Cluster Network baseline for vCloud External Networks.
The External Network is the network created by the Service Provider to allow virtual machines in organizations in the Cloud to access the outside world
Lets define the External networks for vCloud director with following logical design as define in below table.
|Switch Name||Port Group Name||VLAN||Port Binding||Uplink||Virtual NiC|
2-Configure RG Cluster Network baseline for vCloud Director External Networks
To start creating our first External network baseline as per our above logical design.Navigate to vCenter “web client home” screen-> inventories->Networking
I already created the “DVS-Production” Distributed switch. If you don’t know how to create new distributed switch. Don’t worry in next section I will show you how to create a new DVS.
Let’s create some port group which will be used in cloud for “external network”.
Right click on distributed switch -> Click “New Distributed Port Group”
Enter the port group Name “ProductionExt2”-> Click “Next”
Select the port binding type “Ephemera-no binding”, select VLAN Type from dropdown “VLAN” and enter VLAN Number which I entered in the table at start- > Click “Next”
Review the summary of port group configuration -> Click “Finish”
NOTE: Repeat the same steps to create the second port group “ProductionExt3”
Here is final configuration of “dvs-Production” distributed Switch looks like
3-Configuration layout/logical design of RG Cluster Network baseline for vCloud Director Network Pools
There are three types of Network pool exist in vCloud environment.
- VLAN Backed
- vCloud Network Isolation Backed (VCNI)
- Portgroup Backed
Lets create three switches in RG Cluster, which will be used for above network pools configuration.use the below table logical design guidelines for configuration.
|Switch Name||PG Name||MTU Size||Uplink||VLAN||Virtual NIC’s for Each ESXi||Switch Type|
4-Configuring RG Cluster Network baseline for vCloud Director Network Pools
Let start to create the first vSwitch in vSphere for vCloud Director network pools according to our above logical design.
In vCenter web Client networking Section->Right click on datacenter -> “New Distributed Switch”
Enter the Switch Name “dvs-VLAN-Pool” -> Click “Next”
In my lab. I have all ESXi hosts with version 5.5 .so leave the switch version as default->Click “Next”
Select the total number of “Uplinks” and uncheck “create a default port group” -> Click “Next”
Review the created switch summary -> Click “finish”
Now I have created the distributed switch. It’s time to change his MTU Size.
Select the DVS -> Manage-> Setting -> Click “Edit”.
Set the new MTU Size “1524”, default was 1500
Verify the distributed switch settings in switch properties.
Now add hosts to this “dvs-VLAN-Pool”
Right click on Distributed switch -> Add and Manage Hosts
Select Add Hosts -> Click “Next”
Click on “Green plus sign” to add hosts.
Select the hosts which you want to add in the switch -> Click “OK”
Verify the host status will be connected -> Click “Next”
Uncheck “Manage vmkernel adapters”. Leave checked “Manage Physical Adapters” -> Click “Next”
Select the “vmnic3” from esxi-rg.vmlab.com -> click “assign uplink”
If you remember we only had assign one uplink to this DVS. Select “uplink 1” -> Click “OK”
Verify esxi-1-rg.vmlab.com vmnic3 assigned to dvs-VLAN-Pool Uplink1
Now repeat the same steps for reset of the ESXi hosts. In every one select “vmnic3” and assign the uplink of DVS After completion select “Next”
It will analyze the impact of virtual NIC on the added ESXI hosts. If it shows no impact- > Click “Next”
Review the summary page -> click “finish”
Repeat the same steps to create another distributed switch with name “dvs-VCD-NI-Pool”. Map the settings as defined in the table at start.
Here is the final look of both DVS’s
Now out both distributed switch is created. Let’s create the third and last standard switch with name “Std-PortGroup-Pool”
From home go to -> host and cluster -> select an esxi host -> manage -> Networking -> Virtual Switched -> Click on Global sign with plus mark
Select third option “VM Port Group on Standard Switch”
Select “New standard switch”
Click on “Green plus” to add a physical adapter for this standard switch.
Select adapter -> Select “vmnic5”-> Click “OK”
Now your selected “vmnic5” has assigned -> Click “Next”
Enter the Port Group Label “Std-PortGroup-Pool” and “VLAN ID” -> Click “Next”
Review the settings summary -> Click “Finish”
Verify the newly added switch.
Now use host profile or manually go to reset of the host to add new standard switch against “vmnic5”.
Here is look of networking section of vCenter web client.
Thats it for the vSphere baseline Network Configuration for vCloud Director. Next we will use this to configure our vCloud Director network Resources such as External network and Network Pools.