vsp 41 iscsi san cfg

120 68 0
vsp 41 iscsi san cfg

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

iSCSI SAN Configuration Guide ESX 4.1 ESXi 4.1 vCenter Server 4.1 This document supports the version of each product listed and supports all subsequent versions until the document is replaced by a new edition To check for more recent editions of this document, see http://www.vmware.com/support/pubs EN-000288-01 iSCSI SAN Configuration Guide You can find the most up-to-date technical documentation on the VMware Web site at: http://www.vmware.com/support/ The VMware Web site also provides the latest product updates If you have comments about this documentation, submit your feedback to: docfeedback@vmware.com Copyright © 2009, 2010 VMware, Inc All rights reserved This product is protected by U.S and international copyright and intellectual property laws VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents VMware is a registered trademark or trademark of VMware, Inc in the United States and/or other jurisdictions All other marks and names mentioned herein may be trademarks of their respective companies VMware, Inc 3401 Hillview Ave Palo Alto, CA 94304 www.vmware.com VMware, Inc Contents Updated Information About This Book Using ESX/ESXi with an iSCSI Storage Area Network Understanding Virtualization iSCSI SAN Concepts 11 Overview of Using ESX/ESXi with a SAN 16 Specifics of Using SAN Storage with ESX/ESXi 17 Understanding VMFS Datastores 18 Making LUN Decisions 19 How Virtual Machines Access Data on a SAN 21 Understanding Multipathing and Failover 22 Choosing Virtual Machine Locations 27 Designing for Server Failure 27 LUN Display and Rescan 28 Configuring iSCSI Initiators and Storage 29 ESX/ESXi iSCSI SAN Requirements 29 ESX/ESXi iSCSI SAN Restrictions 30 Setting LUN Allocations 30 Network Configuration and Authentication 30 Setting Up Independent Hardware iSCSI Adapters 31 Setting Up and Configuring Dependent Hardware iSCSI Adapters 32 Setting Up and Configuring Software iSCSI Adapter 34 Networking Configuration for Software iSCSI and Dependent Hardware iSCSI 36 Bind iSCSI Ports to iSCSI Adapters 40 Using Jumbo Frames with iSCSI 41 Enabling Jumbo Frames for Software and Dependent Hardware iSCSI 42 Configuring Discovery Addresses for iSCSI Initiators 43 Configuring CHAP Parameters for iSCSI Adapters 44 Configuring Additional Parameters for iSCSI 48 iSCSI Session Management 49 Add iSCSI Storage 51 Modifying SAN Storage Systems for ESX/ESXi 53 Testing ESX/ESXi SAN Configurations 53 General Considerations for iSCSI SAN Storage Systems 54 EMC CLARiiON Storage Systems 54 EMC Symmetrix Storage Systems 55 Enable HP StorageWorks MSA1510i to Communicate with ESX/ESXi 55 HP StorageWorks EVA Storage Systems 56 VMware, Inc iSCSI SAN Configuration Guide NetApp Storage Systems 57 EqualLogic Storage Systems 59 LeftHand Networks SAN/iQ Storage Systems 59 Dell PowerVault MD3000i Storage Systems 59 iSCSI Targets in vApps 59 Booting from iSCSI SAN 61 General Boot from iSCSI SAN Recommendations 62 Prepare the iSCSI SAN 62 Configure ESX Hosts to Boot from iSCSI SAN 63 iBFT iSCSI Boot Overview 64 Collecting Diagnostic Information for ESXi Hosts 69 Managing ESX/ESXi Systems That Use SAN Storage 71 Viewing Storage Adapter Information 71 Viewing Storage Device Information 72 Viewing Datastore Information 74 Resolving Storage Display Issues 75 Path Scanning and Claiming 79 Sharing Diagnostic Partitions 84 Avoiding and Resolving SAN Problems 84 Optimizing SAN Storage Performance 85 Resolving Performance Issues 88 SAN Storage Backup Considerations 91 Managing Duplicate VMFS Datastores 93 Storage Hardware Acceleration 96 A iSCSI SAN Configuration Checklist 99 B VMware vSphere Command-Line Interface 101 resxtop Command 101 vicfg-iscsi Command 101 vicfg-mpath Command 101 esxcli corestorage claimrule Command 102 vmkping Command 102 C Managing Multipathing Modules and Hardware Acceleration Plug-Ins 103 Managing Storage Paths and Multipathing Plug-Ins 103 Managing Hardware Acceleration Filter and Plug-Ins 110 esxcli corestorage claimrule Options 113 Index 115 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-000288-01 “ESX/ESXi iSCSI SAN Restrictions,” on page 30 has been updated to clarify multipathing support for different types of iSCSI adapters EN-000288-00 Initial release VMware, Inc iSCSI SAN Configuration Guide VMware, Inc About This Book ® The iSCSI SAN Configuration Guide explains how to use VMware ESX™ and VMware ESXi systems with an iSCSI storage area network (SAN) The manual includes conceptual background information and installation requirements for ESX, ESXi, and VMware vCenter™ Server Intended Audience This manual is written for experienced Windows or Linux system administrators who are familiar with virtual machine technology datacenter operations VMware Technical Publications Glossary VMware Technical Publications provides a glossary of terms that might be unfamiliar to you For definitions of terms as they are used in VMware technical documentation, go to http://www.vmware.com/support/pubs Document Feedback VMware welcomes your suggestions for improving our documentation If you have comments, send your feedback to docfeedback@vmware.com VMware vSphere Documentation The VMware vSphere documentation consists of the combined VMware vCenter Server and ESX/ESXi documentation set VMware, Inc iSCSI SAN Configuration Guide Technical Support and Education Resources The following technical support resources are available to you To access the current version of this book and other books, go to http://www.vmware.com/support/pubs Online and Telephone Support To use online support to submit technical support requests, view your product and contract information, and register your products, go to http://www.vmware.com/support Customers with appropriate support contracts should use telephone support for the fastest response on priority issues Go to http://www.vmware.com/support/phone_support.html Support Offerings To find out how VMware support offerings can help meet your business needs, go to http://www.vmware.com/support/services VMware Professional Services VMware Education Services courses offer extensive hands-on labs, case study examples, and course materials designed to be used as on-the-job reference tools Courses are available onsite, in the classroom, and live online For onsite pilot programs and implementation best practices, VMware Consulting Services provides offerings to help you assess, plan, build, and manage your virtual environment To access information about education classes, certification programs, and consulting services, go to http://www.vmware.com/services VMware, Inc Using ESX/ESXi with an iSCSI Storage Area Network You can use ESX/ESXi in conjunction with a storage area network (SAN), a specialized high-speed network that connects computer systems to high-performance storage subsystems Using ESX/ESXi together with a SAN provides storage 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 SAN concepts Also, when you set up ESX/ESXi hosts to use Internet SCSI (iSCSI) SAN storage systems, you must be aware of certain special considerations that exist This chapter includes the following topics: n “Understanding Virtualization,” on page n “iSCSI SAN Concepts,” on page 11 n “Overview of Using ESX/ESXi with a SAN,” on page 16 n “Specifics of Using SAN Storage with ESX/ESXi,” on page 17 n “Understanding VMFS Datastores,” on page 18 n “Making LUN Decisions,” on page 19 n “How Virtual Machines Access Data on a SAN,” on page 21 n “Understanding Multipathing and Failover,” on page 22 n “Choosing Virtual Machine Locations,” on page 27 n “Designing for Server Failure,” on page 27 n “LUN Display and Rescan,” on page 28 Understanding Virtualization The 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 These devices include virtualized CPU, memory, I/O buses, network interfaces, storage adapters and devices, human interface devices, and BIOS VMware, Inc iSCSI SAN Configuration Guide Network Virtualization The virtualization layer guarantees that each virtual machine is isolated from other virtual machines Virtual machines can talk to each other only through networking mechanisms similar to those used to connect separate physical machines The isolation allows administrators to build internal firewalls or other network isolation environments so that some virtual machines can connect to the outside, while others are connected only through virtual networks to other virtual machines Storage Virtualization ESX/ESXi provides host-level storage virtualization, which logically abstracts the physical storage layer from virtual machines An ESX/ESXi virtual machine uses a virtual disk to store its operating system, program files, and other data associated with its activities A virtual disk is a large physical file, or a set of files, that can be copied, moved, archived, and backed up as easily as any other file You can configure virtual machines with multiple virtual disks To access virtual disks, a virtual machine uses virtual SCSI controllers These virtual controllers include BusLogic Parallel, LSI Logic Parallel, LSI Logic SAS, and VMware Paravirtual These controllers are the only types of SCSI controllers that a virtual machine can see and access Each virtual disk that a virtual machine can access through one of the virtual SCSI controllers resides on a VMware Virtual Machine File System (VMFS) datastore, an NFS-based datastore, or on a raw disk From the standpoint of the virtual machine, each virtual disk appears as if it were a SCSI drive connected to a SCSI controller Whether the actual physical disk device is being accessed through parallel SCSI, iSCSI, network, or Fibre Channel adapters on the host is transparent to the guest operating system and to applications running on the virtual machine Figure 1-1 gives an overview of storage virtualization The diagram illustrates storage that uses VMFS and storage that uses raw device mapping The diagram also shows how iSCSI storage is accessed through either iSCSI HBAs or by using a general-purpose NIC that uses iSCSI initiator software 10 VMware, Inc iSCSI SAN Configuration Guide Procedure To define a new claim rule, on the vSphere CLI, run the following command: esxcli corestorage claimrule add For information on the options that the command requires, see “esxcli corestorage claimrule Options,” on page 113 To load the new claim rule into your system, run the following command: esxcli corestorage claimrule load This command loads all newly created multipathing claim rules from your system's configuration file Example C-2 Defining Multipathing Claim Rules n Add rule # 500 to claim all paths with the NewMod model string and the NewVend vendor string for the NMP plug-in # esxcli corestorage claimrule add -r 500 -t vendor -V NewVend -M NewMod -P NMP After you load the claim rule and run the esxcli corestorage claimrule list command, you can see the new claim rule appearing on the list NOTE The two lines for the claim rule, one with the Class of runtime and another with the Class of file, indicate that the new claim rule has been loaded into the system and is active Rule Class MP MP MP MP MP MP MP MP MP n Rule 101 101 500 500 Class runtime runtime runtime runtime runtime runtime file runtime file Type transport transport transport transport transport vendor vendor vendor vendor Plugin NMP NMP NMP NMP NMP MASK_PATH MASK_PATH NMP NMP Matches transport=usb transport=sata transport=ide transport=block transport=unknown vendor=DELL model=Universal Xport vendor=DELL model=Universal Xport vendor=NewVend model=NewMod vendor=NewVend model=NewMod Add rule # 321 to claim the path on adapter vmhba0, channel 0, target 0, LUN for the NMP plug-in # esxcli corestorage claimrule add -r 321 -t location -A vmhba0 -C -T -L -P NMP n Add rule # 1015 to claim all paths provided by Fibre Channel adapters for the NMP plug-in # esxcli corestorage claimrule add -r 1015 -t transport -R fc -P NMP n Add a rule with a system assigned rule id to claim all paths provided by Fibre Channel type adapters for the NMP plug-in # esxcli corestorage claimrule add autoassign -t transport -R fc -P NMP 106 VMware, Inc Appendix C Managing Multipathing Modules and Hardware Acceleration Plug-Ins Delete Multipathing Claim Rules Use the vSphere CLI to remove a multipathing PSA claim rule from the set of claim rules on the system Procedure Delete a claim rule from the set of claim rules esxcli corestorage claimrule delete -r claimrule_ID For information on the options that the command takes, see “esxcli corestorage claimrule Options,” on page 113 NOTE By default, the PSA claim rule 101 masks Dell array pseudo devices Do not delete this rule, unless you want to unmask these devices Remove the claim rule from the ESX/ESXi system esxcli corestorage claimrule load Mask Paths You can prevent the ESX/ESXi host from accessing storage devices or LUNs or from using individual paths to a LUN Use the vSphere CLI commands to mask the paths When you mask paths, you create claim rules that assign the MASK_PATH plug-in to the specified paths Procedure Check what the next available rule ID is esxcli corestorage claimrule list The claim rules that you use to mask paths should have rule IDs in the range of 101 – 200 If this command shows that rule 101 and 102 already exist, you can specify 103 for the rule to add Assign the MASK_PATH plug-in to a path by creating a new claim rule for the plug-in esxcli corestorage claimrule add -P MASK_PATH For information on command-line options, see “esxcli corestorage claimrule Options,” on page 113 Load the MASK_PATH claim rule into your system esxcli corestorage claimrule load Verify that the MASK_PATH claim rule was added correctly esxcli corestorage claimrule list If a claim rule for the masked path exists, remove the rule esxcli corestorage claiming unclaim Run the path claiming rules esxcli corestorage claimrule run After you assign the MASK_PATH plug-in to a path, the path state becomes irrelevant and is no longer maintained by the host As a result, commands that display the masked path's information might show the path state as dead VMware, Inc 107 iSCSI SAN Configuration Guide Example C-3 Masking a LUN In this example, you mask the LUN 20 on targets T1 and T2 accessed through storage adapters vmhba2 and vmhba3 #esxcli corestorage claimrule list #esxcli #esxcli #esxcli #esxcli #esxcli corestorage claimrule load #esxcli corestorage claimrule list #esxcli corestorage claiming unclaim -t location -A vmhba2 #esxcli corestorage claiming unclaim -t location -A vmhba3 # esxcli corestorage claimrule run corestorage corestorage corestorage corestorage claimrule claimrule claimrule claimrule add add add add -P -P -P -P MASK_PATH MASK_PATH MASK_PATH MASK_PATH -r -r -r -r 109 110 111 112 -t -t -t -t location location location location -A -A -A -A vmhba2 vmhba3 vmhba2 vmhba3 -C -C -C -C 0 0 -T -T -T -T 1 2 -L -L -L -L 20 20 20 20 Unmask Paths When you need the host to access the masked storage device, unmask the paths to the device Procedure Delete the MASK_PATH claim rule esxcli conn_options corestorage claimrule delete -r rule# Verify that the claim rule was deleted correctly esxcli conn_options corestorage claimrule list Reload the path claiming rules from the configuration file into the VMkernel esxcli conn_options corestorage claimrule load Run the esxcli corestorage claiming unclaim command for each path to the masked storage device For example: esxcli conn_options corestorage claiming unclaim -t location -A vmhba0 -C -T -L 149 Run the path claiming rules esxcli conn_options corestorage claimrule run Your host can now access the previously masked storage device Define NMP SATP Rules The NMP SATP claim rules specify which SATP should manage a particular storage device Usually you not need to modify the NMP SATP rules If you need to so, use vSphere CLI to add a rule to the list of claim rules for the specified SATP You might need to create an SATP rule when you install a third-party SATP for a specific storage array 108 VMware, Inc Appendix C Managing Multipathing Modules and Hardware Acceleration Plug-Ins Procedure To add a claim rule for a specific SATP, run the esxcli nmp satp addrule command The command takes the following options Option Description -c| claim-option Set the claim option string when adding a SATP claim rule This string is passed to the SATP when the SATP claims a path The contents of this string, and how the SATP behaves as a result, are unique to each SATP For example, some SATPs support the claim option strings tpgs_on and tpgs_off If tpgs_on is specified, the SATP will claim the path only if the ALUA Target Port Group support is enabled on the storage device -e| description Set the claim rule description when adding a SATP claim rule -d| device Set the device when adding SATP claim rules Device rules are mutually exclusive with vendor/model and driver rules -D| driver Set the driver string when adding a SATP claim rule Driver rules are mutually exclusive with vendor/model rules -f| force Force claim rules to ignore validity checks and install the rule anyway -h| help Show the help message -M| model Set the model string when adding SATP a claim rule Vendor/Model rules are mutually exclusive with driver rules -o| option Set the option string when adding a SATP claim rule -P| psp Set the default PSP for the SATP claim rule -O| psp-option Set the PSP options for the SATP claim rule -s| satp The SATP for which a new rule will be added -R| transport Set the claim transport type string when adding a SATP claim rule -V| vendor Set the vendor string when adding SATP claim rules Vendor/Model rules are mutually exclusive with driver rules NOTE When searching the SATP rules to locate a SATP for a given device, the NMP searches the driver rules first If there is no match, the vendor/model rules are searched, and finally the transport rules If there is still no match, NMP selects a default SATP for the device To delete a rule from the list of claim rules for the specified SATP, run the following command You can run this command with the same options you used for addrule esxcli nmp satp deleterule Reboot your host Example C-4 Defining an NMP SATP Rule The following sample command assigns the VMW_SATP_INV plug-in to manage storage arrays with vendor string NewVend and model string NewMod # esxcli nmp satp addrule -V NewVend -M NewMod -s VMW_SATP_INV If you run the esxcli nmp satp listrules -s VMW_SATP_INV command, you can see the new rule added to the list of VMW_SATP_INV rules VMware, Inc 109 iSCSI SAN Configuration Guide Managing Hardware Acceleration Filter and Plug-Ins The hardware acceleration, or VAAI, filter in combination with vendor-specific VAAI plug-ins are attached to storage devices that support the hardware acceleration Using the vSphere CLI you can display and manipulate the VAAI filter and VAAI plug-ins Display Hardware Acceleration Filter Use the vSphere CLI to view the hardware acceleration, or VAAI, filter currently loaded into your system Procedure u Run the esxcli corestorage plugin list plugin-class=Filter command The output of this command is similar to the following: Plugin name VAAI_FILTER Plugin class Filter Display Hardware Acceleration Plug-Ins Use the vSphere CLI to view hardware acceleration plug-ins, also called VAAI plug-ins, currently loaded into your system Procedure u Run the esxcli corestorage plugin list plugin-class=VAAI command The output of this command is similar to the following: Plugin name VMW_VAAIP_EQL VMW_VAAIP_NETAPP VMW_VAAIP_CX Plugin class VAAI VAAI VAAI Verify Hardware Acceleration Status of a Storage Device Use the vSphere CLI to verify the hardware acceleration support status of a particular storage device This command also helps to determine which VAAI filter is attached to the device Procedure u Run the esxcli corestorage device list d device_ID command The output shows the hardware acceleration, or VAAI, status that can be unknown, supported, or unsupported If the device supports the hardware acceleration, the output also lists the VAAI filter attached to the device # esxcli corestorage device list d naa.60a98000572d43595a4a52644473374c naa.60a98000572d43595a4a52644473374c Display Name: NETAPP Fibre Channel Disk(naa.60a98000572d43595a4a52644473374c) Size: 20480 Device Type: Direct-Access Multipath Plugin: NMP Devfs Path: /vmfs/devices/disks/naa.60a98000572d43595a4a52644473374c Vendor: NETAPP Model: LUN Revision: 8000 SCSI Level: Is Pseudo: false Status: on 110 VMware, Inc Appendix C Managing Multipathing Modules and Hardware Acceleration Plug-Ins Is RDM Capable: true Is Local: false Is Removable: false Attached Filters: VAAI_FILTER VAAI Status: supported Other UIDs: vml.020003000060a98000572d43595a4a52644473374c4c554e202020 View Hardware Acceleration Plug-In for a Device Use the vSphere CLI to view the hardware acceleration, or VAAI, plug-in attached to a storage device that supports the hardware acceleration Procedure u Run the esxcli vaai device list d device_ID command For example: # esxcli vaai device list -d naa.6090a028d00086b5d0a4c44ac672a233 naa.6090a028d00086b5d0a4c44ac672a233 Device Display Name: EQLOGIC iSCSI Disk (naa.6090a028d00086b5d0a4c44ac672a233) VAAI Plugin Name: VMW_VAAIP_EQL List Hardware Acceleration Claim Rules For each storage device that supports the hardware acceleration functionality, the claim rules specify the hardware acceleration filter and the hardware acceleration plug-in to manage this storage device You can use the vSphere CLI to list the hardware acceleration filter and plug-in claim rules Procedure To list the filter claim rules, run the esxcli corestorage claimrule list claimrule-class=Filter command In this example, the filter claim rules specify devices that should be claimed by the VAAI_FILTER filter # esxcli corestorage claimrule list claimrule-class=Filter Rule Class Rule Class Type Plugin Matches Filter 65430 runtime vendor VAAI_FILTER vendor=EMC model=SYMMETRIX Filter 65430 file vendor VAAI_FILTER vendor=EMC model=SYMMETRIX Filter 65431 runtime vendor VAAI_FILTER vendor=DGC model=* Filter 65431 file vendor VAAI_FILTER vendor=DGC model=* To list the VAAI plug-in claim rules, run the esxcli corestorage claimrule list claimruleclass=VAAI command In this example, the VAAI claim rules specify devices that should be claimed by a particular VAAI plugin esxcli corestorage claimrule list claimrule-class=VAAI Rule Class Rule Class Type Plugin Matches VAAI 65430 runtime vendor VMW_VAAIP_SYMM vendor=EMC VAAI 65430 file vendor VMW_VAAIP_SYMM vendor=EMC VAAI 65431 runtime vendor VMW_VAAIP_CX vendor=DGC VAAI 65431 file vendor VMW_VAAIP_CX vendor=DGC VMware, Inc model=SYMMETRIX model=SYMMETRIX model=* model=* 111 iSCSI SAN Configuration Guide Add Hardware Acceleration Claim Rules To configure hardware acceleration for a new array, you need to add two claim rules, one for the VAAI filter and another for the VAAI plug-in For the new claim rules to be active, you first define the rules and then load them into your system Procedure Define a new claim rule for the VAAI filter by using the esxcli corestorage claimrule add claimruleclass=Filter plugin=VAAI_FILTER command For information about the options that the command requires, see “esxcli corestorage claimrule Options,” on page 113 Define a new claim rule for the VAAI plug-in by using the esxcli corestorage claimrule add -claimrule-class=VAAI command Load both claim rules by using the following commands: esxcli corestorage claimrule load claimrule-class=Filter esxcli corestorage claimrule load claimrule-class=VAAI Run the VAAI filter claim rule by using the esxcli corestorage claimrule run claimruleclass=Filter command NOTE Only the Filter-class rules need to be run When the VAAI filter claims a device, it automatically finds the proper VAAI plug-in to attach Example C-5 Defining Hardware Acceleration Claim Rules To configure Hardware Acceleration for IBM arrays using the VMW_VAAI_T10 plug-in, use the following sequence of commands: # esxcli corestorage claimrule add claimrule-class=Filter plugin=VAAI_FILTER type=vendor -vendor=IBM autoassign # esxcli corestorage claimrule add claimrule-class=VAAI plugin=VMW_VAAI_T10 type=vendor -vendor=IBM autoassign # esxcli corestorage claimrule load claimrule-class=Filter # esxcli corestorage claimrule load claimrule-class=VAAI # esxcli corestorage claimrule run claimrule-class=Filter Delete Hardware Acceleration Claim Rules Use the vSphere CLI to delete existing hardware acceleration claim rules Procedure u Use the following commands: esxcli corestorage claimrule delete -r claimrule_ID claimrule-class=Filter esxcli corestorage claimrule delete -r claimrule_ID claimrule-class=VAAI 112 VMware, Inc Appendix C Managing Multipathing Modules and Hardware Acceleration Plug-Ins esxcli corestorage claimrule Options Certain esxcli corestorage claimrule commands, for example the commands that you run to add new claim rules, remove the rules, or mask paths, require that you specify a number of options Table C-1 esxcli corestorage claimrule Options Option Description -A| adapter Indicate the adapter of the paths to use in this operation -u| autoassign The system will auto assign a rule ID -C| channel Indicate the channel of the paths to use in this operation -c| claimrule-class Indicate the claim rule class to use in this operation Valid values are: MP, Filter, VAAI -d| device Indicate the device Uid to use for this operation -D| driver Indicate the driver of the paths to use in this operation -f| force Force claim rules to ignore validity checks and install the rule anyway -h| help Show the help message -L| lun Indicate the LUN of the paths to use in this operation -M| model Indicate the model of the paths to use in this operation -P| plugin Indicate which PSA plug-in to use for this operation -r| rule Indicate the claim rule ID to use for this operation -T| target Indicate the target of the paths to use in this operation -R| transport Indicate the transport of the paths to use in this operation Valid values are: block, fc, iscsi, iscsivendor, ide, sas, sata, usb, parallel, unknown -t| type Indicate which type of matching is used for claim/unclaim or claimrule Valid values are: vendor, location, driver, transport, device -V| vendor Indicate the vendor of the paths to use in this operation VMware, Inc 113 iSCSI SAN Configuration Guide 114 VMware, Inc Index Symbols * next to path 80 A access control 15 active-active disk arrays, managing paths 83 active-passive disk arrays managing paths 83 path thrashing 89 adaptive scheme 20 advanced settings Disk.MaxLUN 77 Disk.SchedNumReqOutstanding 90 Disk.SupportSparseLUN 78 allocations, LUN 30 applications, layered 92 array-based solution 93 asterisk next to path 80 authentication 15, 44, 75 B backups considerations 91 third-party backup package 92 boot from iSCSI SAN configuring HBAs 63 configuring iSCSI settings 64 guidelines 62 hardware iSCSI 63 iBFT 64 preparing SAN 62 software iSCSI 64 C CHAP disabling 47 for discovery targets 46 for iSCSI initiators 45 for static targets 46 mutual 44 one-way 44 CHAP authentication 15, 44, 75 CHAP authentication methods 44 checklist 99 claim rules 79 VMware, Inc commands esxcli corestorage claimrule 102 resxtop 101 vicfg-iscsi 101 vicfg-mpath 101 vmkping 102 configuring dynamic discovery 43 iSCSI storage 51 static discovery 44 current multipathing state 80 D data digests 15 datastore copies, mounting 93 datastores creating on iSCSI storage 51 displaying 74 managing duplicate 93 mounting 94 paths 80 refreshing 76 reviewing properties 75 unmounting 94 Dell PowerVault MD3000i storage systems 59 dependent hardware iSCSI and associated NICs 34 configuration workflow 32 considerations 33 reviewing adapters 33 diagnostic partitions, sharing 84 disabling paths 82 disaster recovery 16 discovery address 43 dynamic 43 static 44 disk access, equalizing 90 disk arrays active-active 30, 81 active-passive 30, 81, 89 disk shares 20 disk timeout 84 Disk.MaxLUN 77 Disk.SchedNumReqOutstanding 90 115 iSCSI SAN Configuration Guide Disk.SupportSparseLUN 78 dump partitions, sharing 84 dynamic discovery, configuring 43 dynamic discovery addresses 43 E educational support EMC CLARiiON 54 EMC Symmetrix, pseudo LUNs 55 equalizing disk access 90 EqualLogic, storage systems 59 ESX/ESXi hosts and iSCSI SAN 71 sharing VMFS 18 esxcli corestorage claimrule command 102 esxcli corestorage command, options 113 ESXi, configuring for net dump 69 EUI 12 EVA (HP StorageWorks) 56 F failover I/O delay 25 transparent 14 failover paths, status 80 failure, server 27 file-based (VMFS) solution 93 FilerView 57 finding information 17 Fixed path policy, path thrashing 89 H hardware acceleration about 96 benefits 96 deleting claim rules 112 disabling 97 requirements 96 status 97 hardware acceleration plug-ins 103 hardware iSCSI, and failover 24 hardware iSCSI adapters dependent 13 independent 13 hardware iSCSI initiators changing iSCSI name 32 configuring 31 installing 31 setting up discovery addresses 43 setting up naming parameters 32 viewing 31 header digests 15 high-tier storage 27 116 host type 54 HP LeftHand P4000 VSA 59 HP StorageWorks EVA 56 MSA 55 I I/O delay 25, 29 iBFT 64 iBFT iSCSI boot booting an ESXi host 67 changing boot sequence 66 installing an ESXi host 66 limitations 65 networking best practices 67 setting up ESXi 65 troubleshooting 68 IP address 12 IQN 12 iSCSI, with multiple NICs 37 iSCSI adapters about 29 hardware 13 software 13 iSCSI alias 12 iSCSI boot, iBFT 64 iSCSI Boot Firmware Table, See iBFT iSCSI boot parameters, configuring 65 iSCSI HBA, alias 32 iSCSI initiators advanced parameters 48 configuring advanced parameters 49 configuring CHAP 45 hardware 31 setting up CHAP parameters 44 viewing in vSphere Client 71 iSCSI names, conventions 12 iSCSI networking, creating a VMkernel port 37 iSCSI ports 12 iSCSI SAN boot 61 concepts 11 iSCSI sessions adding for a target 50 displaying 50 duplicating 51 managing 49 removing 51 iSCSI storage, adding 51 iSCSI storage systems, working with ESX/ ESXi 53 issues performance 88 visibility 75 VMware, Inc Index J jumbo frames enabling for dependent hardware iSCSI 42 enabling for software iSCSI 42 using with iSCSI 41 L layered applications 92 LeftHand Networks SAN/iQ storage systems 59 Linux Cluster host type 54 Linux host type 54 load balancing, manual 83 locations of virtual machines 27 loss of network connection, troubleshooting 68 lower-tier storage 27 LUN decisions adaptive scheme 20 predictive scheme 20 LUN discovery, VMkernel 28 LUN not visible, SP visibility 75 LUNs allocations 30 changing number scanned 77 creating and rescan 75, 77 decisions 19 display and rescan 28 making changes and rescan 76 masking 107 multipathing policy 81 one VMFS volume per 29 setting multipathing policy 81 sparse 78 M maintenance 16 manual load balancing 83 masking LUNs 107 metadata updates 19 mid-tier storage 27 Most Recently Used path policy, path thrashing 89 mounting VMFS datastores 93 MPPs displaying 104 See also multipathing plug-ins MRU path policy 81 MSA (HP StorageWorks) 55 MTU 42 multipathing activating for software iSCSI 40 active paths 80 broken paths 80 VMware, Inc disabled paths 80 standby paths 80 viewing the current state of 80 multipathing claim rules adding 105 deleting 107 multipathing plug-ins, path claiming 79 multipathing policy 81 multipathing state 80 mutual CHAP 44 N NAA 12 Native Multipathing Plug-In 22, 23 net dump configuring ESXi 69 configuring vMA 69 NetApp provisioning storage on CLI 58 provisioning storage on FilerView 57 NetApp storage system 57 network adapters, configuring for iBFT iSCSI boot 65 network performance 86 network virtualization 10 networking, configuring 30 NFS datastores, unmounting 94 NICs, mapping to ports 38 NMP I/O flow 24 path claiming 79 See also Native Multipathing Plug-In O one-way CHAP 44 outstanding disk requests 90 P passive disk arrays, path thrashing 89 path claiming 79 path failover array-based 25 host-based 24 path failure rescan 76, 77 path management 22, 83 path policies changing defaults 82 Fixed 24, 25, 81 Most Recently Used 24, 81 MRU 81 Round Robin 24, 81 Path Selection Plug-Ins 24 path thrashing, resolving 90 117 iSCSI SAN Configuration Guide paths disabling 82 masking 107 preferred 80 unmasking 108 performance checking Ethernet switch statistics 88 issues 88 network 86 optimizing 85 SCSI reservations 18 storage system 85 plug-ins hardware acceleration 103 multipathing 103 Pluggable Storage Architecture 22 port binding, examples 41 port binding, removing 41 port redirection 25 predictive scheme 20 preferred path 80 prioritizing virtual machines 20 problems performance 88 visibility 75 PSA, See Pluggable Storage Architecture PSPs, See Path Selection Plug-Ins Q queue depth 29, 90 R rescan LUN creation 75–77 LUN display 28 LUN masking 75 path masking 76, 77 when path is down 76, 77 reservations, reducing SCSI reservations 91 resxtop command 101 Round Robin path policy 24, 81 S SAN accessing 21 backup considerations 91 benefits 16 server failover 28 specifics 17 troubleshooting 84 SAN management software 17 SAN restrictions, when working with ESX/ ESXi 30 118 SAN storage performance, optimizing 85 SATPs adding rules 108 displaying 105 See also Storage Array Type Plug-Ins scanning, changing number 77 SCSI controllers 10 SCSI reservations, reducing 91 server failover 28 server failure 27 server performance 86 sharing diagnostic partitions 84 sharing VMFS across servers 18 snapshot software 92 software iSCSI and failover 24 networking 36 software iSCSI adapters, queue depth 90 software iSCSI boot, changing settings 68 software iSCSI initiators configuring 34 enabling 35 setting up discovery addresses 43 SP visibility, LUN not visible 75 sparse LUN support 78 static discovery, configuring 44 static discovery addresses 43 storage adapters copying names to clipboard 72 displaying in vSphere Client 72 viewing in vSphere Client 71 storage area network Storage Array Type Plug-Ins 23 storage devices accessible through adapters 74 available to hosts 74 displaying 105 hardware acceleration status 110 identifiers 74 naming 73 paths 81 viewing information 72 storage filters disabling 78 host rescan 79 RDM 79 same host and transports 79 VMFS 79 storage systems Dell PowerVault MD3000i 59 EMC CLARiiON 54 EMC Symmetrix 55 EqualLogic 59 VMware, Inc Index HP StorageWorks 55 LeftHand Networks SAN/iQ 59 NetApp 57 performance 85 types 14 storage virtualization 10 T targets 13 targets vs LUNs 13 technical support testing, storage systems 53 third-party backup package 92 third-party management applications 17 TimeoutValue parameter 29 troubleshooting changing iSCSI boot parameters 68 loss of network connection 68 U use cases 16 V VAAI claim rules defining 112 deleting 112 VAAI filter 111 VAAI plug-in 111 VAAI filter, displaying 110 VAAI plug-ins displaying 110 listing for devices 111 vicfg-iscsi command 101 vicfg-module 90 vicfg-mpath command 101 virtual machines accessing SAN 21 equalizing disk access 90 VMware, Inc I/O delay 25 locations 27 prioritizing 20 virtualization visibility issues 75 vMA, collecting net dump 69 vMA, configuring for net dump 69 VMFS one volume per LUN 29 sharing across ESX/ESXi hosts 18 volume resignaturing 93 VMFS datastores changing signatures 95 resignaturing copies 95 unmounting 94 VMFS volume resignaturing 93 VMkernel, LUN discovery 28 VMkernel interface, with Jumbo Frames enabled 42 VMkernel ports 38 vmkping command 102 vMotion 16, 30, 54 VMware DRS, using with vMotion 30 VMware HA 16, 27, 54 VMware NMP I/O flow 24 See also Native Multipathing Plug-In VMware PSPs, See Path Selection Plug-Ins VMware SATPs, See Storage Array Type PlugIns volume resignaturing 93, 95 vSphere CLI 40 vSphere Client 101 vSwitch, with Jumbo Frames enabled 42 W Windows GOS timeout 84 119 iSCSI SAN Configuration Guide 120 VMware, Inc ... Targets in vApps 59 Booting from iSCSI SAN 61 General Boot from iSCSI SAN Recommendations 62 Prepare the iSCSI SAN 62 Configure ESX Hosts to Boot from iSCSI SAN 63 iBFT iSCSI Boot Overview 64 Collecting... Parameters for iSCSI 48 iSCSI Session Management 49 Add iSCSI Storage 51 Modifying SAN Storage Systems for ESX/ESXi 53 Testing ESX/ESXi SAN Configurations 53 General Considerations for iSCSI SAN Storage... Ports in the iSCSI SAN A single discoverable entity on the iSCSI SAN, such as an initiator or a target, represents an iSCSI node Each node has one or more ports that connect it to the SAN iSCSI ports

