Building Private Cloud – Part 4

Now we have the basic setup ready. We have the HyperV cluster ready with fabric configured with VM Networks for each subsidiary group. In this part, We will cover on creating a VM teamplate, creating hardware profiles and finally the GUST OS Profile.


VM Template 

For each version of operating system, We need to create a template with a baseline configuration. The template can be created from a fresh VM or we can create from a existing defined template. The same template can be shared with multiple subsidiaries (S1, S2 and S3).

  1. Create a Gen 1 VM on any of  the Hyper-V Host which is added on SCVMM – I will name it as Golden Image
  2. Windows Patch Updates
  3. Install HyperV Integration Component
  4. Antivirus/Agents or any of the custom software required on all servers deployed using this image
  5. Enable RDP
  6. Set Administrator password blank
  7. Do any other customization if required
  8. Export the VM – This is required if we need to update template on a later stage
  9. SysPrep and Shutdown

Now from SCVMM -> VM And Services, Identify the VM which is created for the template.

Right Click on the VM -> Select “Create VM Template”

Create Template



Read the warning and Click “Yes” if you are OK to proceed. 😀

Create Template - Warning - Source VM Destroy



The next screen is to select a hardware profile.

We can goahead with the Default setting. No need to select anything here.. Just click on Next.

Creating template - Hardware profile

Creating template – Hardware profile


The next screen is for Gust OS Profile. You can choose an OS profile which matches the operating system of this VM.

Create Template - OS Profile

However, Please dont choose “No Customization Required” from the drop-down menu. This will disable the option to link Gust OS Profile on the template.

OS Customization - NONE



Select the Library Server and then select the PATH to be used inside the Library Share.

Review the Summary and proceed with the template creation.


Hardware Profile

Hardware Profiles will define the hardware configuration and will be attached while creating a VM from a template. The usual pattern is to create with a naming convention (Gold, Silver, Bronze) or something similar which is easy to relate.

In our specific scenario, We need to define Hardware Profiles for each group. Here is the naming standards and the details.

HW Profiles


Make a table as above. Then create the template for the first group (S1). For creating profiles from the other groups (S2 and S3), Right click on the one which is created for S1 and click “Copy”. This will create copy the existing template and create a new one. You just need to adjust the name and the VM Network.

So lets create the first template – S1-Gold.

Navigate to SCVMM -> Library -> Profiles -> Hardware Profiles

Right click on Hardware Profiles and select “Create Hardware Profile”

Create Hardware Profile - Define the name

Create Hardware Profile – Define the name

Click on Hardware Profile and configure each section accordingly.

On Cloud Capability, Select Hyper-V.

Creating Hardware profile - Cloud Compatibility

Creating Hardware profile – Cloud Compatibility

On the processor page, enter the number of processors allocated for this profile.


Creating Hardware Profile - Processor

Creating Hardware Profile – Processor

On the Memory, Enter the memory details. Static or Dynamic and the memory allocated.

Creating Hardware Profile - Memory

Creating Hardware Profile – Memory


On the Network, Select the Network connectivity details. In the previous parts, We have defined the VM Networks for each group. Select the appropriate VM Network defined for this group.


Creating Hardware Profile - Network

Creating Hardware Profile – Network

On Availability page, Make sure that “Make this VM highly available” is selected.

Creating Hardware Profile - HA

Creating Hardware Profile – HA

Once done, Click on OK to create the S1-Gold hardware profile.

Use this same profile to create S2-Gold and S3-Gold.

For that, Right click on the newly created S1-Gold hardware profile and click on Copy.

Copy Hardware Profile

Copy Hardware Profile


Look for Copy of S1-Gold. Right click and select “Properties”

On General, Change the Name to “S2-Gold”

Copy Hardware Profile - Rename

On the Hardware Profile page, Adjust the VM Network.

Copy Hardware Profile - Adjust VM Network

Copy Hardware Profile – Adjust VM Network

Click on OK to make the template for S2-Gold.

Similarly make one more copy of S1-Gold and adjust it from S3-Gold.

Now, Create other profiles (Silver and Bronze) using the same method.

Gust OS Profile

The next step is to create Gust OS Profile.

Before starting, Ensure we have run as account created for “Local Administrator” and “AD Join”. Its good to have these runas accounts created, but not mandatory.

Once ready, Create the GUST OS Profile.

On Gust OS Profile, we define the OS Details, Admin Password for the newly created VM, Product Key (If not using KMS), Time Zone, Role, Feature, Domain or Workgorup etc.

One important aspect for Gust OS Profile is to specify the Organizational Unit which will be used to create a VM. This will help us to have the VMs for S1-IT getting created into the OU designated for S1-IT and VMs for S2-IT getting created into the OU designated OU for S2-IT and so on.

Lets create a Gust OS Profile for S1-IT which will be used for Windows Server 2012 R2 Std edition of OS.

Gust OS Profile for S1-IT

Gust OS Profile for S1-IT

On the OS Details page, Select the appropriate OS.

Create Gust OS Profile - OS Details

Create Gust OS Profile – OS Details


On the Admin Password page, select the run as account for Local Administrator. If you dont have a RunAs account, you could even save the password on this profile itself.




Create Gust OS Profile - Local Admin


And next is the Domain/Workgroup page. Specify if the VM needs to be joined to a domain or can be in a workgroup. If needs to be domain joined, The domain name and the credentials to be used for adjoin. If you dont have a run as account, you could even save the user name and password in this profile which will be used for adjoin.


Create Gust OS Profile - Domain Information

Create Gust OS Profile – Domain Information


Once done, Click on OK to create an Gust OS Profile.

Now we need to configure the OU where the computer objects should be created on the adjoin process. This can be configured only through the VMM shell.


Create Gust OS Profile - Configuring OU Information

Create Gust OS Profile – Configuring OU Information

Similarly, Create Gust OS Profiles for each Gust Operating System used by each group and configure the DomainJoinOrganizationalUnit parameter according to each Group.

Here is an outline how different components – VM Template, Hardware Profile and OS Profile linked together on VM Creation.

VM Template - Hardware Profile - Gust OS Profile

VM Template – Hardware Profile – Gust OS Profile

In the next part, I will detail on Creation of Private Cloud for each group and setting up the access for the IT Admins of each group.