Creating Virtual Infrastructure Machines

Embed Size (px)

Citation preview

  • 8/4/2019 Creating Virtual Infrastructure Machines

    1/25

    2009 VMware Inc. All rights reserved

    Title of PresentationPresented by:

  • 8/4/2019 Creating Virtual Infrastructure Machines

    2/25

  • 8/4/2019 Creating Virtual Infrastructure Machines

    3/25

    3 Confidential

    Creating Virtual Machines

    Virtual machines are a core component of a virtual infrastructure.

    VMware vSphere includes to the ability use templates to quickly

    provision virtual machines. A template is created by creating,

    configuring, and testing a virtual machine, and then converting it to

    template format. Templates reduce deployment time and costly

    mistakes when you deploy additional virtual machines.

    First.. A look at the infrastructure.

  • 8/4/2019 Creating Virtual Infrastructure Machines

    4/25

    4 Confidential

    Using vSphere

    vSphere provides the foundationfor any virtual datacenter small,

    medium, or large:

    Management services:

    VMware vCenter Suite

    Application services:

    For availability, security, scalability Infrastructure services:

    VMware ESX/ESXi

    vSphere also provides the majorbuilding blocks for VMware

    vCloud:

    Infrastructure, platform, and

    software services on demand

  • 8/4/2019 Creating Virtual Infrastructure Machines

    5/25

    5 Confidential

    What Is Virtualization?

    Virtualization is a technology thattransforms hardware into software.

    Virtualization allows you to run multipleoperating systems as virtual machineson a single computer.

    Each copy of an operating system is

    installed into a virtual machine.

    Virtualization is not:

    Simulation

    Emulation

  • 8/4/2019 Creating Virtual Infrastructure Machines

    6/25

    6 Confidential

    Host Operating SystemBased Virtualization

    A host-based virtualization system requires an operating system

    (such as Windows or Linux) to be installed on the computer.

  • 8/4/2019 Creating Virtual Infrastructure Machines

    7/25

    7 Confidential

    Hypervisor Architecture

    A virtualization layer is installed. It uses either a hosted or a

    bare-metal hypervisor architecture.

    hosted or

    bare-metal

    architecture

  • 8/4/2019 Creating Virtual Infrastructure Machines

    8/25

    8 Confidential

    What Is a Virtual Machine?

    virtual machine

  • 8/4/2019 Creating Virtual Infrastructure Machines

    9/25

    9 Confidential

    What Is a Virtual Machine?

    From the users perspective, avirtual machine is a softwareplatform that, like a physicalcomputer, runs an operatingsystem and applications.

    From the hypervisorsperspective, a virtual machine isa discrete set of files. Main files:

    Configuration file

    Virtual disk file

    NVRAM settings file

    Log file

    virtual machine

  • 8/4/2019 Creating Virtual Infrastructure Machines

    10/25

    10 Confidential

    Why Use Virtual Machines?

    Easy to move and copy: Encapsulated into files

    Independent of physical hardware

    Easy to manage:

    Isolated from other virtual machines

    Insulated from hardware changes

    Provides the ability to support

    legacy applications

    Allows servers to be consolidated

    Virtual machinePhysical machine

    Difficult to move or copyBound to a specific set ofhardware components

    Often has a short life cycle

    Requires personal contact

    to upgrade hardware

  • 8/4/2019 Creating Virtual Infrastructure Machines

    11/25

    11 Confidential

    Virtual Machine Hardware

    Up to 4CD-ROMs

    Up to 3 ports Up to 4 ports

    110 NICs

    14 SCSI adapters;

    115 devices per adapter

    Up to255GBRAM

    1 floppy controllerUp to 2 floppy

    drives

    VM chipset1 CPU (up to 8

    CPUswith VMwareVirtual SMP)

    1 IDEcontroller

    Virtual

    machinehardware isscalableenough tomeet most

    business andapplicationneeds.

  • 8/4/2019 Creating Virtual Infrastructure Machines

    12/25

    12 Confidential

    Centralized Virtual Machine Management

    Manage a virtualmachine using itsvirtual machineconsole:

    Send power changes

    to virtual machine.

    Access virtual

    machines guest

    operating system.

    Send Ctrl+Alt+Del to

    guest operating

    system.

    VM console

    VMconsole

    icon

  • 8/4/2019 Creating Virtual Infrastructure Machines

    13/25

    13 Confidential

    Fast, Flexible Guest OS Installations

    local

    VM console

    virtual machine

    Install from ISO image to virtual disk.

    Configure a datastore with a library of ISOimages for easy virtual machinedeployment and application installation.

  • 8/4/2019 Creating Virtual Infrastructure Machines

    14/25

    14 Confidential

    Enhanced Virtual Machine Performance

    VMware Tools enhances

    performanceand improve managementof a virtual machine.

    Features include:

    Virtual machine heartbeat

    Improved mouse movement

    Ability to gracefully shut downvirtual machine

    VMwareToolsicon

  • 8/4/2019 Creating Virtual Infrastructure Machines

    15/25

    15 Confidential

    Reducing Virtual Machine Deployment Time

    A template is a VMware

    vCenter Server featureused to create and provisionnew virtual machines.

    A template is a masterimage that typicallyincludes a guest operatingsystem, a set of applications,and a specific virtualmachine configuration.

  • 8/4/2019 Creating Virtual Infrastructure Machines

    16/25

    16 Confidential

    Creating a Template

    Clone virtual machine totemplate.

    Virtual machine can either bepowered on or powered off.

    Convert virtual machine totemplate.

    Virtual machine must be powered

    off.

    Clone an existing template.

    Select template in inventoryfirst.

  • 8/4/2019 Creating Virtual Infrastructure Machines

    17/25

    17 Confidential

    Deploying a Virtual Machine from a Template

    To deploy a virtual machine from a template, provide such

    information as the virtual machine name, inventory location,host, datastore, and guest operating system customizationdata.

  • 8/4/2019 Creating Virtual Infrastructure Machines

    18/25

    18 Confidential

    Deploying Virtual Machines Across Datacenters

    Virtual machinedeployment is allowed

    across datacenters.

    For example, deploy

    from a template located

    in one datacenter to a

    virtual machine in a

    different datacenter.

  • 8/4/2019 Creating Virtual Infrastructure Machines

    19/25

    19 Confidential

    Storage Overview

    storagetechnology

    datastoretypes

    VMwarevStorage

    VMFSNFS

    LocallyAttached

    FibreChannel

    iSCSI NAS

  • 8/4/2019 Creating Virtual Infrastructure Machines

    20/25

    20 Confidential

    Datastores

    A datastore is a logical storageunit that can use disk space on

    one physical device or one diskpartition, or span severalphysical devices.

    Types of datastores:

    VMFS

    Network File System (NFS)

    Datastores are used to holdvirtual machines, templates, andISO images.

    A VMFS datastore can also holda raw device mapping (RDM),which is used to access rawdata.

  • 8/4/2019 Creating Virtual Infrastructure Machines

    21/25

    21 Confidential

    VMFS

    VMFS:

    Allows concurrent access to

    shared storage

    Can be dynamically expanded

    Can use an 8MB block size,

    good for storing large virtual

    disk files

    Uses subblock addressing,

    good for storing small files

    Provides on-disk, block-level

    locking

  • 8/4/2019 Creating Virtual Infrastructure Machines

    22/25

    22 Confidential

    RDM

    An RDM is a mapping filein a VMFS volume thatacts as a proxy for a rawphysical device.

    A raw disk can be usedfor existing data, virtualmachine clustering, andstorage array snapshots.

  • 8/4/2019 Creating Virtual Infrastructure Machines

    23/25

    23 Confidential

    More efficient storage utilization:

    Virtual disk allocation 140GB

    Available datastore capacity 100GB

    Used storage capacity 80GB

    vStorage Virtual Disk Thin Provisioning

    Virtual machine disks consume only

    the amount of capacity needed.A virtual machine sees the fullallocated disk size at all times.You can mix thick and thin formats.Full reporting and alerts help manageallocations and capacity.

  • 8/4/2019 Creating Virtual Infrastructure Machines

    24/25

    24 Confidential

    Demonstration:

    Creating new Virtual Machines

    Deploying Templates

  • 8/4/2019 Creating Virtual Infrastructure Machines

    25/25

    25 Confidential

    Key Points

    A virtual machine is a set of virtual hardware on which a supported guest

    operating system and its applications run.

    A template is a master image that typically includes a guest operating

    system, a set of applications, and a specific virtual machine configuration.

    Deploying virtual machines from a template provides a fast, easy, scalable

    method for creating virtual machines.