LAB 4: PLANNING AND DEPLOYING VIRTUAL MACHINE MANAGER SERVICES Total Marks 50 Weighting 5% THIS LAB CONTAINS THE FOLLOWING EXERCISES AND ACTIVITIES: BEFORE YOU BEGIN The lab environment consists of student workstations connected to a local area network, along with a server that functions as the domain controller for a domain called contoso.com. The computers required for this lab are listed in Table 4-1. Exercise 4.1: Installing and Configuring System Center 2012 R2 Virtual Machine Manager Exercise 4.2: Creating a VM Template and Service Template Exercise 4.3: Creating Profiles with Virtual Machine Manager SCENARIO After completing this lab, you will be able to: - Install and configure System Center2012 R2 Virtual Machine Manager - Use VMM to create VM and service templates - Use VMM to create and use profilesExercise 4.1: Installing and Configuring System Center 2012 R2 Virtual Machine Manager Total Marks: 20 marks In this exercise, you will install System Center 2012 R2 Virtual Machine Manager (VMM). VMM enables centralized management of virtualized workloads and allows you to manage the virtualized data center infrastructure and increase physical server utilization (including providing simple and fast consolidation of the virtual infrastructure). 1. Log on to CServer02 server using the contoso\Administrator account and the password Pa$$w0rd. 2. On Cserver02, using File Explorer, open the \\CRWDC01\Software folder. 3. Double-click the System Center 2012 R2 VMM ISO file and then double-click setup.exe. 4. When the Microsoft System Center 2012 R2 Virtual Machine Manager splash screen opens, click Install. 5. When a message displays, indicating Microsoft Visual C++ 2010 Redistributed Package was successfully installed and that the system needs to be rebooted, click OK and reboot CServer02. 6. Log on to CServer02 using the contoso\Administrator account and the password Pa$$w0rd. 7. Double-click the System Center 2012 R2 VMM ISO file and double-click setup.exe. 8. When the Microsoft System Center 2012 R2 Virtual Machine Manager splash screen opens, click Install. 9. In the Microsoft System Center 2012 R2 Virtual Machine Manager Setup Wizard, on the Select features to add page, select VMM management server and VMM console. Click Next. 10. On the Product registration information page, click Next. 11. On the Please read this license agreement page, click select I have read, understood, and agree with the terms of the license agreement and then click Next. 12. On the Customer Experience Improvement Program (CEIP) page, select No, I am not willing to participate and then click Next. 13. On the Installation location page, click Next. 14. On the Prerequisite page, click Next. 15. On the Database configuration page, for the Server name, specify CServer01. New database is already selected and the default database is VirtualManagerDB. Click Next. 16. On the Configure service account and distributed key management page, Domain account is already selected. In the username and domain text box, type contoso\administrator. In the Password text box, type Pa$$w0rd.Question 1: What do you need to do if you want to make VMM highly available? Answer: _______________________________________________________________ ________________________________________________________________ 17. Click Next. 18. On the Port configuration page, answer the following question and then click Next. Question 2: Which port is used by the VMM console? Answer: _______________________________________________________________ ________________________________________________________________ 19. On the Library configuration page, Create a new library share is already selected. Answer the following question and then click Next. Question 3: What is the location of the MSSCVMMLibrary library share? Answer: _______________________________________________________________ ________________________________________________________________ 20. On the Installation summary page, click Install. This will take a few minutes to install. 21. When VMM is installed successfully, take a screen shot of the Microsoft System Center 2012 R2 Virtual Machine Manager Setup Wizard by pressing Alt+Prt Scr and then paste it into your Lab 4 answer worksheet by pressing Ctrl+V. 22. Deselect Check for the latest Virtual Machine Manager updates and then click Close. 23. In the Connect to Server dialog box, click Connect. Virtual Machine Manager opens. 24. In the Connect to Server dialog box, select Automatically connect with these settings and then click Connect. 25. Take a screen shot of the Virtual Machine Manager Setup Wizard by pressing Alt+Prt Scr and then paste it into your Lab 4 answer worksheet by pressing Ctrl+V. 26. Log in to CRWDC01 with the username of contoso\administrator with the password of Pa$$w0rd. 27. Open Active Directory Users and Computers. Create a domain account named HyperVAdmin. Make the HyperVAdmin a domain administrator. 28. Go back to CServer02. In the Virtual Machine Manager, open the Fabric workspace. Then expand the Servers node and click All Hosts. 29. Right-click All Hosts and choose Add Hyper-V Hosts and Clusters. 30. In the Add Resource Wizard, on the Resource Location page, Windows Server computers in a trusted Active Directory domain is already selected. Click Next.31. On the Credentials page, use an existing Run As account is already selected. Click the Browse button. 32. In the Select a Run As Account dialog box, click the Create Run As Account button. 33. In the Create Run As Account dialog box, for the Name text box and the User name text box, type contoso\hypervadmin. For the Password text box and the Confirm password text box, type Pa$$w0rd. Click OK. 34. Back on the Select a Run As Account dialog box, click OK. 35. Back on the Credentials page, click Next. 36. On the Discovery Scope page, Specify Windows Server computers by names is already selected. In the Computer names text box, type CServer02. Click Next. 37. On the Target resources page, select cserver02.contoso.com and then click Next. When you are prompted to confirm that you want to continue, click OK. 38. On the Host Settings page, select Reassociate this host with this VMM environment and then click Next. 39. On the Summary page, click Finish. 40. When the host has been added, close the Jobs window. 41. Take a screen shot of the All Hosts node by pressing Alt+Prt Scr and then paste it into your Lab 4 answer worksheet by pressing Ctrl+V. Leave Virtual Machine Manager open for the next exercise. Exercise 4.2: Creating a VM Template and Service Template Total Marks: 20 marks In this exercise, you will create a VM template and then create a service template. Virtual machine templates are used to create new virtual machines and configure tiers in a service template. You can create a virtual machine template based on an existing virtual machine template or based on an existing virtual hard disk that is stored in a library. The VMM service template is a single object that contains multiple child templates, including virtual machine templates, networking configuration, load balancing, applications, and storage. 1. On Cserver02, using Virtual Machine Manager, open the Fabric workspace. 2. On the Home tab, in the Show group, click Fabric Resources. 3. In the Fabric pane, expand the Networking node and then click Logical Networks. 4. In the Create group, click Create Logical Network. The Create Logical Network Wizard page opens. 5. In the Create Logical Network Wizard page, on the Name page, in the Name text box, type LogicalNetwork1. Click Next. 6. On the Network Site page, click Add select All Hosts. 7. Click Insert row. Click Enter IP subnet, type 192.168.1.0/24, and then click Next.8. On the Summary page, click Finish. 9. When the network is created, close the Jobs window. 10. Open the Library workspace. 11. On the Home tab, in the Create group, click Create VM Template. 12. In the Create VM Template Wizard, on the Select Source page, click Use an existing VM template or a virtual hard disk stored in the library and then click Browse. 13. In the Select VM Template Source dialog box, click Blank Disk – Small.vhdx, click OK, and then click Next. 14. On the Identity page, in the VM Template name text box, type VMTemplate1. Click Next. 15. On the Configure Hardware page, click Memory. Select Dynamic memory. For the Maximum memory, type 1024. Click Next. 16. On the Configure Operating System page, answer the following question and then click Next. Question 4: What is the specified operating system? Answer: _________________________________________________________ ________________________________________________________________ 17. On the Summary page, click Create. The Jobs window opens. 18. Close the Jobs window. The template will appear in the Templates node. 19. Take a screen shot of the Templates node by pressing Alt+Prt Scr and then paste it into your Lab 4 answer worksheet by pressing Ctrl+V. 20. On the Library workspace, on the Home tab, in the Create group, click Create Service Template. 21. In the Create Service dialog box, click Create a service template and then click OK. 22. In the Virtual Machine Manager Service Template Designer window, in the Name text box, type ServiceTemplate1. 23. Click the Blank pattern and then click OK. 24. Click Add Machine Tier. 25. In the Create Machine Tier Template Wizard, Use a copy of an existing VM template is already selected. Click Browse. 26. In the Select Tier Template Source dialog box, click VMTemplate1 and then click OK. 27. Back on the Select Source page, click Next. 28. On the Additional Properties page, click Next. 29. On the Summary page, click Create.30. Click the Add VM Network button. The None VM Network box appears. 31. Click the None VM Network box. 32. In the bottom pane, click Browse. 33. In the Settings details dialog box, Use an existing VM network is already selected. Click Create VM Network. 34. In the Create VM Network Wizard, on the Name page, in the Name text box, type VMNetwork1. For the Logical network, LogicalNetwork1 is already selected. Click Next. 35. On the Summary page, click Finish. 36. On the Settings details dialog box, with use an existing VM network is selected, select VMNetwork1 and then click OK. 37. Take a screen shot of the Virtual Machine Manager Service Template Designer window, by pressing Alt+Prt Scr and then paste it into your Lab 4 answer worksheet by pressing Ctrl+V. 38. Click Save and Validate. 39. Close the Virtual Machine Manager Service Template Designer window. Leave Virtual Machine Manager open for the next exercise. Exercise 4.3: Creating Profiles with Virtual Machine Manager Total Marks: 10 marks In this exercise, you will create different types of profiles, including an operating system profile, a hardware profile, and an application profile. To modularize and simplify the deployment of virtual machines, you can create profiles, which are used with a template. Since certain VM settings are common between VMs, you can use the profiles to define those settings, which can be used over and over at any time. For example, operating system profiles are used to apply a variety of settings that pertain to the operating system. 1. On CServer02, using Virtual Machine Manager, open the Library workspace. 2. On the Home tab, in the Create group, click Create and then click Guest OS Profile. 3. In the New Guest OS Profile dialog box, on the General tab, in the Name text box, type OS1. Question 5: What is the Compatibility option set to? Answer: ______________________________________________________________ ________________________________________________________________4. Click the Guest OS Profile tab and then configure the following settings: ● Operating system: Windows Server 2012 R2 ● Admin Password: Specify the password of the local administrator password and specify the password of Pa$$w0rd. ● Roles: Select Web Server (IIS), IIS Management Console, Management Service, and Basic Authentication. ● Features: .NET Framework 3.5 (includes .NET 2.0 and 3.0), HTTP Activation, .NET Framework 4.5, 5. Click OK to close the New Guest OS Profile dialog box. 6. On the Library Workspace, on the Home tab, in the Create group, click Create and then click Hardware Profile. 7. In the New Hardware Profile dialog box, on the General tab, in the Name box, Type HW1. Question 6: Which generation is already selected? Answer: _______________________________________________________________ ________________________________________________________________ 8. Click the Hardware Profile tab and specify the following settings. ● Number of processors: 2 ● Memory: 1024 MB 9. Click OK to close the Hardware Profile dialog box. 10. Take a screen shot of the Profiles node by pressing Alt+Prt Scr and then paste it into your Lab 4 answer worksheet by pressing Ctrl+V. 11. Expand the Templates node and then click the VM Templates node. 12. In the Create group, click Create VM Template. 13. In the Create VM Template Wizard, on the Select Source page, click Browse. 14. In the Select VM Template Source dialog box, select Blank Disk – Small.vhdx and then click OK. 15. Back on the Select Source page, click Next. 16. On the Identity page, on the VM Template name, type VMTemplate2 and then click Next. 17. On the Configure Hardware page, for the Hardware profile, select HW1. Click Next.18. On the Configure Operating System page, for the Guest OS profile, select OS1. Click Next. 19. On the Application Configuration page, click Next. 20. On the SQL Server Configuration, click Next. 21. On the Summary page, click Create. 22. Close the Jobs window. 23. Take a screen shot of the VM Templates node by pressing Alt+Prt Scr and then paste it into your Lab 4 answer worksheet by pressing Ctrl+V. End of exercise. Close Virtual Machine Manager. After completing the lab fill your student details on the first of the answer sheet and upload your answer sheet with the answers on to Moodle.