Building Private Cloud – Part 2

I have detailed on create a Hyper-V Cluster using SCVMM 2012 R2 in one of my previous posts (Part1 and Part2). However, Don’t configure anything related with Fabric based on those posts.

The critical part of the configuration is fabric – especially Network. Hence, I would like to detail about that on this part.

At this stage, I had my Hyper-V cluster built using SCVMM 2012 R2. I will be completing the fabric configuration specific to Private Cloud now. Based on the requirement we had on the Part-1, I am allocating one VLAN per S-IT.

S-IT GROUP VLAN
S1-IT 10.0.21.0/24
S2-IT 10.0.22.0/24
S3-IT 10.0.23.0/24

Individual VLAN will give us the flexibility to have strict network level restrictions based on the requirements. Each VLAN is configured with a DHCP scope of 10 IPs, so that the VMs deployed through a template will get an IP and be joined to the domain. Once deployed, The S-IT team should be able to change the IP to a static IP with in their assigned range.

The high level steps which will be preformed are

1) Creating Logical Network for S1-IT, S2-IT and S3-IT with site/VLAN information

2) Creating UpLink Port Profile which will be used for the Logical Switch

3) Creating Logical Switch and select the UpLink Port Profile

4) Creating VM Networks for S1-IT, S2-IT and S3-IT and link with the corresponding Logical Network

5) Assigning Logical Switch for the Phyical Hosts

6) Creating Virtual Network Adapters for S1-IT, S2-IT and S3-IT on top of the Logical Switch and link them to the corresponding VM Network

Here is a quick illustration for you to relate each different components involved.

 

Network Components for building private cloud

Network Components for building private cloud

 

So lets go in detail.

1) Creating Logical Network for S1-IT, S2-IT and S3-IT with site/VLAN information

As we planned, each S-IT will be defined as an independent Logical Network.

Navigate to Fabric -> Networking -> Logical Network

Create a new Logical Network for S1-IT and define the Site with the assigned subnet and VLAN.

SCVMM 2012 R2 Fabric Configuration

LOGICAL NETWORK for S1-IT

On the Network Site page, create a new site for S1-IT , Link with the correct host group which has the HyperV Physical hosts and then enter the Subnet /VLAN details.

LOGICAL NETWORK - DEFINE SITE - SITE-S1-IT

LOGICAL NETWORK – DEFINE SITE – SITE-S1-IT

 

Click on next and Confirm after verifying the summary.

Similarly, We need a Logical Network for S2-IT.

SCVMM 2012 R2 Fabric Configuration

LOGICAL NETWORK – S2-IT

On the Network Site page, create a new site for S2-IT , Link with the correct host group which has the HyperV Physical hosts and then enter the Subnet /VLAN details.

SCVMM 2012 R2 fabric configuration

LOGICAL NETWORK – DEFINE SITE – SITE-S2-IT

Click on next and Confirm after verifying the summary. Create a similar Logical Network for S3-IT and set the right subnet/VLAN details.

2) Creating UpLink Port Profile which will be used for the Logical Switch

As you know, Uplink Port Profile will be used along with the logical switch and define the teaming mode and algorithm used.

Navigate to SCVMM -> Fabric -> Networking -> Port Profiles

Create a new Port Profile. Configure the Port Profile as an Uplink Port profile. Set the teaming mode as Switch Independent and Algorithm as Dynamic.

PortProfile-Cloud-Uplink

PortProfile-Cloud-Uplink

In the network configuration page, Select the appropriate sites where this Port Profile will be used. We need to select the Sites which has been created for S1-IT, S2-IT and S3-IT.

PortProfile-Cloud-Uplink-NetworkSites

PortProfile-Cloud-Uplink-NetworkSites

Click on Next and proceed after verifying the summary.

3) Creating Logical Switch and select the UpLink Port Profile

Logical Switch is an equivalent to HyperV switch. While Logical Switch is configured on the host, The network interfaces allocated for the logical switch will be used to create a HyperV Switch. The teaming mode of interfaces is defined in the Port Profile which will be linked with the Logical Switch.

 

SCVMM 2012 R2 Priviate Cloud

Logical Switch Creation

On the next screen, We need to add the UpLink profile. Select the one which has been created for the Private Cloud. Verify the site names and host group again.

 

LOGICAL-SWITCH-PRIVIATECLOUD-UPLINK

Proceed with further steps.

4) Creating VM Networks for S1-IT, S2-IT and S3-IT and link with the corresponding Logical Network

VM Networks will be used for to create Virtual Networks on top of the Logical Switch. Each S-IT group will need a VM Network which will be linked with the Logical Network we defined in Step 1.

Navigate to SCVMM ->VMs and Services -> VM Networks

Create a New VM Network and assign the corresponding Logical Network.

Configuring SCVMM 2012 R2 Fabric

VM Network for S1-IT

Click on NEXT and then Finish after reviewing the Summary.

Similarly, Create VM Network for S2-IT and link with the respective logical network for S2-IT.

Virtual Netowrk SCVMM 2012 R2 Fabric

Virtual Network for S2-IT

Similarly, Create one for S3-IT and link with the logical network of S3-IT.

5) Assigning Logical Switch for the Physical Hosts

On each Hyper-V host in the cluster or each stand alone host, the Logical Switch needs to be configured. Logical Switch will create a HyperV Switch with the defined Network Interfaces and also take care of teaming based on the Uplink port profile, if multiple interfaces are present.

Navigate to SCVMM -> Fabric ->Servers -> HostGroup -> Cluster ->

Select a node and navigate to Properties -> Virtual Switches

Click on New Virtual Switch -> New Logical Switch

Select the correct logical switch from the drop down list.

Select the Network Adapters which will be used for HyperV data.

Select the appropriate UpLink Profile.

 

Adding Logical Switch to HyperV host

Adding Logical Switch

Once done, Click on OK.

Do this activity on all HyperV Hosts which will be part of this Cloud.

6) Creating Virtual Network Adapters for S1-IT, S2-IT and S3-IT on top of the Logical Switch and link them to the corresponding VM Network

Next step is to Link the VM Network created for each S-IT with the Logical Switch. This is done using the option of Virtual Network Adapter which will be created on top of the logical switch.

Navigate to SCVMM -> Fabric ->Servers -> HostGroup -> Cluster ->

Select a node and navigate to Properties -> Virtual Switches

Select the Virtual Switch  and Click on New Virtual Adapter.

Enter the appropriate name for the virtual adapter.

On Connectivity – Click on Browse and select the appropriate VM Network. VLAN details will be listed by default based on the information on VM Network.

SCVMM 2012 R2 Fabric Configuration

Virtual Network Adapter

Add Virtual Network Adapter for each S-IT.

Virtual Network Adapter

Virtual Network Adapter

Similarly, Create one Virtual Network Adapter for S-IT3 and link with the appropriate VM Network.

Thats the end of Part-2.

 

 

Comments

comments