6 - virtualization hyper-v

Upload: tran-dat

Post on 06-Apr-2018

242 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/3/2019 6 - Virtualization Hyper-V

    1/30

    Virtualization

    Hyper-V

    Tran Hong Ngoc

    ([email protected])

  • 8/3/2019 6 - Virtualization Hyper-V

    2/30

    2

    Virtual Applications Virtual applications. Running an application on a computer without installing

    the application.

    Virtual presentation. Separating the presentation of a process from the actualprocessing, which is essentially terminal services.

    Terminal services has the I/O on one computer and the work done on a differentserver.

    Virtual operating system. Running multiple instances of a component insideone OS without conflict, such as multiple IIS servers running with differentconfigurations.

    Virtual machine. Removing a single OS on a single physical server.

    Virtual storage. Allowing data to follow users wherever they are and for data tobe highly available.

    Virtual network. Allowing resources to be available anywhere - not just whereyou are physically connectedand enabling technologies such as VPN andterminal services over HTTP.

  • 8/3/2019 6 - Virtualization Hyper-V

    3/30

  • 8/3/2019 6 - Virtualization Hyper-V

    4/30

    4

    System Guard

  • 8/3/2019 6 - Virtualization Hyper-V

    5/30

    5

    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 whatapplications are available.

    They can then place shortcuts in the client environment to allow usersto 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 withASP.NET extensions enabled.

  • 8/3/2019 6 - Virtualization Hyper-V

    6/30

    6

    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 receivethe 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 run-

    time virtualized application execution.

    SoftGrid Sequencer.

    A wizard-based tool that creates the streamable applicationfrom the original application media.

    Homework: How to create and to use a virtualized application?

  • 8/3/2019 6 - Virtualization Hyper-V

    7/30

    7

    Virtualization and Hyper-V

  • 8/3/2019 6 - Virtualization Hyper-V

    8/30

    8

    Virtualization Technologies Hosted Virtual Machine Manager (VMM)

  • 8/3/2019 6 - Virtualization Hyper-V

    9/30

    9

    Virtualization Technologies Hypervisor Virtualization

  • 8/3/2019 6 - Virtualization Hyper-V

    10/30

    10

    Virtualization Technologies Hypervisor Virtualization

    Two types of hypervisors exist: monolithic and microkernelized

    WS2k8 Virtualization VMWares ESX Server

  • 8/3/2019 6 - Virtualization Hyper-V

    11/30

    11

    Virtualization Technologies

  • 8/3/2019 6 - Virtualization Hyper-V

    12/30

    12

    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 andenabled via the BIOS known as NX for AMD processors andXD for Intel

  • 8/3/2019 6 - Virtualization Hyper-V

    13/30

    13

    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

  • 8/3/2019 6 - Virtualization Hyper-V

    14/30

    14

    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 bepresented to a child partition as a virtual drive

    Allows all disk access to pass directly from the child partitionsstorage stack to the physical disk, bypassing the virtual storage

    stack and giving improved performance

  • 8/3/2019 6 - Virtualization Hyper-V

    15/30

    15

    Hyper-V The OSs supported in the child partitions are broken down into two

    types: enlightenedand nonenlightened

    Child partitions communicate to the hypervisor by documented callsknown 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 anenlightened guest OS)

    Windows Server 2008 and Windows Vista (with Hyper-V RC0 integrationcomponents) are fully enlightened

    Windows Server 2003 is only partially enlightened- it understands onlydriver virtualization and not the hypervisor at a kernel level

    If an OS does not know it is running on a hypervisor, it is nonenlightenedand does not have the capability to use the normal VSC-VSP pairs.

  • 8/3/2019 6 - Virtualization Hyper-V

    16/30

    16

    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 patchingthan 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

  • 8/3/2019 6 - Virtualization Hyper-V

    17/30

  • 8/3/2019 6 - Virtualization Hyper-V

    18/30

    18

    Hyper-V Installation Use commands

    Set the boot configuration database to automatically enable thehypervisor if available, instead of having to install the Hyper-Vrole and reboot.

    Example

    After the configuration is complete, reboot the server

  • 8/3/2019 6 - Virtualization Hyper-V

    19/30

    19

    Network Management

  • 8/3/2019 6 - Virtualization Hyper-V

    20/30

  • 8/3/2019 6 - Virtualization Hyper-V

    21/30

    21

    VMs with Hyper-V The server configuration has three types of available virtual

    networks, which are accessed via the Virtual NetworkManager action:

    An external network is bound to a physical network adapter inthe server

    An internal network connection is not bound to an Ethernetadapter

    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 hostOS and is for use only by the VMs.

  • 8/3/2019 6 - Virtualization Hyper-V

    22/30

  • 8/3/2019 6 - Virtualization Hyper-V

    23/30

  • 8/3/2019 6 - Virtualization Hyper-V

    24/30

  • 8/3/2019 6 - Virtualization Hyper-V

    25/30

    25

    VM Configuration

  • 8/3/2019 6 - Virtualization Hyper-V

    26/30

    26

    VM Configuration

  • 8/3/2019 6 - Virtualization Hyper-V

    27/30

    27

    VM Configuration

  • 8/3/2019 6 - Virtualization Hyper-V

    28/30

    28

  • 8/3/2019 6 - Virtualization Hyper-V

    29/30

    29

  • 8/3/2019 6 - Virtualization Hyper-V

    30/30

    30

    Other features Snapshot

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