Home > Store

Storage Implementation in vSphere 5.0

Register your product to gain access to bonus material or receive a coupon.

Storage Implementation in vSphere 5.0

eBook (Watermarked)

  • Your Price: $47.99
  • Includes EPUB and PDF
  • About eBook Formats
  • This eBook includes the following formats, accessible from your Account page after purchase:

    ePub EPUB The open industry format known for its reflowable content and usability on supported mobile devices.

    Adobe Reader PDF The popular standard, used most often with the free Adobe® Reader® software.

    This eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.

Not for Sale

Description

  • Copyright 2013
  • Dimensions: 7" x 9-1/8"
  • Edition: 1st
  • eBook (Watermarked)
  • ISBN-10: 0-13-284178-9
  • ISBN-13: 978-0-13-284178-8

THE ONLY AUTHORITATIVE, COMPREHENSIVE GUIDE TO VSPHERE STORAGE IMPLEMENTATION AND MANAGEMENT

Effective VMware virtualization storage planning and management has become crucial–but it can be extremely complex. Now, the leading VMware expert on storage completely demystifies the "black box" of vSphere storage and provides illustrated, step-by-step procedures for performing every key task associated with it. You’ll gain the deep understanding you need to make better storage decisions, solve problems, and keep problems from occurring in the first place.

Mostafa Khalil presents techniques based on years of personal experience helping customers troubleshoot storage in their vSphere production environments. With more experience than anyone else in the field, he combines expert guidelines, insights for better architectural design, best practices for both planning and management, common configuration details, and deep dives into both vSphere and third-party storage.

Storage Implementation in vSphere® 5.0 fully explains each storage connectivity choice and protocol supported by VMware, introduces Pluggable Storage Architecture (PSA), and shows how to build on PSA with multipathing, failover, and ALUA. It thoroughly introduces Storage Virtualization Devices (SVDs) and VMDirectPath I/O, and shows how to drive powerful improvements in performance, flexibility, and manageability with VMFS 5 and VAAI.

COVERAGE INCLUDES

  • Understanding how FC, FCoE, and iSCSI interact with VMware vSphere 5
  • Implementing specific VMware capabilities on storage hardware from each leading vendor
  • Avoiding, recognizing, and fixing misconfigurations and other problems
  • Using third-party MPIO plug-ins certified with vSphere 5 and PSA
  • Maximizing availability through multipathing and failover
  • Implementing fixed and round-robin multipathing on arrays with ALUA support
  • Monitoring and optimizing virtual storage performance
  • Managing vSphere-compatible file systems: VMFS and NFS
  • Taking full advantage of VMDirectPath I/O
  • Implementing heterogeneous storage configurations
  • Presenting abstracted storage through virtual disks and Raw Device Mappings (RDMs)
  • Using VMFS 5 to simplify management and improve scalability in large-scale environments
  • Sharing storage and migrating more easily across multiple VMware vSphere instances
  • Optimizing storage performance with VAAI-compliant devices

Mostafa Khalil, Senior Staff Engineer with VMware Global Support Services, specializes in storage integration for virtual environments. He has worked for VMware for 13 years and supported all VMware virtualization products since Workstation for Linux 1.0 beta. Khalil has worked on most enterprise storage vendors’ solutions and received engineering-level training for many of them. He has presented at every VMworld, and at VMware Partner Exchange, VMware User Group, and USENIX.

ISBN-13: 978-0-321-79993-7

ISBN-10: 0-321-79993-3

Sample Content

Table of Contents

Part I: Storage Protocols and Block Devices

Chapter 1 Storage Types 1

History of Storage 1

    Birth of the Hard Disks 4

    Along Comes SCSI 4

    PATA and SATA—SCSI’s Distant Cousins? 5

    Units of Measuring Storage Capacity 7

    Permanent Storage Media Relevant to vSphere 5 8

Chapter 2 Fibre Channel Storage Connectivity 11