Ngày đăng: 27/10/2019, 22:46

Mục lục

  • iSCSI SAN Configuration Guide

    • Contents

    • Using ESX/ESXi with an iSCSI Storage Area Network

      • Understanding Virtualization

        • Network Virtualization

        • iSCSI SAN Concepts

          • Ports in the iSCSI SAN

          • Target Compared to LUN Representations

          • Multipathing and Path Failover

          • Discovery, Authentication, and Access Control

          • Overview of Using ESX/ESXi with a SAN

            • ESX/ESXi and SAN Use Cases

            • Specifics of Using SAN Storage with ESX/ESXi

              • Third-Party Management Applications

              • Understanding VMFS Datastores

                • Sharing a VMFS Datastore Across ESX/ESXi Hosts

                • Making LUN Decisions

                  • Use the Predictive Scheme to Make LUN Decisions

                  • Use the Adaptive Scheme to Make LUN Decisions

                  • Use Disk Shares to Prioritize Virtual Machines

                  • How Virtual Machines Access Data on a SAN

                  • Understanding Multipathing and Failover

                    • Managing Multiple Paths

                      • VMware Multipathing Module

                        • VMware SATPs

                        • VMware NMP Flow of I/O

                        • Choosing Virtual Machine Locations

                        • Designing for Server Failure

                          • Using VMware HA

                          • Server Failover and Storage Considerations

                          • LUN Display and Rescan

                          • Configuring iSCSI Initiators and Storage

                            • ESX/ESXi iSCSI SAN Requirements

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan