Lab: Planning and Implementing a Virtual Machine Deployment and Management Strategy
Exercise 3: Configuring VMM Profiles and Templates
Scenario
Now that you have completed the design of the VMM profiles and templates, you will implement part of the solution. Based on the VMM profile and template design, you will create a guest operating system profile, a hardware profile, and an SQL Server profile. Then you will create a virtual machine and service template.
The main tasks for this exercise are as follows:
1. Configure a guest operating system profile 2. Configure a hardware profile
3. Configure an SQL Server profile 4. Configure a virtual machine template 5. Configure a service template
Task 1: Configure a guest operating system profile Configure a guest operating system profile
1. On LON-VMM1, on the taskbar, click Virtual Machine Manager Console.
2. In the Connect to Server dialog box, ensure that the Use current Microsoft Windows session identity check box is selected, and then click Connect. The VMM console opens.
3. In the VMM console, click the Library workspace, expand Profiles, and then click Guest OS Profiles.
4. On the ribbon, click Create, and then click Guest OS Profile.
5. In the New Guest OS Profile dialog box, on the General page, configure the following settings:
• Name: TOR-WEB OS Profile
• Description: Guest OS Profile for new development Web Server 6. Click Guest OS Profile.
7. On the Guest OS Profile page, under General Settings, click Identity Information.
8. In the Computer name text box, type TOR-WEB#.
MCT USE ONL Y. STUDENT USE PROHIBITED
4-44 Planning and Deploying Virtual Machines
9. Click Admin Password, and then click Specify the password of the local administrator account.
In the Password and Confirm text boxes, type Pa$$w0rd.
10. Click Product Key, and then in the Product key box, type XC9B7-NBPP2-83J2H-RHMBY-92BT4.
11. Click Operating System, and then verify that 64-bit edition of Windows Server 2012 Standard is selected.
12. Under Networking, click Domain/Workgroup.
13. Click Domain, and then in the Domain text box, type adatum.com.
14. Under Domain credentials, click Specify credentials to use for joining the domain.
15. In the Domain user text box, type Adatum\Administrator. In the Password and Confirm text boxes, type Pa$$w0rd.
16. Click OK to close the New Guest OS Profile dialog box.
Task 2: Configure a hardware profile Configure a hardware profile
1. In the VMM console, click the Library workspace, expand Profiles, and then click Hardware Profiles.
2. On the ribbon, click Create, and then click Hardware Profile.
3. In the New Hardware Profile dialog box, on the General page, configure the following settings:
• Name: WsStd2012
• Description: Hardware Profile for new Windows Server 2012 Servers 4. Click Hardware Profile.
5. On the Hardware Profile page, under Compatibility, click Cloud Capability Profile.
6. Select the Hyper-V check box.
7. In the General section, click Processor, and then click the Allow migration to a virtual machine host with a different processor version check box.
8. Click Memory, verify that Static is selected, and then change the Virtual machine memory option to 1024 MB.
9. In the Network Adapters section, click Network Adapter 1. Under Connectivity click Connected to a VM network, and then select External.
10. Click OK to close the New Hardware Profile dialog box. The new profile displays in the results pane.
Task 3: Configure an SQL Server profile Configure an SQL Server profile
1. In the VMM console, click the Library workspace, expand Profiles, and then click SQL Server Profiles.
2. On the ribbon, click Create, and then click SQL Server Profile.
3. In the New SQL Server Profile dialog box, on the General page, configure the following settings:
• Name: SQLDev1
• Description: Template for new SQL servers 4. Click SQL Server Configuration.
MCT USE ONL Y. STUDENT USE PROHIBITED
Implementing an Advanced Server Infrastructure 4-45
5. On the SQL Server Configuration page, next to Add, click SQL Server Deployment. A new SQL Server deployment is added to the template.
6. Configure the following settings:
• In the Name field, type SQLDev1.
• In the Instance name field, type MSSQLSERVER.
• In the Instance ID field, type DefaultInstance.
7. Under Installation Run As account, click Browse. In the Browse Run As Accounts dialog box, click Administrator, and then click OK.
8. Click Configuration.
9. In the Media source text box, type C:\SQLInstall.
10. In SQL Server administrators, type Adatum\Administrator, and then click Add.
11. Next to Security mode, verify that Windows Authentication is selected.
12. Select the Use TCP\IP for remote connections check box.
13. Click Service Accounts.
14. Under SQL Server service Run As Account, click Browse.
15. In the Browse Run As Accounts dialog box, click Administrator account, and then click OK.
16. Under SQL Agent Service Run As Account, click Browse.
17. In the Browse Run As Accounts dialog box, click Administrator, and then click OK.
18. Under Reporting Services service Run As Account, click Browse.
19. In the Browse Run As Accounts dialog box, click Administrator, and then click OK.
20. Click OK to close the New SQL Server Profile dialog box.
Task 4: Configure a virtual machine template Configure a virtual machine template
1. On LON-VMM1, open File Explorer.
2. In the address bar, type \\LON-HOST1\e$\Program Files\Microsoft Learning\Base, and then press Enter.
3. Right-click Base12A-WS12-TMP.vhd, and then click Copy.
4. In the address bar, type \\lon-vmm1\MSSCVMMLibrary\vhds\, and then press Enter. In an empty area, right-click and then click Paste. The file will take several minutes to copy.
5. In the VMM console, click the Library workspace, then expand Library Servers\LON-VMM1.Adatum.com\MSSCVMMLibrary, and then click VHDs.
6. Confirm the file has finished copying, right-click VHDs, and then click Refresh.
7. In the VMM console, click the Library workspace, expand Templates, and then click VM Templates.
8. On the ribbon, click Create VM Template.
9. 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.
10. In the Select VM Template Source dialog box, click Base12A-WS12-TMP.vhd, and then click OK.
11. On the Select Source page, click Next.
MCT USE ONL Y. STUDENT USE PROHIBITED
4-46 Planning and Deploying Virtual Machines
12. In the VM Template Identity page, configure the following options, and then click Next:
• VM Template name: Adatum Web Application Server
• Description: Web Server hosting the Adatum Web Application
13. On the Configure Hardware page, in the Hardware profile drop-down list box, click WsStd2012.
Notice that the settings from the hardware profile import into the template, and then click Next.
14. On the Configure Operating System page, in the Guest OS profile drop-down list box, click TOR-WEB OS Profile.
15. Under Roles and Features, click Roles.
16. Select the Web Server (IIS) check box, and then click Next.
17. On the Configure Applications page, in the Application profile drop-down list box, click None – do not install any applications, and then click Next.
18. On the Configure SQL Server page, in the SQL Server profile drop-down list box, click None - no SQL Server configuration settings, and then click Next.
19. On the Summary page, click Create.
Task 5: Configure a service template Configure a service template
1. In the VMM console, click the Library workspace, expand Templates, and then click Service Templates.
2. Create a service template called the Adatum Web Service, and assign the Adatum Web Application Server to the application tier.
3. Save and validate the service template.
Results: After completing this exercise, you should have configured VMM profiles and templates.