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.
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).
- Create a Gen 1 VM on any of the Hyper-V Host which is added on SCVMM – I will name it as Golden Image
- Windows Patch Updates
- Install HyperV Integration Component
- Antivirus/Agents or any of the custom software required on all servers deployed using this image
- Enable RDP
- Set Administrator password blank
- Do any other customization if required
- Export the VM – This is required if we need to update template on a later stage
- 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”
Read the warning and Click “Yes” if you are OK to proceed. 😀
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.
The next screen is for Gust OS Profile. You can choose an OS profile which matches the operating system of this VM.
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.
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 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.
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”
Click on Hardware Profile and configure each section accordingly.
On Cloud Capability, Select Hyper-V.
On the processor page, enter the number of processors allocated for this profile.
On the Memory, Enter the memory details. Static or Dynamic and the memory allocated.
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.
On Availability page, Make sure that “Make this VM highly available” is selected.
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.
Look for Copy of S1-Gold. Right click and select “Properties”
On General, Change the Name to “S2-Gold”
On the Hardware Profile page, Adjust the 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.
On the OS Details page, Select the appropriate OS.
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.
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.
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.
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.
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.