Module  1 0 Backup and Restore Strategies for Virtual Machines
Module Overview <ul><li>Overview of Backup and Restore Options for Virtual Machines and the VMM database </li></ul><ul><li...
Lesson  1 : Overview of Backup and Restore Options for Virtual Machines and the VMM database <ul><li>Virtual Machine Backu...
Virtual Machine Backup and Restore <ul><li>Volume Shadow Service (VSS)  </li></ul>Storage Storage Physical Host  (Parent P...
Backup Options for Virtual Machines Perform a backup from the server running Hyper-V <ul><li>Online </li></ul><ul><li>Offl...
Demonstration: Backing Up and Restoring Virtual Machines by Using Windows Server Backup <ul><li>In this demonstration, you...
Notes Page Over-flow Slide. Do Not Print Slide. See Notes pane.
Notes Page Over-flow Slide. Do Not Print Slide. See Notes pane.
Considerations for Backing Up and Restoring Clustered Virtual Machines Before you backup and restore clustered virtual mac...
Backup  and Restore  Options for VMM 2008  R2  Backup should be planned for the: <ul><li>Virtual Machine Manager server </...
Demonstration: Backing Up and Restoring a  VMM Database <ul><li>In this demonstration, your instructor will show you how t...
Lesson  2 :   Backing Up the Hyper-V Infrastructure by Implementing Data Protection Manager 2007 <ul><li>What Is Data Prot...
What Is Data Protection Manager 2007 SP1? Online Snapshots (up to 512) Disk-based  Recovery Tape-based  Backup DPM 2007 SP...
System Requirements for DPM 2007 SP1  <ul><li>CPU </li></ul><ul><li>Memory </li></ul><ul><li>Disk space </li></ul><ul><li>...
How DPM 2007 SP1 Protects Virtual Machines For any guest operating system that is not VSS-capable, DPM 2007: <ul><li>Hiber...
Options for Backing Up Virtual Machines with DPM 2007 SP1  <ul><li>Host-based protection: </li></ul><ul><ul><li>Protect or...
Demonstration: Reviewing and Configuring DPM 2007 SP1  <ul><li>In this demonstration ,   you will see the  DPM 2007 SP1  A...
Notes Page Over-flow Slide. Do Not Print Slide. See Notes pane.
Considerations for Using DPM to Back Up Virtual Machines  <ul><li>Adding virtual machines </li></ul><ul><li>Moving virtual...
Demonstration: Backing Up A Virtual Machine Using DPM 2007 SP1 <ul><li>In this demonstration, you will see how to backup t...
Choosing a Virtual Machine Recovery Method Recovering a virtual machine to its original location: <ul><li>Recover directly...
Demonstration: Restoring Virtual Machines with DPM 2007 SP1 <ul><li>In this demonstration ,   you will see  how to restore...
Lab :  Backing up and Restoring the VMM 2008 Infrastructure  <ul><li>Exercise  1 :Backing Up and Restoring the SCVMM Datab...
Lab Scenario <ul><li>As a part of planning for a production server’s virtualization, Contoso Ltd. is considering backup st...
Lab Review <ul><li>What do you need to ensure after you restore VMM database from backup? </li></ul><ul><li>How  does  Win...
Module Review and Takeaways <ul><li>Review Questions </li></ul><ul><li>Common Issues and Troubleshooting Tips </li></ul><u...
Upcoming SlideShare
Loading in …5
×

10215 A 10

732 views

Published on

  • Be the first to comment

  • Be the first to like this

10215 A 10

  1. 1. Module 1 0 Backup and Restore Strategies for Virtual Machines
  2. 2. Module Overview <ul><li>Overview of Backup and Restore Options for Virtual Machines and the VMM database </li></ul><ul><li>Implementing Data Protection Manager 2007 SP1 for Backing Up the Hyper-V Infrastructure </li></ul>
  3. 3. Lesson 1 : Overview of Backup and Restore Options for Virtual Machines and the VMM database <ul><li>Virtual Machine Backup and Restore </li></ul><ul><li>Backup Options for Virtual Machines </li></ul><ul><li>Demonstration: Backing Up and Restoring Virtual Machines by Using Windows Server Backup </li></ul><ul><li>Considerations for Backing Up and Restoring Clustered Virtual Machines </li></ul><ul><li>Backup and Restore Options for VMM 2008 R2 </li></ul><ul><li>Demonstration: Backing Up and Restoring a VMM Database </li></ul>
  4. 4. Virtual Machine Backup and Restore <ul><li>Volume Shadow Service (VSS) </li></ul>Storage Storage Physical Host (Parent Partition) Storage (in VHD) Storage (in VHD) Contemporary Windows virtual machine Non-VSS aware virtual machine (Linux, UNIX, Windows 2000) Storage (in VHD) Storage (in VHD) Requestor (Backup utility) VSS Writer (Application) Provider (Storage software or hardware) Requestor (Backup utility) VSS Writer (Application) Provider (Storage software or hardware) Processes in memory
  5. 5. Backup Options for Virtual Machines Perform a backup from the server running Hyper-V <ul><li>Online </li></ul><ul><li>Offline </li></ul>Perform a backup from within the guest operating system of a virtual machine Most organizations will use both host level and guest level backup
  6. 6. Demonstration: Backing Up and Restoring Virtual Machines by Using Windows Server Backup <ul><li>In this demonstration, your instructor will show how to backup and restore a virtual machine by using Windows Server Backup in Windows Server 2008 R2 </li></ul>
  7. 7. Notes Page Over-flow Slide. Do Not Print Slide. See Notes pane.
  8. 8. Notes Page Over-flow Slide. Do Not Print Slide. See Notes pane.
  9. 9. Considerations for Backing Up and Restoring Clustered Virtual Machines Before you backup and restore clustered virtual machines, be aware that you should: Apply hotfix KB 958184 (Windows 2008 RTM only) Consider taking the virtual machine offline
  10. 10. Backup and Restore Options for VMM 2008 R2 Backup should be planned for the: <ul><li>Virtual Machine Manager server </li></ul><ul><li>SQL database (user accounts, configuration data) </li></ul><ul><li>Hosts </li></ul><ul><li>Virtual machines </li></ul><ul><li>Host configuration data (virtual networks) </li></ul><ul><li>Library server data </li></ul><ul><li>Virtual hard disks </li></ul><ul><li>ISO images </li></ul><ul><li>Backup VMM database from Admin istrator Console </li></ul><ul><li>Restore VMM database using scvmmrecover.exe Hosts </li></ul><ul><li>Restore considerations </li></ul>
  11. 11. Demonstration: Backing Up and Restoring a VMM Database <ul><li>In this demonstration, your instructor will show you how to back up and restore the VMM database, using built-in tools </li></ul>
  12. 12. Lesson 2 : Backing Up the Hyper-V Infrastructure by Implementing Data Protection Manager 2007 <ul><li>What Is Data Protection Manager 2007 SP1? </li></ul><ul><li>System Requirements for DPM 2007 SP1 </li></ul><ul><li>How DPM 2007 SP1 Protects Virtual Machines </li></ul><ul><li>Options for Backing Up Virtual Machines with DPM 2007 SP1 </li></ul><ul><li>Demonstration: Reviewing and Configuring DPM 2007 SP1 </li></ul><ul><li>Considerations for Using DPM to Back Up Virtual Machines </li></ul><ul><li>Demonstration: Backing Up A Virtual Machine Using DPM 2007 SP1 </li></ul><ul><li>Choosing a Virtual Machine Recovery Method </li></ul><ul><li>Demonstration: Restoring Virtual Machines with DPM 2007 SP1 </li></ul>
  13. 13. What Is Data Protection Manager 2007 SP1? Online Snapshots (up to 512) Disk-based Recovery Tape-based Backup DPM 2007 SP1 Active Directory System State Windows Server 2003 Windows Server 2008 File Shares and Directories Windows XP Windows Vista Windows 7 Disaster Recovery with Offsite Replication and Tape DPM 2007 SP1 Friday May occur every 15 minutes Monday Tuesday Wed Thurs
  14. 14. System Requirements for DPM 2007 SP1 <ul><li>CPU </li></ul><ul><li>Memory </li></ul><ul><li>Disk space </li></ul><ul><li>Storage </li></ul><ul><li>Operating system </li></ul><ul><li>Server software </li></ul><ul><li>Protected computer requirements </li></ul><ul><li>Other requirements </li></ul>
  15. 15. How DPM 2007 SP1 Protects Virtual Machines For any guest operating system that is not VSS-capable, DPM 2007: <ul><li>Hibernates the operating system to dump memory and CPU to transient save state </li></ul><ul><li>Takes a snapshot with VSS </li></ul><ul><li>Resumes the operating system </li></ul><ul><li>Tracks changed blocks in VHDs </li></ul>For guests that support VSS writer : <ul><li>DPM 2007 SP1 calls the Virtual Server or Hyper-V VSS writer </li></ul><ul><li>The VSS writer determines that VM is VSS-capable and calls internal VSS writers </li></ul><ul><li>SQL Server VSS writer checks for database consistency </li></ul><ul><li>Windows Server VSS writer checks to see if the NTFS volume data is consistent </li></ul><ul><li>When all internal data is confirmed as consistent, the VSS writer or Hyper-V passes the changed data information to DPM 2007 SP1 for protection </li></ul>
  16. 16. Options for Backing Up Virtual Machines with DPM 2007 SP1 <ul><li>Host-based protection: </li></ul><ul><ul><li>Protect or recover the whole machine </li></ul></ul><ul><ul><li>No data selectability </li></ul></ul><ul><ul><li>Bare metal recovery for every virtual machine </li></ul></ul><ul><ul><li>Single DPM 2007 SP1 agent and license on host — all guests are protected </li></ul></ul><ul><ul><li>Protect non-Windows servers and older Windows operating systems </li></ul></ul><ul><li>Guest-based protection: Protect and recover granular data </li></ul><ul><ul><li>SQL Server databases, Exchange storage groups, SharePoint farms, folders, and files </li></ul></ul><ul><li>No different from protecting a physical server: Purchase one DPM license (DPML) per guest </li></ul><ul><li>Combination of host-based and guest-based: </li></ul><ul><ul><li>Best of both worlds </li></ul></ul><ul><ul><li>Deploy DPM agents on host and guests </li></ul></ul><ul><li>Local data source protection: </li></ul><ul><ul><li>DPM 2007 SP1 server acts as file server and Hyper-V host </li></ul></ul><ul><ul><li>Protects branch office scenarios </li></ul></ul>
  17. 17. Demonstration: Reviewing and Configuring DPM 2007 SP1 <ul><li>In this demonstration , you will see the DPM 2007 SP1 A dministration C onsole and perform the configuration steps needed for Hyper-V backup </li></ul>
  18. 18. Notes Page Over-flow Slide. Do Not Print Slide. See Notes pane.
  19. 19. Considerations for Using DPM to Back Up Virtual Machines <ul><li>Adding virtual machines </li></ul><ul><li>Moving virtual machines </li></ul><ul><li>Moving virtual hard disks </li></ul><ul><li>Renaming the protected virtual server </li></ul><ul><li>Changing virtual machine file paths </li></ul><ul><li>Optimizing performance for slow networks </li></ul>
  20. 20. Demonstration: Backing Up A Virtual Machine Using DPM 2007 SP1 <ul><li>In this demonstration, you will see how to backup the virtual machine environment using DPM 2007 SP1 </li></ul>
  21. 21. Choosing a Virtual Machine Recovery Method Recovering a virtual machine to its original location: <ul><li>Recover directly to original virtualization host </li></ul><ul><li>Overwrites existing copy </li></ul>Recovering a virtual machine to an alternate location : <ul><li>Provides point-in-time restore to a separate location </li></ul><ul><li>Enables side-by-side comparison </li></ul><ul><li>Copy to network folder or tape </li></ul>
  22. 22. Demonstration: Restoring Virtual Machines with DPM 2007 SP1 <ul><li>In this demonstration , you will see how to restore a virtual machine from backup </li></ul>
  23. 23. Lab : Backing up and Restoring the VMM 2008 Infrastructure <ul><li>Exercise 1 :Backing Up and Restoring the SCVMM Database </li></ul><ul><li>Exercise 2 :Using Windows Server Backup to Perform Virtual Machine Backup </li></ul><ul><li>Exercise 3 : Performing Backup of Virtual Machines by Using DPM 2007 SP1 </li></ul>Logon information Estimated time: 50 minutes NYC-Host1, NYC-Host2 Host machines Virtual machines NYC-DC1, NYC-SVR1 User name Administrator Password Pa$$w0rd
  24. 24. Lab Scenario <ul><li>As a part of planning for a production server’s virtualization, Contoso Ltd. is considering backup strategies for its virtual environment. Contoso prefers a solution that is cost effective and that can integrate easily into the current environment, which is based on Windows Server 2008 R2 servers. Your job is to evaluate available technologies and propose solutions. After doing the research, you decide to conduct a more-detailed evaluation of built-in technologies in Windows Server 2008 R2 and Virtual Machine Manager, and in Data Protection Manager 2007 SP1. </li></ul>
  25. 25. Lab Review <ul><li>What do you need to ensure after you restore VMM database from backup? </li></ul><ul><li>How does Windows Server Backup backup virtual machines that do not support VSS writer? </li></ul><ul><li>List some advantages in DPM 2007 SP1 over Windows Server Backup from the aspect of virtual machine backup. </li></ul>
  26. 26. Module Review and Takeaways <ul><li>Review Questions </li></ul><ul><li>Common Issues and Troubleshooting Tips </li></ul><ul><li>Real-World Issues and Scenarios </li></ul><ul><li>Best Practices </li></ul><ul><li>Tools </li></ul>

×