HP 3PAR HP-UX Implementation Guide Abstract This implementation guide provides information for configuring an HP 3PAR StoreServ Storage system with HP-UX 11i v2 (11.23) or v3 (11.31). General information is provided with the basic steps required to allocate storage on the HP 3PAR StoreServ Storage that can be accessed by the HP-UX host.
© 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, 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.
Contents 1 Introduction...............................................................................................4 Supported Configurations..........................................................................................................4 HP 3PAR OS Upgrade Considerations.........................................................................................4 Audience................................................................................................................................
1 Introduction This implementation guide provides the information you need to configure an HP 3PAR StoreServ Storage system with HP-UX 11i v2 (11.23) or v3 (11.31). 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 HP-UX host. The information contained in this implementation guide is the outcome of careful testing of the HP 3PAR StoreServ Storage with representative hardware and software configurations.
The tasks described in this manual assume that the administrator is familiar with HP-UX 11i v2 (11.23) or v3 (11.31) and the HP 3PAR OS. This guide provides basic information that is required to establish communication between the HP 3PAR StoreServ Storage and the HP-UX host and to allocate the required storage for a given configuration.
2 Configuring the HP 3PAR StoreServ Storage for Fibre Channel This chapter describes how to establish a connection between an HP 3PAR StoreServ Storage and HP-UX host using Fibre Channel and how to set up the fabric when running HP 3PAR OS 3.1.x or OS 2.3.x. For information on setting up the physical connection for a particular HP 3PAR StoreServ Storage, see the appropriate HP 3PAR installation manual.
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 StoreServ Storage.
There are 2 HP-UX host personas: • Persona 7 for HPUX-legacy 11i v3 (11.31) for pre 3.1.3 releases and 11i v2 (11.23) Provides: VolSetAddr and Lun0SCC • Persona 13 for HP-UX 11i v3 (11.31) only in 3.1.
NOTE: The WWN used in the command above to create a host definition is the host N_Port Port World Wide Name (PWWN). An example of how to obtain the PWWN is as follows # fcmsutil /dev/fcd0 | grep "N_Port Port" N_Port Port World Wide Name = 0x5001438004257c22 2. To verify that the host has been created, issue the showhost command.
Required Employ fabric zoning, using the methods provided by the switch vendor, to create relationships between host server HBA ports and HP 3PAR StoreServ Storage ports before connecting to the fabrics. Fibre Channel switch vendors support the zoning of the fabric end-devices in different zoning configurations. There are advantages and disadvantages with each zoning configuration. Choose a zoning configuration based on your needs.
Disabled E_Port .. .. .. .. .. .. .. .. where AN:AutoNegotiate, ..:OFF, ??:INVALID. The following fill-word modes are supported on a Brocade 8 Gb/s switch running FOS firmware 6.3.
• 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 StoreServ Storage port. This condition can result in erratic I/O performance on each host server.
HP Support Center • the HP 3PAR Command Line Interface Administrator’s Manual, “Using Persistent Ports for Nondisruptive Online Software Upgrades” This document is available on the HP SC website: HP Support Center Fibre Channel HP 3PAR OS Persistent Ports feature Setup and Connectivity Guidelines for FC Starting with HP 3PAR OS 3.1.2, the HP 3PAR OS Persistent Ports feature is supported for FC target ports. Starting with HP 3PAR OS 3.1.
In order to take advantage of the HP 3PAR Persistent Ports feature, the following Symantec Storage Foundation DMP tunables must be disabled: The HP Persistent Ports feature is not supported with iSCSI.
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. 2. Install the HP-UX operating system from the HP-UX 11i v2 Mission Critical OE June 2008 Release, as well as the 11i v2 December 2010 Support Pack, or from the HP-UX 11i v3 Data Center OE March 2013 or later Release on Integrity/PA-RISC Servers.
The drivers are installed with the operating system. FibreChanl-00 must be installed for FibrChanl-01 to work. 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 3. B.11.31.04.05 HPUX 11.31 Support Tools Bundle, September 2008 HP recommends that the server be at a certain firmware version to detect the fibre channel cards.
4 Allocating Storage for Access by the HP-UX Host Creating Storage on the HP 3PAR StoreServ Storage This section describes the general steps and commands that are required to create the virtual volumes (VVs) that can then be exported for discovery by the HP-UX host. For additional information, see the HP 3PAR Command Line Interface Administrator’s Manual. For a comprehensive description of HP 3PAR OS commands, see the HP 3PAR Command Line Interface Reference.
Creating Thinly-provisioned Virtual Volumes To create thinly-provisioned virtual volumes (TPVVs), see the following documents: • HP 3PAR StoreServ Storage Concepts Guide • HP 3PAR Command Line Interface Administrator’s Manual • HP 3PAR Command Line Interface Reference These documents are available on the HP Support Center website: HP Support Center Exporting LUNs to the Host This section explains how to export LUNs to the host server as VVs, referred to as virtual LUNs (VLUNs).
presentation/unpresentation. The following outlines this consideration and the appropriate system administrator actions: 1. Data VV LUN 2 presented to host, SES LUN 254 auto-presented to host: # ioscan -fnC disk Class I H/W Path Driver S/W State H/W Type Description ======================================================================= disk 125 1/0/6/0/0/0/1.8.0.0.0.0.2 sdisk CLAIMED DEVICE 3PARdataVV /dev/dsk/c5t0d2 /dev/rdsk/c5t0d2 disk 124 1/0/12/0/0/0/1.8.0.0.0.0.
3. System administrator actions to recognize LUN 254 changes: # ioscan -fNC tgtpath Class I H/W Path Driver S/W State H/W Type Description ====================================================================== tgtpath 1 1/0/0/3/0.0x6 estp CLAIMED TGT_PATH parallel_scsi target served by mpt driver, target port id 0x6 tgtpath 0 1/0/0/3/1.0x2 estp CLAIMED TGT_PATH parallel_scsi target served by mpt driver, target port id 0x2 tgtpath 2 1/0/6/0/0/0/1.
5. For the HP-UX host to use the SES LUN 254, a data VV LUN 254, if presented, must be unpresented and steps 3 and 4 above executed. For more detail and other variations of using the HP-UX 11.31 scsimgr utility, see the SCSI Management and Diagnostics utility white paper, available on the HP Support Center.
block device paths) that are required to access the devices are created as part of the ioscan command by internally executing the insf -e command. # ioscan # tail -f /var/adm/syslog/syslog.log vmunix: 0/0/4/1/0.0x20420002ac000036.0x400a000000000000 eslpt vmunix: 0/0/4/1/1.0x21520002ac000036.0x400a000000000000 eslpt vmunix: 64000/0xfa00/0x243 esdisk sfd[2330]: started 'insf' to create device special files for newly found devices. sfd[2330]: execution of 'insf' completed.
persistent device paths (DSF). Use the rmsf -v -L command to disable the legacy device paths. # rmsf -vL WARNING: This command may be disruptive to the system. Before running this command, make sure you have first run iofind(1M) and migrated all applications using legacy device special files. Please refer to the man page of rmsf(1M) to verify the possible side effects of the option '-L'. Do you want to continue ? (You must respond with 'y' or 'n'.
1) Issue ioscan -kfnNC tgtpath on the HP-UX host. # ioscan -kfnNC tgtpath Class I H/W Path Driver S/W State H/W Type Description ====================================================================== tgtpath 2 0/0/0/3/0.0x6 estp CLAIMED TGT_PATH parallel_scsi target served by c8xx driver tgtpath 0 0/0/4/1/0.0x20420002ac000036 estp CLAIMED TGT_PATH fibre_channel target served by fcd driver tgtpath 1 0/0/4/1/1.
such as target ports, disks, or individual LUN paths. The status limited means some paths are taken offline from the available multiple paths. # ioscan -P health -C tgtpath Class I H/W Path health ==================================== tgtpath 2 0/0/0/3/0.0x6 online tgtpath 0 0/0/4/1/0.0x20420002ac000036 tgtpath 1 0/0/4/1/1.
HP-UX host: # ioscan -kfnNC lunpath lunpath lunpath lunpath lunpath 6. 15 17 16 18 0/0/4/1/0.0x20420002ac000036.0x4014000000000000 0/0/4/1/0.0x20420002ac000036.0x4019000000000000 0/0/4/1/1.0x21520002ac000036.0x4014000000000000 0/0/4/1/1.0x21520002ac000036.
Hardware path SCSI transport protocol State Last Open or Close state d. = = = = 0/0/4/1/1.0x21520002ac000036.
Save the load_bal_policy so the change in intact even with reboots.
h. You can use the get_stat option to obtain the statistics of a given device and for debug purposes. # scsimgr get_stat -D /dev/rdisk/disk6 STATISTICS FOR LUN :/dev/rdisk/disk6 Generic Statistics: ... I/O transfer Statistics: Bytes read Bytes written Total I/Os processed Asynchronous IO read failures Asynchronous IO write failures i. = = = = = 22816 912 512 0 0 In HP-UX 11i v3, a device WWN (HP 3PAR StoreServ Storage VV) is closely tied to its exported LUN ID (HP 3PAR StoreServ Storage VLUN).
Remove the VLUN oracle1, and export oracle2 on the same LUN ID 6. # removevlun oracle1 6 sqahpit2 # createvlun oracle2 6 sqahpit Issuing ioscan on the HP-UX 11i v3 host shows the scsimgr replace_wwid in the syslog.log file and that the LUN path instances (19, 20) have failed the authentication. # ioscan # tail -f /var/adm/syslog/syslog.
# ioscan -kfnNC lunpath Class I H/W Path Driver S/W State H/W Type Description ================================================================== lunpath 19 0/0/4/1/0.0x20420002ac000036.0x4006000000000000 eslpt CLAIMED LUN_PATH LUN path for disk23 lunpath 20 0/0/4/1/1.0x21520002ac000036.0x4006000000000000 eslpt CLAIMED LUN_PATH LUN path for disk23 # scsimgr get_attr -D /dev/rdisk/disk23 ... current = 0x50002ac0024f0036 --> Oracle2 j.
# scsimgr set_attr -D /dev/rdisk/disk22 -a alias=oracle2 # scsimgr save_attr -D /dev/rdisk/disk22 -a alias=oracle2 # scsimgr -p get_attr all_lun -a device_file -a alias ... /dev/rdisk/disk23:oracle2 7. You can list and remove all stale devices in the system using the following commands: # ioscan -s --> lists all stale devices Class I H/W Path Driver ================================ disk 19 0/0/0/3/0.6.0 sdisk fcp 0 0/0/4/1/0.18 fcd_fcp ext_bus 11 0/0/4/1/0.18.1.0.0 fcd_vbus disk 7 0/0/4/1/0.18.1.0.0.0.
Total PE Free PE Autoswitch Proactive Polling 1279 1279 On On Setting Up Multipathing Software on HP-UX 11i v2 1. PVLinks, a component of Logical Volume Manager (LVM), can be used with storage server VVs that are exported on multiple paths to the host server to provide path failure management. PVLinks is an alternate pathing scheme where a primary and one or more alternate paths are defined for a device.
--- Physical volumes -PV Name PV Name PV Status Total PE Free PE Autoswitch /dev/dsk/c120d1 /dev/dsk/c14t0d1 Alternate Link available 2559 0 On NOTE: See the documentation at the: HP Support Center for complete information on using the PVLinks feature to manage device paths. NOTE: LVM and VxVM may coexist on the same system but should not be used to manage the same devices.
NOTE: Topology will be PRIVATE_LOOP for a direct connection and PTTOPT_FABRIC for a fabric connection. The example below is for fabric. # fcmsutil /dev/fcd2 (for Fabric connect) Vendor ID is = 0x001077 Device ID is = 0x002422 PCI Sub-system Vendor ID is = 0x00103c PCI Sub-system ID is = 0x0012df PCI Mode = PCI-X 133 MHz ISP Code version = 5.3.
Port Type FCP-2 Support Target Port World Wide Name Target Node World Wide Name = = = = N_PORT NO 0x21240002ac000e2c 0x2ff70002ac000e2c Common Service parameters (all values shown in hex): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Common Features : 8800 RO_Bitmap: ffff Total Conseq: ff Class 3 Service parameters (all values shown in hex): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Open Sequences/Exchg: 1 Recipient Control Flags: 0 Target N_Port_id is Target state Symbolic Name Port
Common Service parameters (all values shown in hex): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Common Features : 8800 RO_Bitmap: ffff Total Conseq: ff Class 3 Service parameters (all values shown in hex): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Open Sequences/Exchg: 1 Recipient Control Flags: 0 Target N_Port_id is Target state Symbolic Name Port Type FCP-2 Support Target Port World Wide Name Target Node World Wide Name = = = = = = = Conseq: ff Rxsz: 800 0x031300 DSM_UNOPENED 3PAR
4 hpuxN.0 50002AC0003B003E . . .
5 Removing HP 3PAR Devices on the Host Server To remove a VV from the HP-UX 11i v3 or 11i v2 host, complete the following steps: 1. See the appropriate HP-UX document for removing a specific volume type (for example, VxVM, LVM). 2. Remove the VLUN from the HP 3PAR StoreServ Storage by issuing removevlun .
6 Booting the Host from the HP 3PAR StoreServ Storage See HP-UX boot over SAN on the HP SC at: HP Support Center to learn the benefits of configuring HP-UX to boot from the HP 3PAR StoreServ Storage. HP 3PAR StoreServ Storage Setup Requirements Booting from the HP 3PAR StoreServ Storage is supported in fabric and direct connect modes. Make sure you have allocated enough space when creating your virtual volumes to be able to install your HP-UX OS.
Installation from HP-UX 11i v2 or 11i v3 DVDs Use the procedure described in HP-UX 11i v2 and 11i v3 Installation and Update Guide on the HP SC at: HP Support Center. 1. Insert the DVD into the HP-UX host server. The following screen appears: Welcome to the HP-UX installation/recovery process! Use the key to navigate between fields, and the arrow keys within fields. Use the key to select an item. Use the or to pop-up a choices list.
The following screen shows that the HP 3PAR StoreServ Storage is selected as the root disk. /opt/ignite/bin/itool () + ¦ ¦ ¦ +-------++----------++--------++-------------++----------+ ¦ ¦ ¦ Basic ¦¦ Software ¦¦ System ¦¦ File System ¦¦ Advanced ¦ ¦ ¦ ¦ \-------------------------------------------------------------------+¦ ¦ ¦ ¦¦ ¦ ¦ Configurations: [ HP-UX B.11.31 Default ->] [ Description... ] ¦¦ ¦ ¦ ¦¦ ¦ ¦ Environments: [ HP-UX Data Center Operatin ->] (HP-UX B.11.
7 Using Symantec Storage Foundation As of HP 3PAR OS 3.1.2, the virtual volume (VV) WWN increased from 8 bytes to 16 bytes. The increase in WWN length may cause the Symantec ASL to incorrectly identify the array volume identification (AVID) number, subsequently resulting in use of a different naming convention for DMP disk devices. NOTE: This issue does not occur with Storage Foundation 6.1, which is compatible with both 8-byte and 16-byte WWNs.
8 HP-UX Software List Command Output Different servers may have different patch requirements. HP Itanium Servers boot over SAN running HP-UX 11i v3 September 2012 Data Center OE and HP-UX 11i v2 June 2008 Mission Critical OE installed with AB379B, AH402A, and AD193A HBA Cards. The following are example listings of operating system installations showing product and patch components. HP-UX 11i v3 # swlist # # Bundle(s): # 10GigEthr-02 B.11.31.
HPUX-RAMD HPUX-TCPWRAP HPUX11i-DC-OE HPUXBastille HPUXEssential HPUXExtns-Jpn extensions HPUXExtns-Kor B.11.31 B.11.31 B.11.31.1209 B.3.3.01 B.11.31.1203 B.11.31 B.11.31 HPUX IPv6 routing Server HPUX TCPWrapper daemon HP-UX Data Center Operating Environment Bastille Security Hardening Tool Essential HP-UX Utilities Japanese font, input methods and printer Korean font, input methods and printer extensions HPUXExtns-SCh B.11.31 Simplified Chinese font, input methods and printer extensions HPUXExtns-TCh B.
FibrChnl;SupptdHW=A6826A,A9782A,A9784A,AB378A,AB379A,AB465A,AD193A,AD194A,AD300A FibrChanl-02 B.11.23.0712 PCIe FibreChannel;Supptd HW=AD299A,AD355A GTK 2.6.8.00.01 GTK+ 2.6 The Gnome GUI Runtime Toolkit GTKsrc 2.6.8.00.01 Gtk Source distribution GigEther-00 B.11.23.0512 PCI GigEther;Supptd HW=A4926A/A4929A/A6096A;SW=J1642AA GigEther-01 B.11.23.0712 PCI GigEther;Supptd HW=A6825A/A6794A/A6847A/A8685A/A9782A/A9784A/A7109A/AB465A GuestAVIOStor B.11.23.0712 HPVM Guest AVIO Storage Software GuestAvioLan B.11.23.
9 Support and Other Resources Contacting HP For worldwide technical support information, see the HP support website: http://www.hp.
For information about: See: Migrating data from one HP 3PAR storage system to another HP 3PAR-to-3PAR Storage Peer Motion Guide 48 Configuring the Secure Service Custodian server in order to monitor and control HP 3PAR storage systems HP 3PAR Secure Service Custodian Configuration Utility Reference Using the CLI to configure and manage HP 3PAR Remote Copy HP 3PAR Remote Copy Software User’s Guide Updating HP 3PAR operating systems HP 3PAR Upgrade Pre-Planning Guide Identifying storage system compo
For information about: See: Planning for HP 3PAR storage system setup Hardware specifications, installation considerations, power requirements, networking options, and cabling information for HP 3PAR storage systems HP 3PAR 7200, 7400, and 7450 storage systems HP 3PAR StoreServ 7000 Storage Site Planning Manual HP 3PAR StoreServ 7450 Storage Site Planning Manual HP 3PAR 10000 storage systems HP 3PAR StoreServ 10000 Storage Physical Planning Manual HP 3PAR StoreServ 10000 Storage Third-Party Rack Physic
Typographic conventions Table 3 Document conventions Convention Element Bold text • Keys that you press • Text you typed into a GUI element, such as a text box • GUI elements that you click or select, such as menu items, buttons, and so on Monospace text • File and directory names • System output • Code • Commands, their arguments, and argument values • Code variables • Command variables Bold monospace text • Commands you enter into a command line interface • System
10 Documentation feedback HP is committed to providing documentation that meets your needs. To help us improve the documentation, send any errors, suggestions, or comments to Documentation Feedback (docsfeedback@hp.com). Include the document title and part number, version number, or the URL when submitting your feedback.