background image

# scsimgr get_attr -D /dev/rdisk/disk22

...

current = 0x50002ac0024f0036 --> Oracle2

l.

You can give alias names for the disk as a way of tracking the device names with the
HP 3PAR Storage System volume name using the

alias

option for

set_attr

in the

scsimgr

command.

# ioscan -kfnNC disk

Class     I  H/W Path  Driver S/W State   H/W Type     Description

===================================================================

...

disk     22  64000/0xfa00/0x245  esdisk   CLAIMED     DEVICE       3PARdataVV

                      /dev/disk/disk22   /dev/rdisk/disk22

# scsimgr get_attr -D /dev/rdisk/disk22

...

current = 0x50002ac0024f0036 --> Oracle2 (InServ VV name)

# 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.1  sdisk   

disk      8  0/0/4/1/0.18.1.0.0.0.2  sdisk 

# lssf -s --> also lists stale devices

# rmsf -x --> remove all stale device entries

rmsf: Removing stale entry at 0/0/0/3/0.6.0 for sdisk

rmsf: Removing stale entry at 0/0/4/1/0.18 for fcd_fcp

rmsf: Removing stale entry at 0/0/4/1/0.18.1.0.0 for fcd_vbus

rmsf: Removing stale entry at 0/0/4/1/0.18.1.0.0.0.1 for sdisk

8.

The maximum volume size that can be created and exported on the storage server port is
currently 2096128 MB (2047G). HP-UX is capable of registering a VV of this size. Use the

diskinfo

or

scsimgr

command or SAM tool to display the volume size of the exported

LUN.

# diskinfo /dev/rdisk/disk3

SCSI describe of /dev/rdisk/disk3:

              vendor: 3PARdata

         product id: VV

                 type: direct access

                 size: 5242880 Kbytes

    bytes per sector: 512

Setting Up Multipathing Software on 11i v3

31

Содержание 3PAR HP-UX 11i v2

Страница 1: ...HP 3PAR HP UX 1 1i v2 and v3 Implementation Guide HP Part Number QL226 96021 Published August 201 1 ...

Страница 2: ...ervices 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 i...

Страница 3: ... 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 Storag...

Страница 4: ...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 1 1i v2 or v3 and the HP 3PAR InForm OS Although thi...

Страница 5: ...inish to complete the installation Used for dialog elements such as titles button labels and other screen elements ABCDabcd Open the file Used for paths filenames and screen output ABCDabcd os windows setup exe cd opt 3par console Used 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 s...

Страница 6: ...ompleted 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 contro...

Страница 7: ...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 co...

Страница 8: ...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 con...

Страница 9: ...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 w...

Страница 10: ... 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 s...

Страница 11: ...ng 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 Figu...

Страница 12: ...on 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 ...

Страница 13: ...ing 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 ...

Страница 14: ...patches using the System Administration Manager SAM for 1 1i v2 or SMH for 1 1i v3 using the swlist command GUI SAM Software Management View 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 1 1i v3 swlist FibrChanl FibrChanl 00 B 11 31 1003 FibreChannel HW A6795A A5158A FibrC...

Страница 15: ...dia 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 SF...

Страница 16: ...nium systems install the supported EFI firmware for the AB379A B A6826A A6795A card The firmware is downloadable from www hp com by searching the HBA model Those firmware versions are essential to enable the boot over SAN feature 16 Connecting a Host Server with Fibre Channel ...

Страница 17: ... from a CPG or can be thinly provisioned You can optionally specify a CPG for snapshot space for fully provisioned volumes Using the InForm Management Console 1 From the Menu bar select Actions Provisioning VV Create Virtual Volume 2 Use the Create Virtual Volume wizard to create a base volume 3 Select one of the following options from the Provisioning list Fully Provisioned from PDs Fully Provisi...

Страница 18: ...command createvlun cnt number VV_name LUN host_name where cnt number specifies that a sequence of VLUNs as specified by the number argument are exported to the same system port and host that is created The number argument can be specified as any integer For each VLUN created the int suffix of the VV_name specifier and LUN are incremented by one VV_name specifies name of the virtual volume being ex...

Страница 19: ...the HP UX diskinfo command to trigger detection of the LUN expansion by the operating system diskinfo dev rdisk disk100 Setting Up Multipathing Software on 1 1i v3 HP 3PAR supports the HP UX native multipathing solution 1 In Agile Addressing Mode the persistent DSF maps dev disk diskXX to the Device WorldWide Identifier WWID or serial number which correlates to an HP 3PAR Storage System VV VV WWN ...

