How to Configure WNVHOST1

Use the following procedures configure WNVHOST1

To install the operating system on WNVHOST1

1.   Start the installation of Windows Server 2012 R2 Datacenter (Server with a GUI).

2.   Follow the instructions to complete the installation, specifying a strong password for the local Administrator account. Log on using the local Administrator account.

3.   Connect WNVHOST1 to a network that has Internet access and run Windows Update to install the latest updates for Windows Server 2012 R2.

4.   Connect WNVHOST1 to a shared physical switch to which WNVHOST2 is also connected. This connection will be used to simulate the Hosternet subnet.

To configure TCP/IP properties on WNVHOST1

1.   In Server Manager, click Local Server in the console tree. Click the link next to Ethernet in the Properties tile.

2.   Rename the Ethernet connection connected to the shared physical switch to Hosternet.

3.   In the Network Connections window, right-click Hosternet, and then click Properties.

4.   Click Internet Protocol Version 4 (TCP/IPv4), and then click Properties.

5.   Select Use the following IP address. In IP address, type 192.168.0.1. In Subnet mask, type 255.255.255.0. In Preferred DNS server, type 127.0.0.1.

6.   Click Advanced, and then click the DNS tab.

7.   In DNS suffix for this connection, type corp.adatum.com, and then click OK.

8.   Click OK twice to close the Hosternet Properties dialog box.

9.   Close the Network Connections window.

10.  From the Tools menu in Server Manager, click Windows PowerShell.

11.  To disable the Windows Firewall on WNVHOST2, type the following command and press ENTER.

Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled False

To rename the computer to WNVHOST1

1.   In Server Manager, click Local Server in the console tree. Click the link next to Computer name in the Properties tile.

2.   In the System Properties dialog box, click the Computer Name tab. On the Computer Name tab, click Change.

3.   In Computer Name, type WNVHOST1. Click OK.

4.   When you are prompted that you must restart the computer, click OK.

5.   On the System Properties dialog box, click Close.

6.   When you are prompted to restart the computer, click Restart Now.

7.   After the computer restarts, log on with the local administrator account.

To configure WNVHOST1 as a domain controller and DNS server

1.   Launch Server Manager.

2.   On the Dashboard screen, under Configure this local server, click Add roles and features.

3.   Click Next three times to get to the server role selection screen.

4.   In the Select Server Roles dialog, select Active Directory Domain Services. Click Add Features when prompted, and then click Next.

5.   In the Select features dialog, click Next.

6.   In the Active Directory Domain Services dialog, click Next.

7.   In the Confirm installation selections dialog, click Install. Wait for the installation to complete.

8.   In the Installation Progress dialog, click the Promote this server to a domain controller link.

Note

If you close the "Installation Progress" dialog before it presents the promotion link, click the gray Tasks flag in the upper right section of Server Manager. When the installation is complete you will see the Promote this server to a Domain Controller link.

9.   In the Deployment Configuration dialog, select Add a new forest. In the Root domain name field, type corp.adatum.com. Click Next.

10.  In the Domain Controller Options dialog, leave the default values, specify a strong DSRM password twice, and then click Next four times to accept default settings for DNS, NetBIOS, and directory paths.

11.  In the Review Options dialog, review your selections and then click Next.

12.  In the Prerequisites Check dialog, allow the validation to complete and verify that no errors are reported.  Since this is the first DNS server deployment in the forest, you can safely ignore all warnings regarding DNS delegation. Click Install to start the domain controller promotion. Allow the installation to complete.

13.  Allow the domain controller to restart. After the server restarts, logon using the CORP\Administrator credentials.

 

Create a user account in Active Directory on WNVHOST1

Next, create a user account in Active Directory that will be used when logging in to CORP domain member computers.

To create a user account in Active Directory

1.     From Server Manager, click the Tools menu item, and then click Active Directory Administrative Center.

2.     In the console tree, click the arrow to expand corp (local), and then double-click Users. This adds Users as a recent navigation link in the console tree.

3.     In the Tasks pane, click New, and then click User.

4.     In the Create User dialog, type User1 next to Full name and type User1 next to User SamAccountName logon: corp\.

5.     In Password, type the password that you want to use for this account, and in Confirm password, type the password again.

6.     Under Password options, select Other password options, and select Password never expires.

7.     Scroll down to access the Member of section of the Create User dialog, and click Add. Type Domain Admins; Enterprise Admins, and then click OK.

8.     Click OK to close the Create User dialog.

9.     Exit the Active Directory Administrative Center.

 

Install the Hyper-V server role on WNVHOST1

Next, install the Hyper-V role on WNVHOST1, which will act as a host for virtual machines that are connected to the virtualized Contoso and Fabrikam tenant networks.

To install the Hyper-V server role

1.     On the Server Manager Dashboard screen, under Configure this local server, click Add roles and features.

2.     Click Next three times to get to the server role selection screen.

3.     On the Select Server Roles page, select Hyper-V and click Add Features when prompted.

4.     Click Next six times to accept the default settings for features and Hyper-V, and then click Install.

5.     Verify that the installation was successful, and then click Close.

6.     Restart the WNVHOST1 server after Hyper-V installation completes. After the computer restarts, click the Switch User arrow icon, then click Other User and log on to the CORP domain with the User1 account.

 

