hp 3par red hat enterprise linux and oracle linux ... · pdf filecontents 1introduction.....7...

144
HP 3PAR Red Hat Enterprise Linux and Oracle Linux Implementation Guide Abstract This implementation guide provides the information you need to configure an HP 3PAR StoreServ Storage with Red Hat Enterprise Linux (RHEL) 4, RHEL 5, RHEL 6, and Oracle Linux (OL). General information is also provided on the basic steps required to allocate storage on the HP 3PAR StoreServ Storage that can then be accessed by the RHEL host. HP Part Number: QL226-97770 Published: March 2014

Upload: vuanh

Post on 06-Feb-2018

245 views

Category:

Documents


2 download

TRANSCRIPT

  • HP 3PAR Red Hat Enterprise Linux andOracle Linux Implementation Guide

    AbstractThis implementation guide provides the information you need to configure an HP 3PAR StoreServ Storage with Red Hat EnterpriseLinux (RHEL) 4, RHEL 5, RHEL 6, and Oracle Linux (OL). General information is also provided on the basic steps required toallocate storage on the HP 3PAR StoreServ Storage that can then be accessed by the RHEL host.

    HP Part Number: QL226-97770Published: March 2014

  • Copyright 2014 Hewlett-Packard Development Company, L.P.

    Confidential computer software. Valid license from HP required for possession, use or copying. Consistent with FAR 12.211 and 12.212, CommercialComputer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government undervendor's standard commercial license.

    The information contained herein is subject to change without notice. The only warranties for HP products and services are set forth in the expresswarranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shallnot be liable for technical or editorial errors or omissions contained herein.

    Acknowledgements

    Java and Oracle are registered trademarks of Oracle and/or its affiliates.

    Red Hat and Red Hat Enterprise Linux are registered trademarks of Red Hat, Inc.

    UNIX is a registered trademark of The Open Group.

    Windows is a U.S. registered trademark of Microsoft Corporation.

  • Contents1 Introduction...............................................................................................7

    Supported Configurations..........................................................................................................7HP 3PAR OS Upgrade Considerations.........................................................................................8Audience.................................................................................................................................8

    2 Configuring the HP 3PAR StoreServ Storage for Fibre Channel..........................9Configuring the HP 3PAR StoreServ Storage Running HP 3PAR OS 3.1.x or OS 2.3.x.........................9

    Configuring Ports on the HP 3PAR StoreServ Storage for a Direct Connection...............................9Configuring Ports on the HP 3PAR StoreServ Storage for a Fabric Connection............................10Creating the Host Definition (HP 3PAR OS 3.1.x or OS 2.3.x)...................................................11

    Configuring the HP 3PAR StoreServ Storage Running HP 3PAR OS 2.2.x........................................12Configuring Ports for a Direct Connection..............................................................................13Configuring Ports for a Fabric Connection.............................................................................13Creating the Host Definition (HP 3PAR OS 2.2.x)...................................................................13

    Connecting the HP 3PAR StoreServ Storage to the Host................................................................14Setting Up and Zoning the Fabric.............................................................................................14

    HP 3PAR Coexistence.........................................................................................................15Configuration Guidelines for Fabric Vendors..........................................................................15Target Port Limits and Specifications for FC............................................................................16HP 3PAR Priority Optimization.............................................................................................16HP 3PAR OS Persistent Ports................................................................................................17

    Fibre Channel...............................................................................................................17FCoE-to-FC Connectivity...........................................................................................................17

    3 Configuring the HP 3PAR StoreServ Storage for iSCSI....................................20Configuring Ports for an iSCSI Connection.................................................................................20Creating the iSCSI Host Definition.............................................................................................21RHEL iscsiadm Utility Usage.....................................................................................................24Target Port Limits and Specifications for iSCSI.............................................................................26HP 3PAR Priority Optimization..................................................................................................26HP 3PAR OS Persistent Ports.....................................................................................................26

    iSCSI................................................................................................................................274 Configuring the HP 3PAR StoreServ Storage for FCoE....................................28

    Setting Up the FCoE Switch, FCoE Initiator, and FCoE target ports.................................................28Target Port Limits and Specifications..........................................................................................30HP 3PAR Priority Optimization..................................................................................................30HP 3PAR OS Persistent Ports.....................................................................................................30

    Fibre Channel over Ethernet................................................................................................315 Configuring a Host with Fibre Channel........................................................32

    Checking the Host for Required Packages..................................................................................32Installing the Emulex HBA........................................................................................................32

    Building the Emulex Driver..................................................................................................32Modifying the /etc/modprobe.conf File and Building the Ramdisk...........................................33Setting up the NVRAM and BIOS with the Emulex HBA...........................................................37

    Enabling an Adapter to Boot from SAN...........................................................................37Configuring Boot Devices...............................................................................................37

    Configuring the Emulex HBA using the HBACMD Utility..........................................................37Installing the QLogic HBA........................................................................................................38

    Building the QLogic Driver..................................................................................................38Modifying the /etc/modprobe.conf file and Building the Ramdisk............................................39Setting Up the NVRAM and BIOS with the QLogic HBA..........................................................40

    Contents 3

  • Configuring the QLogic HBA Using the SCLI Utility.................................................................41Installing the Brocade HBA......................................................................................................42

    Building the Brocade Driver.................................................................................................42Setting up the NVRAM and BIOS with the Brocade HBA.........................................................43

    Configure the following NVRAM settings using the Brocade BIOS utility...............................44Enabling an Adapter to Boot from SAN...........................................................................44Configuring Boot Devices...............................................................................................44Configuring the Brocade HBA using the BCU Utility...........................................................44

    Setting the SCSI Timeout..........................................................................................................45Using UDEV Rules to Set the SCSI Timeout.............................................................................45

    Verifying the SCSI Timeout Settings..................................................................................46Using QLogic Scripts to Set the SCSI Timeout.........................................................................47Using Emulex Scripts to Set the SCSI Timeout.........................................................................48

    Setting Up Multipathing Software.............................................................................................48Setting Up Device-mapper...................................................................................................48

    Modifying the /etc/multipath.conf File.............................................................................50Enabling Multipath........................................................................................................53

    Setting Up Veritas DMP Multipathing....................................................................................54Installing the HP 3PAR Host Explorer Package........................................................................56

    6 Configuring a Host with iSCSI....................................................................57Sett