Страница 20: ...isk 8 0 0 4 1 0 18 1 0 0 0 2 sdisk CLAIMED DEVICE 3PARdataVV dev dsk c11t0d2 dev rdsk c11t0d2 disk 9 0 0 4 1 0 18 1 0 0 0 3 sdisk CLAIMED DEVICE 3PARdataVV Example Using the N option displays the persistent devices ioscan kfNnC disk Class I H W Path Driver S W State H W Type Description disk 0 64000 0xfa00 0x23e esdisk CLAIMED DEVICE 3PARdataVV dev disk disk0 dev rdisk disk0 disk 1 64000 0xfa00 0x...

Страница 21: ...fully enabled Use insf Lv to display the status as to whether Legacy Mode is enabled or disabled insf Lv insf Legacy mode is disabled NOTE The rest of this document assumes that legacy path has been disabled 4 You can use various options for the ioscan command to obtain more details Example a To show discovered devices issue ioscan kfnNC disk The description field will have HP 3PAR VV for all HP 3...

Страница 22: ...ption fc 5 0 0 4 1 0 fcd CLAIMED INTERFACE HP AB379 60001 4Gb Dual Port PCI PCI X Fibre Channel Adapter FC Port 1 dev fcd5 fc 6 0 0 4 1 1 fcd CLAIMED INTERFACE HP AB379 60001 4Gb Dual Port PCI PCI X Fibre Channel Adapter FC Port 2 dev fcd6 fc 7 0 0 6 1 0 td CLAIMED INTERFACE HP Tachyon XL2 Fibre Channel Mass Storage Adapter dev td7 fc 8 0 0 10 1 0 fcd CLAIMED INTERFACE HP A6826 60001 2Gb Dual Port...

Страница 23: ... P health C disk Class I H W Path health disk 2 64000 0xfa00 0x0 online disk 0 64000 0xfa00 0x23e online disk 1 64000 0xfa00 0x23f online disk 3 64000 0xfa00 0x240 limited disk 4 64000 0xfa00 0x241 limited ioscan P health C lunpath lunpath 0 0 0 4 1 0 0x20420002ac000036 0x0 online lunpath 4 0 0 4 1 0 0x20420002ac000036 0x4001000000000000 online lunpath 5 0 0 4 1 0 0x20420002ac000036 0x400200000000...

Страница 24: ...019000000000000 eslpt CLAIMED LUN_PATH LUN path for disk20 6 HP UX 1 1i v3 provides the scsimgr command which provides generic management and diagnostic capabilities for the SCSI subsystem of the mass storage stack Use the scsimgr command to obtain the SCSI disk status information statistics change multipath options set attributes inquiry information and to perform other task management functions ...

Страница 25: ...map or scsimgr lun_map D dev rdisk disk6 scsimgr lun_map D dev rdisk disk6 LUN PATH INFORMATION FOR LUN dev rdisk disk6 Total number of LUN paths 2 World Wide Identifier WWID 0x50002ac0024d0036 LUN path lunpath13 Class lunpath Instance 13 Hardware path 0 0 4 1 0 0x20420002ac000036 0x400a000000000000 SCSI transport protocol fibre_channel State UNOPEN Last Open or Close state ACTIVE LUN path lunpath...

Страница 26: ...change from round_robin to least_cmd_load scsimgr get_attr N escsi esdisk a load_bal_policy SCSI ATTRIBUTES FOR SETTABLE ATTRIBUTE SCOPE escsi esdisk name load_bal_policy current round_robin default round_robin saved scsimgr set_attr N escsi esdisk a load_bal_policy least_cmd_load Verify it is changed scsimgr get_attr N escsi esdisk a load_bal_policy SCSI ATTRIBUTES FOR SETTABLE ATTRIBUTE SCOPE es...

Страница 27: ...ted by the esctl driver which only supports path_lockdown load balancing policy Do not change any of these attributes for LUN 0 ioscan kfnNC lunpath lunpath 0 0 0 4 1 0 0x20420002ac000036 0x0 eslpt CLAIMED LUN_PATH LUN path for ctl4 lunpath 4 0 0 4 1 0 0x20420002ac000036 0x4001000000000000 eslpt CLAIMED LUN_PATH LUN path for disk0 scsimgr get_attr all_lun SCSI ATTRIBUTES FOR LUN dev pt pt4 Device ...

