Configuring VSphere

Embed Size (px)

Citation preview

  • 7/27/2019 Configuring VSphere

    1/83

    2012 VMware Inc. All rights reserved

    Configuring and Managing Virtual Storage

    Module 6

  • 7/27/2019 Configuring VSphere

    2/83

    6-2

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    Course Introduction

    Introduction to Virtualization

    Creating Virtual Machines

    VMware vCenter Server

    Configuring and Managing Virtual Networks

    Configuring and Managing vSphere Storage

    Virtual Machine Management

    Data Protection

    Access and Authentication Control

    Resource Management and Monitoring

    High Availability and Fault Tolerance

    Host Scalability

    Patch Management

    Installing VMware vSphere Components

    You Are Here

  • 7/27/2019 Configuring VSphere

    3/83

    6-3

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    Storage options give you the flexibility to set up your storage based

    on your cost, performance, and manageability requirements.

    Shared storage is useful for disaster recovery, high availability, and

    moving virtual machines between hosts.

    Importance

  • 7/27/2019 Configuring VSphere

    4/83

    6-4

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    Lesson 1: Storage Concepts

    Lesson 2: Configuring iSCSI Storage

    Lesson 3: Configuring NAS/NFS Storage

    Lesson 4: Fibre Channel SAN Storage

    Lesson 5: VMFS Datastores

    Lesson 6: VSA

    Module Lessons

  • 7/27/2019 Configuring VSphere

    5/83

    6-5

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    Lesson 1:

    Storage Concepts

  • 7/27/2019 Configuring VSphere

    6/83

    6-6

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    After this lesson, you should be able to do the following:

    Describe VMware vSphere storage technologies and datastores.

    Describe the storage device naming convention.

    Learner Objectives

  • 7/27/2019 Configuring VSphere

    7/83

    6-7

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    Storage Overview

    storagetechnology

    datastoretypes

    FCoE iSCSIFibre

    Channel

    direct

    attached

    file

    system

    NAS

    NFSVMware vSphere VMFS

    VMwarevSphereESXihosts

  • 7/27/2019 Configuring VSphere

    8/83

    6-8

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    Storage Protocol Overview

    Storage

    protocol

    Supports

    boot from

    SAN

    Supports

    VMware

    vSpherevMotion

    Supports

    VMware

    vSphereHigh

    Availability

    (vSphere

    HA)

    Supports

    VMware

    vSphereDistributed

    Resource

    Scheduler

    (DRS)

    Supports

    raw device

    mapping(RDM)

    Fibre

    Channel FCoE

    iSCSI

    NFS DAS

  • 7/27/2019 Configuring VSphere

    9/83

    6-9

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    A datastore is a logical storage

    unit that can use disk space onone physical device or span

    several physical devices.

    Types of datastores:

    VMFS

    NFS

    Datastores are used to hold

    virtual machine files, templates,

    and ISO images.

    Datastore

    host host

    datastore

  • 7/27/2019 Configuring VSphere

    10/83

    6-10

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    VMFS-5: Allows concurrent access to

    shared storage

    Can be dynamically expanded

    Uses a 1MB block size, good forstoring large virtual disk files

    Uses subblock addressing, goodfor storing small files:

    The subblock size is 8KB.

    Provides on-disk, block-levellocking

    VMFS-5

    hosthost

    VMFS datastore

  • 7/27/2019 Configuring VSphere

    11/83

    6-11

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    NFS:

    Is storage shared over thenetwork at the file system level

    Supports NFS version 3 overTCP/IP

    NFS

    hosthost

    NFS datastore

  • 7/27/2019 Configuring VSphere

    12/83

    6-12

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    Storage devices are identified in several ways:

    SCSI ID Unique SCSI identifier

    Canonical name The Network Address Authority ID is a unique logicalunit number (LUN) identifier, guaranteed to be persistent acrossreboots.

    In addition to NAA IDs, devices can also be identified with mpx or T10

    identifiers.

    Runtime name Uses the convention vmhbaN:C:T:L. This name is notpersistent through reboots.

    Storage Device Naming Conventions

  • 7/27/2019 Configuring VSphere

    13/83

    6-13

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    Viewing Storage Maps

    target

    HBA

    LUN

  • 7/27/2019 Configuring VSphere

    14/83

    6-14

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    Discuss vSphere storage needs with your storage administration

    team, including: LUN sizes

    I/O bandwidth

    I/O requests per second that a LUN is capable of

    Disk cache parameters

    Zoning and masking

    Identical LUN presentation to each ESXi host

    Active-active or active-passive arrays

    Export properties for NFS datastores

    Physical Storage Considerations

  • 7/27/2019 Configuring VSphere

    15/83

    6-15

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    You should be able to do the following:

    Describe vSphere storage technologies and datastores.

    Describe the storage device naming convention.

    Review of Learner Objectives

  • 7/27/2019 Configuring VSphere

    16/83

    6-16

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    Lesson 2:

    Configuring iSCSI Storage

  • 7/27/2019 Configuring VSphere

    17/83

    6-17

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    After this lesson, you should be able to do the following:

    Describe uses of IP storage with ESXi.

    Describe iSCSI components and addressing.

    Configure iSCSI initiators.

    Learner Objectives

  • 7/27/2019 Configuring VSphere

    18/83

    6-18

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    iSCSI Components

  • 7/27/2019 Configuring VSphere

    19/83

    6-19

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    iSCSI Addressing

    iSCSI target name:

    iqn.1992-08.com.mycompany:stor1-47cf3c25

    or

    eui.fedcba9876543210

    iSCSI alias: stor1

    IP address : 192.168.36.101

    iSCSI init iator name:

    iqn.1998-01.com.vmware:train1-64ad4c29

    or

    eui.1234567890abcdef

    iSCSI alias: train1

    IP address : 192.168.36.88

  • 7/27/2019 Configuring VSphere

    20/83

    6-20

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    iSCSI Initiators

  • 7/27/2019 Configuring VSphere

    21/83

    6-21

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    To configure the iSCSI software initiator:

    1. Configure a VMkernel port for accessing IP storage.

    2. Enable the iSCSI software adapter.

    3. Configure the iSCSI qualified name (IQN) and alias (if required)

    4. Configure iSCSI software adapter properties, such as static/dynamicdiscovery addresses and iSCSI port binding

    5. Configure iSCSI security (Challenge Handshake AuthenticationProtocol (CHAP)).

    Configuring Software iSCSI

  • 7/27/2019 Configuring VSphere

    22/83

    6-22

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    A VMkernel port must be created for ESXi to access software iSCSI.

    The same port can be used to access NAS/NFS storage.

    To optimize your vSphere networking setup:

    Separate iSCSI networks from NAS/NFS networks.

    Physical separation is preferred. If physical separation is not possible, use VLANs.

    ESXi Network Configuration for IP Storage

  • 7/27/2019 Configuring VSphere

    23/83

    6-23

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    Two discovery methods are

    supported: Static

    Dynamic (also known asSendTargets)

    The SendTargets response returns

    IQN and all available IP addresses.

    iSCSI Target-Discovery Methods

    iSCSI target

    192.168.36.101:3260

    SendTargets

    request

    SendTargets

    response

    192.168.36.101:3260

  • 7/27/2019 Configuring VSphere

    24/83

    6-24

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    iSCSI initiators use CHAP for

    authentication purposes. By default, CHAP is not configured.

    ESXi supports two types of CHAP

    authentication:

    Unidirectional

    Bidirectional:

    Software iSCSI only

    ESXi also supports per-target CHAP

    authentication.

    Software iSCSI only

    Different credentials for each target

    iSCSI Security: CHAP

    Software iSCSI properties > Generaltab

    Target

    authenticates

    host.

    Host

    authenticates

    target.

  • 7/27/2019 Configuring VSphere

    25/83

    6-25

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    To configure the iSCSI hardware initiator:

    1. Install the iSCSI hardware adapter.a. For independent hardware iSCSI adapters, verify properly formatted IP

    address and IQN names.

    b. For dependent hardware iSCSI adapters, determine the name of thephysical NIC associated with the adapter so that port binding is properlyconfigured.

    2. Modify the iSCSI name and configure the iSCSI alias.

    3. Configure iSCSI target addresses.

    4. Configure iSCSI security (CHAP).

    Configuring Hardware iSCSI

  • 7/27/2019 Configuring VSphere

    26/83

    6-26

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    Hardware iSCSI:

    Use two or more hardware iSCSI

    adapters.

    Software or dependent

    hardware iSCSI:

    Use multiple network interface

    cards (NICs).

    Connect each NIC to a separate

    VMkernel port.

    Associate VMkernel ports with

    iSCSI initiator.

    Multipathing with iSCSI Storage

    Configure port binding in

    the Properties window of

    the iSCSI adapter.

  • 7/27/2019 Configuring VSphere

    27/83

    6-27

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    You should be able to do the following:

    Describe uses of IP storage with ESXi.

    Describe iSCSI components and addressing.

    Configure iSCSI initiators.

    Review of Learner Objectives

  • 7/27/2019 Configuring VSphere

    28/83

    6-28

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    Lesson 3:

    Configuring NAS/NFS Storage

  • 7/27/2019 Configuring VSphere

    29/83

    6-29

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    After this lesson, you should be able to do the following:

    Describe NFS components and addressing.

    Create an NFS datastore.

    Learner Objectives

  • 7/27/2019 Configuring VSphere

    30/83

    6-30

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    NFS Components

    directory to sharewith the ESXi hostover the network

    VMkernel portdefined on virtualswitch

    ESXi host withNIC mapped to

    virtual switch

    NAS device or aserver with

    storage

    C S

  • 7/27/2019 Configuring VSphere

    31/83

    6-31

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    Addressing and Access Control with NFS

    192.168.81.72VMkernel portconfigured withIP address

    192.168.81.33

    C fi i NFS D t t

  • 7/27/2019 Configuring VSphere

    32/83

    6-32

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    Create a VMkernel port:

    For better performance and security, separate it from the iSCSInetwork.

    Provide the following information:

    NFS server name (or IP address)

    Folder on the NFS server, for example, /LUN1 and /LUN2

    Whether to mount the NFS file system read-only:

    Default is to mount read/write

    NFS datastore name

    Configuring an NFS Datastore

    Vi i IP St I f ti

  • 7/27/2019 Configuring VSphere

    33/83

    6-33

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    Viewing IP Storage Information

    Datastores view > Storage Views tab

    Hosts and Clusters view > Configurationtab > Storagelink

    U ti D l ti NFS D t t

  • 7/27/2019 Configuring VSphere

    34/83

    6-34

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    Click the Storagelink in the Configurationtab to unmount an NFS

    datastore.

    Unmounting or deleting an NFS datastore causes the files on the

    datastore to become inaccessible.

    Unmounting or Deleting an NFS Datastore

    M lti thi d NFS St

  • 7/27/2019 Configuring VSphere

    35/83

    6-35

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    A recommended configuration for

    NFS multipathing: Configure one VMkernel port.

    Use adapters attached to the samephysical switch to configure NICteaming.

    Configure the NFS server withmultiple IP addresses.

    IP addresses can be on the samesubnet.

    To use multiple links, configure NIC

    teams with the IP hash load-balancing policy.

    Multipathing and NFS Storage

    NIC NIC

    physical

    switch

    ESXi host

    vmnic0 vmnic1

    L b 6

  • 7/27/2019 Configuring VSphere

    36/83

    6-36

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    In this lab, you will configure access to an iSCSI and NFS datastore.

    1. Add a VMkernel port group to a standard virtual switch.2. Configure the iSCSI software adapter.

    Lab 6

    L b 7

  • 7/27/2019 Configuring VSphere

    37/83

    6-37

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    In this lab, you will configure access to an iSCSI and NFS datastore.

    1. Configure access to NFS datastores.2. View iSCSI and NFS storage information.

    Lab 7

    Review of Learner Objectives

  • 7/27/2019 Configuring VSphere

    38/83

    6-38

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    You should be able to do the following:

    Describe NFS components and addressing. Create an NFS datastore.

    Review of Learner Objectives

  • 7/27/2019 Configuring VSphere

    39/83

    6-39

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    Lesson 4:

    Fibre Channel SAN Storage

    Learner Objectives

  • 7/27/2019 Configuring VSphere

    40/83

    6-40

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    After this lesson, you should be able to do the following:

    Describe uses of Fibre Channel with ESXi. Describe Fibre Channel components and addressing.

    Access Fibre Channel storage.

    Learner Objectives

    Using Fibre Channel with ESXi

  • 7/27/2019 Configuring VSphere

    41/83

    6-41

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    ESXi supports:

    16Gb Fibre Channel Fibre Channel over Ethernet (FCoE)

    Using Fibre Channel with ESXi

    Fibre Channel SAN Components

  • 7/27/2019 Configuring VSphere

    42/83

    6-42

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    Fibre Channel SAN Components

    Fibre Channel Addressing and Access Control

  • 7/27/2019 Configuring VSphere

    43/83

    6-43

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    Fibre Channel Addressing and Access Control

    Accessing Fibre Channel Storage

  • 7/27/2019 Configuring VSphere

    44/83

    6-44

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    Install one or more supported Fibre Channel adapters in the ESXi host.

    The Fibre Channel adapters are recognized by the host during the bootsequence.

    Accessing Fibre Channel Storage

    Viewing Fibre Channel Storage Information

  • 7/27/2019 Configuring VSphere

    45/83

    6-45

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    The Storage Views tab provides

    information about all SCSI adaptersand NAS mounts.

    Viewing Fibre Channel Storage Information

    FCoE Adapters

  • 7/27/2019 Configuring VSphere

    46/83

    6-46

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    FCoE Adapters

    converged

    network

    adapter

    network

    driver

    FC

    driver

    ESXi host

    network

    driver

    software

    FC

    ESXi 5.x host

    NIC

    with FCoE

    support

    FCoE switch

    hardware FCoE software FCoE*

    * New in vSphere 5.0LANFC

    SAN

    10 Gigabit

    Ethernet

    Ethernet IP frames

    to LAN devices

    FC frames to FC

    storage arrays

    Configuring Software FCoE: Create a VMkernel Port

  • 7/27/2019 Configuring VSphere

    47/83

    6-47

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    Step 1: Connect the VMkernel to

    physical FCoE NICs that are installed onyour host.

    The VLAN ID and the priority class are

    discovered during FCoE initialization.

    The priority class is not configured in

    vSphere.

    ESXi supports the maximum of four

    network adapter ports used for software

    FCoE.

    Configuring Software FCoE: Create a VMkernel Port

    Physical adapter: vmnic2

    VMkernel label: FCoE-2

    VLAN ID: 20

    IP address: 172.17.12.150Subnet mask: 255.255.255.0

    VMkernel port

    vmnic2NIC with

    FCoE support

    Configuring Software FCoE: Activate the Software FCoE Adapter

  • 7/27/2019 Configuring VSphere

    48/83

    6-48

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    Step 2: Add the software

    FCoE adapter.

    Configuring Software FCoE: Activate the Software FCoE Adapter

    Select host > Configuration tab > Storage Adapters link > Add.

    Multipathing with Fibre Channel

  • 7/27/2019 Configuring VSphere

    49/83

    6-49

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    Multipathing enables continued

    access to SAN LUNs if hardwarefails. It also provides load

    balancing.

    Multipathing with Fibre Channel

    Multipathing with Software FCoE

  • 7/27/2019 Configuring VSphere

    50/83

    6-50

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    Multipathing with Software FCoE

    VMkernel ports

    vmnic2 vmnic3

    Physical adapter: vmnic2

    VMkernel label: FCoE-2VLAN ID: 20

    IP address: 172.17.12.150

    Subnet mask:

    255.255.255.0

    Physical adapter: vmnic3

    VMkernel label: FCoE-3VLAN ID: 20

    IP address: 172.17.12.151

    Subnet mask:

    255.255.255.0

    NICs with

    FCoE support

    Review of Learner Objectives

  • 7/27/2019 Configuring VSphere

    51/83

    6-51

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    You should be able to do the following:

    Describe uses of Fibre Channel with ESXi. Describe Fibre Channel components and addressing.

    Access Fibre Channel storage.

    Review of Learner Objectives

  • 7/27/2019 Configuring VSphere

    52/83

    6-52

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    Lesson 5:

    VMFS Datastores

    Learner Objectives

  • 7/27/2019 Configuring VSphere

    53/83

    6-53

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    After this lesson, you should be able to do the following:

    Create a VMFS datastore. Increase the size of a VMFS datastore.

    Delete a VMFS datastore.

    Learner Objectives

    Using a VMFS Datastore with ESXi

  • 7/27/2019 Configuring VSphere

    54/83

    6-54

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    Use VMFS datastores whenever possible:

    VMFS is optimized for storing and accessing large files.

    A VMFS datastore can have a maximum volume size of 64TB.

    NFS datastores are good for storing virtual machines. But somefunctions are not supported.

    Use RDMs if the following conditions are true of your virtual machine:

    It is taking Storage Array level snapshots.

    It is clustered to a physical machine.

    It has large amounts of data that you do not want to convert into a virtualdisk.

    Using a VMFS Datastore with ESXi

    Creating a VMFS Datastore

  • 7/27/2019 Configuring VSphere

    55/83

    6-55

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    To create a VMFS datastore, start the Add Storage wizard:

    1. Select the storage type Disk/LUN.2. Select an available LUN.

    3. Specify a datastore name.

    4. Specify the datastore size: use full or partial LUN.

    g

    Viewing VMFS Datastores

  • 7/27/2019 Configuring VSphere

    56/83

    6-56

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    Click the Storagelink in the Configurationtab

    g

    Browsing Datastore Contents

  • 7/27/2019 Configuring VSphere

    57/83

    6-57

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    Right-click the datastore in the hosts Summarytab, or click the

    Storagelink in the Configurationtab.

    g

    Managing Overcommitted Datastores

  • 7/27/2019 Configuring VSphere

    58/83

    6-58

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    An overcommitted datastore can occur when the total provisioned

    space of thin-provisioned disks is greater than the size of thedatastore.

    Actively monitor your datastore capacity:

    Alarms assist through notifications:

    Datastore disk overallocation

    Virtual machine disk usage

    Use reporting to view space usage.

    Actively manage your datastore capacity:

    Increase datastore capacity when necessary.

    Use VMware vSphere Storage vMotion to mitigate space usageissues on a particular datastore.

    g g

    Increasing the Size of a VMFS Datastore

  • 7/27/2019 Configuring VSphere

    59/83

    6-59

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    Increase a VMFS datastores

    size to give it more space orpossibly to improve

    performance.

    Two ways to dynamically

    increase the size of a VMFS

    datastore: Add an extent (LUN).

    Expand the datastore within itsextent.

    g

    Comparing Methods for Increasing VMFS Datastore Size

  • 7/27/2019 Configuring VSphere

    60/83

    6-60

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    p g g

    Adding an extent to the

    datastore

    Expanding the

    datastore in the extent

    Virtual machine power state On On

    SAN administrator tasksAdd one or more LUNs

    (extents).

    Increase the size of the

    LUN.

    Limits

    A datastore can have up to

    32 LUNs (extents), with

    each extent up to 64TB

    A LUN can be expanded

    any number of times, up to

    64TB.

    Before Increasing the Size of a VMFS Datastore

  • 7/27/2019 Configuring VSphere

    61/83

    6-61

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    In general, before making any changes to your storage allocation:

    Perform a rescan to ensure that all hosts see the most current storage.

    Quiesce I/O on all disks involved.

    Record the unique identifier (for example, the NAA ID of the volumethat you want to expand).

    g

    Deleting/Unmounting a VMFS Datastore

  • 7/27/2019 Configuring VSphere

    62/83

    6-62

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    Deleting a VMFS datastore:

    Unmounting a VMFS datastore:

    Multipathing Algorithms

  • 7/27/2019 Configuring VSphere

    63/83

    6-63

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    Arrays provide different features.

    Some offer active-active storageprocessors. Others offer active-

    passive SPs.

    vSphere 5.1 offers native path

    selection, load-balancing, and

    failover mechanisms.Third-party vendors can create

    their own software to be installed

    on your ESXi host that will allow

    the ESXi host to properly interact

    with the storage arrays that it uses.

    storage array

    SP A10

    SP B10

    ESXi

    hosts

    SPs

    switches

    Managing Multiple Storage Paths

  • 7/27/2019 Configuring VSphere

    64/83

    6-64

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    To modify the number of storage paths to use, select the datastore to

    modify and click that datastores Propertieslink.

    ClickManage Paths in the Propertieswindow.

    Configuring Storage Load Balancing

  • 7/27/2019 Configuring VSphere

    65/83

    6-65

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    Path selection policies exist for:

    Scalability: Round Robin A multipathing policy that performs load balancing across

    paths

    Availability:

    Most Recently Used (MRU) and Fixed

    Lab 8

  • 7/27/2019 Configuring VSphere

    66/83

    6-66

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    In this lab, you will create and manage VMFS datastores.

    1. Review your shared storage configuration.2. Change the name of a VMFS datastore.

    3. Create a VMFS datastore.

    4. Expand a VMFS datastore to consume unused space on a LUN.

    5. Remove a VMFS datastore.6. Extend a VMFS datastore.

    Ask your instructor which LUNs contain VMFS datastores that

    should not be removed or reformatted.

    Review of Learner Objectives

  • 7/27/2019 Configuring VSphere

    67/83

    6-67

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    You should be able to do the following:

    Create a VMFS datastore.

    Increase the size of a VMFS datastore.

    Delete a VMFS datastore.

  • 7/27/2019 Configuring VSphere

    68/83

    6-68

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    Lesson 6:

    VSA

    Learner Objectives

  • 7/27/2019 Configuring VSphere

    69/83

    6-69

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage

    Revision A

    After this lesson, you should be able to do the following:

    Describe the architecture and requirements of the VMware vSphereStorage Appliance (VSA) cluster configuration.

    Discuss how a VSA cluster handles failures.

    What Is VSA?

  • 7/27/2019 Configuring VSphere

    70/83

    6-70

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage

    Revision A

    Cost-effective, easy-to-deploy shared storage that enables highavailability for any small environment

    VSA Benefits

  • 7/27/2019 Configuring VSphere

    71/83

    6-71

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage

    Revision A

    Provides storage framework for vMotion, vSphere HA, and

    DRS

    Creates sharedstorage

    Simple

    manageabilityAbstraction from underlying hardware

    Resilient to server failures

    Highly available during disk (spindle) failure

    Pools local server disk capacity to form shared storage

    Leverages vSphere Thin Provisioning for space utilization

    Enables storage scalability

    Installed, configured, and managed in VMware vCenter

    Server

    Delivers

    high availability

    Features of VSA

  • 7/27/2019 Configuring VSphere

    72/83

    6-72

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage

    Revision A

    VSA for Essentials Plus VSA

    Nodes per cluster 3 3

    Raid 5/6/10 Support Yes Yes

    vCenter running on VSA Yes Yes

    Add/replace hard disk drives

    non-disruptivelyYes Yes

    Centralized management of

    multiple VSA ClustersYes

    Central Management of VSA

  • 7/27/2019 Configuring VSphere

    73/83

    6-73

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage

    Revision A

    VMware vCenter Server

    Central Office

    VSA Cluster 3

    Branch Office 3

    Branch Office 1

    VSA Cluster 1

    Branch Office 4

    VSA Cluster 4

    Branch Office 2

    VSA Cluster 2

    VSA Architecture

  • 7/27/2019 Configuring VSphere

    74/83

    6-74

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage

    Revision A

    NFS NFS NFS

    vSpherevSphere vSphere

    VSA VSA VSA

    vSphere Client

    VSA Manager

    NFS exports that can be

    mounted by client ESXi

    hosts

    Enables advanced

    features like vMotion,

    vSphere HA, DRS

    vCenter Server

    VSA Cluster Requirements

  • 7/27/2019 Configuring VSphere

    75/83

    6-75

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage

    Revision A

    Ensure that your environment meets the following requirements:

    Physical or virtual machine that runs vCenter Server vCenter can run on one of the ESXi hosts in the cluster.

    Two or three physical hosts with ESXi installed

    All hosts must use the same type of ESXi installation.

    One Gigabit Ethernet or one 10Gigabit Ethernet switch

    Two switches can be used to eliminate single points of failure.

    Switches must be configured to support the front-end and back-endnetworks of the VSA Cluster.

    VSA Cluster Configuration Requirements

  • 7/27/2019 Configuring VSphere

    76/83

    6-76

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage

    Revision A

    VSA

    vCenter Server 5.0

    VSA Manager VSA cluster service

    VSA Manager 10.10.120.3

    NFS Volume IP 10.10.120.5vMotion IP 192.168.1.1

    10.15.20.100

    VSA Cluster IP 10.10.120.200

    VSA cluster

    front endback end

    ESXi host 10.15.20.150

    10.15.20.201

    Recommended:

    24GB of RAM,

    4 hard disks,

    RAID controller,

    Gigabit Ethernet switches

    The VSA

    Manager is used

    to install the VSA

    cluster.

    VSA Manager

  • 7/27/2019 Configuring VSphere

    77/83

    6-77

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage

    Revision A

    VSA Cluster with Two ESXi 5.1 Hosts

  • 7/27/2019 Configuring VSphere

    78/83

    6-78

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage

    Revision A

    vCenter Server

    Manage

    VSA Manager VSA cluster service

    VSA

    Datastore 2

    VSA

    Datastore 1

    Volume 1

    (Replica)Volume 2Volume 1

    Volume 2

    (Replica)

    Configure RAID 1+0

    on local system disks.

    VSA Cluster with Three ESXi 5.1 Hosts

  • 7/27/2019 Configuring VSphere

    79/83

    6-79 2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage

    Revision A

    vCenter Server

    Manage

    VSA Manager

    Volume 1Volume 3

    (Replica)Volume 2

    (Replica)Volume 3

    Volume 1

    (Replica)Volume 2

    VSA

    Datastore 2 VSA

    Datastore 3

    VSA

    Datastore 1

    VSA Resilience

  • 7/27/2019 Configuring VSphere

    80/83

    6-80 2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage

    Revision A

    vCenter Server

    Manage

    VSA Manager

    Volume 1Volume 2

    (Replica)

    Volume 1

    (Replica)Volume 2

    VSA cluster service

    VSA

    Datastore 2

    VSA

    Datastore 1

    Differences Between VSA Clusters and SANs

  • 7/27/2019 Configuring VSphere

    81/83

    6-81 2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    Storage Area Network

    Volume replica placement across spindles

    VSA Cluster

    Server 1 Server 2

    RedundantNetwork

    Volume replica placement across

    servers

    direct

    attacheddirect

    attached

    Review of Learner Objectives

  • 7/27/2019 Configuring VSphere

    82/83

    6-82

    2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage Revision A

    You should be able to do the following:

    Describe the architecture and requirements of the VSA clusterconfiguration.

    Discuss how a VSA cluster handles failures.

    Key Points

  • 7/27/2019 Configuring VSphere

    83/83

    Use VMFS datastores to hold virtual machine files.

    NFS datastores are useful as a repository for ISO images.

    Shared storage is integral to vSphere features like vMotion, vSphereHA, and DRS.

    VSA enables low-end configurations to use vSphere HA, vMotion, andVMware vSphere Storage vMotion without requiring external shared

    storage.Questions?