Sei sulla pagina 1di 30

Virtualization

Hyper-V
Tran Hong Ngoc (thngoc1021@gmail.com)

Virtual Applications
Virtual applications. Running an application on a computer without installing the application. Virtual presentation. Separating the presentation of a process from the actual processing, which is essentially terminal services.
Terminal services has the I/O on one computer and the work done on a different server.

Virtual operating system. Running multiple instances of a component inside one OS without conflict, such as multiple IIS servers running with different configurations. Virtual machine. Removing a single OS on a single physical server. Virtual storage. Allowing data to follow users wherever they are and for data to be highly available. Virtual network. Allowing resources to be available anywhere - not just where you are physically connectedand enabling technologies such as VPN and terminal services over HTTP.
2

System Guard

Softgrid Architecture

System Guard

System Guard
Components make up the SoftGrid solution:
System Center Virtual Application Server.
Streams the SoftGrid-enabled applications to the clients, and checks whether a client is authorized for the application. Clients query the virtual application server to find out what applications are available. They can then place shortcuts in the client environment to allow users to initiate execution.

SoftGrid Data Store.


Used to store information about the SoftGrid environment.

SoftGrid Management Web Service.


The interface between the management console and the data store. Uses .NET Framework 1.1 or above and needs IIS 5.0 or above with ASP.NET extensions enabled.
5

System Guard
Components make up the SoftGrid solution (Cont.)
SoftGrid Client. A locally installed service running on the users machine It communicates with the virtual application server to receive the streamed application and caches it for use, even when the client is not connected to the network. The client also contains the SystemGuard environment for runtime virtualized application execution. SoftGrid Sequencer. A wizard-based tool that creates the streamable application from the original application media.
Homework: How to create and to use a virtualized application?
6

Virtualization and Hyper-V

Virtualization Technologies
Hosted Virtual Machine Manager (VMM)

Virtualization Technologies
Hypervisor Virtualization

Virtualization Technologies
Hypervisor Virtualization
Two types of hypervisors exist: monolithic and microkernelized

10

WS2k8 Virtualization

VMWares ESX Server

Virtualization Technologies

11

Hyper-V
The final version of Hyper-V was released on June 26, 2008 Hyper-V runs only on 64-bit platforms
Host OS must be 64-bit Guest OSs can be 32-bit or 64-bit

The processor must support virtualization assist


For AMD, this is AMD-V For Intel, it is Intel-VT

Hardware data execute protection must be supported and enabled via the BIOS known as NX for AMD processors and XD for Intel

12

Hyper-V
Each VM can be configured with multiple-processors (up to four cores)
Only supported with Windows Server 2008 (32- and 64-bit) and Windows Vista SP1 (32- and 64-bit) child partitions Windows Server 2003, 32-bit, only two-way SMP is supported. For Windows Server 2003, 64-bit two cores are supported. Other platforms, such as Windows 2000 SP24 andSUSE Linux Enterprise Server 10, support only a single core

Memory: up to 64GB

13

Hyper-V
Clustering of Hyper-V servers is supported with the new VM cluster resource
Allows a Quick Migration capability to move VMs between physical servers The ability to migrate physical hosts into a virtual environment to aid in server consolidation.

Pass-through disk access, which changes the performance of disk operations


Pass-through disk access allows an entire physical disk to be presented to a child partition as a virtual drive Allows all disk access to pass directly from the child partitions storage stack to the physical disk, bypassing the virtual storage stack and giving improved performance
14

Hyper-V
The OSs supported in the child partitions are broken down into two types: enlightened and nonenlightened Child partitions communicate to the hypervisor by documented calls known as hypercalls
A partition OS can find out if its running on a hypervisor (and even its version) via a hypercall if the OS is hypervisor-aware (or an enlightened guest OS) Windows Server 2008 and Windows Vista (with Hyper-V RC0 integration components) are fully enlightened Windows Server 2003 is only partially enlightened - it understands only driver virtualization and not the hypervisor at a kernel level If an OS does not know it is running on a hypervisor, it is nonenlightened and does not have the capability to use the normal VSC-VSP pairs.

15

Hyper-V Installation
Hyper-V is installed on Windows Server Core
Server Core uses fewer resources, has a smaller attack surface, has a lower management overhead and requires less patching than a full install means fewer changes of required reboots.

Install Hyper-V under Core; a standalone server, Microsoft Hyper-V Server, is available for $28 (U.S.)
This does not come with any Windows Server licenses to run as guest OSs

16

Hyper-V Installation
Server Manager, enable the Hyper-V role, Ethernet cards asked if available for use by the VMs

17

Hyper-V Installation
Use commands
Set the boot configuration database to automatically enable the hypervisor if available, instead of having to install the Hyper-V role and reboot. Example

After the configuration is complete, reboot the server

18

Network Management

19

VMs with Hyper-V

20

VMs with Hyper-V


The server configuration has three types of available virtual networks, which are accessed via the Virtual Network Manager action:
An external network is bound to a physical network adapter in the server An internal network connection is not bound to an Ethernet adapter
Creates a network connection using the Microsoft VMSwitch driver Enables communication between the parent OS and the guest OSs in the child partitions only. Its limited in scope to the single physical machine.

A private network creates no network connection on the host OS and is for use only by the VMs.
21

VMs with Hyper-V

22

Creating a VM
Create a new one Import a existing one

23

Creating a VM

24

VM Configuration

25

VM Configuration

26

VM Configuration

27

28

29

Other features
Snapshot Physical-to-Virtual Migration (online/offline P2V) Quick and Live Migration

30

Potrebbero piacerti anche