Docstoc

Virtualisation - Microsoft

Document Sample
Virtualisation - Microsoft Powered By Docstoc
					Dave & Trevor
               AGENDA

13:00 Virtualisation – What we offer Today
14:10 Coffee
14:30 Hyper-V
15:40 Coffee
16:00 More Hyper-V
17:00 End
Windows 2008 User Group?
Virtualisation is the isolation of one computing resource from the others:

                                                   Virtual Applications
                                               Any application on any computer on-demand
              Applications installed to
             Specific hardware and OS
                                                   Virtual Presentation
                                                 Presentation layer separate from process
             Interface bound to process

             Operating System assigned                 Virtual Machine
                to specific hardware            OS can be assigned to any desktop or server

            Storage assigned to specific
                     locations                          Virtual Storage
                                                   Storage and backup over the network
            Network assigned to specific
                     locations
                                                       Virtual Network
                                                      Localizing dispersed resources


             Traditional software stack    Component isolation with Virtualisation


Virtualisation results in more efficient resource utilisation, and enables
greater flexibility and simplified change management
                                                          UI
                                                    Virtualisation
                                    Application
                                   Virtualisation
                     Desktop
                  Virtualisation
    Server
Virtualisation



                    complete set of virtual and physical –
                 AAll assets – bothvirtualisation products,
                      the data center to the desktop
                 frommanaged from a single platform
                     Hardware
           Backup   Provisioning




Disaster                     Workload
Recovery                    Provisioning




       Monitoring     Patching
 "Virtualisation without good
     management is more
   dangerous than not using
virtualisation in the first place"
    Thomas Bittman, Gartner
Assess, Deploy and Update from the Desktop to the Datacenter and Beyond
 Comprehensive Deploying and Updating
    Assess, migrate and deploy Windows Servers and Clients
    Deploy and update locally installed and virtual applications
    Manage your IT systems across the distributed enterprise
 Enhanced Insight and Control
    Translate Asset Intelligence data into useable information
    Improve control over IT systems and streamline compliance
    Leverage Microsoft and 3rd party configuration knowledge to
    improve configuration definition and maintenance
    Simplified administration through improved usability &
    services
 Optimised for Windows and Extensible Beyond
    Built on Windows technology foundation
    Improve systems availability by using Microsoft best practice
    expertise for Operating Systems and Applications
    Platform enables customised administration experience and
    can be extended to support 3rd party hardware and software
End-to-End Service Monitoring Without the Day-to-Day Drama

End to End Service Monitoring
   Proactive management of IT services
   End user perspective monitoring
   Service oriented views and dashboards
Best of Breed for Windows
   Expertise for over 50 Microsoft applications, servers and
   clients
   Client monitoring of Vista, XP and the Office Suite
   Audit collection services archives security logs
Increased Efficiency and Control
   Automatically discover and deploy appropriate monitoring
   policies
   Self tuning thresholds
   Easier to use, customise and author reports
Continuous data protection for Microsoft® application and file servers,
enabling rapid and reliable recovery for enterprises of all sizes
    Continuous Data Protection for Windows
    Application and File Servers
       Lossless Restores for Applications
       Superior application integration for Exchange, SQL,
       and SharePoint Portal and Virtual Servers
       One-click application restore
    Rapid and Reliable Recovery
       Shorter backup windows
       Shorter restore times
       Empowered End-User Recovery
       Robust monitoring and reporting
    Advanced Technology for Enterprises of all
    sizes
       Seamless Disk and Tape Integration
       Unified protection policies across data types
        SLA driven backup process
       Intuitive UI
       Enhanced media reliability Media Encryption
                                A centralised management application solution for
                                              the virtual datacenter.

Maximize Resources
     Centralised virtual machine deployment and management
     Intelligent placement of Virtual Machines
     Fast and reliable P2V and V2V conversion
     Comprehensive service-level enterprise monitoring with Operations
     Manager
Increase Agility
     Rapid provisioning of new and virtual machines with templates and profiles
     Centralised library of infrastructure components
     Leverage and extend existing storage infrastructure
     Allow for delegated management of VMs
Leverage Skills
     Familiar interface, common foundation
     Monitor physical and virtual machines from one console
     Fully scriptable using PowerShell

                VM
               VM
              VMVM
             VMVM
            VMVMVM
             VMVM
            VMVM VM
              VM VM
               VM VM
             VVM VM
             VMVM
               VM
             M
 Host
Groups
                             Context
                             Sensitive
                              Actions

 VM
Views    Centralised
           Library



                         Live
                       Thumbnail
Customised Per User




                        Ability to
                      control owned
                         virtual
                        machines




      Thumbnails of
        all owned
          virtual
        machines
Controlled by Administrator

                               Quotas used to
                              manage resource
                              allocation across
                                    users
Provisioning




               User selects from list
                   of templates
                Administrator has
               associated with that
                        user
Provisioning




                New virtual machine
                   ready for use,
                 Terminal Services
                    connection
                    information
               automatically emailed
                      to user.
Server Consolidation   Business Continuance




 Test and                   Branch Office
 Development
                        Utilisation
Server consolidation




Business continuity    Flexibility
Windows service with a Web admin interface
32-bit and 64-bit hosts
32-bit guests
 Single Processor
 3.65GB RAM
Support 512 Guests
Virtual Server Migration Toolkit (P2V)
Volume Shadow Service (VSS) support
Offline hard disk mounting service
High Availability
Traditional Non-Virtualised            Virtualised Environment
Environment                               Value of the physical server goes
  Downtime is bad, but affects            up
  only one workload                       Downtime is far worse because
                                          multiple workloads are affected




          Virtualisation and High-Availability Go Hand in Hand
High Availability
  Providing solutions for both planned and unplanned
  downtime
  Planned downtime
   Quickly move virtualized workloads to service underlying
   hardware
   More common than unplanned
  Unplanned downtime
   Automatic failover to other nodes (hardware or power
   failure)
   Not as common and more difficult
 Fundamentals
1. Save state
                                                      VHDs
   a)   Save entire virtual machine state
2. Move virtual machine                           Storage Area
   a)   Move storage connectivity from            Network (SAN)
        origin to destination host                Storage
3. Restore state and run
   a)   Restore virtual machine and run
   b)   Done


                                            Network Connectivity
VHD Format
  Data store in virtual hard disk (.vhd) files
  File format is the same:
    Virtual PC 2007
    Virtual Server 2005
    Windows Virtualisation (future)
 Free license from Microsoft
  www.microsoft.com/windowsserversystem/virtualserver/
  techinfo/vhdspec.mspx
  From 17-Oct-2006: Unregistered download available
Base VHD types

Dynamically    Default type: Grows as needed       Host     1GB                    2TB
expanding                                          Guest                           2TB
Fixed size     Highest performance type            Host                            2TB
                                                   Guest                           2TB

State drive types

Undo           Non-persistent, per VM (*.vud)
                                                     Base         Session


Differencing   Persistent parent-child hierarchy
                                                     Base         SP1   SP2

Saved states   Flush memory to disk (*.vsv)           VM

                                                                            Host
Announced 6-Nov-2006
Fully configured VHD-files
Downloadable from Microsoft's Web site
Evaluation versions
 Expires after 30 days
Partners can also provide their applications
See www.microsoft.com/vhd for more
information
Supported Windows guest operating systems:
   Windows NT®4
   Windows Server 2000
   Windows Server 2003
   Windows XP Professional SP2
Supported Linux distributions:
   Enterprise distributions:
       Red Hat Enterprise Linux 2.1 (update 6)
       Red Hat Enterprise Linux 3 (update 6)
       Red Hat Enterprise Linux 4
       SuSE Linux Enterprise Server 9
   Standard distributions:
       Red Hat Linux 7.3
       Red Hat Linux 9.0
       SuSE Linux 9.2/9.3
       SuSE Linux 10
Microsoft:
  Compatible means: “it just works”
  Compatible guest operating systems
    DOS
    Windows Client: Every version, 1.x, 3.1, 95, 98, ME, XP
    Window Server: Every version, NT, 2000, 2003 (all editions
    except Datacenter, which requires a minimum of 8
    processors)
    Linux
       Red Hat, Suse, Mandrake, Mandriva, Ubuntu, Fedora, etc.
    Others: OS/2, Cho-Kanji
    For a list of over a thousand operating systems that “just
    work” go to: http://vpc.visualwin.com/
     Integrated, end-to-end Virtualisation Solution


Infrastructure         Applications         Management           Interoperability           Licensing




Virtual Server 2005    Accelerate           Ease consolidation    Heterogeneous           Instance based
and Windows Server     deployment           onto virtual         support for Linux        licensing for
2003 make cost                              infrastructure                                Windows Server
effective              Reduce the cost                            VHD Open
virtualisation combo   of supporting        Better utilise       Specifications           Unlimited
                       applications         management           Promise                  instances with
Windows Server                              resources                                     Windows Server
virtualisation is a    Turn applications                           Standards Efforts      Data Center
component of            into dynamic,       Free up IT spend     DMTF: Standard APIs
                                                                                          Edition and
                        real-time                                for VM management
Windows Server                                                   PCI-SIG: Standards for   SQL Server
“Longhorn”              services                                 I/O virtualization       Enterprise Edition


                                         Microsoft Support