SCSI Standards and Protocols 11

    SCSI-2 and SCSI-3 Standards 11

    Fibre Channel Protocol 12

    Decoding EMC Symmetrix WWPN 25

    Locating Targets’ WWNN and WWPN Seen by vSphere 5 Hosts 27

    SAN Topology 30

    Fabric Switches 35

    FC Zoning 37

    Designing Storage with No Single Points of Failure 41

Chapter 3 FCoE Storage Connectivity 49

FCoE (Fibre Channel over Ethernet) 49

FCoE Initialization Protocol 51

FCoE Initiators 54

    Hardware FCoE Adapter 54

    Software FCoE Adapter 55

Overcoming Ethernet Limitations 56

    Flow Control in FCoE 57

Protocols Required for FCoE 58

    Priority-Based Flow Control 58

    Enhanced Transmission Selection 58

    Data Center Bridging Exchange 59

    10GigE — A Large Pipeline 59

802.1p Tag 60

Hardware FCoE Adapters 62

How SW FCoE Is Implemented in ESXi 5 62

Configuring FCoE Network Connections 64

Enabling Software FCoE Adapter 68

Removing or Disabling a Software FCoE Adapter 71

    Using the UI to Remove the SW FCoE Adapter 71

    Using the CLI to Remove the SW FCoE Adapter 72

Troubleshooting FCoE 73

    ESXCLI 73

    FCoE-Related Logs 76

Parting Tips 82

Chapter 4 iSCSI Storage Connectivity 85

iSCSI Protocol 85

Chapter 5 vSphere Pluggable Storage Architecture (PSA) 165

Native Multipathing 166

Storage Array Type Plug-in (SATP) 167

    How to List SATPs on an ESXi 5 Host 168

Path Selection Plugin (PSP) 169

    How to List PSPs on an ESXi 5 Host 170

Third-Party Plug-ins 171

Multipathing Plugins (MPPs) 172

Anatomy of PSA Components 173

I/O Flow Through PSA and NMP 174

    Classification of Arrays Based on How They Handle I/O 175

    Paths and Path States 176

    Preferred Path Setting 176

    Flow of I/O Through NMP 178

Listing Multipath Details 179

    Listing Paths to a LUN Using the UI 179

    Listing Paths to a LUN Using the Command-Line Interface (CLI) 183

    Identifying Path States and on Which Path the I/O Is Sent—FC 186

    Example of Listing Paths to an iSCSI-Attached Device 187

    Identifying Path States and on Which Path the I/O Is Sent—iSCSI 190

    Example of Listing Paths to an FCoE-Attached Device 190

    Identifying Path States and on Which Path the I/O Is Sent—FC 192

Claim Rules 192

MP Claim Rules 193

Plug-in Registration 196

SATP Claim Rules 197

Modifying PSA Plug-in Configurations Using the UI 201

    Which PSA Configurations Can Be Modified Using the UI? 202

Modifying PSA Plug-ins Using the CLI 204

    Available CLI Tools and Their Options 204

    Adding a PSA Claim Rule 206

    How to Delete a Claim Rule 215

    How to Mask Paths to a Certain LUN 217

    How to Unmask a LUN 219

    Changing PSP Assignment via the CLI 220

Chapter 6 ALUA 227

ALUA Definition 228

    ALUA Target Port Group 228

    Asymmetric Access State 229

    ALUA Management Modes 231

    ALUA Followover 232

    Identifying Device ALUA Configuration 237

    Troubleshooting ALUA 243

Chapter 7 Multipathing and Failover 249

What Is a Path? 250

Where Is the Active Path? 255

    Identifying the Current Path Using the CLI 255

    Identifying the IO (Current) Path Using the UI 256

LUN Discovery and Path Enumeration 258

Sample LUN Discovery and Path Enumeration Log Entries 261

Factors Affecting Multipathing 265

    How to Access Advanced Options 266

Failover Triggers 267

    SCSI Sense Codes 267

    Multipathing Failover Triggers 270

