Active Directory Lab - 01
Active Directory Lab - 01
Scenario
A. Datum Corporation is a global engineering and manufacturing company with a head office based in London, England. A. Datum has recently deployed a Windows Server 2012 infrastructure with Windows 8 clients. You have been working for A. Datum for several years as a desktop support specialist and have recently accepted a promotion to the server support team. The marketing department has purchased a new web-based application. You need to install and configure the servers in the data center for this application. One server has a GUI interface, and the other server is configured as Server Core.
Objectives
After completing this lab, you will be able to:
Deploy Windows Server 2012. Configure Windows Server 2012 Server Core. Manage servers by using Server Manager. Manage servers with Windows PowerShell.
Lab Setup
Estimated Time: 60 minutes
Virtual machines
Adatum\Administrator Pa$$w0rd
For this lab, you will use the available virtual machine environment. Before you begin the lab, you must complete the following steps: 1.
2. 3. 4.
On the host computer, click Start, point to Administrative Tools, and then click Hyper-V Manager. In Hyper-V Manager, click 20410B-LON-DC1, and in the Actions pane, click Start. In the Actions pane, click Connect. Wait until the virtual machine starts. Sign in using the following credentials: a. b. User name: Adatum\Administrator Password: Pa$$w0rd
5. Repeat steps 1 to 3 for 20410B-LON-CORE and 20410B-LON-SVR3. Do not sign in until directed to do so.
Install the Windows Server 2012 server. Change the server name. Change the date and time. Configure the network and NIC teaming. Add the server to the domain.
In the Hyper-V Manager console, open the settings for 20410B-LON-SVR3. Configure the DVD drive to use the Windows Server 2012 image file named Windows2012_RTM.iso. This file is located at C:\Program Files\Microsoft Learning\20410\Drives.
3.
Start 20410B-LON-SVR3. In the Windows Setup Wizard, on the Windows Server 2012 page, verify the following settings, click Next, and then click Install Now. o
o o
Language to install: English (United States) Time and currency format: English (United States) Keyboard or input method: US
4.
Click to install the Windows Server Windows Server 2012 Datacenter Evaluation (Server with a GUI) operating system. Accept the license terms, and then click Custom: Install Windows only (advanced). Install Windows Server 2012 on Drive 0.
5. 6.
Note: Depending on the speed of the equipment, the installation will take approximately 20 minutes. The virtual machine will restart several times during this process. Enter the password Pa$$w0rd in both the Password and Reenter password boxes, and then click Finish to complete the installation.
7.
Sign in to LON-SVR3 as Administrator with the password Pa$$w0rd. In Server Manager, on the Local Server node, click the randomly-generated name next to Computer name.
3. 4.
In the System Properties dialog box, on the Computer Name tab, click Change. In the Computer name box, type LON-SVR3, and then click OK.
5.
6.
Sign in to server LON-SVR3 as Administrator with the password Pa$$w0rd. On the taskbar, click the time display, and then click Change date and time settings. Click Change Time Zone, and set the time zone to your current time zone. Click Change Date and Time, and verify that the date and time that display in the Date and Time Settings dialog box match those in your classroom.
5.
On LON-SVR3, click Local Server, and then next to NIC Teaming, click Disabled. Press and hold the Ctrl key, and then in the Adapters And Interfaces area, click both Local Area Connection and Local Area Connection 2.
3. 4.
Right-click on the selected network adapters, and then click Add to New Team. Enter LON-SVR3 in the Team name, box, click OK, and then close the NIC Teaming dialog box. Refresh the console pane.
5. 6. 7. 8.
Next to LON-SVR3, click IPv4 Address Assigned by DHCP, IPv6 Enabled. In the Network Connections dialog box, right-click LON-SVR3, and then click Properties. Click Internet Protocol Version 4 (TCP/IPv4), and then click Properties. Enter the following IP address information, then and click OK: o
o o o
IP address: 172.16.0.101 Subnet Mask: 255.255.0.0 Default Gateway: 172.16.0.1 Preferred DNS server: 172.16.0.10
On LON-SVR3, in the Server Manager console, click Local Server. Next to Workgroup, click WORKGROUP. On the Computer Name tab, click Change. Click the Domain option, and in the Domain box, enter adatum.com. Enter the following account details o
o
6.
7.
In the Computer Name/Domain Changes dialog box, click OK. Restart the computer to apply changes.
8.
9.
In the System Properties dialog box, click Close. After LON-SVR3 restarts, sign in as Adatum\Administrator with the password Pa$$w0rd.
Results: After completing this exercise, you should have deployed Windows Server 2012 on LON-SVR3. You also should have configured LON-SVR3, including name change, date and time, networking, and network teaming.
Set computer name. Change the computers date and time Configure the network. Add the server to the domain.
Sign in to LON-CORE as Administrator with the password Pa$$w0rd. On LON-CORE, type sconfig.cmd. Click option 2 to select Computer Name. Set the computer name as LON-CORE. In the Restart dialog box, click Yes to restart the computer. After the computer restarts, sign in to server LON-CORE using the Administrator account with the password Pa$$w0rd. At the command prompt, type hostname, and then press Enter to verify the computers name
7.
Ensure you are signed in to server LON-CORE as Administrator with the password Pa$$w0rd. At the command prompt, type sconfig.cmd. To select Date and Time, type 9. Click Change time zone, and then set the time zone to the same time zone that your classroom uses. In the Date and Time dialog box, click Change Date and Time, and verify that the date and time match those in your location.
6.
Exit sconfig.cmd.
At the command prompt, type sconfig.cmd, and then press Enter. To configure Network Settings, type 8. Type the number of the network adapter that you want to configure. Type 1 to set the Network Adapter Address. Click static IP address configuration, and then enter the address 172.16.0.111. At the Enter subnet mask prompt, type 255.255.0.0. At the Enter default gateway prompt, type 172.16.0.1. Type 2 to configure the DNS server address.
10. Set the preferred DNS server to 172.16.0.10. 11. Do not configure an alternate DNS server address. 12. Exit sconfig.cmd. 13. Verify network connectivity to lon-dc1.adatum.com using the PING tool.
At the command prompt, type sconfig.cmd, and then press Enter. Type 1 to switch to configure Domain/Workgroup. Type D to join a domain. At the Name of domain to join prompt, type adatum.com. At the Specify an authorized domain\user prompt, type Adatum\Administrator. At the Type the password associated with the domain user prompt, type Pa$$w0rd. At the prompt, click No. Restart the server.
10. Sign in to server LON-CORE with the Adatum\Administrator account using the password Pa$$w0rd.
Results: After completing this exercise, you should have configured a Windows Server 2012 Server Core deployment, and verified the servers name
Create a server group. Deploy features and roles to both servers. Review services, and change a service setting.
Sign in to LON-DC1 with the Administrator account and the password Pa$$w0rd. In the Server Manager console, click Dashboard, and then click Create a server group. Click the Active Directory tab, and then click Find Now. In the Server group name box, type LAB-1. Add LON-CORE and LON-SVR3 to the server group. Click LAB-1. Select both LON-CORE and LON-SVR3. Scroll down, and under the Performance section, select both LON-CORE and LON-SVR3. Right-click LON-CORE, and then click Start Performance Counters.
In the Add Roles and Features Wizard, click Next, click Role-based or feature-based installation, and then click Next.
3. 4. 5. 6. 7.
Verify that LON-CORE.Adatum.com is selected, and then click Next. Select the Web Server (IIS) Server role. Select the Windows Server Backup feature. Add the Windows Authentication role service, and then click Next. Select the Restart the destination server automatically if required check box, and then click Install.
8. 9.
Click Close. Right-click LON-SVR3, click Add Roles and Features, and then click Next.
10. In the Add Roles and Features Wizard, click Role-based or feature-based installation, and then click Next. 11. Verify that LON-SVR3.Adatum.com is selected, and then click Next twice.
12. Click Windows Server Backup, and then click Next. 13. Select the Restart the destination server automatically if required check box, click Install, and then click Close. 14. In Server Manager, click the IIS node, and verify that LON-CORE is listed.
Sign in to LON-CORE with the Adatum\Administrator account and the password Pa$$w0rd. In the Command Prompt window, type the following command: netsh.exe firewall set service remoteadmin enable ALL
3. 4. 5. 6. 7. 8.
Sign in to LON-DC1 with the Adatum\Administrator account. In Server Manager, click LAB-1, right-click LON-CORE, and then click Computer Management. Expand Services and Applications, and then click Services. Verify that the Startup type of the World Wide Web Publishing service is set to Automatic. Verify that the service is configured to use the Local System account. Configure the following service recovery settings: o
o o o o
First failure: Restart the Service Second failure: Restart the Service Subsequent failures: Restart the Computer. Reset fail count after: 1 days Reset service after: 1 minute
9. Configure the Restart Computer option to 2 minutes, and then close the Service Properties dialog box. 10. Close the Computer Management console.
Results: After completing this exercise, you should have created a server group, deployed roles and features, and configured the properties of a service.
Use Windows PowerShell to connect remotely to servers and view information. Use Windows PowerShell to remotely install new features.
Task 1: Use Windows PowerShell to connect remotely to servers and view information
1.
2. 3. 4. 5. 6.
Sign in to LON-DC1 with the Adatum\Administrator account and the password Pa$$w0rd. On LON-DC1, in Server Manager, click the LAB-1 server group. Right-click LON-CORE, and then click Windows PowerShell. Type Import-Module ServerManager. Type Get-WindowsFeature, and review roles and features. Use the following command to review the running services on LON-CORE: Get-service | where-object {$_.status -eq Running}
7. 8.
Type get-process to view a list of processes on LON-CORE. Review the IP addresses assigned to the server by typing the following command: Get-NetIPAddress | Format-table
9.
Review the most recent 10 items in the security log by typing the following command: Get-EventLog Security -Newest 10
On LON-DC1, on the taskbar, click the Windows PowerShell icon. Type import-module ServerManager. Type the following command to verify that the XPS Viewer feature has not been installed on LON-SVR3 Get-WindowsFeature -ComputerName LON-SVR3
4.
To deploy the XPS Viewer feature on LON-SVR3, type the following command, and then press Enter: Install-WindowsFeature XPS-Viewer -ComputerName LON-SVR3
5.
Type the following command to verify that the XPS Viewer feature has now been deployed on LON-SVR3: Get-WindowsFeature -ComputerName LON-SVR3
6. 7.
In the Server Manager console, in the Tools drop-down menu, click Windows PowerShell ISE. In the Untitled1.ps1 script pane, type the following: Import-Module ServerManager Install-WindowsFeature WINS -ComputerName LON-SVR3 Install-WindowsFeature WINS -ComputerName LON-CORE
8.
9.
Save the script as InstallWins.ps1 in a new folder named Scripts. Press the F5 key to execute InstallWins.ps1.
Results: After completing this exercise, you should have used Windows PowerShell to perform a remote installation of features on multiple servers.
On the host computer, switch to the Hyper-V Manager console. In the Virtual Machines list, right click 20410B-LON-DC1, and then click Revert. In the Revert Virtual Machine dialog box, click Revert. Repeat steps 2 and 3 for 20410B-LON-CORE and 20410B-LON-SVR3.