Compare Hyper-V to Virtual Server
Learn how to use Hyper-V in RC1
 Setup
 Configure
Learn how to work with VM’s in Hyper-V
Learn how to work with Networks in Hyper-V
Best practices and tips for managing VM’s
 No matter what platform really....
Hyper-V (formerly Windows Server virtualisation)
   A role you can install in Windows that includes the
   Hypervisor as well as management software
Partition
Hypervisor
   A piece of software that provides the ability to run
   multiple operating systems on one piece of hardware
   Ensures that the CPU and hardware answer the
   *correct* OS
   Microkernelised or Monlothic
   An “operating system” to the hypervisor
Virtual Machine
   A “child” partition
    Monolithic hypervisor                          Microkernelised hypervisor
       Simpler than a modern kernel,                   Simple partitioning functionality
       but still complex                               Increase reliability and minimize TCB
       Contains its own drivers model                  No third-party code
                                                       Drivers run within guests



           VM 1                                         VM 1
                      VM 2        VM 3
        (“Admin”)                                    (“Parent”)
                                                       Virtual-          VM 2           VM 3
                                                       isation         (“Child”)      (“Child”)
                                                        Stack
                    Hypervisor                        Drivers
                                                        Drivers
                                                         Drivers
                     Drivers
                       Drivers
                        Drivers
                                                                      Hypervisor
                    Hardware                                          Hardware

             Monolithic Approach                                   Hyper-V Approach


Microkernelised Hypervisor has an inherently secure architecture with minimal attack surface
   Parent Partition                         Child Partitions                  Provided by:

Virtualisation Stack                                                             Windows

                                                    Applications                 Windows
 WMI Provider                                                                    Virtualisation
                       VM Worker
      VM               Processes                                                 ISV
     Service
                                                                User Mode        OEM

                                           Virtualisation
                                              Service           Windows
Server Core         Virtualisation                               Kernel
                                              Clients
                          Service             (VSCs)
 Windows
  Kernel        IHV Providers
               Drivers    (VSPs)       VMBus                Enlightenments

                                                                Kernel Mode

                               Windows hypervisor

                   “Designed for Windows” Server Hardware
   Parent Partition                 Child Partition

       Host OS                        Guest OS


                  Network                         Network
       Internal    VSP                             VSC
         NIC



        Virtual Switch
                                    Virtual Machine
                                          NIC




                            VMBus
Physical NIC
                                                                                                   Provided by:

                                                                                                        OS
                                                                                                        Windows Server
                                                                                                        Virtualisation
                                                                                                        MS / XenSource /
      Parent Partition                                  Child Partitions                                Novell
                                                                                                        ISV/IHV/OEM


Virtualisation Stack

  WMI Provider         VM                                   Applications          Applications
                       Worker     Applications
  VM                   Process
  Service                                                                                                 User Mode

      Windows Server 2008        Windows Server 2003,
                                 Windows Server 2008                           Xen-enabled
                                                             Non hypervisor
                                                                               Linux Kernel     Linux
       Windows                     Windows                   aware OS
                                                                                                VSCs
       Kernel             VSP      Kernel      VSC
                                                                              Hypercall
                                                                              Adapter
                        VMBus              VMBus                Emulation                     VMBus
                                                                                                             Kernel Mode


            Windows hypervisor

            “Designed for Windows” Server Hardware
                                  Virtual Server 2005 R2 SP1   Windows Server virtualisation

Physical memory support                    256 GB                          1 TB
32-bit VMs?                                  Yes                           Yes
64-bit VMs?                                  No                            Yes

Multi-processor VMs?                         No                   Yes, up to 4 core VMs

VM memory support?                     3.6 GB per VM                  64GB per VM

Can be managed by System Center
                                             Yes                           Yes
     Virtual Machine Manager?

Microsoft Cluster support?                   Yes                           Yes

Scriptable/Extensible?                    Yes, COM              Yes, WMI + HyperCall API
User interface                          Web Interface               MMC 3.0 Interface
                                                                  Windows Server 2008
Cost                                    Free download
                                                                STD, EE & DTC technology
Hyper-V = Performance
 Reason 1 – Hypervisor
 Reason 2 – Synthetic Drivers
 Reason 3 – Server Core
Hyper-V = Flexible
 Reason 1 – Multi-architecture
 Reason 2 - Multi-OS VM’s
Hyper-V = Manageable
 Reason 1 – Managed through WMI (PowerShell)
 Reason 2 – SCVMM
 Reason 3 – Windows
Hyper-V relies on Windows to….
 Provide hardware drivers and driver management
 Provide High Availability for VM’s
 Provide connectivity to storage, networks, and
 other hardware
 Provide security around VM Management
 Provide management interfaces, tools, and
 protocols