Create a virtual switch on WNVHOST1

To create a virtual switch on WNVHOST1

1.     From Server Manager, click the Tools menu item, and then click Hyper-V Manager.

2.     In Hyper-V Manager console, select WNVHOST1, and then click Virtual Switch Manager in the Actions pane.

3.     Verify that External is selected, and then click Create Virtual Switch.

4.     Under Name, type Hosternet. Under External network, select the adapter connected to the Hosternet physical switch. Select the checkbox for Allow management operating system to share this network adapter. Click OK.

 

Step 2: Configure WNVHOST2

WNVHOST2 is a physical server configured as a Windows Server 2012 R2 Hyper-V host, SQL server, and System Center 2012 Virtual Machine Manager, connected to a shared physical switch used to simulate a hoster datacenter connection (Hosternet). WNVHOST2 configuration consists of the following:

·         Install the operating system

·         Configure TCP/IP

·         Rename the computer and join the corp.adatum.com domain

·         Install the Hyper-V server role

·         Create a virtual switch

Install the operating system on WNVHOST2

To install the operating system on WNVHOST2

1.     Start the installation of Windows Server 2012 R2.

2.     Follow the instructions to complete the installation, specifying a strong password for the local Administrator account. Log on using the local Administrator account.

3.     Connect WNVHOST2 to a network that has Internet access and run Windows Update to install the latest updates for Windows Server 2012 R2.

4.     While WNVHOST2 is connected to the Internet, install .NET 3.5 by running the following command from an elevated Windows PowerShell prompt:

Install-WindowsFeature -Name NET-Framework-Core


 Note:

If WNVHOST2 does not have an Internet connection, you can install .NET framework from the Windows source files by using the following command:

DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:E:\sources\sxs

5.       Connect WNVHOST2 to a shared physical switch to which WNVHOST1 is also connected. This connection will be used to simulate the Hosternet subnet.

Configure TCP/IP properties on WNVHOST2

To configure TCP/IP properties on WNVHOST2

1.     In Server Manager, click Local Server in the console tree. Click the link next to Ethernet in the Properties tile.

2.     Rename the network adapter connected to the Hosternet shared physical switch to Hosternet.

3.     In the Network Connections window, right-click Hosternet, and then click Properties.

4.     Click Internet Protocol Version 4 (TCP/IPv4), and then click Properties.

5.     Select Use the following IP address. In IP address, type 192.168.0.2. In Subnet mask, type 255.255.255.0. In Preferred DNS server, type 192.168.0.1.

6.     Click Advanced, and then under IP Addresses, click Add. Type 172.16.1.2 for IP address, and type 255.255.255.0 for Subnet mask. Click Add.

7.     Click the DNS tab.

8.     In DNS suffix for this connection, type corp.adatum.com, and then click OK.

9.     Click OK three times to close the Hosternet Properties dialog box.

10.  Close the Network Connections window.

11.  From the Tools menu in Server Manager, click Windows PowerShell.

12.  To disable the Windows Firewall on WNVHOST2, type the following command and press ENTER.

Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled False

 

Rename the computer to WNVHOST2 and join the corp.adatum.com domain

To rename the computer to WNVHOST2 and join the corp.adatum.com domain

1.     In Server Manager, click Local Server in the console tree. Click the link next to Computer name in the Properties tile.

2.     In the System Properties dialog box, click the Computer Name tab. On the Computer Name tab, click Change.

3.     In Computer Name, type WNVHOST2. Under Member of, click Domain, and then type corp.adatum.com.

4.     Click OK.

5.     When you are prompted for a user name and password, type User1 and its password, and then click OK.

6.     When you see a dialog box welcoming you to the corp.adatum.com domain, click OK.

7.     When you are prompted that you must restart the computer, click OK.

8.     On the System Properties dialog box, click Close.

9.     When you are prompted to restart the computer, click Restart Now.

10.  After the computer restarts, click the Switch User arrow icon, then click Other User and log on to the CORP domain with the User1 account.

 

Install the Hyper-V server role on WNVHOST2

Next, install the Hyper-V role on WNVHOST2, which will act as a host for virtual machines that are connected to the virtualized Contoso and Fabrikam tenant networks.

To install the Hyper-V server role

1.     On the Server Manager Dashboard screen, under Configure this local server, click Add roles and features.

2.     Click Next three times to get to the server role selection screen.

3.     On the Select Server Roles page, select Hyper-V and click Add Features when prompted.

4.     Click Next six times to accept the default settings for features and Hyper-V, and then click Install.

5.     Verify that the installation was successful, and then click Close.

6.     Restart the WNVHOST2 server after Hyper-V installation completes. After the computer restarts, log on to the CORP domain with the User1 account.

 

Create a virtual switch on WNVHOST2

To create a virtual switch on WNVHOST2

1.     From Server Manager, click the Tools menu item, and then click Hyper-V Manager.

2.     In Hyper-V Manager console, select WNVHOST2, and then click Virtual Switch Manager in the Actions pane.

3.     Verify that External is selected, and then click Create Virtual Switch.

4.     Under Name, type Hosternet. Under External network, select the adapter connected to the Hosternet physical switch. Select the checkbox for Allow management operating system to share this network adapter. Click OK.