Страница 28: ...ing showremovevlun and createvlun shows that the HP 3PAR Storage System volume oracle1 is exported as LUN 6 and seen as dev rdisk disk22 on the host showvv d 590 oracle1 RW 0 1 50002AC0024E0036 Tue Oct 30 19 31 59 PDT 2007 591 oracle2 RW 1 0 50002AC0024F0036 Tue Oct 30 19 32 01 PDT 2007 showvlun a Lun VVname Host Host_WWN iSCSI_Name Port Type 6 oracle1 sqahpit2 50060B000068D5A4 0 4 2 host 6 oracle...

Страница 29: ...the change You can use oracle2 volume with the same device name dev rdisk disk22 which was previously allocated to oracle1 and have the same LUN path instance 19 20 This feature is very useful for cases where applications volume manager file system do not need to be reconfigured Then use the DSF option as part of the scsimgr replace_wwid command which will preserve and reuse the existing device na...

Страница 30: ... all the LUNs below the target port are put in authentication state which can happen when the target port was moved but the LUNs are same then the target port must be authenticated Use the following command to authenticate a target scsimgr f replace_wwid C tgtpath I 3 scsimgr Successfully validated binding of LUN paths with new LUN The target instance can be obtained using the ioscan kfnNC tgtpath...

Страница 31: ...can 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 1 sdisk disk 8 0 0 4 1 0 18 1 0 0 0 2 sdisk lssf s also lists stale devices rmsf x remove all stale device entries rmsf Removing stale entry at 0 0 0 3 0 6 0 for sdisk rmsf Removing stale entry at 0 0 4 1 0 18 for fcd_fcp rm...

Страница 32: ...ver using the VERITAS DMP driver install VERITAS Volume Manager using the instructions given in the VERITAS Volume Manager installation and administrator guides available from www VERITAS com or http docs hp com 2 The base VxVM package is installed as part of the HP UX Operating System installation To enable VxDMP also install the following product bundle Patch bundle B91 16AA on the HP UX 1 1i v1...

Страница 33: ...entation available at http docs hp com for information on using PVLinks One such reference is the following HP document Managing Systems and Workgroups A Guide for HP UX System Administrators HP 9000 Computers Edition 5Manufacturing Part Number B2355 90742 Chapter 6 Administering a System Managing Disks and Files Section Setting Up Alternate Links to a Physical Volume Alternate links paths to a vo...

Страница 34: ...mands before executing any LVM and VxVM commands for the new devices NOTE The driver for AB379A A6826A is fcd and driver for A6795A A5158A is td Replace fcd to td if using the A6795 or A5158 HBA in the below examples The below example is for the A6826A HBA 8 The fcmsutil utility can be used to display important information about each HBA port using the port s dev fcd instance device node The fcd i...

Страница 35: ...P R O D U C T D A T A Product Description Dual Port 2Gbps 1Gbps Fibre Channel Universal PCI X Adapter Part number A6826 60001 Engineering Date Code A 4408 Part Serial number US00015487 Misc Information PW 15W PCI 66MHZ PCI X 133MHZ Mfd Date 4410 Check Sum 0xbc EFI version 001 47 ROM Firmware version 003 003 154 Asset Tag NA 10 Use fcmsutil to find out other command fabric service parameters and co...

Страница 36: ...ation could be displayed by the tool Product Id VV Vendor 3PARdata Device Type SCSI Disk Firmware Rev 0000 Device Qualifier 3PARdataVV Logical Unit 4 Serial Number 003B003E Capacity M Byte 4096 00 Block Size 512 Max Block Address 8388607 Check the ioscan fun disk for the given hardware path and use the HP 3PAR Storage System CLI command showvlun lvw or showvv d to get the volume name The data whic...

Страница 37: ...3 50 5 Base VERITAS Volume Manager Bundle 3 5 for HP UX 4 To configure the VERITAS vxdmp driver to manage the InServ storage server paths for path failure management and dynamic load balancing register the storage server as a generic JBOD device using the following case sensitive VERITAS command vxddladm addjbod vid 3PARdata 5 To confirm the VERITAS vxdmp driver has registered the HP 3PAR Storage ...

Страница 38: ...ortant as the failover priority will be considered in the same order as used when the volume was created For example vgcreate volume name path1 path2 path3 pathn The failover path for the primary active path will be increased by 1 up to path n NOTE If you are using the SAM utility to create volume groups it creates all possible alternate links by default After the primary link has recovered LVM wi...

Страница 39: ...t of the ioscan fun command ioscan fun Class I H W Path Driver S W State H W Type Description fc 0 0 0 8 1 0 fcd CLAIMED INTERFACE HP AD194 60001 2Gb Dual Port PCI PCI X Fibre Channel Adapter FC Port 1 NOTE Topology will be PRIVATE_LOOP for Direct connect and PTTOPT_FABRIC for Fabric connect The example below is for Fabric fcmsutil dev fcd0 for Fabric connect Vendor ID is 0x001077 Device ID is 0x0...

