EMC Host Connectivity Guide for Linux
Total Page:16
File Type:pdf, Size:1020Kb
Dell EMC Host Connectivity Guide for Linux P/N 300-003-865 REV 44 This document is not intended for audiences in China, Hong Kong, Taiwan, and Macao. Copyright © 2003 – 2017 Dell Inc. or its subsidiaries. All rights reserved. Published June 2017 Dell believes the information in this publication is accurate as of its publication date. The information is subject to change without notice. THE INFORMATION IN THIS PUBLICATION IS PROVIDED "AS IS." DELL INC. MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WITH RESPECT TO THE INFORMATION IN THIS PUBLICATION, AND SPECIFICALLY DISCLAIMS IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Use, copying, and distribution of any Dell EMC software described in this publication requires an applicable software license. Dell, EMC2, EMC, and the EMC logo are registered trademarks or trademarks of Dell Inc. or its subsidiaries. All other trademarks used herein are the property of their respective owners. For the most up-to-date regulator document for your product line, go to Dell EMC Online Support (https://support.emc.com). 2 Dell EMC Host Connectivity Guide for Linux CONTENTS Preface ......................................................................................................................................... 9 Chapter 1 Introduction Operating system limits and guidelines................................................................. 14 Host initiators ................................................................................................. 14 Logical unit .................................................................................................... 14 Configuration example................................................................................... 16 Storage attach ................................................................................................. 19 Zoning recommendation ................................................................................ 21 Devices and operations.......................................................................................... 22 SCSI device addressing.................................................................................. 22 SCSI device operation interfaces ................................................................... 23 LUN scanning mechanisms................................................................................... 26 System reboot................................................................................................. 26 HBA driver reload.......................................................................................... 26 SCSI scan function in /proc............................................................................ 26 SCSI scan function in /sys.............................................................................. 27 SCSI scan through HBA vendor scripts......................................................... 27 SCSI scan through Linux distributor provided scripts................................... 28 Persistent binding .................................................................................................. 30 HBA persistent binding.................................................................................. 30 Udev ............................................................................................................... 31 Native MPIO .................................................................................................. 31 PowerPath pseudo-names............................................................................... 31 Logical volumes ............................................................................................. 31 Mitigating the effects of storage array migration for Linux hosts......................... 32 Useful utilities ....................................................................................................... 34 Disk partition adjustment for VMAX series, VNX series, VNXe series, Unity series, CLARiiON, or XtremIO............................................................................. 36 Track boundaries ............................................................................................ 37 RAID 5 boundaries......................................................................................... 37 Metastripe boundaries .................................................................................... 39 VNX series, VNXe series, Unity series, or CLARiiON systems................... 39 Determining the correct offset to partition..................................................... 39 Aligning the partition ..................................................................................... 41 Operating systems ................................................................................................. 44 Host software......................................................................................................... 45 Dell EMC Solutions Enabler for Linux.......................................................... 45 Navisphere CLI .............................................................................................. 45 Unisphere CLI................................................................................................ 47 Dell EMC replication software ...................................................................... 47 Server vendors....................................................................................................... 48 Host bus adapters................................................................................................... 49 Converged Network Adapters ............................................................................... 50 Dell EMC storage.................................................................................................. 51 VMAX series.................................................................................................. 51 Unity series..................................................................................................... 52 VNX series or CLARiiON ............................................................................. 52 VPLEX........................................................................................................... 52 Dell EMC Host Connectivity Guide for Linux 3 Contents XtremIO ......................................................................................................... 53 ScaleIO........................................................................................................... 53 XtremCache.................................................................................................... 55 Chapter 2 Fibre Channel Connectivity Introduction ........................................................................................................... 58 Configuring the HBAs for a Linux host................................................................ 59 Prerequisites for first-time installation........................................................... 59 Emulex Fibre Channel HBA .......................................................................... 59 QLogic Fibre Channel HBA .......................................................................... 63 Brocade Fibre Channel HBA ......................................................................... 68 SNIA API for third-party software (Solution Enabler).................................. 69 Hitachi Virtage....................................................................................................... 72 Chapter 3 Fibre Channel over Ethernet Connectivity Introduction ........................................................................................................... 76 Configuring the Linux host ................................................................................... 78 Zoning best practices...................................................................................... 78 CNAs.............................................................................................................. 78 Cisco Unified Computing System......................................................................... 90 Chapter 4 iSCSI Connectivity Introduction ........................................................................................................... 94 iSCSI discovery..................................................................................................... 95 Digests............................................................................................................ 95 iSCSI error recovery....................................................................................... 96 iSCSI security................................................................................................. 96 iSCSI solutions ...................................................................................................... 98 General best practices..................................................................................... 98 General supported configurations .................................................................. 98 Dell EMC native iSCSI targets ...................................................................... 99 Native Linux iSCSI driver............................................................................ 102 Software and hardware iSCSI initiator......................................................... 102 Native Linux iSCSI Attach.................................................................................