Downtime is not an option for VM host
 Downtime is magnified
Hyper-V relies on Windows for HA
 ServerCore requires less maintenance
 Windows Failover Clustering provides host
 clustering of VM’s
Benefits of using Windows
 If it works on Windows, it works for VM’s
 Not constrained to any type or source of hardware
 or solution
 Windows Cluster Management tools
So you want to virtualise
Finding the right platform is key
  Memory is the most consumed resource
  Disk is second
  Processor is third
Hyper-V puts greater demand on disk and processor
  Because it’s faster….
  But you can throttle
Basic Requirements
  Hardware Virtualisation Support
  64 bit processor
  DEP enabled
Intel
  Core 2 Duo
  Quad Core Xeon
AMD
  Second-Generation Opteron
  Third-Generation Opteron




          CHECK THE SPEC!
Manufacturer      Model                  Processor
HP                Proliant DL585         AMD
HP                Proliant DL385 G2      AMD
HP                Proliant DL580 G4      Intel
HP                Proliant DL380 G5      Intel
Dell              PowerEdge 6850         Intel
Dell              PowerEdge 6950         AMD F2 Opteron 8212, with BIOS
                                         1.1.2 or later
Dell              PowerEdge 2950         Intel, with BIOS 1.3.7 or later
Fujitsu           TX300 S3               Intel
Fujitsu Siemens   TX300 S3               Intel
Computers
NEC               Express 5800 120Ri-2   Intel
Windows Server 2008 x64
Install the Windows Server virtualisation role
 C:\windows\wsv….
Add the role in Server Manager
 OCSETUP on Server Core (just not yet)
Restart
Run BCDEDIT
 Look for hypervisorlaunchtype of Auto
You *can* have Hyper-V and VS together
You *cannot* have the Hypervisor and VS
running together
You need two boot profiles
 One with Hypervisor on
 One with Hypervisor off
BCDEDIT /Copy
BCDEDIT /SET
Clustering is not supported (host or guest)
 You can still cluster guests using SAN storage
Compacting VHD’s is not supported
 Use VPC or VS for this
Backup of guests using VSS is not supported
Guest limitations
 WS08 RC (4 core) or WS03 (1 core)
 64 GB memory
 1 SCSI Controller
In Virtual Server, SCSI was faster
 Providing you use the right driver
In Hyper-V, there is no difference between
SCSI and IDE
RDP based connection
Not Remote Desktop/TS
Supports remote
connections
Does not support copy/paste
Replace .VNC files
Are switches not hubs
Support VLAN Identification
Connections
  Physical
  Host = Host+Guest
  None = Guest only
SCSI Controllers
 Up to 256 disks per controller
Network Adapter
 This is the synthetic adapter
Legacy Network Adapter
 This is the emulated network adapter
Similar to most virtualisation products
Configure
  Processors up to 4
  RAM up to 64GB
  Multiple SCSI adapters (not RC)
  Multiple NIC’s
VS relied on NTFS and an ACL to secure VM’s
Hyper-V uses authorization manager role based
security
 New to most ITPros
AZMAN.MSC
Open
 InitialStore.xml
 This is HIDDEN
Roles are task groups
Tasks define permissions
Users are assigned Roles
The basis for the VMM Admin Console
Command-line shell and scripting language
>130 standard command-line tools
Consistent scripting syntax and utilities that
integrate with established tools and procedures
All functions of the VMM Admin Console are
based on PowerShell scripts
PS C:\> Get-VMMServer Server1
PS C:\> Get-help Get-VM –Examples
EXAMPLE 1: Get all virtual machines and display
complete information about each one.

C:\PS> Get-VM -VMMServer VMMServer1.Contoso.com

Gets all objects that represent virtual machines. This command
retrieves virtual machine objects from the Virtual Machine
Manager database on VMMServer1, which is located in the
Contoso.com domain, and displays information about these
virtual machines to the user.

PS C:\> Get-VM –VMMServer server1 | select name, processortype,
memory

Name              ProcessorType                    Memory
----              -------------                    ------
Print Server      1-processor 1.00   GHz   Pe...   512
LOB Server 1      1-processor 1.00   GHz   Pe...   512
Dev Server        1-processor 1.00   GHz   Pe...   1024
Test Server       1-processor 1.00   GHz   Pe...   512
WS08 RC0 – Hyper-V CTP
WS08 RC1 – Hyper-V CTP (Identical to RC0)
WS08 RTM (Feb 2008) – Hyper-V Beta
 With documentation
WS08 < 180 Days – Hyper-V RTM
daven@microsoft.com

trcunnin@microsoft.com

				
DOCUMENT INFO
Shared By:
Categories:
Tags:
Stats:
views:15
posted:8/23/2011
language:English
pages:55