Presentation: 75 minutes Lab: 30 minutes After completing this module, students will be able to: Describe Virtual Machine Manager management tasks Create and Manage checkpoints Required materials To teach this module, you need the Microsoft Office PowerPoint® file 10215A_06.ppt. Important: It is recommended that you use PowerPoint 2002 or a later version to display the slides for this course. If you use PowerPoint Viewer or an earlier version of PowerPoint, all the features of the slides might not be displayed correctly. Preparation tasks To prepare for this module: Read all of the materials for this module. Practice performing the demonstrations and the lab exercises. Detailed steps for the demonstrations are provided in the course companion CD. Work through the Module Review and Takeaways section, and determine how you will use this section to reinforce student learning and promote knowledge transfer to on-the-job performance. Make sure that students are aware that there are additional information and resources for the module on the Course Companion CD. Course 10215A
Briefly present the module content. The key message of this module is to show students how they can use the VMM Admin istration Console in the System Center Virtual Machine Manager (VMM) to manage, deploy, and operate virtual machines and checkpoints. Explain that some of the tasks that you explain and perform can also be done by using Hyper-V™ Manager. However, this module’s focus is on the actions that you can perform in VMM. Course 10215A
Present the content of the lesson , and explain that it focuses on management tasks that you can perform on virtual machines. At this point, many students will be familiar with basic management tasks on Hyper-V - based virtual machines that you can perform by using Hyper- V Manager. Empshasize that m any tasks that you can perform on virtual machines through Hyper-V Manager also can be performed in VMM. However, with VMM, you can manage virtual machines from several hosts, not just one. Course 10215A
Explain the result s of performing each listed action on virtual machines. Emphasize that you have to right - click the virtual machine in the VMM Admin istration Console to see a menu that provides the available actions. Tell students that with VMM, you can manage and operate every virtual machine on a host that a VMM Server manages. On each virtual machine, you can perform various actions, but you can perform only some of the actions when the virtual machine is running (such as pausing virtual machine) and others only when the virtual machine is turned off (such as storing to the VMM Library). Question: What is the primary difference between pausing a virtual machine and using the saved state? Answer: When you pause a virtual machine, it does not release the resources that it is using. On contrary, when you put virtual machine in saved state, it releases all resources that it is using. Course 10215A
The key message of this demonstration is to show students how they can operate a virtual machine from the VMM Admin istration Console . Show them how to perform task s in the VMM Admin Console with which they are familiar from working with Hyper-V Manager. Demonstration steps: Before starting this demonstration, you should perform the following steps. Create a Test Virtual Machine 1.On NYC-Host 1, open SCVMM Admin Console. 2.In SCVMM Admin Console, click Library and then click 10215A-CoreTest.vhd . 3.In the Actions pane, under Template , click New virtual machine . 4.The New Virtual Machine wizard appears. On the Virtual Machine Identity page, in the Virtual machine name field, type Demo6-VM . 5.Click Next . 6.The Configure Hardware page appears. Click Memory , enter 1024 as the Virtual machine memory , and click Next . 7.The Select Destination page appears. Make sure Place the virtual machine on a host is selected, and then click Next . 8.The Select Host page appears. Ensure that nyc-host1.contoso.com is selected, and then click Next . 9.The Select Path page appears. Click Next . 10.The Select Networks page appears. In the Virtual Network list, click Internal Network – Internal Network , and then click Next . 11.The Additional Properties page appears. Select 64-bit edition of Windows Server 2008 R2 Enterprise, and click Next . 12.The Summary page appears. Verify that the option to Start the virtual machine after deploying it on the host is not selected, and click Create. 13.When job is complete, close the Jobs window. Course 10215A
Demonstration steps: 1.In the SCVMM Admin Console on NYC-HOST1, click to the Virtual Machines tab. 2.In the center pane, right-click the Demo6-VM virtual machine, and then click Start . 3.In the center pane, right-click the Demo6-VM virtual machine again, and then click Connect to virtual machine. The Virtual Machine Viewer window appears. 4.Wait for approximately 15 seconds, and then switch back to the SCVMM Admin Console , and right-click Demo6-VM again. Click Stop , click Yes , and then close the Virtual Machine Viewer window. 5.Start the Demo6-VM virtual machine again, and connect to it via the Virtual Machine viewer window. Show students that Windows Error Recovery has appeared as the virtual machine was not turned off properly because of the Stop function. Select Start Windows Normally , and then press ENTER. 6.Wait for Demo6-VM to start fully, and in the Virtual Machine Viewer window, click the Ctrl-Alt-Del button, and then enter Pa$$w0rd for the password. Press ENTER. 7.After you log on to the virtual machine, in the command prompt, type Notepad and press ENTER. Enter some text into the Notepad window and leave the application window open.. 8.In SCVMM Admin Console , right-click the Demo6-VM virtual machine, and then click Pause . Click Yes , and then switch to the Virtual Machine Viewer window, and ensure that screen is grayed and that you cannot operate the virtual machine 9.In the SCVMM Admin Console , right-click the Demo6-VM virtual machine, and then click Start . Switch to the Virtual Machine Viewer window, and ensure that you can operate the virtual machine, and that it is in same state as before. 10.In the SCVMM Admin Console , right-click the Demo6-VM virtual machine, and then click Save state . Click Yes . Revert to the Virtual Machine Viewer window, and ensure that the connection to the virtual machine is lost. Close the Virtual Machine Viewer window, and then wait until Demo6-VM has the status Saved State in the VMM Admin Console . 11.In the SCVMM Admin Console , right-click the Demo6-VM virtual machine, and then click Start . After a few seconds, right-click it again, and then select Connect to virtual machine . Open Virtual Machine Viewer window, and ensure that virtual machine has same windows open as it did in step 8. 12.In the SCVMM Admin Console , right-click the Demo6-VM virtual machine, and then click Save state . Click Yes , and then switch to the Virtual Machine Viewer window, and ensure that the connection to the virtual machine is lost. Close the Virtual Machine Viewer window, and then wait until Demo6-VM has the status Saved State in the VMM Admin Console . 13.In the SCVMM Admin Console , right-click the Demo6-VM virtual machine, and then click Discard saved state . Click Yes. Wait until virtual machine shows the state of Stopped in the SCVMM Admin Console . 14.Start the Demo6-VM virtual machine again, and then connect to it through the Virtual Machine viewer window, and show students that Windows Error Recovery has appeared because the virtual machine was not turned off properly. Also, show students that the virtual machine boots from the beginning without saving a state. Select Start Windows Normally , and then press ENTER. 15.Wait until virtual machine boots fully, and then right-click it, and choose Shut Down . Click Yes . Switch to the Virtual Machine Viewer , and wait to see that the virtual machine operating system (OS) is shutting down properly. 16.Close the Virtual Machine Viewer , but leave the SCVMM Admin Console open. Course 10215A
Tell students that besides operating virtual machines as described in the previous topic and demonstration , you also can perform various actions that initiate creation and deployment of virtual machines. Additionally, you can migrate virtual machines from one host to another, or clone them for backup purposes from within the VMM Administrator Console. Also, you can store virtual machines in the VMM Library. The next module provides more details about VMM Library . Emphasize that most of these management tasks are not available in the Hyper-V Manager console. Question : What is the difference between Quick Migration and Quick Storage Migration? Answer: Quick Migration allows you to move virtual machine between physical hosts, while Quick Storage Migration moves the virtual machine to another storage location on a same host. Moreover, Quick Migration requires Failover Clustering, while Quick Storage Migration is specific only to VMM 2008 R2. Course 10215A
This topic’s k ey message is to explain the methods you can use to manage virtual machine configuration, and also to show how to manage virtual hard disks. Tell students that t hey can manage existing virtual hard disks, or create new ones, from the VMM Admin Console. However, you cannot manage hard disks separately from virtual machine configuration, like you can in Hyper-V Manager, except for hard disks that are stored in the Library. To manage virtual hard disks, you have to open the virtual machine properties, and then navigate to the Hardware Configuration tab . Refer to the screenshots or show them the available options in a real VMM Console. Question: Why would you use fixed size virtual hard disk? Answer: If you want to allocate full space for a virtual machine at deployment, avoid intensive fragmentation. To achieve better performance, you will use fixed size disks rather than dynamic disks. Course 10215A
This topic’s key message is to describe the properties of virtual machine as viewed in VMM Admin istration Console. Point out the differences between this set of properties and the properties of the same virtual machine when you access it through Hyper-V Manager. Emphasize that e ach virtual machine that VMM manages has a set of properties that determine the various attributes and configuration settings of it. Inside these properties, you can modify the hardware configuration of the virtual machine, define the virtual machine owner, cost, and other attributes and settings. Explain what these settings mean. Question: In which scenario will you use the custom properties of the virtual machine? Answer: If you want to, for example, identify the virtual machine by its geographic location, you can specify that attribute as a custom property. Course 10215A
This demonstration’s key message is to show how to modify a virtual machine’s properties through the VMM Admin istration Console. Be sure to save time so that you can explain certain items, like custom properties , that you cannot manage with Hyper-V Manager. Demonstration steps: 1.In SCVMM Admin Console , right-click the Demo6-VM virtual machine, and then click Properties . 2.Review the options and values on the General tab. Define an Owner for the virtual machine by clicking Select , and then typing Domain Admins in the Select User or Group window. In the Tag field, type a value of XY . 3.Click the Hardware Configuration tab. 4.In the Advanced section, review the available options for Integration services , Priority, and Availability . Change the Priority value to High by clicking the radio button next to the value of High . 5.Review the available options in the Network Adapter section. 6.Click SCSI adapter in the toolbar to add a new SCSI adapter to the virtual machine. 7.Click Disk in the toolbar to add a new hard disk. In the Channel drop-down list for the new disk, select SCSI 0 ID 1 . 8.Click the BIOS section. Modify the boot order so that the IDE Hard Drive is the first device to boot by clicking IDE Hard Drive , and then clicking Up . 9.Click the Custom Properties tab. In the Custom1 field, enter test . 10.Click the Settings tab, and then review the available options. 11.Click the Actions tab. In Action , when the physical server starts, a drop-down box appears. Choose Never automatically turn on the virtual machine , and in the Action when physical server stops drop-down box, choose Turn off virtual machine . 12.Click OK . 13.In the VMM tool bar, click the Columns button. In the Select Columns window, scroll through the list, and place a check mark next to Custom 1 . Click OK . 14.Ensure that the Custom 1 column has appeared in the VMM Virtual Machines view and that it shows value for this attribute on the Demo6-VM virtual machine. 15.Shutdown Demo6-VM. 16.In preparation for the next demonstration, start the 10215A-NYC-CL1 virtual machine. Course 10215A
Present th is lesson’s content. Tell students that this lesson deals with checkpoints, which are same as Hyper-V snapshots. Course 10215A
Define virtual machine checkpoint , and emphasize that checkpoints save the state of each virtual hard disk that is attached to a virtual machine and all of the hard disk's contents, including application data files. For virtual machines on Hyper-V and VMware ESX Server hosts, a checkpoint also saves the hardware configuration information . Discuss the slide’s key points. Question: What is the difference between checkpoints and Hyper-V snapshots? Answer: There is no difference. Checkpoint is a term to describe a snapshot that you manage in the Administration Console. However, the term checkpoint also can be used with other virtualization platforms, not just Hyper-V. Course 10215A
Discuss the considerations that the slide provides . Be sure to be clear that you should not use checkpoints and snapshots as a replacement for backing up your virtual machine . Question: Why should you not use checkpoints as a backup technology? Answer: Although checkpoint can restore a virtual machine and its data to a previous state, you should not use them for backup. When you restore virtual machine to a checkpoint state, you will use all data created after you create the checkpoint. Also, by using checkpoints, you cannot restore just a specific part of user data, but only the whole virtual machine. Course 10215A
Show students how to operate with a single checkpoint, and what the effects are of using checkpoints. Also, on the slide, make “checkpoint” plural in the sentence. Demonstration steps: 1. On NYC-Host1, if required, open the SCVMM Admin Console . 2. Switch to Virtual Machines view. 3, Verify that the 10215A-NYC-CL1 virtual machine has started. Right-click 10215A-NYC-CL1 , and click Connect to virtual machine . The Virtual Machine Viewer window will appear. 4. In the Virtual Machine Viewer window, click the Ctrl-Alt-Del button. Accept Contoso\\Administrator for the user name and Pa$$w0rd for the password, and then press ENTER. 5. Right-click the virtual machine desktop, choose New on the drop-down list, and then click Folder . Give the folder the following name: BeforeCheckpoint1 . Open the folder, and create a text document inside the folder. 6. Switch to the SCVMM Admin Console window, right-click the 10215A-NYC-CL1 virtual machine, and then click New checkpoint . 7. Enter Checkpoint1 for the name of the checkpoint, and then click Create . 8. After you create the checkpoint, right-click the virtual machine, and then click Manage checkpoints . 9. In the Virtual Machine Properties for 10215A-NYC-CL1 , click Checkpoint1 , and then click Properties . 10. Review the General and Hardware Configuration tab. In the General tab, enter the following text in the Description field: folder on desktop created . Click OK twice. 11. Switch to the Virtual Machine Viewer window, and then delete the BeforeCheckpoint1 folder. 12. Shut down the virtual machine by clicking Start , and clicking Shut Down. 13. After the virtual machine is shut down, close the Virtual Machine viewer window. 14. Switch to the SCVMM Admin Console , right-click the 10215A-NYC-CL1 virtual machine, and then click Manage checkpoints . 15. Click CheckPoint1 , and then click Restore . Click Yes . 16. After checkpoint is restored, click OK . Note that 10215A-NYC-CL1 has the status of Running . 17. Right-click the NYC-SVR5 virtual machine, and choose Connect to virtual machine . The Virtual Machine Viewer window will appear. 18. Make sure that the BeforeCheckPoint1 folder is on the desktop. 19. Leave Virtual Machine Viewer open. Course 10215A
In this demonstration , you should show students how to manage multiple checkpoints. This demonstration’s k ey message is to show how to restore to checkpoints , to revert a virtual machine to the state it was in before the checkpoint was created , with all data that was available at that time. Also, you should demonstrate how to delete checkpoint s . Demonstration steps: 1.If necessary, right-click the 10215A-NYC-CL1 virtual machine, and then click Connect to virtual machine . The Virtual Machine Viewer window will open. 2.Right-click the desktop of a virtual machine, and choose New on the drop-down list, and then click Folder . Name the folder as BeforeCheckpoint2 . 3.Switch to the SCVMM Admin Console window, right-click the 10215A-NYC-CL1 virtual machine, and then click New checkpoint . 4.Enter Checkpoint2 for the checkpoint name, and then click Create . 5.Switch to the Virtual Machine Viewer , right-click the desktop of a virtual machine, choose New on the drop-down list, and then click Folder . Name the folder BeforeCheckpoint3 . 6.Switch to the SCVMM Admin Console window, right-click the 10215A-NYC-CL1 virtual machine, and then click New checkpoint . 7.Enter Checkpoint3 for the checkpoint name, and then click Create . 8.On a host machine, browse to the folder where the virtual machines are stored ( C:\\Program Files\\Microsoft Learning\\10215A\\Drives\\10215A-NYC-CL1\\Virtual Hard Disks ), and verify that three files with an .AVHD extension are created. 9.On a host machine, open Hyper-V Manager from Administrative Tools , and then click the 10215A-NYC-CL1 virtual machine. Ensure that all three checkpoints (referred to as snapshots) are available. Close Hyper-V Manager . 10.Switch back to the SCVMM AdminConsole, and in the Virtual Machines view, right-click the 10215A-NYC-CL1 virtual machine, and then click Manage checkpoints . 11.Click CheckPoint1 , and then click Restore . Click Yes . 12.After the checkpoint is restored, click OK . 13.Right-click the 10215A-NYC-CL1 virtual machine, and then choose Connect to virtual machine . The Virtual Machine Viewer window will appear. 14.Make sure that only the BeforeCheckPoint1 folder is on the desktop. 15.Switch back to SCVMM AdminConsole , and in the Virtual Machines view, right-click the 10215A-NYC-CL1 virtual machine, and then click Manage checkpoints .. Course 10215A
16. Click CheckPoint2 , and then click Restore . Click Yes . 17. After the checkpoint is restored, click OK . 18. Right-click the 10215A-NYC-CL1 virtual machine, and then choose Connect to virtual machine . The Virtual Machine Viewer window will appear. 19. Make sure that folders BeforeCheckPoint1 and BeforeCheckPoint2 are on a desktop. 20. Switch back to SCVMM AdminConsole , and in the Virtual Machines view, right-click the 10215A-NYC-CL1 virtual machine, and then click Manage checkpoints . 21. Click CheckPoint1 , and then click Remove . Click Yes . 22. Click CheckPoint3 , and then click Restore . Click Yes . 23. After the checkpoint is restored, click OK . 24. Right-click the 10215A-NYC-CL1 virtual machine, and then choose Connect to virtual machine . The Virtual Machine Viewer window will appear. 25. Make sure that folders BeforeCheckPoint1, BeforeCheckPoint2 , and BeforeCheckPoint3 are on the desktop. 26. Shut down the 10215A-NYC-CL1 virtual machine. Course 10215A
In this lab, students wil l operate virtual machines, modify virtual machine properties and hardware configuration , and create and manage virtual machine checkpoints. Exercise 1 In this exercise, students will perform operational tasks on virtual machines . Exercise 2 In this exercise, students will modify general and custom virtual machine properties, and also will modify the hardware configuration of virtual machine. Before students begin the lab, read the scenario associated with each exercise to the class. This will reinforce the broad issue that the students are troubleshooting and will help to facilitate the lab discussion at the end of the module. Remind the students to complete the discussion questions after the last lab exercise. Note: The lab exercise answer keys are provided on the Course Companion CD. To access the answer key, click the link located at the bottom of the relevant lab exercise page. Course 10215A
Course 10215A
Use the questions on the slide to guide the debriefing after students complete the lab exercises. Question: Is it possible to have more than one saved state per virtual machine? Answer: No . You can have only one saved state per virtual machine. If you want to have multiple point-in-time states for a virtual machine, you should use checkpoints . Question: Does restoring a checkpoint also restore the hardware configuration? Answer: Yes, but only i f the virtual machine is running on VMWare ESX or on Hyper-V. Course 10215A
Review Questions Point the students to the appropriate sections in the course so that they are able to answer the questions that this section presents. Common Issues Related to Desktop Application Support Point the students to possible troubleshooting tips for the issues that this section presents. Real-World Issues and Scenarios You can discuss possible solutions for the scenarios at the module’s end or assign these scenarios as homework. If you assign the scenarios as homework, you should provide some high-level hints that might help the students solve the problem stated in the scenarios. You can also do a follow-up debriefing the following day on some of the scenarios that have been assigned as homework to students. You can create high-level hints for each scenario by using the following possible solutions: Scenario 1. SHOULD THERE BE SOMETHING HERE? Solution 1. Scenario 2. Solution 2. Scenario 3. Solution 3 . Best Practices for Supporting Users Running Applications on Windows® XP Help the students understand the best practices that this section presents. Ask students to consider these best practices in the context of their own business situations. Tools Point out the location from which each key tool can be installed. Let students review the function and usage of each tool on their own. Remind students that they can use this as a master list to help them gather all the tools required to facilitate their application support work. Module 6: Managing Virtual Machines Using Virtual Machine Manager 2008 Course 10215A