Path States 273

    Factors Affecting Paths States 274

Path Selection Plug-ins 276

    VMW_PSP_FIXED 276

    VMW_PSP_MRU 277

    VMW_PSP_RR 277

When and How to Change the Default PSP 277

    When Should You Change the Default PSP? 277

    How to Change the Default PSP 278

PDL and APD 280

    Unmounting a VMFS Volume 281

    Detaching the Device Whose Datastore Was Unmounted 286

Path Ranking 291

    Path Ranking for ALUA and Non-ALUA Storage 291

    How Does Path Ranking Work for ALUA Arrays? 292

    How Does Path Ranking Work for Non-ALUA Arrays? 293

    Configuring Ranked Paths 295

Chapter 8 Third-Party Multipathing I/O Plug-ins 297

MPIO Implementations on vSphere 5 297

EMC PowerPath/VE 5.7 298

    Downloading PowerPath/VE 298

    Downloading Relevant PowerPath/VE Documentations 300

    PowerPath/VE Installation Overview 302

    What Gets Installed? 303

    Installation Using the Local CLI 304

    Installation Using vMA 5.0 306

    Verifying Installation 307

    Listing Devices Claimed by PowerPath/VE 311

    Managing PowerPath/VE 312

    How to Uninstall PowerPath/VE 313

Hitachi Dynamic Link Manager (HDLM) 315

    Obtaining Installation Files 316

    Installing HDLM 317

    Modifying HDLM PSP Assignments 322

    Locating Certified Storage on VMware HCL 326

Dell EqualLogic PSP Routed 327

    Downloading Documentation 328

    Downloading the Installation File and the Setup Script 328

    How Does It Work? 328

    Installing EQL MEM on vSphere 5 329

    Uninstalling Dell PSP EQL ROUTED MEM 331

Chapter 9 Using Heterogeneous Storage Configurations 333

What Is a “Heterogeneous” Storage Environment? 333

Scenarios of Heterogeneous Storage 334

ESXi 5 View of Heterogeneous Storage 335

    Basic Rules of Using Heterogeneous Storage 335

    Naming Convention 336

    So, How Does This All Fit Together? 337

Chapter 10 Using VMDirectPath I/O 345

What Is VMDirectPath? 345

Which I/O Devices Are Supported? 346

    Locating Hosts Supporting VMDirectPath IO on the HCL 348

VMDirectPath I/O Configuration 349

    What Gets Added to the VM’s Configuration File? 358

Practical Examples of VM Design Scenarios Utilizing VMDirectPath I/O 358

    HP Command View EVA Scenario 358

    Passing Through Physical Tape Devices 360

What About vmDirectPath Gen. 2? 360

    How Does SR-IOV Work? 361

    Supported VMDirectPath I/O Devices 364

    Example of DirectPath IO Gen. 2 364

Troubleshooting VMDirectPath I/O 364

    Interrupt Handling and IRQ Sharing 364

    Device Sharing 365

Chapter 11 Storage Virtualization Devices (SVDs) 369

SVD Concept 369

    How Does It Work? 370

    Constraints 372

    Front-End Design Choices 373

    Back-End Design Choices 376

    LUN Presentation Considerations 377

    RDM (RAW Device Mapping) Considerations 378

Part II: File Systems

Chapter 12 VMFS Architecture 381

History of VMFS 382

    VMFS 3 on Disk Layout 384

    VMFS5 Layout 391

    Common Causes of Partition Table Problems 398

    Re-creating a Lost Partition Table for VMFS3 Datastores 399

    Re-creating a Lost Partition Table for VMFS5 Datastores 404

    Preparing for the Worst! Can You Recover from a File System Corruption? 410

    Span or Grow? 416

    Upgrading to VMFS5 430

Chapter 13 Virtual Disks and RDMs 437

The Big Picture 437

Virtual Disks 438

    Virtual Disk Types 441

    Thin on Thin 443

    Virtual Disk Modes 444

