Your SlideShare is downloading. ×

6420 a 15

930

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
930
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
32
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • Module 15: Server Virtualization Overview Course 6420A Presentation: 30 minutes This module helps students to the fundamental functions included with Windows Server Virtualization. Required materials To teach this module, you need the Microsoft ® Office PowerPoint® file 6420A_15.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. 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.
  • Module 15: Server Virtualization Overview Course 6420A
  • Module 15: Server Virtualization Overview Course 6420A
  • Module 15: Server Virtualization Overview Course 6420A Throughout this course, students are using Virtual Server and virtual machines. This is one way that server virtualization can be implemented using a hypervisor. The next slides show various ways that hypervisors can be used. Question: How does server virtualization relate to a multi-boot configuration? Answer: A multi-boot configuration allows a multiple operating systems to be installed on a single computer, but only one operating system is running at a time. For example, if Linux and Microsoft Windows® operating systems are installed on a multi-boot system, then either Windows or Linux can be running, but not both at the same time. Server virtualization allows multiple operating systems to run at the same time on a single computer.
  • Module 15: Server Virtualization Overview Course 6420A Explain the various implementations of virtualization: Type 2 - Used by Java or Common Language Runtime (CLR) to isolate application instances. Hybrid - Used for server virtualization to run multiple operating systems. Type 1 – Use for server virtualization to run multiple operating systems. In most cases, only type 1 is referred to as a hypervisor. The hypervisor isolates guests from the hardware and each other. Question: Why will a type 1 architecture have better performance than a type 2 architecture? Answer: A type 1 architecture requires the guests to run within the host operating system, which creates additional overhead. A type 2 architecture reduces overhead by running the hypervisor before any operating systems.
  • Module 15: Server Virtualization Overview Course 6420A The key benefits of a microkernelized architecture are as follows: Eliminates driver restrictions because hardware is not being emulated Simplifies hypervisor development because there is less code without drivers Increases security because third-party code is not used for hardware emulation Increases performance because hypervisor is performing less work Ensure that students understand that the guests still rely on the parent virtual machine (VM) for access to hardware. Question: With a microkernelized hypervisor, will additional software need to be installed for a Guest operating system to run in a VM? Answer: Yes, the hypervisor does not emulate hardware. So, you need to install the driver software in the guest operating systems.
  • Module 15: Server Virtualization Overview Course 6420A Describe the problems that server virtualization resolves: Difficult to find hardware drivers for older operating systems Servers that have very low utilization of hardware Maintenance of many physical servers Recovery of VMs and migration to new hardware Question: Which hardware components in a server may have low utilization? Answer: CPU utilization in many servers is low. Disk utilization may also be low, depending on the application it is being used for. Memory is the resource most likely to be a bottleneck when implementing virtualization.
  • Module 15: Server Virtualization Overview Course 6420A Explain how each of the server virtualization scenarios is useful: • Server consolidation – reduce hardware costs and hardware management costs • Testing and development – reduce the amount of hardware dedicated to testing and create multiple server testing scenarios • Re-host legacy applications – avoid the need to find hardware drivers for legacy operating systems • Disaster recovery – easily move a virtual machine to another physical server when the physical server experiences a problem. Question: What are some types of testing that can be performed with a virtual environment? Answer: Any software testing that does not rely on specific hardware can be performed in a virtual environment. For example, you can test application patches. However, you cannot test hardware-specific software, such as drivers, because the hardware is not present in the VM.
  • Module 15: Server Virtualization Overview Course 6420A
  • Module 15: Server Virtualization Overview Course 6420A Students are using Virtual Server to manage the virtual machines in this course. Explain the role of .vhd and vmc files. This will help students understand how a virtual machine can be relocated from one server to another. If students are interested, you can also mention: • Undo disks • Differencing disks • Memory state saved to disk Question: What benefit is there to a fixed-size virtual disk rather than growing dynamically? Answer: A fixed-size virtual disk will have better performance than a dynamically expanding disk. Each time a dynamically expanding virtual disk expands, there is a performance loss as the vhd file is expanded on the disk. Also, because a dynamically expanding disk is created over time, the vhd file is more likely to be fragmented on the physical disk, which will cause slower disk performance.
  • Module 15: Server Virtualization Overview Course 6420A Describe the features of Windows Server Virtualization and why they are a benefit: • A bare metal hypervisor for 64-bit editions of Windows Server® 2008 – more secure and faster • Supports dynamic resource allocation – add process and memory to VMs without restarts • Supports 32-bit and 64-bit guests – Can be used to support new or older operating systems • Live migration of virtual machines – Allows for maintenance of physical servers without downtime and enhances disaster recovery. Question: What is the benefit of dynamic resource allocation between child partitions? Answer: This allows you to allocate more resources to a child partition when it is low on resources. For example, you can increase the processor or memory allocation without restarting the virtual machine.
  • Module 15: Server Virtualization Overview Course 6420A Key things to note about the hardware and software requirements: The Windows Web Server 2008 operating system does not include virtualization Only 64-bit editions of Windows Server 2008 support virtualization, but guests can be 32-bit or 64-bit The required processor features are commonly available in current server processors Question: Why are hardware-assisted virtualization and hardware-enabled DEP required by Windows Server Virtualization? Answer: These features increase the performance of Windows Server Virtualization by offloading tasks onto hardware. To ensure adequate performance and simplify development, they are required.
  • Module 15: Server Virtualization Overview Course 6420A Question: Why are snapshots useful for system updates? Answer: A snapshot allows you to take a system backup with no downtime. And because it takes a copy of the entire system, you don’t need to worry about the integrity of transactions that are being processed. However, you should be aware that if an application uses multiple servers, backing up a single server may not be enough to ensure application integrity. For example, an application that uses a database server and an application server may also update the database structure when the application server is updated.
  • Module 15: Server Virtualization Overview Course 6420A The main goal of this topic is to understand how a child partition relates to the parent partition. Windows Server Virtualization still uses virtualized hardware in the child partitions, but this hardware is synthetic rather than emulated. Virtualization Service Clients are additional software installed in the child partition operating system to provide synthetic hardware. VMBus is a communication path between the parent partition and the child. Enlightenments are capabilities of the operating system to recognize it is running in a virtualized environment. In particular, Windows Server 2008 optimizes memory management differently when virtualized. Independent hardware vendor (IHV) drivers are the drivers that communicate with physical hardware on the server. Hardware communication process: App > VSC > VMBus > VSP > Driver > Hardware (through hypervisor) Virtualization stack is the monitoring and management of child partitions. Other scenarios: XEN virtualization for Linux – additional software is installed in the child to support XEN virtualization; still uses VMBus Non-aware operating system – additional software is installed to provide device emulation; VMBus is not used Question: From the perspective of the user, how do synthetic hardware devices vary from emulated hardware devices? Answer: From a user perspective, there is no difference. In both cases, drivers are installed to support the hardware devices. Both types of hardware devices appear in device manager. The VMBus appears in device manger as well.
  • Module 15: Server Virtualization Overview Course 6420A
  • Module 15: Server Virtualization Overview Course 6420A Describe the hardware consideration for students. Discuss how the specifications change as more virtual machines are added. Question: How can you expand disk throughput? Answer: You can expand disk throughput by adding additional disks and using redundant array of independent drives (RAID). RAID 10 (striped set of mirrored disks) is the most effective for increasing disk throughput. If disk throughput requirements are very high, a storage area network (SAN) may be used. You may also use small computer system interface (SCSI) disks instead of serial advanced technology attachment (SATA).
  • Module 15: Server Virtualization Overview Course 6420A Describe why a guest operating system must be supported. In addition, differentiate between an operating system that is hypervisor aware and one that is not. Hypervisor aware Non-hypervisor aware Talk to hardware directly Use emulated hardware Windows Server 2008 Previous versions of Windows Question: Which Windows operating system will have the best performance when virtualized? Answer: Windows Server 2008 is the only Windows operating system that is hypervisor aware. Consequently, it will have the best performance because it will optimize for a virtualized environment.
  • Module 15: Server Virtualization Overview Course 6420A Discuss the risk of problems affecting multiple virtual machines. Mention that using server core as the parent partition reduces the risk of failure. Mention that some things are more difficult to monitor with virtual machines. For example, a standard network sniffer may not see network traffic between virtual machines because those packets are never transmitted on the network infrastructure. References: System Center Operations Manager 2007 Web page on the Microsoft Web site http://go.microsoft.com/fwlink/?LinkId=103919 Question: How does using Server Core make the parent partition more stable? Answer: Server Core has a minimal set of Windows features and no graphical interface. By reducing the available features, the risk of failure is minimized. This also increases security.
  • Module 15: Server Virtualization Overview Course 6420A Describe what system center virtual machine manager is and how it simplifies the management of VMs. This tool can manage VMs in Virtual Server and Windows Server Virtualization.
  • Module 15: Server Virtualization Overview Course 6420A Question: When a planned migration is performed using Quick Migration, do the applications on the VM need to be restarted? Answer: No, when a planned migration is performed, the current state of the VM is saved to disk. This includes all information in memory of the VM. The files on the SAN are then made available to the standby server for restoration. When the VM is restored, all applications that were running at the time the current state was saved are still running.
  • Module 15: Server Virtualization Overview Course 6420A Review Questions Point the students to the appropriate section in the course so that they are able to answer the questions presented in this section. Question: What is the difference between a monolithic and microkernelized hypervisor? Answer: In both cases, the hypervisor is responsible for partitioning system hardware for the host and guest operating systems. However, a monolithic hypervisor includes emulated hardware and drivers. A microkernelized hypervisor performs only partitioning duties and is much smaller. This makes a microkernelized hypervisor better performing and more secure. Question: What are the hardware requirements for running Windows Server Virtualization? Answer: Windows Server Virtualization requires a 64-bit x86 processor. The processor must also include hardware-assisted virtualization and hardware-enabled Data Execution Prevention. These features are available in both AMD and Intel processors. Question: What considerations beyond the basic hardware requirements must be considered when purchasing hardware to host VMs? Answer: The servers hosting VMs must have sufficient capacity to support all VMs running at the same time. There must be enough physical memory, processing capacity, disk throughput, and network throughput. The performance of VMs will be degraded if any component in the host server is overloaded. Real-world Issues and Scenarios You can either discuss possible solutions for the scenarios at the end of the module or assign these scenarios as homework for the students. 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. Scenario: You are an IT architect at a large insurance provider with seven physical locations, 12,000 users and 220 servers. Your organization wants to use server virtualization to reduce management and hardware costs by combining existing servers on new hardware. What criteria will you use when you select servers for consolidation? Answer: One way to automate the process would be by using System Center Virtual Machine Manager. You would not want to virtualize servers that are very demanding on resources. Some criteria you can use include the following: Older hardware that may be failing Servers that have low resource utilization Servers where you want to improve failure recovery. Scenario: You are an IT architect at a large insurance provider. You have migrated many important applications to VMs and want to increase the availability of those VMs. How can availability of VMs be increased when you use Windows Server Virtualization? Answer: Quick Migration increases the availability of VMs by putting them in a failover cluster. When the node in the cluster hosting the VM fails, the VM is restarted on another node. For maintenance, planned migrations can be performed with significantly less downtime. Scenario: You are the manager responsible for controlling the process that is used for testing new application updates and releases at a large insurance provider. In the past, you have maintained development, test, and production servers for all applications. This resulted in hundreds of servers being stored in the datacenter. How can you use Windows Server Virtualization to reduce hardware costs for development and testing? Answer: Instead of having physical servers for development and testing, you can use virtual servers. The development and testing servers will have much lower utilization than the production servers and many can be run on a single, physical server. Frequently, the development and testing servers can be shut down when they are not in use to further increase scalability. You can use System Center Virtual Machine Manager to help manage the VMs, including delegation of VM creation to testing staff. Best Practices Help the students understand the best practices presented in this section. Ask students to consider these best practices in the context of their own business situations.
  • Module x: Title Course xxxxy Remind students to complete the course evaluation.
  • Transcript

    • 1. Module 15: Server Virtualization Overview
    • 2. Module 15: Server Virtualization Overview
      • Overview of Server Virtualization
      • Overview of Windows Server Virtualization
      • Creating a Virtual Environment
    • 3. Lesson 1: Overview of Server Virtualization
      • What Is Server Virtualization?
      • Hypervisor Architecture
      • Hypervisor Types
      • Benefits of Server Virtualization
      • Server Virtualization Scenarios
    • 4. What Is Server Virtualization? A hypervisor :
      • May run on bare metal or within a host operating system
      • Can present emulated hardware to guest operating systems
      • Isolates operating system instances
      Server virtualization enables multiple instances of an operating system to run on a single computer
    • 5. Hypervisor Architecture Host OS VMM Guest 1 Guest 2 VMM Guest 1 Guest 2 Host OS VMM Guest 1 Guest 2 Type-2 VMM Type-1 VMM Hybrid VMM Examples: JVM CLR Examples: Virtual PC and Virtual Server 2005 R2 Examples: Windows Server Virtualization Hardware Hardware Hardware Hypervisor Architecture
    • 6. Hypervisor Types
      • Monolithic hypervisor:
        • Simpler than a modern kernel, but still complex
        • Contains its own drivers model
      • Microkernelized hypervisor:
        • Simple partitioning functionality
        • Increase reliability
        • No third-party code
        • Drivers run within guests
      Hypervisor VM 1 (Admin) VM 2 VM 3 Hardware Hardware Hypervisor VM 2 (Child) VM 3 (Child) Virtual- ization Stack VM 1 ( Parent ) Drivers Drivers Drivers Drivers Drivers Drivers Drivers Drivers Drivers Drivers Drivers Drivers
    • 7. Benefits of Server Virtualization Simplified support of older operating systems Reduced hardware costs through more efficient use of hardware Benefits of server virtualization : Reduced management costs through less hardware    Simplified maintenance and failure recovery 
    • 8. Server Virtualization Scenarios
      • The server virtualization scenarios are:
      • Server consolidation
      • Testing and development
      • Re-host legacy applications
      • Failure recovery
    • 9. Lesson 2: Overview of Windows Server Virtualization
      • What Is Virtual Server?
      • What Is Windows Server Virtualization?
      • Windows Server Virtualization Requirements
      • Windows Server Virtualization Features
      • Windows Server Virtualization Architecture
    • 10. What Is Virtual Server?
      • Virtual Server:
      • Is a hypervisor that runs parallel to the Windows operating system (hybrid VMM)
      • Works with earlier versions of Windows Server
      • Stores disks in .vhd files
      • Stores configuration settings in .vmc files
      • Hardware devices are emulated
    • 11. What Is Windows Server Virtualization?
      • Windows Server Virtualization:
      • Is a bare metal hypervisor for 64-bit editions of the Windows Server 2008 operating system
      • Supports dynamic resource allocation
      • Supports 32-bit and 64-bit guests
      • Supports live migration of virtual machines
      Hardware Windows Hypervisor Parent Partition Windows Server 2008 Applications Applications Applications Child Partition Child Partition OS 1 OS 2
    • 12. Windows Server Virtualization Requirements
      • Software Requirements:
      • Windows Server 2008 Standard, Enterprise, or Datacenter
      • Windows Server 2008 64-bit editions only
      • Windows Server 2008 Enterprise includes licenses for up to 4 virtualized servers
      • Windows Server 2008 Datacenter includes licenses for an unlimited number of virtualized servers
      • Hardware Requirements:
      • 64-bit x86 processor
      • Hardware assisted virtualization
        • AMD-V or Intel VT
      • Hardware enabled Data Execution Prevention
        • AMD NX (no execute bit)
        • Intel XD (execute disable)
    • 13. Windows Server Virtualization Features
      • Features of Windows Server Virtualization:
      • Large memory support in VMs
      • Multiprocessor support in VMs
      • Support for network offload technologies
      • Virtual machine snapshots
      • Scripting interface
      • Minimum and maximum thresholds for CPU and network
      • Offline Virtual Hard Disk manipulation
      • Automatic failover to a recovery site
    • 14. Windows Server Virtualization Architecture Parent Partition Child Partitions Virtualization Stack VM Service WMI Provider Virtualization Service Providers (VSPs) Server Core Applications Windows Kernel Virtualization Service Clients (VSCs) IHV Drivers Enlightenments Windows Hypervisor “ Designed for Windows” Server Hardware User Mode Windows Kernel Kernel Mode VM Worker Processes Provided by: Windows ISV OEM Windows Virtualization VM Bus
    • 15. Lesson 3: Creating a Virtual Environment
      • Hardware Considerations for Virtualization
      • Software Considerations for Server Virtualization
      • Management Considerations for Server Virtualization
      • What Is System Center Virtual Machine Manager?
      • What Is Quick Migration?
    • 16. Hardware Considerations for Virtualization Physical memory must be enough to support all virtual machines at the same time Processor capacity must be enough to support all virtual machines at the same time Hardware considerations : Disk I/O is intensive for .vhd files and memory contents stored on disk    Multiple VMs share the network capacity of the hardware 
    • 17. Software Considerations for Server Virtualization The guest operating system must be supported Windows Server virtualization can run operating systems without modification Software considerations : Hypervisor aware operating system can make more efficient use of hardware resources   
    • 18. Management Considerations for Server Virtualization An MMC snap-in is used for management Physical hardware problems will affect multiple VMs Management considerations : Parent partition failure affects child partitions    Virtual machines can be more difficult to monitor  Monitor with System Center Operations Manager 2007 
    • 19. What Is System Center Virtual Machine Manager?
      • System Center Virtual Machine Manager enables:
      • Centralized deployment and management of VMs
      • Placement analysis
      • Physical to virtual conversion
      • Creation of a library of VM components
      • Delegated self-service provisioning
    • 20. What Is Quick Migration? Planned migration :
      • State is saved to disk then restored on standby server
      • Downtime depends on memory and speed of SAN
      • Downtime can be only several seconds
      Quick Migration enables VMs on a SAN to be migrated to a standby server Unplanned migration
      • State is not saved
      • Virtual machine is restarted on standby server
      • Downtime will be minutes
    • 21. Module Review and Takeaways
      • Review Questions
      • Real-world Issues and Scenarios
      • Best Practices
    • 22. Course Evaluation

    ×