Emulex® Drivers Version 10.2 for Linux User Manual
Total Page:16
File Type:pdf, Size:1020Kb
Emulex® Drivers Version 10.2 for Linux User Manual P010081-01A Rev. A Emulex Connects™ Servers, Storage and People 2 Copyright © 2003-2014 Emulex. All rights reserved worldwide. No part of this document may be reproduced by any means or translated to any electronic medium without the prior written consent of Emulex. Information furnished by Emulex is believed to be accurate and reliable. However, no responsibility is assumed by Emulex for its use; or for any infringements of patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under any patent, copyright or related rights of Emulex. Emulex, the Emulex logo, AutoPilot Installer, AutoPilot Manager, BlockGuard, Connectivity Continuum, Convergenomics, Emulex Connect, Emulex Secure, EZPilot, FibreSpy, HBAnyware, InSpeed, LightPulse, MultiPulse, OneCommand, OneConnect, One Network. One Company., SBOD, SLI, and VEngine are trademarks of Emulex. All other brand or product names referenced herein are trademarks or registered trademarks of their respective companies or organizations. Emulex provides this manual "as is" without any warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability or fitness for a particular purpose. Emulex may make improvements and changes to the product described in this manual at any time and without any notice. Emulex assumes no responsibility for its use, nor for any infringements of patents or other rights of third parties that may result. Periodic changes are made to information contained herein; although these changes will be incorporated into new editions of this manual, Emulex disclaims any undertaking to give notice of such changes. Emulex, 3333 Susan Street Costa Mesa, CA 92626 OpenSolaris DHCHAP Notice Contains portions of Covered Software subject to the Common Development and Distribution License (CDDL) Version 1.0. Such portions of Covered Software in Source Code form may be obtained from the website www.opensolaris.org, or by contacting online support from the website www.emulex.com. Derived from the RSA Data Security, Inc. MD5 Message-Digest Algorithm. Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All rights reserved. Note: References to OCe11100 series products also apply to OCe11100R series products. Emulex Drivers Version 10.2 for Linux User Manual P010081-01A Rev. A Table of Contents 3 Table of Contents List of Tables .......................................................................................8 List of Figures ......................................................................................9 1. Introduction ................................................................................... 10 Overview.............................................................................................. 10 Abbreviations ........................................................................................ 10 2. Installing and Uninstalling .................................................................. 14 General Installation Requirements .............................................................. 14 Binary RPM FC and FCoE Driver Kit.............................................................. 14 Installing the Binary RPM FC and FCoE Driver Kit...........................................14 Uninstalling the Binary RPM FC and FCoE Driver Kit........................................15 Ethernet Driver Kit.................................................................................. 16 Installing the Ethernet Driver Kit..............................................................16 Uninstalling the Ethernet Driver Kit ..........................................................17 iSCSI Driver Kit....................................................................................... 18 Compiling the iSCSI Driver......................................................................18 Installing the iSCSI Driver Kit ..................................................................18 Uninstalling the iSCSI Driver Kit ...............................................................19 Booting from a Non-Zero LUN Attached to an Emulex LPFC Adapter..................... 19 OneCommand Manager Application.............................................................. 20 3. Configuration ................................................................................. 21 FC and FCoE Driver Configuration ............................................................... 21 FC and FCoE Driver Parameters ...............................................................21 Static FC and FCoE Driver Parameters............................................................ 21 Dynamic FC and FCoE Driver Parameters ........................................................ 24 Configuring FC and FCoE Driver Parameters.................................................26 Temporary Configuration with modprobe........................................................ 26 Persistent Configuration with modprobe.conf or lpfc.conf ................................... 27 Configure Parameters with a Read/Write to sysfs.............................................. 27 Creating a New Ramdisk Image................................................................28 Dynamically Recognizing LUNs and Targets (Using scan) ..................................29 Persistent Naming ...............................................................................29 Using udev to Discover Logical to Physical Mappings for sd Devices......................... 29 Configuring the System to Boot Using Persistent Names ...................................... 30 Using udev with st Devices ......................................................................... 30 Persistent Naming References ..................................................................... 33 Emulex Drivers Version 10.2 for Linux User Manual P010081-01A Rev. A Table of Contents 4 Ethernet Driver Configuration.................................................................... 34 Ethernet Driver Configuration Parameters...................................................34 VLAN Support on UMC ...........................................................................34 Support for Ethtool set/get-channels.........................................................35 Transmit/Receive Queue Counts ..............................................................35 SR-IOV Configuration ............................................................................36 Introduction........................................................................................... 36 Setting Up SR-IOV .................................................................................... 37 Edge Virtual Bridging ................................................................................ 41 Link State Reporting with SR-IOV.................................................................. 41 Configuring VFs....................................................................................... 41 Link State Configuration ............................................................................ 43 Viewing VF Properties............................................................................... 43 ARI Considerations for OCe14000-Series Adapters..........................................44 NIC Partitioning (NPar) Configuration (Dell Only) ..........................................45 Adapter Configuration .............................................................................. 45 Adapter Requirements .............................................................................. 45 Using NParEP ......................................................................................... 46 iSCSI Driver Configuration ......................................................................... 47 Open-iSCSI Support ..............................................................................47 Discovering and Adding iSCSI Targets.........................................................47 RHEL 6.x and SLES 11 SPx .......................................................................... 47 Discovering and Adding iSCSI Targets............................................................. 47 Adding iSCSI Targets Directly (without Discovering) ........................................... 51 SLES 11 SP1, RHEL 5.8, and Later Versions ..................................................52 Discovering and Adding iSCSI Targets............................................................. 52 iscsiadm Commands for Configuring the Target ............................................52 iSNS Discovery Using iscsiadm .................................................................53 Virtual Port (VPort) Configuration ............................................................... 55 VPort Configuration Prerequisites.............................................................55 Creating, Deleting, and Displaying VPorts ...................................................55 Creating VPorts Using the mkvport.sh Script .................................................... 55 Deleting VPorts Using the rmvport.sh Script .................................................... 56 Displaying VPorts Using the lsvport.sh Script.................................................... 56 VPort sysfs ........................................................................................56 VPort sysfs Tree .....................................................................................