Cloud Lab-33: vCloud Director Foundation- ”Configure vSphere Networks baseline for vCloud Networks”

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.

LAB-33 TASKS

In this Lab we perform following tasks

  1. Configuration layout/logical design of RG Cluster Network baseline for vCloud External Networks.
  2. Configure RG Cluster Network baseline for vCloud Director External Networks.
  3. Configuration layout/logical design of RG Cluster Network baseline for vCloud Network Pools.
  4. 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
dvs-Production                                                                                            1
ProductionExt2 100 Ephemeral   vmnic1
ProductionEx3 300 Ephemeral   vmnic1

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

cloudlab32-vCloudFoundation-ExtNet-01

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.

cloudlab32-vCloudFoundation-ExtNet-02

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”

cloudlab32-vCloudFoundation-ExtNet-03

Enter the port group Name “ProductionExt2”-> Click “Next”

cloudlab32-vCloudFoundation-ExtNet-04

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”

cloudlab32-vCloudFoundation-ExtNet-05

Review the summary of port group configuration -> Click “Finish”

cloudlab32-vCloudFoundation-ExtNet-06

NOTE: Repeat the same steps to create the second port group “ProductionExt3”

Here is final configuration of “dvs-Production” distributed Switch looks like

cloudlab32-vCloudFoundation-ExtNet-07

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
dvs-VLAN-Pool N/A 1524 1   Vmnic3 Distributed
dvs-VCD-NI-Pool N/A 1524 1   Vmnic4 Distributed
Std-PortGroup-Pool N/A default   900 Vmnic5 Standard

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”

cloudlab32-vCloudFoundation-ExtNet-08

Enter the Switch Name “dvs-VLAN-Pool” -> Click “Next”

cloudlab32-vCloudFoundation-ExtNet-09

In my lab. I have all ESXi hosts with version 5.5 .so leave the switch version as default->Click “Next

cloudlab32-vCloudFoundation-ExtNet-10

Select the total number of “Uplinks” and uncheck “create a default port group” -> Click “Next”

cloudlab32-vCloudFoundation-ExtNet-11

Review the created switch summary -> Click “finish”

cloudlab32-vCloudFoundation-ExtNet-12

Now I have created the distributed switch. It’s time to change his MTU Size.

Select the DVS -> Manage-> Setting -> Click “Edit”.

cloudlab32-vCloudFoundation-ExtNet-13

Set the new MTU Size “1524”, default was 1500

cloudlab32-vCloudFoundation-ExtNet-14

Verify the distributed switch settings in switch properties.

cloudlab32-vCloudFoundation-ExtNet-15

Now add hosts to this “dvs-VLAN-Pool”

Right click on Distributed switch -> Add and Manage Hosts

cloudlab32-vCloudFoundation-ExtNet-16

Select Add Hosts -> Click “Next”

cloudlab32-vCloudFoundation-ExtNet-17

Click on “Green plus sign” to add hosts.

cloudlab32-vCloudFoundation-ExtNet-18

Select the hosts which you want to add in the switch -> Click “OK”

cloudlab32-vCloudFoundation-ExtNet-19

Verify the host status will be connected -> Click “Next”

cloudlab32-vCloudFoundation-ExtNet-20

Uncheck “Manage vmkernel adapters”. Leave checked “Manage Physical Adapters” -> Click “Next”

cloudlab32-vCloudFoundation-ExtNet-21

Select the “vmnic3” from esxi-rg.vmlab.com -> click “assign uplink”

cloudlab32-vCloudFoundation-ExtNet-22

If you remember we only had assign one uplink to this DVS. Select “uplink 1” -> Click “OK”

cloudlab32-vCloudFoundation-ExtNet-23

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”

cloudlab32-vCloudFoundation-ExtNet-24

Click “OK”

cloudlab32-vCloudFoundation-ExtNet-25

It will analyze the impact of virtual NIC on the added ESXI hosts. If it shows no impact- > Click “Next”

cloudlab32-vCloudFoundation-ExtNet-26

Review the summary page -> click “finish”

cloudlab32-vCloudFoundation-ExtNet-27

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

cloudlab32-vCloudFoundation-ExtNet-28

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

cloudlab32-vCloudFoundation-ExtNet-29

Select third option “VM Port Group on Standard Switch

cloudlab32-vCloudFoundation-ExtNet-30

Select “New standard switch”

cloudlab32-vCloudFoundation-ExtNet-31

Click on “Green plus” to add a physical adapter for this standard switch.

cloudlab32-vCloudFoundation-ExtNet-32

Select adapter -> Select “vmnic5”-> Click “OK”

cloudlab32-vCloudFoundation-ExtNet-33

Now your selected “vmnic5” has assigned -> Click “Next”

cloudlab32-vCloudFoundation-ExtNet-34

Enter the Port Group Label “Std-PortGroup-Pool” and “VLAN ID” -> Click “Next”

cloudlab32-vCloudFoundation-ExtNet-35

Review the settings summary -> Click “Finish”

cloudlab32-vCloudFoundation-ExtNet-36

Verify the newly added switch.

cloudlab32-vCloudFoundation-ExtNet-37

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.

cloudlab32-vCloudFoundation-ExtNet-38

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.

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

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