HP StorageWorks XP Disk Array Configuration Guide for IBM AIX XP24000, XP12000, XP10000, SVS200 Part number: A5951–96047 Ninth edition: June 2007
Legal and notice information © Copyright 2003, 2007 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 About this guide ................................................................................... 7 Intended audience ...................................................................................................................... Related documentation ................................................................................................................ Document conventions and symbols ...............................................................................................
A Path worksheet ............................................................................... 31 Worksheet ............................................................................................................................... 31 B Disk array supported emulations ........................................................ 33 Supported emulations ................................................................................................................ Emulation specifications .................
Figures 1..SNMP configuration ............................................................................................... 13 2..Point-to-point fabric topology example ....................................................................... 16 3..Multi-cluster environment ..........................................................................................
Tables 1..Document conventions ............................................................................................... 7 2..Host group mode (option) ........................................................................................ 15 3..Fabric topology settings ........................................................................................... 16 4..Fabric zoning and LUN security settings ..................................................................... 18 5..
About this guide This guide provides information about: • Requirements and procedures for connecting an XP disk array or the SVS200 to a host system • Configuring the disk array for use with the IBM AIX operating system Intended audience This guide is intended for system administrators with knowledge of: • The host hardware • IBM AIX operating system • XP disk arrays and/or the SVS200 Related documentation The following documents provide related information: • • • • • • • HP StorageWorks HP StorageWorks
Convention Element • GUI elements that are clicked or selected, such as menu and list items, buttons, tabs, and check boxes Italic text Text emphasis Monospace text • File and directory names • System output • Code • Commands, their arguments, and argument values Monospace, italic text • Code variables • Command variables Monospace, bold text Emphasized monospace text CAUTION: Indicates that failure to follow directions could result in damage to equipment or data.
• 1 KB (kilobyte) = 1,024 bytes • 1 MB (megabyte) = 1,0242 bytes • 1 GB (gigabyte) = 1,0243 bytes • 1 TB (terabyte) = 1,0244 bytes • 1 block = 512 bytes Window illustrations The windows shown in this guide were displayed on a Windows computer with the Internet Explorer browser. The windows may appear different on your computer depending on the operating system and browser being used. Window contents also vary depending on installed program products and the storage system being managed.
To make comments and suggestions about product documentation, please send a message to storagedocsFeedback@hp.com. All submissions become the property of HP.
1 Installing and configuring AIX for the XP disk array You and your HP service representative each play a role in installation. Your HP service representative is responsible for installing the disk array and formatting the disk devices. You are responsible for configuring the host server for the new devices with assistance from your HP service representative. Features and requirements Ask your HP service representative about the latest supported hardware and software.
Even though the interface is Fibre Channel, this guide uses the term “SCSI disk” because disk array devices are defined to the host as SCSI disks. Device emulation types The XP family of disk arrays and the SVS200 support these device emulation types: • OPEN-x devices: OPEN-x logical units represent disk devices. Except for OPEN-V, these devices are based on fixed sizes. OPEN-V is a user-defined size. Supported emulations include OPEN-3, OPEN-8, OPEN-9, OPEN-E, OPEN-L, and OPEN-V devices.
Figure 1 SNMP configuration XP RAID Manager command devices HP StorageWorks XP RAID Manager manages HP StorageWorks XP Business Copy Software or HP StorageWorks XP Continuous Access Software operations from a host server. To use XP RAID Manager you must designate at least one LDEV as a command device. This can be done with XP Remote Web Console, XP Command View (XP arrays only), or Command View XP Advanced Edition Software to .
• Installing and formatting devices After these tasks are finished, you will use XP Remote Web Console, XP Command View (XP arrays only), Command View XP Advanced Edition Software, or XP Array Manager to complete the remaining tasks listed below. If you do not have these programs, your HP service representative can perform these tasks for you.
The following host group mode is available for AIX: Table 2 Host group mode (option) Host Group Mode 2 Function Default Comments VERITAS® Storage Foundation for Oracle RAC, DBE+RAC Database Edition/Advanced Cluster for Real Application Clusters or if VERITAS® Cluster Server 4.0 or later with I/O fencing function is used. Inactive Previously MODE186 Do not apply this option to Sun Cluster.
Fibre address In fabric environments, the port addresses are assigned automatically. In arbitrated loop environments, set the port addresses by selecting a unique arbitrated loop physical address (AL-PA) or loop ID for each port. For specific values, refer to the HP StorageWorks XP LUN Manager User's Guide applicable to your array. Fabric and connection parameter settings Set each array port to FABRIC ON or OFF with connections of POINT-TO-POINT or FC-AL as shown in the following figure and table.
Fabric Parameter Connection Parameter Provides ON Point-to-Point F-port (fabric port) OFF FC-AL NL-port (private arbitrated loop) OFF Point-to-Point Not supported Installing and configuring the host This section explains how to install and configure the host and host bus adapters (HBAs) that connect the host to the disk array. Loading the operating system and software Follow the manufacturer's instructions to load the operating system and software onto the host.
Figure 3 Multi-cluster environment Within the Storage Area Network (SAN), the clusters may be homogeneous (all the same operating system) or they may be heterogeneous (mixed operating systems). How you configure LUN security and fabric zoning depends on the operating system mix and the SAN configuration.
Defining the paths Use XP Remote Web Console (shown), XP Command View (XP arrays only), or Command View XP Advanced Edition Software to define paths (LUNs) between hosts and volumes in the disk array. This process is also called “LUN mapping.
#lsdev -Cc disk hdisk0 Available 10-60-00-5, 0 16 Bit SCSI Disk Drive hdisk1 Available 10-60-00-6, 0 16 Bit SCSI Disk Drive The example shows that Device hdisk0 is installed on bus 60 and has TID=5 and LUN=0. 4. Record the device file names for the new devices. You will use this information in changing the device parameters. 5. Use the lscfg command to find out the AIX disk device's corresponding array LDEV designation.
The recommended queue depth settings may not provide the best I/O performance for your system. You can adjust the queue depth setting to optimize the I/O performance of the disk array. Displaying the device parameters using the AIX command line At the command line prompt, enter lsattr -E -l hdiskx, where hdiskx is the device file name. Example # lsattr –E -l hdisk2 Changing the device parameters using the AIX command line 1. To change the R/W timeout parameter, enter: chdev –1 hdisk x 2.
System Management Move cursor to desired item and press Enter. Software Installation and Maintenance Software License Management Devices System Storage Management (Physical & Logical Storage) Security & Users Communications Applications and Services Print Spooling Problem Determination Performance & Resource Scheduling System Environments Processes & Subsystems Applications Using SMIT (information only) 3. Select Fixed Disk. 4. Select Change/Show Characteristics of a Disk. 5.
2. Select System Storage Management (Physical & Logical Storage). Example System Management Move cursor to desired item and press Enter. Software Installation and Maintenance Software License Management Devices System Storage Management (Physical & Logical Storage) Security & Users Communications Applications and Services Print Spooling Problem Determination Performance & Resource Scheduling System Environments Processes & Subsystems Applications Using SMIT (information only) 3.
Import a Volume Group Export a Volume Group Mirror a Volume Group *1 Unmirror a Volume Group *1 Synchronize LVM Mirrors *1 Back Up a Volume Group Remake a Volume Group List Files in a Volume Group Backup Restore Files in a Volume Group Backup 6.
Creating the Journaled File Systems Create the Journaled File Systems using the System Manager Information Tool (SMIT). This operation is not required when the volumes are used as raw devices. The largest file system permitted in AIX is 64 GB. 1. Start SMIT. 2. Select System Storage Management (Physical & Logical Storage). Example System Management Move cursor to desired item and press Enter.
5. Select Journaled File System. Example Add / Change / Show / Delete File Systems Move cursor to desired item and press Enter. Journaled File Systems CDROM File Systems Network File System (NFS) Cache Fs *1 6. Select Add a Journaled File System Example Journaled File System Move cursor to desired item and press Enter.
Number of bytes per node. Enter the number of bytes appropriate for the application, or use the default value. Example Add a Journaled File System Type or select values in entry fields. Press Enter AFTER making all desired changes.
/dev/hd1 /dev/lv00 /dev/lv01 /dev/lv02 4. 8192 7840 4792320 4602128 4792320 4602128 14401536 13949392 4% 4% 4% 4% 17 16 16 16 1% 1% 1% 1% /home /VG00 (OPEN-3) /VG01 (OPEN-3) /VG02 (OPEN-9) Verify that the file system is usable by performing some basic operations (for example, file creation, copying, and deletion) on each logical device. Example # cd /hp00 # cp /smit.log /hp00/smit.log.back1 # ls -l hp00 –rw-rw-rw1 root system 375982 Nov 30 17:25 smit.log.back1 # cp smit.log.back1 smit.log.
2 Troubleshooting This section includes resolutions for various error conditions you may encounter. If you are unable to resolve an error condition, ask your HP support representative for assistance. See Calling the HP support center.
Error condition Recommended action The disk array performs a self reboot because the disk array was busy or it logged a panic message. Reboot the host. The disk array responds “Not Ready” or the disk array has displayed “Not Ready” and timed out. Contact HP. The host detects a parity error. Check the HBA and make sure it was installed properly. Reboot the host. The host hangs or devices are declared and the host hangs.
A Path worksheet Worksheet Table 8 Path worksheet LDEV (CU:LDEV) (CU = control unit) 0:00 0:01 0:02 0:03 0:04 0:05 0:06 0:07 0:08 0:09 0:10 Device Type SCSI Bus Number Path 1 Alternate Paths TID: TID: TID: LUN: LUN: LUN: TID: TID: TID: LUN: LUN: LUN: TID: TID: TID: LUN: LUN: LUN: TID: TID: TID: LUN: LUN: LUN: TID: TID: TID: LUN: LUN: LUN: TID: TID: TID: LUN: LUN: LUN: TID: TID: TID: LUN: LUN: LUN: TID: TID: TID: LUN: LUN: LUN: TID: TID: TID: L
Path worksheet
B Disk array supported emulations This appendix provides information about supported emulations and device type specifications. Some parameters may not be relevant to your array. Consult your HP representative for information about supported configurations for your system.
Emulation(Note 1) Category (Note 2) Blocks (512 bytes ) Sector Size (bytes) OPEN-9 SCSI disk 14423040 512 10016 OPEN-E SCSI disk 28452960 512 OPEN-L SCSI disk 71192160 OPEN-V SCSI disk OPEN-3*n # of Cylinders Heads Sectors per track Capacity MB*(Note 3) 15 96 7042 19759 15 96 13893 512 49439 15 96 34761 max=125827200 512 Note 5 15 128 Note 6 SCSI disk 4806720*n 512 3338*n 15 96 2347*n OPEN-8*n SCSI disk 14351040*n 512 9966*n 15 96 7007*n OPEN-9*n SCSI
Note 3: The device capacity can sometimes be changed by the BIOS or host adapter board. This may make actual capacity different from that listed in the table.
Example For an OPEN-V CVS LUSE volume with capacity = 49 MB and n = 4: # of cylinders = 49 × 16/15 × 4 = 52.26 × 4 = 53 × 4 = 212 Note 6: The capacity of an OPEN-3/8/9/E CVS volume is specified in MB, not number of cylinders. The capacity of an OPEN-V CVS volume can be specified in MB or number of cylinders. You set the volume size using XP Remote Web Console, XP Command View (XP arrays only), or Command View XP Advanced Edition Software.
Emulation Type Parameter OPEN-3 OPEN-3*n (n=2 to 36) OPEN-3 CVS OPEN-3 CVS*n (n=2 to 36) oh h partition offset (Starting block in h partition) Set optionally Set optionally Set optionally Set optionally pa a partition size Set optionally2 Set optionally2 Set optionally2 Set optionally2 pb b partition size Set optionally Set optionally Set optionally Set optionally pc c partition size 4,806,720 4,806,720*n Depends on configuration of CV1 Depends on configuration of CV3 pd d part
Emulation Type Parameter OPEN-3 OPEN-3*n (n=2 to 36) OPEN-3 CVS OPEN-3 CVS*n (n=2 to 36) See Notes for disk parameters.
Emulation Type Parameter OPEN-8 OPEN-8*n (n=2 to 36) OPEN-8 CVS OPEN-8 CVS*n (n=2 to 36) pd d partition size Set optionally Set optionally Set optionally Set optionally pe e partition size Set optionally Set optionally Set optionally Set optionally pf f partition size Set optionally Set optionally Set optionally Set optionally pg g partition size Set optionally Set optionally Set optionally Set optionally ph h partition size Set optionally Set optionally Set optionally Set
Emulation Type Parameter OPEN-9 OPEN-9*n (n=2 to 36) OPEN-9 CVS OPEN-9 CVS*n (n=2 to 36) ns Sectors/tracks 96 96 96 96 nt Tracks/cylinder 15 15 15 15 nc Number of all cylinders 10,016 10,016*n Depends on configuration of CV1 Depends on configuration of CV3 rm Number of rotations of the disk 6,300 6,300 6,300 6,300 oa a partition offset (Starting block in a partition) Set optionally Set optionally Set optionally Set optionally ob b partition offset (Starting block in b par
Emulation Type Parameter OPEN-9 OPEN-9*n (n=2 to 36) OPEN-9 CVS OPEN-9 CVS*n (n=2 to 36) bc c partition block size 8,192 8,192 8,192 8,192 bd d partition block size 8,192 8,192 8,192 8,192 be e partition block size 8,192 8,192 8,192 8,192 bf f partition block size 8,192 8,192 8,192 8,192 bg g partition block size 8,192 8,192 8,192 8,192 bh h partition block size 8,192 8,192 8,192 8,192 fa a partition fragment size 1,024 1,024 1,024 1,024 fb b partition fragmen
Emulation Type Parameter OPEN-E OPEN-E*n (n=2 to 36) OPEN-E CVS OPEN-E CVS*n (n=2 to 36) ob b partition offset (Starting block in b partition) Set optionally Set optionally Set optionally Set optionally oc c partition offset (Starting block in c partition) 0 0 0 0 od d partition offset (Starting block in d partition) Set optionally Set optionally Set optionally Set optionally oe e partition offset (Starting block in e partition) Set optionally Set optionally Set optionally Set op
Emulation Type Parameter OPEN-E OPEN-E*n (n=2 to 36) OPEN-E CVS OPEN-E CVS*n (n=2 to 36) fa a partition fragment size 1,024 1,024 1,024 1,024 fb b partition fragment size 1,024 1,024 1,024 1,024 fc c partition fragment size 1,024 1,024 1,024 1,024 fd d partition fragment size 1,024 1,024 1,024 1,024 fe e partition fragment size 1,024 1,024 1,024 1024 ff f partition fragment size 1,024 1,024 1,024 1,024 fg g partition fragment size 1,024 1,024 1,024 1,024 fh h
Example When 37 MB is specified for the OPEN-3 CVS volume and the four volumes are concatenated, the number of cylinders of the OPEN-3 CVS can be calculated as follows: 37 × 1,024 / 720 × 4 = 52.62 × 4 = 53 × 4 = 212 The LUSE for the OPEN-3 CVS volume has 212 cylinders. Byte information table Values in this table assume that large files are stored in large volumes, and the maximum number of files stored in each device type is approximately the same for each device type.
Physical partition size table Table 16 Physical partition size Category LU product name Physical partition size in megabytes OPEN-3 OPEN-3 4 OPEN-3*2 to OPEN-3*3 8 OPEN-3*4 to OPEN-3*6 16 OPEN-3*7 to OPEN-3*13 32 OPEN-3*14 to OPEN-3*27 64 OPEN-3*28 to OPEN-3*36 128 OPEN-8 8 OPEN-8*2 16 OPEN-8*3 to OPEN-8*4 32 OPEN-8*5 to OPEN-8*9 64 OPEN-8*10 to OPEN-8*18 128 OPEN-8*19 to OPEN-8*36 256 OPEN-9 8 OPEN-9*2 16 OPEN-9*3 to OPEN-9*4 32 OPEN-9*5 to OPEN-9*9 64 OPEN-9*10 to OPEN-
Category 46 LU product name Physical partition size in megabytes 1801 to 2300 4 2301 to 7000 8 7001 to 16200 16 13201 to 32400 32 32401 to 64800 64 64801 to 126000 128 126001 to 259200 256 259201 - 518400 512 518401 and higher 1024 Disk array supported emulations
Glossary AL Arbitrated loop. AL-PA Arbitrated loop physical address. array group A group of 4 or 8 physical hard disk drives (HDDs) installed in an XP disk array and assigned a common RAID level. RAID1 array groups consist of 4 (2D+2D) or 8 HDDs (4D+4D). RAID5 array groups include a parity disk but also consist of 4 (3D+1P) or 8 HDDs (7D+1P). All RAID6 array groups are made up of 8 HDDs (6D+2P).
host mode Each port can be configured for a particular host type. These modes are represented as two-digit hexadecimal numbers. For example, host mode 08 represents an HP-UX host. LDEV Logical device. An LDEV is created when a RAID group is carved into pieces according to the selected host emulation mode (that is, OPEN-3, OPEN-8, OPEN-L). The number of resulting LDEVs depends on the selected emulation mode. The term LDEV is often used synonymously with the term volume. LUN Logical unit number.
component separated by a colon. For example 00:00 and 01:00 are two uniquely identified volumes; one is identified as CU = 00 and LDEV = 00, and the other as CU = 01 and LDEV = 00; they are two unique separate virtual storage devices within the XP array. VSC Volume size customization. Synonymous with CVS. WWN World Wide Name. A unique identifier assigned to a Fibre Channel device. XP Command View HP StorageWorks XP Command View, a software product for managing XP arrays.
Glossary
Index A arbitrated-loop physical address, 16 audience, 7 C clustering, 17 command device(s) one LDEV as a, 13 XP RAID Manager, 13 Command View XP Advanced Edition Software, 11, 13, 14, 15, 19 configuration device, 20 emulation types, 12 disk array, 14 Fibre Channel ports, 16 HBAs, 17 host, 17 port, 16 System Option Mode, 15 conventions document, 7 storage capacity values, 8 CVS devices, 12 cylinders, calculating for disk volume, 43 D device(s) configuration, 20 emulation types, 12 logical volume, 22 logic
file system(s) creating, 25 journaled, 25 mounting, 27 not mounted after rebooting, 29 verifying, 27 G glossary, 47 H HBA(s), 11 configuring, 17 supported, 17 help obtaining, 9 host configuration, 17 doesn't reboot properly, 29 hangs up, 30 host bus adapters, see "HBAs", 11 host mode setting, 14 HP technical support, 9, 30 I installation, 11 connecting disk array, 18 overview, 13 interface, Fibre Channel, 11 J Journaled File Systems, creating, 25 L LDEV(s) one designated as a command device, 13 logical
V volume(s) groups, assigning new device, 22 logical, cannot be created, 29 physical, cannot be created, 29 W websites HP , 9 HP Subscriber's Choice for Business, 9 product manuals, 7 worksheet, path, 31 X XP Array Manager, 11, 19 XP Array Manager , 14 XP arrays storage capacity, 11 XP Business Copy Software, 13 XP Command View, 11, 13, 14, 15, 19 XP Continuous Access Software, 13 XP RAID Manager command devices, 13 XP Remote Web Console, 11, 13, 14, 15, 19 Z zoning, fabric, 17 XP Disk Array Configurati