Welcome back to the series, How to setup VMware vSphere Lab in VMware Workstation.
This is the fourth part of the guide, where we will be installing the Domain Controller using the template that we created in the previous post. As a recap, in the first part we dealt with the prerequisites and in the second, we designed the network using Virtual Network Editor.
Moving on, let us create the clone from the TemplateServer2012R2 template by following the path Right click > Manage > Clone.
Next you will be presented with the Clone Virtual Machine Wizard, click on Next.
Select clone from an Existing snapshot, which we had taken in our previous post.
Select create linked clone as we want to save as much space as possible.
Next you will need to provide the Name for the virtual machine. Click on Finish.
Once the cloning is complete, click on close.
Next you will need to power up the Virtual Machine and provide Administrator password for the newly built VM.
Once done, we will go ahead and change the name of the computer to DC. You can do so from Computer properties > Advanced Settings
This will require a reboot. After the reboot, we give this VM an IP address of 10.10.2.4 and the subnet mask of 255.255.255.0.
Next using Server Manager, we will install the ADDS and DHCP role on this server.
I am not showing any screenshots as this is a fairly simple task of going through the wizard.
You will next need to promote the VM to a Domain Controller which is again an easy task of going through the configuration settings from Server Manager.
Next up we will create and activate a DHCP scope so our VMs can get an IP address on the internally isolated network. The DHCP will stay active only on the VMNET5 network.
You will also need to authorize the DHCP server to start releasing the IP addresses. Below you can see how to authorize and also the scope that we need to create.
That’s it. Look at the size of the size of the linked clone VM, 1.58GB only -- that’s the power of linked clones. It uses the base image and creates only the deltas which are different.
The deltas represent all the configuration changes and AD, DNS, DHCP roles that we added.
This is the fourth part of the VMWare vSphere Lab using VMWare Workstation. Links to the rest of the articles can be found below.
- What do you need to build VMWare vSphere Lab?
- The network design of VMWare vSphere lab in VMware Workstation.
- Preparing Windows Templates for VMWare vSphere Lab
- How to create the Domain Controller Virtual Machine
- Installing of Nested ESXi hosts in our VMware vSphere Lab
- Installing the vCenter Virtual Machine for VMWare vSphere Lab
- Designing the Shared Storage for VMWare vSphere Lab