HP P10000, 3PAR HP-UX 11i v3 Implementation Manual

HP 3PAR HP-UX 11i v2 and v3 Implementation Guide
HP Part Number: QL226-96021 Published: August 2011
© Copyright 2011 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, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor'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 express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein.
Acknowledgments
Intel®, Itanium®, Pentium®, Intel Inside®, and the Intel Inside logo are trademarks or registered trademarks of Intel Corporation or its subsidiaries
in the United States and other countries.
Microsoft®, Windows®, Windows® XP, and Windows NT® are U.S. registered trademarks of Microsoft Corporation.
Java and Oracle are registered trademarks of Oracle and/or its affiliates.
UNIX® is a registered trademark of The Open Group.
Contents
1 Introduction...............................................................................................4
Supported Configurations..........................................................................................................4
InForm OS Upgrade Considerations............................................................................................4
Audience.................................................................................................................................4
Related Documentation..............................................................................................................4
Typographical Conventions........................................................................................................5
Advisories................................................................................................................................5
2 Configuring the HP 3PAR Storage System for Fibre Channel.............................6
Configuring the HP 3PAR Storage System Running InForm OS 3.1.x and OS 2.3.x.............................6
Configuring Ports for a Direct Connection................................................................................6
Configuring Ports for a Fabric Connection...............................................................................7
Creating the Host Definition..................................................................................................7
Configuring the HP 3PAR Storage System Running InForm OS 2.2.x................................................8
Configuring Ports for a Direct Connection................................................................................8
Configuring Ports for a Fabric Connection...............................................................................8
Creating the Host Definition..................................................................................................9
Connecting the HP 3PAR Storage System to the Host.....................................................................9
Setting Up and Zoning the Fabric...............................................................................................9
Configuration Guidelines for Fabric Vendors..........................................................................10
Target Port Limits and Specifications.....................................................................................10
Configuration Diagrams for Zoning......................................................................................11
Single Initiator to Single Target Zoning No Fan-In No Fan-Out............................................11
Single Initiator to Single Target Zoning with Fan-Out from One HP 3PAR Storage System Port
to Multiple Host Server Ports...........................................................................................11
Single Initiator to Single Target Zoning with Fan-In from Multiple HP 3PAR Storage System
Ports to One Host Server Port..........................................................................................12
Single Initiator to Single Target Zoning with Mixed Fan-In and Fan-Out Configurations...........12
Non-Compliant Zoning Examples....................................................................................13
3 Connecting a Host Server with Fibre Channel...............................................14
Installing the HBA...................................................................................................................14
Installing the Host OS..............................................................................................................14
4 Allocating Storage for Access by the HP-UX Host..........................................17
Creating Storage on the HP 3PAR Storage System.......................................................................17
Creating Virtual Volumes....................................................................................................17
Creating Thin Provisioned Volumes.......................................................................................18
Exporting LUNs to the Host......................................................................................................18
Restrictions on Volume Size and Number...................................................................................19
Restrictions on Dynamic LUN Expansion.....................................................................................19
Setting Up Multipathing Software on 11i v3...............................................................................19
Setting Up Multipathing Software on 11i v2...............................................................................32
Optional Instructions for Multipathing........................................................................................37
Using the ioscan Command with Multipathing Software to Verify HBA Connections.........................37
5 Removing HP 3PAR Devices on the Host Server.............................................42
6 Booting the Host from the HP 3PAR Storage System.......................................43
HP 3PAR Storage System Setup Requirements.............................................................................43
HP-UX Itanium Host HBA Considerations....................................................................................43
Installation from HP-UX 11i v2 or 11i v3 DVDs.............................................................................44
A HP-UX Software List Command Output........................................................46
Contents 3
1 Introduction
This implementation guide provides the information you need to configure an HP 3PAR Storage System with HP-UX 11i v2 or v3. General information is also provided on the basic steps required to allocate storage on the HP 3PAR Storage System that can then be accessed by the HP-UX host.
The information contained in this implementation guide is the outcome of careful testing of the HP 3PAR Storage System with as many representative hardware and software configurations as possible.
REQUIRED
For predictable performance and results with your HP 3PAR Storage System, the information in this guide must be used in concert with the documentation set provided by HP for the HP 3PAR Storage System and the documentation provided by the vendor for their respective products.
Supported Configurations
Fibre Channel connections are supported between the HP 3PAR Storage System and HP-UX host server.
For complete details on supported host configurations, consult the HP 3PAR InForm OS Configuration Matrix, which is available on HP’s Business Support Center (BSC).
To obtain a copy of this documentation, go to http://www.hp.com/go/3par/, navigate to your product page, click HP Support & Drivers, and then click Manuals.
InForm OS Upgrade Considerations
Refer to the InForm OS Upgrade Pre-Planning Guide for information and planning of an online HP 3PAR InForm Operating System upgrade.
Audience
This implementation guide is intended for system and storage administrators who monitor and direct system configurations and resource allocation for HP 3PAR Storage Systems. The tasks described in this manual assume that the administrator is familiar with HP-UX 11i v2 or v3 and the HP 3PAR InForm OS. Although this guide attempts to provide the basic information that is required to establish communications between the HP 3PAR Storage System and the HP-UX host, and to allocate the required storage for a given configuration, the appropriate HP 3PAR documentation must be consulted in conjunction with the HP-UX host and HBA vendor documentation for specific details and procedures.
NOTE: This implementation guide does NOT intend to reproduce any third-party product
documentation. For details about devices such as host servers, HBAs, fabric and Ethernet switches, and non-HP 3PAR software management tools, consult the appropriate third-party documentation.
Related Documentation
The following documents also provide information related to HP 3PAR Storage Systems and the InForm Operating System:
Read the…For information about…
HP 3PAR InForm Configuration MatrixSpecific platforms supported
InForm OS Command Line Interface ReferenceCLI commands and their usage
HP 3PAR InForm OS Management Console Online HelpUsing the InForm Management Console to configure and
administer HP 3PAR Storage Systems
4 Introduction
Read the…For information about…
HP 3PAR InForm OS Concepts GuideHP 3PAR Storage System concepts and terminology
HP 3PAR InServ S-Class/T-Class Storage Server Physical Planning Manual or the HP 3PAR InServ E-Class/F-Class
Determining HP 3PAR Storage System hardware specifications, installation considerations, power requirements, networking options, and cabling Storage Server and Third-Party Rack Physical Planning
Manual
HP 3PAR InForm OS Messages and Operator’s GuideIdentifying storage server components and detailed alert
information
HP 3PAR Remote Copy User’s GuideUsing HP 3PAR Remote Copy
HP 3PAR CIM API Programming ReferenceUsing HP 3PAR CIM
Typographical Conventions
This guide uses the following typographical conventions:
Table 1 Typographical Conventions
ExampleMeaningTypeface
When prompted, click Finish to complete the installation.
Used for dialog elements such as titles, button labels, and other screen elements.
ABCDabcd
Open the fileUsed for paths, filenames, and screen
output.
ABCDabcd
\os\windows\setup.exe
# cd \opt\3par\consoleUsed to differentiate user input from
screen output.
ABCDabcd
Modify the content string by adding the-P <x> after -jar inform.jar
Used for variables in filenames, paths, and screen output.
<ABCDabcd>
#.\java -jar inform.jar -P<x>Used for variables in user input.<ABCDabcd>
Advisories
To avoid injury to people or damage to data and equipment, be sure to observe the cautions and warnings in this guide. Always be careful when handling any electrical equipment.
WARNING! Warnings alert you to actions that can cause injury to people or irreversible damage
to data or the operating system.
CAUTION: Cautions alert you to actions that can cause damage to equipment, software, or data.
NOTE: Notes are reminders, tips, or suggestions that supplement the procedures included in this
guide.
Typographical Conventions 5
2 Configuring the HP 3PAR Storage System for Fibre
Channel
This chapter describes how to establish a connection between an HP 3PAR Storage System and HP-UX host using Fibre Channel and how to set up the fabric when running InForm OS 3.1.x, OS
2.3.x, or OS 2.2.x. For information on setting up the physical connection for a particular HP 3PAR Storage System, see the appropriate HP 3PAR installation manual.
REQUIRED
If you are setting up a fabric along with your installation of the HP 3PAR Storage System, consult
“Setting Up and Zoning the Fabric” (page 9) before configuring or connecting your HP 3PAR
Storage System.
Configuring the HP 3PAR Storage System Running InForm OS 3.1.x and OS 2.3.x
This section describes how to configure the HP 3PAR Storage System running InForm OS 3.1.x and OS 2.3.x.
REQUIRED
The following setup must be completed before connecting the HP 3PAR Storage System port to a device.
Configuring Ports for a Direct Connection
To configure HP 3PAR Storage System ports for a direct connection to the HP-UX host, complete the following steps:
1. To set up the HP 3PAR Storage System ports for a direct connection, issue the following set of commands with the appropriate parameters for each direct connect port:
a. controlport offline [node:slot:port] b. controlport config host –ct loop [node:slot:port]
where -ct loop specifies a direct connection.
c. controlport rst [node:slot:port] Example:
# controlport offline 1:5:1 # controlport config host -ct loop 1:5:1 # controlport rst 1:5:1
2. After all ports have been configured, verify that the ports are configured for a host in a direct connection by issuing the showport -par command on the HP 3PAR Storage System.
# showport -par N:S:P Connmode ConnType CfgRate MaxRate Class2 UniqNodeWwn VCN IntCoal ... 1:5:1 host loop auto 4Gbps disabled disabled disabled enabled ...
6 Configuring the HP 3PAR Storage System for Fibre Channel
Configuring Ports for a Fabric Connection
To configure HP 3PAR Storage System ports for a fabric connection, complete the following steps for each port connecting to a fabric.
CAUTION: Before taking a port offline in preparation for a fabric connection, you should verify
that the port has not been previously defined and that it is not already connected to a host as this would interrupt the existing host connection. If an HP 3PAR Storage System port is already configured for a fabric connection, you can ignore Step 2 as you do not have to take the port offline.
1. To determine if a port has already been configured for a host port in fabric mode, issue
showport -par on the HP 3PAR Storage System.
# showport -par N:S:P Connmode ConnType CfgRate MaxRate Class2 UniqNodeWwn VCN IntCoal ... 1:5:1 host point auto 4Gbps disabled disabled disabled enabled ...
2. If the port has NOT been configured, take the port offline before configuring it for connection to a host server. To take the port offline, issue the InForm CLI command controlport
offline [node:slot:port].
# controlport offline 1:5:1
3. To configure the port to the host server, issue controlport config host –ct point[node:slot:port], where -ct point indicates that the connection type specified
is a fabric connection.
# controlport config host –ct point 1:5:1
4. Reset the port by issuing the controlport rst [node:slot:port] command.
# controlport rst 1:5:1
Creating the Host Definition
Before connecting the HP-UX host to the HP 3PAR Storage System, create a host definition that specifies a valid host persona for each HP 3PAR Storage System that is to be connected to a host HBA port through a fabric or a direct connection.
1. To create host definitions, issue the createhost [options] <hostname> [<WWN>...] command. For example:
# createhost -persona 7 hpux-host 1122334455667788 1122334455667799
Configuring the HP 3PAR Storage System Running InForm OS 3.1.x and OS 2.3.x 7
2. To verify that the host has been created, issue the showhost command.
# showhost Id Name Persona -WWN/iSCSI_Name- Port ... 2 hpux-host HPUX-legacy 1122334455667788 --­ 1122334455667799 ---
Configuring the HP 3PAR Storage System Running InForm OS 2.2.x
This section describes how to configure the HP 3PAR Storage System running InForm OS 2.2.x.
REQUIRED
The following setup must be completed before connecting the HP 3PAR Storage System port to a device.
Configuring Ports for a Direct Connection
To configure the HP 3PAR Storage System ports for a direct connection, complete the following steps.
1. Set each HP 3PAR Storage System port to port personality 5 by issuing controlport
persona 5 <X:X:X>, where <X:X:X> is the port location, expressed as node:slot:port.
# controlport persona 5 1:2:1
2. Verify that each port has the appropriate personality defined:
# showport -par N:S:P ConnType CfgRate MaxRate Class2 VCN ------------Persona------------­ IntCoal ... 1:2:1 loop auto 2Gbps disable disabled (5) aglt, g_hba, hp, 0, DC enabled ...
NOTE: When deploying your storage server in a direct connection, the HP Tachyon HBA
WWN does not show up.
Configuring Ports for a Fabric Connection
To configure the HP 3PAR Storage System ports for a fabric connection, complete the following steps.
1. Set each storage server port that will connect to a fabric to port persona 8 by issuing controlport persona 8 <X:X:X>, where <X:X:X> is the port location, expressed as node:slot:port.
8 Configuring the HP 3PAR Storage System for Fibre Channel
2. Issue controlport vcn disable -f <X:X:X> for each port. Verify that each port has the appropriate persona defined:
# controlport persona 8 1:2:1
# showport -par N:S:P ConnType CfgRate MaxRate Class2 VCN -----------Persona-----------­IntCoal ... 1:2:1 point auto 2Gbps disable enabled (8) aglt, g_hba, hp, 0, FA enabled ...
Creating the Host Definition
Before connecting the HP-UX host to the HP 3PAR Storage System, create a host definition that is to be connected to a host HBA port through a fabric or a direct connection.
To create host definitions on the HP 3PAR Storage System, issue createhost
[options]<hostname> [<WWN>].
# createhost hpux-host 1122334455667788 1122334455667799
To verify the host definition, issue showhost:
# showhost Id Name -WWN/iSCSI_Name- Port ... 2 hpux-host 1122334455667788 --­ 1122334455667799 ---
Connecting the HP 3PAR Storage System to the Host
During this stage connect the HP 3PAR Storage System to the host server directly or to the fabric. This set of tasks includes physically cabling the HP 3PAR Storage System to the host server or fabric.
Setting Up and Zoning the Fabric
Fabric zoning controls which devices have access to each other on the fabric. The required use of single initiator to single target zoning isolates the host server and HP 3PAR Storage System ports from Registered State Change Notifications (RSCNs) that are irrelevant to these ports.
You can set up fabric zoning by associating the device World Wide Names (WWNs) or ports with specified zones in the fabric. Although you can use either the WWN or the port zoning methods with the HP 3PAR Storage System, the WWN zoning method is recommended because the zone survives the changes of ports when cables are reconnected on a fabric.
Use the methods provided by the switch vendor to create relationships between host server HBA ports and storage server ports before you connect the host server HBA ports or HP 3PAR Storage System ports to the fabric.
REQUIRED
When you establish zoning with the HP 3PAR Storage System, there must only be a single initiator zoned with a single target. If an issue occurs using another zoning approach, HP may require that you implement this zoning approach as part of troubleshooting and/or corrective action.
Connecting the HP 3PAR Storage System to the Host 9
After connecting each host server HBA port and HP 3PAR Storage System port to the fabric(s), verify the switch and zone configurations using the InForm CLI showhost command, to ensure that each initiator is zoned with the correct target.
In the following explanations an initiator port (initiator for short) refers to a host server HBA port and a target port (target for short) refers to an HP 3PAR Storage System HBA port.
Configuration Guidelines for Fabric Vendors
Use the following fabric vendor guidelines before configuring ports on fabric(s) to which the HP 3PAR Storage System connects.
Brocade switch ports that connect to a host server HBA port or to an HP 3PAR Storage System
port should be set to their default mode. On Brocade 3xxx switches running Brocade firmware
3.0.2 or later, verify that each switch port is in the correct mode using the Brocade telnet interface and the portcfgshow command as follows:
brocade2_1:admin> portcfgshow Ports 0 1 2 3 4 5 6 7
-----------------+--+--+--+--+----+--+--+-­Speed AN AN AN AN AN AN AN AN Trunk Port ON ON ON ON ON ON ON ON
Locked L_Port .. .. .. .. .. .. .. ..
Locked G_Port .. .. .. .. .. .. .. ..
Disabled E_Port .. .. .. .. .. .. .. ..
where AN:AutoNegotiate, ..:OFF, ??:INVALID.
McData switch or director ports should be in their default modes as type GX-Port with a speed
setting of Negotiate.
Cisco switch ports that connect to HP 3PAR Storage System ports or host HBA ports should
be set to AdminMode = FXand AdminSpeed = auto port, with the speed set to auto negotiate.
QLogic switch ports should be set to port type GL-port and port speed auto-detect.
QLogic switch ports that connect to the HP 3PAR Storage System should be set to I/O Stream
Guard disable or auto, but never enable.
Target Port Limits and Specifications
To avoid overwhelming a target port and ensure continuous I/O operations, refer to the following limitations on a target port:
Maximum of 64 host server ports per HP 3PAR Storage System port, with a maximum total of
1,024 host server ports per HP 3PAR Storage System.
I/O queue depth on each InServ Storage Server HBA model as follows:
QLogic 2G: 497◦ ◦ LSI 2G: 510 Emulex 4G: 959 HP 3PAR HBA 4G: 1638 HP 3PAR HBA 8G: 3276
The I/O queues are shared among the connected host server HBA ports on a first-come,
first-served basis
When all queues are in use and a host HBA port tries to initiate I/O, it receives a target queue
full response from the HP 3PAR Storage System port. This condition can result in erratic I/O performance on each host server. If this condition occurs, each host server should be throttled
10 Configuring the HP 3PAR Storage System for Fibre Channel
so that it cannot overrun the HP 3PAR Storage System port's queues when all host servers are delivering their maximum number of I/O requests.
NOTE: When host server ports can access multiple targets on fabric zones, the assigned target
number assigned by the host driver for each discovered target can change when the host server is booted and some targets are not present in the zone. This situation may change the device node access point for devices during a host server reboot. This issue can occur with any fabric-connected storage, and is not specific to the HP 3PAR Storage System.
Configuration Diagrams for Zoning
This section describes various zoning configurations.
NOTE: In the examples in the following sections, a fabric can be one or more Fibre Channel
switches or directors.
Single Initiator to Single Target Zoning No Fan-In No Fan-Out
With a single initiator to single target zoning, in a no fan-in, no fan-out configuration, each HBA port is connected to only one HP 3PAR Storage System port, as shown in Figure 1 (page 11).
Figure 1 Single Initiator to Single Target Zoning No Fan-In/No Fan-Out
Single Initiator to Single Target Zoning with Fan-Out from One HP 3PAR Storage System Port to Multiple Host Server Ports
With single initiator to single target zoning, in a fan-out configuration, the HP 3PAR Storage System port is connected to more that one host port, as shown in Figure 2 (page 12).
Setting Up and Zoning the Fabric 11
Figure 2 Single Initiator to Single Target Zoning with Fan-Out
NOTE: A maximum of 64 host server ports can fan-out from a single HP 3PAR Storage System
port.
Single Initiator to Single Target Zoning with Fan-In from Multiple HP 3PAR Storage System Ports to One Host Server Port
With single initiator to single target zoning, in a fan-in configuration a host server port connects to many HP 3PAR Storage System ports, as shown in Figure 3 (page 12).
Figure 3 Single Initiator to Single Host Target Zoning with Fan-In
NOTE: A maximum of four HP 3PAR Storage System ports can fan-in to a single host server port.
Single Initiator to Single Target Zoning with Mixed Fan-In and Fan-Out Configurations
With single initiator to single target zoning, in a fan-in and fan-out configuration, one HP 3PAR Storage System connects to multiple host servers.
12 Configuring the HP 3PAR Storage System for Fibre Channel
Figure 4 Single Initiator to Single Target Zoning with Fan-In and Fan-Out
Non-Compliant Zoning Examples
In the following example, the zoning rule of one initiator zoned to one target is not respected, as shown in Figure 5 (page 13).
Figure 5 Non-Compliant Zoning
Setting Up and Zoning the Fabric 13
3 Connecting a Host Server with Fibre Channel
This chapter describes the tasks necessary for connecting the host to Fibre Channel.
Installing the HBA
1. Install the HP-UX operating system from the HP-UX 11i v2 Mission Critical OE June 2008 Release or from the HP-UX 11i v3 Data Center OE March 2011 Release on Integrity/PA-RISC Servers.
2. Install the HP Fibre Channel Mass Storage adapter(s), such as the AB379A/B, AH402A and AD193A, in the server using the documentation supplied with the HBA from the server vendor. A complete list of supported HBAs can be found on SPOCK. The HBA installation manuals are also available at the folllowing web site:
http://www.hp.com
Installing the Host OS
The following information is for HP-UX 11i v2 or 11i v3 Itanium/PA-RISC server installations with the AB379A/B, AH402A, and AD193A HBAs.
1. Check the installed patches using the System Administration Manager (SAM) for 11i v2 or
SMH for 11i v3 using the swlist command.
GUI:
SAMSoftware ManagementView Installed Software
CLI:
# swlist | grep -i FibrChanl
The list should include the following software; the support versions are listed in the HP 3PAR InForm Configuration Matrix:
For 11i v3:
# swlist FibrChanl* #
# FibrChanl-00 B.11.31.1003 FibreChannel;HW=A6795A,A5158A
FibrChanl-00.FC-TACHYON-TL B.11.31.1003 FibreChannel (TD) Driver # FibrChanl-01 B.11.31.1103 FibrChnl;HW=A6826A,A9782A,A9784A,AB378A/B,AB379A/B,AB465A,AD193A,AD194A,AD300A
FibrChanl-01.FC-FCD B.11.31.1103 FibreChannel (FCD) Driver # FibrChanl-02 B.11.31.1103 FCLP;HW=AD299A,AD355A,AD221A,AD222A,AD393A,AH402A,AH403A,403621-B21,456972-B21
FibrChanl-02.FC-FCLP B.11.31.1103 PCIe FibreChannel # FibrChanl-03 B.11.31.1103 FCOC;HW=581199-001 FibrChanl-03.FC-FCOC B.11.31.1103 PCIe FibreChannel # FibrChanl-04 B.11.31.1103 FCQ;HW=P3P FibrChanl-04.FC-FCQ B.11.31.1103 FibreChannel (FCQ) Driver
For 11i v2:
# swlist FibrChanl* #
14 Connecting a Host Server with Fibre Channel
# FibrChanl-00 B.11.23.0712 PCI FibreChannel;Supptd HW=A6795A,A5158A FibrChanl-00.FC-TACHYON-TL B.11.23.0712 PCI FibreChannel;Supptd HW=A6795A,A5158A # FibrChanl-01 B.11.23.08.02 FibrChnl;SupptdHW=A6826A,A9782A,A9784A,AB378A,AB379A,AB465A,AD193A,AD194A,AD300A
FibrChanl-01.FC-FCD B.11.23.08.02 HP PCI-X/PCIe FibreChannel Driver(FCD) # FibrChanl-02 B.11.23.0712 PCIe FibreChannel;Supptd HW=AD299A,AD355A FibrChanl-02.FC-FCLP B.11.23.0712 PCIe FibreChannel
The drivers are installed as part of the operating system install. FibreChanl-00 must be also installed for FibrChanl-01 to function.
2. Verify that the OnlineDiag or Support Tools Bundle software is installed and install the software
if it is not present. The OnlineDiag bundle is present in the OS media.
# swlist Online* # OnlineDiag B.11.31.04.05 HPUX 11.31 Support Tools Bundle, September 2008
3. HP recommends that the Server is at a certain firmware version to detect the Fibre Channel
Cards. Verify the firmware version using the MP interface on the Integrity or HP 9000 Server.
MP:CM> SYSREV FIRMWARE: Core IO Master : A.006.012 Event Dict. : 1.009 Slave : A.006.012 Event Dict. : 1.009 Cell 0 PDHC : A.003.023 Pri SFW : 22.002 (PA) Sec SFW : 1.025 (IA) Cell 1 PDHC : A.003.023 Pri SFW : 22.002 (PA) Sec SFW : 1.025 (IA)
Alternately, if the Online Diagnostics have been installed, run the cstm tool to determine the firmware version.
a. Run the Support Tools Manager (STM) utility cstm.
# /usr/sbin/cstm
b. Use the selall and ilcommands to find all the required system information.
cstm>selall cstm>il ... Product ID : ia64 hp server rx7620 Product Number : not set System Firmware Revision : 001.025 BMC Revision : v06.12 System Serial Number: : not set System Software ID : 3801066248
Installing the Host OS 15
Loading...
+ 33 hidden pages