In this exercise you will use Prism to deploy a Windows 2012 template image and install Active Directory Domain Services. Following the Active Directory setup, the virtual network from the previous exercise will be updated to use the Domain Controller as the primary DNS server. The DC VM will be used throughout the workshop to provide Active Directory and DNS services.
In Prism > VM, click + Create VM and fill out the following fields:
Click + Add New Disk and fill out the following fields:
Click Add. Click Add New NIC.
Select VM VLAN from the VLAN Name drop down menu and click Add. Click Save.
In Prism > VM > Table, select the DC VM and click Power on.
Once the VM has started, click Launch Console.
Note
You may need to allow pop-ups in your browser for the VM console to appear.
Complete the Microsoft Out of Box Experience (OOBE) wizard:
Log in to the DC VM as Administrator.
Nutanix Guest Tools provide the following capabilities:
In Prism > VM > Table, select the DC VM and click Manage Guest Tools.
Select Enable Nutanix Guest Tools and Mount Nutanix Guest Tools, click Submit.
Note
If the Nutanix Guest Tools have already been installed into the base image, the CD-ROM image will be automatically unmounted once the Nutanix Guest Agent service is able to communicate with the Nutanix CVM. A reboot of the VM or restart of the Nutanix Guest Tools Agent may be required. If the Nutanix Guest Tools have not yet been installed into the base image, see Installing Nutanix Guest Tools for complete instructions.
In the DC VM console, open Control Panel > Network & Internet > Network & Sharing Center > Change adapter settings.
Right-click Ethernet > Properties.
Select Internet Protocol Version 4 (TCP/IPv4) > Properties.
Select Use the following IP Address and fill out the following fields:
Click OK.
Open PowerShell and execute the following commands to change the hostname and restart the VM:
PS > Rename-Computer -NewName DC -ComputerName .
PS > shutdown /r /t 0
In the DC VM console, open Server Manager > Add roles and features > Next.
Select Role-based or feature-based installation > Next.
Select Select a server from the server pool > DC > Next.
From the Roles list, select Active Directory Domain Services > Add Features.
From the Roles list, select DNS Server > Add Features > Next > Next > Next > Install.
Following a successful installation, click Promote this server to a domain controller.
In the Active Directory Domain Services Configuration Wizard, select Add a new forest and specify NTNX.local as the Root domain name. Click Next.
Specify a Directory Services Restore Mode password (e.g. nutanix/4u) and click Next.
Ignore the DNS delegation warning, as we’re using AD integrated DNS, and click Next.
Accept default NetBIOS domain name (NTNX) and click Next.
Accept default AD database, log files, and SYSVOL folders and click Next.
Review your configuration and click Next > Install.
After the DC VM restarts, log in as NTNX\Administrator.
In the DC VM console, open Control Panel > Administrative Tools > Active Directory Users & Computers.
Right-click Users > New > User.
Fill out the following fields and click Next.
Specify a user password, de-select User must change password at next logon, and click Next.
Repeat these steps to create accounts for USER2 and USER3.
Right-click Domain Name > New > Organizational Unit.
Specify Persistent Desktops as the OU Name and click OK.
Repeat these steps to create an OU for Non-Persistent Desktops and XenAppServers.
Right-click Users > New > Group.
Specify PersistentUsers as the Group name and click OK.
Right-click PersistentUsers > Properties
Select the Members tab and click Add. Specify USER1;USER2; in the Object names field and click OK.
Repeat these steps to create a NonPersistentUsers group containing USER2 and USER3
Repeat these steps to create a XenAppUsers group containing USER1, USER2, and USER3
In Prism > VM > Network Config > User VM Interfaces, click the Pencil icon for VM VLAN.
Update Domain Name Servers to reflect the IP address of the DC VM.
Update Domain Search with your fully qualified root domain, NTNX.local.
Click Save.
Nutanix Prism consolidates infrastructure and VM management in a single HTML5 console. Prism provides a consistent user experience, regardless of underlying hypervisor, with broad browser support.
AHV can rapidly deploy clones from existing disk images. Leveraging redirect on write snapshots for cloning allows Nutanix to create instant clones of vDisks without additional I/O overhead. Nutanix supports fast and intelligent cloning on vSphere via VAAI and on Hyper-V via ODX.
Note
To learn more about how Nutanix implements snapshots and clones, see the Snapshots and Clones section of the Nutanix Bible.