Creating Virtual Disks Using the UI 445

    Creating Virtual Disks During VM Creation 445

    Creating a Virtual Disk After VM Creation 448

Creating Virtual Disks Using vmkfstools 450

    Creating a Zeroed Thick Virtual Disk Using vmkfstools 452

    Creating an Eager Zeroed Thick Virtual Disk Using vmkfstools 452

    Creating a Thin Virtual Disk Using vmkfstools 454

    Cloning Virtual Disks Using vmkfstools 456

Raw Device Mappings 459

    Creating Virtual Mode RDMs Using the UI 459

Listing RDM Properties 466

Virtual Storage Adapters 472

    Selecting the Type of Virtual Storage Adapter 473

    VMware Paravirtual SCSI Controller 475

Virtual Machine Snapshots 477

    Creating the VM’s First Snapshot While VM Is Powered Off 478

    Creating a VM Second Snapshot While Powered On 484

Snapshot Operations 488

    Go to a Snapshot Operation 489

    Delete a Snapshot Operation 492

    Consolidate Snapshots Operation 494

Reverting to Snapshot 499

Linked Clones 501

Chapter 14 Distributed Locks 505

Basic Locking 506

    What Happens When a Host Crashes? 507

    Optimistic Locking 508

    Dynamic Resource Allocation 509

    SAN Aware Retries 509

    Optimistic I/O 511

    List of Operations That Require SCSI Reservations 511

    MSCS-Related SCSI Reservations 512

    Perennial Reservations 514

    Under the Hood of Distributed Locks 519

Chapter 15 Snapshot Handling 529

What Is a Snapshot? 530

What Is a Replica? 530

What Is a Mirror? 530

VMFS Signature 531

    Listing Datastores’ UUIDs via the Command-Line Interface 532

Effects of Snapshots on VMFS Signature 532

How to Handle VMFS Datastore on Snapshot LUNs 533

Resignature 534

    Resignature a VMFS Datastore Using the UI 534

    Resignature a VMFS Datastore Using ESXCLI 536

Force Mount 540

    Force-Mounting VMFS Snapshot Using ESXCLI 541

Sample Script to Force-Mount All Snapshots on Hosts in a Cluster 543

Chapter 16 VAAI 549

What Is VAAI? 550

VAAI Primitives 550

    Hardware Acceleration APIs 550

    Thin Provisioning APIs 551

Full Copy Primitive (XCOPY) 551

Block Zeroing Primitive (WRITE_SAME) 552

Hardware Accelerated Locking Primitive (ATS) 553

    ATS Enhancements on VMFS5 553

Thin Provisioned APIs 554

NAS VAAI Primitives 555

Enabling and Disabling Primitives 555

    Disabling Block Device Primitives Using the UI 557

    Disabling Block Device VAAI Primitives Using the CLI 559

    Disabling the UNMAP Primitive Using the CLI 562

    Disabling NAS VAAI Primitives 562

VAAI Plug-ins and VAAI Filter 564

    Locating Supported VAAI-Capable Block Devices 565

    Locating Supported VAAI-Capable NAS Devices 567

Listing Registered Filter and VAAI Plug-ins 569

Listing VAAI Filters and Plug-ins Configuration 570

Listing VAAI vmkernel Modules 573

Identifying VAAI Primitives Supported by a Device 574

    Listing Block Device VAAI Support Status Using the CLI 574

    Listing NAS Device VAAI Support Status 577

    Listing VAAI Support Status Using the UI 577

Displaying Block Device VAAI I/O Stats Using ESXTOP 579

The VAAI T10 Standard Commands 582

Troubleshooting VAAI Primitives 583

Index 587

Updates

Submit Errata

More Information

Pearson IT Certification Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from Pearson IT Certification and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about Pearson IT Certification products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites; develop new products and services; conduct educational research; and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by Adobe Press. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.pearsonitcertification.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020