iSCSI SAN Configuration Guide ESX 4 - VMware – corestorage Command-Line Options 94 Index 95...

Click here to load reader

  • date post

  • Category


  • view

  • download


Embed Size (px)

Transcript of iSCSI SAN Configuration Guide ESX 4 - VMware – corestorage Command-Line Options 94 Index 95...

  • iSCSI SAN Configuration GuideESX 4.0

    ESXi 4.0vCenter Server 4.0

    This document supports the version of each product listed andsupports all subsequent versions until the document is replacedby a new edition. To check for more recent editions of thisdocument, see


  • iSCSI SAN Configuration Guide

    2 VMware, Inc.

    You can find the most up-to-date technical documentation on the VMware Web site at:

    The VMware Web site also provides the latest product updates.

    If you have comments about this documentation, submit your feedback to:

    [email protected]

    Copyright 2009, 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright andintellectual property laws. VMware products are covered by one or more patents listed at is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marksand names mentioned herein may be trademarks of their respective companies.

    VMware, Inc.3401 Hillview Ave.Palo Alto, CA[email protected]://

  • Contents

    Updated Information 5

    About This Book 7

    1 Using ESX/ESXi with an iSCSI Storage Area Network 9

    Understanding Virtualization 9iSCSI SAN Concepts 11Overview of Using ESX/ESXi with a SAN 15Specifics of Using SAN Storage with ESX/ESXi 17Understanding VMFS Datastores 17Making LUN Decisions 19How Virtual Machines Access Data on a SAN 20Understanding Multipathing and Failover 21Choosing Virtual Machine Locations 26Designing for Server Failure 27LUN Display and Rescan 28

    2 Configuring iSCSI Initiators and Storage 29

    ESX/ESXi iSCSI SAN Requirements 29ESX/ESXi iSCSI SAN Restrictions 30Setting LUN Allocations 30Network Configuration and Authentication 30Setting Up Hardware iSCSI Initiators 30Setting Up Software iSCSI Initiators 32Configuring Discovery Addresses for iSCSI Initiators 39Configuring CHAP Parameters for iSCSI Initiators 40Configuring Additional Parameters for iSCSI 44Add iSCSI Storage 45

    3 Modifying SAN Storage Systems for ESX/ESXi 47

    Testing ESX/ESXi SAN Configurations 47General Considerations for iSCSI SAN Storage Systems 48EMC CLARiiON Storage Systems 48EMC Symmetrix Storage Systems 49Enable HP StorageWorks MSA1510i to Communicate with ESX/ESXi 49HP StorageWorks EVA Storage Systems 50NetApp Storage Systems 51EqualLogic Storage Systems 53LeftHand Networks SAN/iQ Storage Systems 53Dell PowerVault MD3000i Storage Systems 53

    VMware, Inc. 3

  • 4 Booting from an iSCSI SAN with ESX Systems 55Booting from a SAN Overview 55Enable Booting from a SAN 56

    5 Managing ESX/ESXi Systems That Use SAN Storage 59

    Viewing Storage Adapter Information 59Viewing Storage Device Information 60Viewing Datastore Information 62Resolving Display Issues 63Path Scanning and Claiming 65Sharing Diagnostic Partitions 70Avoiding and Resolving SAN Problems 70Optimizing SAN Storage Performance 71Resolving Performance Issues 74SAN Storage Backup Considerations 77Managing Duplicate VMFS Datastores 79

    A iSCSI SAN Configuration Checklist 83

    B VMware vSphere Command-Line Interface 85

    resxtop Command 85vicfg-iscsi Command 85vicfg-mpath Command 85esxcli corestorage claimrule Command 85vmkping Command 86

    C Managing Storage Paths and Multipathing Plugins 87

    List Claim Rules for the Host 87Display Multipathing Modules 88Display SATPs for the Host 89Display NMP Storage Devices 89Add PSA Claim Rules 90Delete PSA Claim Rules 91Mask Paths 91Unmask Paths 92Define NMP SATP Rules 92esxcli corestorage Command-Line Options 94

    Index 95

    iSCSI SAN Configuration Guide

    4 VMware, Inc.

  • Updated Information

    This iSCSI SAN Configuration Guide is updated with each release of the product or when necessary.

    This table provides the update history of the iSCSI SAN Configuration Guide.Revision Description

    EN-000110-01 Updated the following topics to include information about port binding on EMC CLARiiON: NetworkingConfiguration for Software iSCSI Storage, on page 33 and EMC CLARiiON Storage Systems, onpage 48.

    EN-000110-00 Initial release.

    VMware, Inc. 5

  • iSCSI SAN Configuration Guide

    6 VMware, Inc.

  • About This Book

    The iSCSI SAN Configuration Guide explains how to use VMware ESX and VMware ESXi systems with aniSCSI storage area network (SAN). The manual includes conceptual background information and installationrequirements for ESX, ESXi, and VMware vCenter Server.

    Intended AudienceThis manual is written for experienced Windows or Linux system administrators who are familiar with virtualmachine technology datacenter operations.

    Document FeedbackVMware welcomes your suggestions for improving our documentation. If you have comments, send yourfeedback to [email protected]

    VMware vSphere DocumentationThe VMware vSphere documentation consists of the combined VMware vCenter Server and ESX/ESXidocumentation set.

    Technical Support and Education ResourcesThe following technical support resources are available to you. To access the current version of this book andother books, go to

    Online and TelephoneSupport

    To use online support to submit technical support requests, view your productand contract information, and register your products, go to

    Customers with appropriate support contracts should use telephone supportfor the fastest response on priority 1 issues. Go to

    Support Offerings To find out how VMware support offerings can help meet your business needs,go to

    VMware ProfessionalServices

    VMware Education Services courses offer extensive hands-on labs, case studyexamples, and course materials designed to be used as on-the-job referencetools. Courses are available onsite, in the classroom, and live online. For onsitepilot programs and implementation best practices, VMware Consulting

    VMware, Inc. 7

    mailto:[email protected]://

  • Services provides offerings to help you assess, plan, build, and manage yourvirtual environment. To access information about education classes,certification programs, and consulting services, go to

    iSCSI SAN Configuration Guide

    8 VMware, Inc.

  • Using ESX/ESXi with an iSCSI StorageArea Network 1

    You can use ESX/ESXi in conjunction with a storage area network (SAN), a specialized high-speed networkthat connects computer systems to high-performance storage subsystems. Using ESX/ESXi together with aSAN provides extra storage for consolidation, improves reliability, and helps with disaster recovery.

    To use ESX/ESXi effectively with a SAN, you must have a working knowledge of ESX/ESXi systems and SANconcepts. Also, when you set up ESX/ESXi hosts to use Internet SCSI (iSCSI) SAN storage systems, you mustbe aware of certain special considerations that exist.

    This chapter includes the following topics:

    n Understanding Virtualization, on page 9

    n iSCSI SAN Concepts, on page 11

    n Overview of Using ESX/ESXi with a SAN, on page 15

    n Specifics of Using SAN Storage with ESX/ESXi, on page 17

    n Understanding VMFS Datastores, on page 17

    n Making LUN Decisions, on page 19

    n How Virtual Machines Access Data on a SAN, on page 20

    n Understanding Multipathing and Failover, on page 21

    n Choosing Virtual Machine Locations, on page 26

    n Designing for Server Failure, on page 27

    n LUN Display and Rescan, on page 28

    Understanding VirtualizationThe VMware virtualization layer is common across VMware desktop products (such as VMware Workstation)and server products (such as VMware ESX/ESXi). This layer provides a consistent platform for development,testing, delivery, and support of application workloads.

    The virtualization layer is organized as follows:

    n Each virtual machine runs its own operating system (the guest operating system) and applications.

    n The virtualization layer provides the virtual devices that map to shares of specific physical devices. Thesedevices include virtualized CPU, memory, I/O buses, network interfaces, storage adapters and devices,human interface devices, and BIOS.

    VMware, Inc. 9

  • Network VirtualizationThe virtualization layer guarantees that each virtual machine is isolated from other virtual machines. Virtualmachines can talk to each other only through networking mechanisms similar to those used to connect separatephysical machines.

    The isolation allows administrators to build internal firewalls or other network isolation environments so thatsome virtual machines can connect to the outside, while others are connected only through virtual networksto other virtual machines.

    Storage VirtualizationESX/ESXi provides host-level storage virtualization, which logically abstracts the physical storage layer fromvirtual machines. Virtual machines running on the ESX/ESXi host are not aware of the complexities andspecifics of the storage devices to which the host connects.

    An ESX/ESXi virtual machine uses a virtual hard disk to store its operating system, program files, and otherdata associated with its activities. A virtual disk is a large physical file, or a set