Страница 40: ...ic Name LSI7202XP LC A 1 03 00021 02B FW 01 02 18 Port 1 Port Type N_PORT FCP 2 Support NO Target Port World Wide Name 0x201 10002ac00003e Target Node World Wide Name 0x2ff70002ac00003e Common Service parameters all values shown in hex Common Features 8800 RO_Bitmap f Total Conseq ff Class 3 Service parameters all values shown in hex Open Sequences Exchg 1 Conseq ff Recipient Control Flags 0 Rxsz ...

Страница 41: ...r the given hardware path and use the HP 3PAR Storage System CLI command showvlun lvw or showvv d to get the volume name The data which matches is in bold font showvlun lvw host hostname Active VLUNs Lun VVname VV_WWN Host Host_WWN Port Type 4 hpuxN 0 50002AC0003B003E hp 50060B0000101A4C 1 0 3 host 4 hpuxN 0 50002AC0003B003E hp 50060B00000670A8 2 1 1 host 7 If an InServ node is rebooted or InServ ...

Страница 42: ...host complete the following steps 1 Consult the appropriate HP UX document about how to remove a specific volume type e g VxVM LVM 2 Remove the VLUN from the HP 3PAR Storage System by issuing removevlun VVname LUN host removevlun testvlun 0 hpux host 42 Removing HP 3PAR Devices on the Host Server ...

Страница 43: ...orage System Collect and record the WWN of HBAs installed on the host Check the memory size and give plenty of swap space on the boot volume Decide the capacity of the boot volume before OS installation NOTE For Itanium systems install the supported EFI firmware for the AB379A B A6826A A6795A cards The firmware is downloadable from http www hp com by searching the HBA model Those versions of firmw...

Страница 44: ...e the return enter key to select an item Use the return enter or space bar to pop up a choices list If the menus are not clear select the Help item for more information Hardware Summary System Model 9000 800 rp7420 Scan Again Disks 1 33 9GB Floppies 0 LAN cards 3 CD DVDs 1 Tapes 0 Memory 2040Mb Graphics Ports 0 IO Buses 7 CPUs 4 H W Details Install HP UX Run an Expert Recovery Shell Advanced Optio...

Страница 45: ...nfigurations HP UX B 11 31 Default Description Environments HP UX Data Center Operatin HP UX B 11 31 Root Disk 3PARdataVV 1 0 6 1 0 0x21410002ac0000b4 File System Logical Volume Manager LVM with VxFS Root Swap MB 2048 Physical Memory RAM 2040 MB Languages English Keyboards Additional Show Summary Reset Configuration Go Cancel Help 4 The installation process will start to install files to the boot ...

Страница 46: ... Firefox for HP UX FIREFOXsrc 2 0 0 4ar 00 Firefox Source distribution FibrChanl 00 B 1 1 23 0712 PCI FibreChannel Supptd HW A6795A A5158A FibrChanl 01 B 1 1 23 08 02 FibrChnl SupptdHW A6826A A9782A A9784A AB378A AB379A AB465A AD193A AD194A AD300A FibrChanl 02 B 1 1 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...

Страница 47: ...based Admin hpuxwsXml A 2 03 HP UX XML Web Server Tools perl D 5 8 8 B 5 8 8 Perl Programming Language scsiU320 00 B 1 1 23 0712 PCI X SCSI U320 Supptd HW A7173A AB290A For HP UX 1 1i v2 swlist Bundle s B6848BA 1 4 gm 46 13 Ximian GNOME 1 4 GTK Libraries for HP UX B9073BA B 1 1 23 08 03 00 22 HP UX iCOD Instant Capacity iCAP B9901AA A 1 1 23 15 01 HP IPFilter 3 5alpha5 BUNDLE1 1i B 1 1 23 0409 3 R...

Страница 48: ...mber 2007 ParMgr B 23 02 01 03 Partition Manager HP UX ProviderDefault B 1 1 23 0712 Select WBEM Providers QPKAPPS B 1 1 23 0712 070a Applications Patches for HP UX 1 1i v2 December 2007 QPKBASE B 1 1 23 0712 070a Base Quality Pack Bundle for HP UX 1 1i v2 December 2007 RAID 01 B 1 1 23 0806 RAID SA Supptd HW A7143A A9890A A9891A Sec00Tools B 01 04 10 Install Time security infrastructure SerialSCS...

Отзывы: