HP StorageWorks XP Disk Array Configuration Guide for Linux XP24000, XP12000, XP10000, SVS200 Part number: A5951–96096 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 Preface ................................................................................................ 7 About this guide ......................................................................................................................... 7 Intended audience ...................................................................................................................... 7 Related documentation ..............................................................................................
2 Troubleshooting ............................................................................... 25 Error conditions ........................................................................................................................ Calling the HP support center ..................................................................................................... Contact information ............................................................................................................
Figures 1..Array management using SNMP .............................................................................. 13 2..Simple point-to-point fabric topology example ............................................................ 17 3..Multi-cluster environment ..........................................................................................
Tables 1..Document conventions ............................................................................................... 8 2.. Host group mode (option) ....................................................................................... 15 3..Fabric topology settings ........................................................................................... 17 4..SAN fabric zoning and LUN security settings ............................................................. 18 5..Error conditions ........
Preface About this guide This guide provides information about: • Requirements and procedures for connecting an XP disk array or SVS200 to a host system • Configuring the disk array for use with the Linux operating system Intended audience This guide is intended for system administrators with knowledge of: • The host hardware • Linux operating system • XP disk arrays and/or the SVS200 Related documentation The following documents [and websites] provide related information: • • • • • • • HP StorageWorks H
Document conventions and symbols Table 1 Document conventions Convention Element Blue text: Table 1 Cross-reference links and e-mail addresses Blue, underlined text: http://www.hp.
Conventions for storage capacity values HP XP storage systems use the following values to calculate physical storage capacity values (hard disk drives): • 1 KB (kilobyte) = 1,000 bytes • 1 MB (megabyte) = 1,0002 bytes • 1 GB (gigabyte) = 1,0003 bytes • 1 TB (terabyte) = 1,0004 bytes HP XP storage systems use the following values to calculate logical storage capacity values (logical devices): • 1 KB (kilobyte) = 1,024 bytes • 1 MB (megabyte) = 1,0242 bytes • 1 GB (gigabyte) = 1,0243 bytes • 1 TB (terabyte) =
HP websites For additional information, see the following HP websites: • • • • http://www.hp.com http://www.hp.com/go/storage http://www.hp.com/service_locator http://www.hp.com/support/manuals Documentation feedback HP welcomes your feedback. 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 Linux 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.
• Public or private arbitrated loop (FC-AL) or direct fabric attach • Fibre Channel switches 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.
arrays only), or Command View XP Advanced Edition Software. Refer to the applicable user's guide for procedures. Figure 1 Array management using SNMP 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.
Installing and configuring the disk array The HP service representative performs these tasks: • Assembling hardware and installing software • Loading the microcode updates • 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.
The following host group mode (option) is available for Linux: Table 2 Host group mode (option) Host Group Mode 7 Function Default Comments Reporting Unit Attention when adding LUN Inactive Previously MODE249 CAUTION: Changing host group modes for ports where servers are already installed and configured is disruptive and requires the server to be rebooted.
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 figures and table.
Figure 2 Simple point-to-point fabric topology example Table 3 Fabric topology settings Fabric parameter Connection parameter Provides ON FC-AL Not supported OFF FC-AL FL-port (private arbitrated loop; direct connect without a SAN) ON Point-to-Point N-port (SAN fabric port) 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.
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.
Restarting the Linux server To recognize the new device(s), restart the Linux server as follows: 1. Power on the display of the Linux server. 2. Power on all devices other than the Linux server. 3. Confirm ready status of all devices. 4. Power on the Linux server. 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.
Verifying new device recognition 1. Verify that the HBA driver is installed using the lsmod command. 2. View the device information in the /proc/scsi/scsi file.
Configuring disk array devices Disks in the disk array are configured using the same procedure for configuring any new disk on the host. This includes the following procedures: 1. Partitioning the devices 2. Creating the file systems 3. Creating the mount directories 4. Creating the mount table 5. Verifying file system operation Creating scripts to configure all devices at once may save you considerable time.
2. Repeat step 1 for each device on the disk array. Creating the mount directories Create mount directories using the mkdir command. Choose names for the mount directories which identify both the logical volume and partition. 1. Enter mkdir /mnt/mount_point. Example # mkdir /mnt/A5700F_LU00 2. Repeat step 1 for each device on the disk array. Creating the mount table Add the new devices to the /etc/fstab file to specify the automount parameters for each device. 1.
2. Reboot the system. 3. Display the mounted devices using the df –h command and verify that the devices were automounted. Example # df -h Filesystem /dev/sda1 /dev/sdb1 /dev/sdc1 # Size Used Avail Used% Mounted on 1.8G 890M 866M 51% / 1.9G 1.0G 803M 57% /usr 2.2G 13k 2.1G 0% /A5700F-LU00 Verifying file system operation Verify file system operation by copying a file to each device.
Installing and configuring Linux for the XP disk array
2 Troubleshooting This section provides 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” on page 26. Error conditions Depending on your system configuration, you may be able to view error messages (R-SIMS) as follows: • In XP Remote Web Console (Status tab) • In Command View XP Advanced Edition Software (“Alerts” panel).
Table 5 Error conditions Error condition Recommended action The logical devices are not recognized by the host. Verify the following: • The READY indicator lights on the disk array are ON. Verify that fiber cables are correctly installed and firmly connected. • The target IDs are properly configured. The LUNs for each TID must start at 0 and continue sequentially without skipping any numbers. • The TIDs/WWNs on each bus are unique. Do not install two devices with the same ID on the same bus.
Contact information Telephone numbers for worldwide technical support are listed on the HP support website: http://www.hp.com/support/. Before you call Be sure to have the following information available: • • • • • • Technical support registration number (if applicable) Product serial numbers Product model names and numbers Applicable error messages Operating system type and revision level Detailed, specific questions For continuous quality improvement, calls may be recorded or monitored.
Troubleshooting
A Path worksheet Worksheet Table 6 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: LUN:
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 specifications Table 8 Emulation specifications Emulation(Note 1) Category (Note 2) Blocks (512 bytes ) Sector Size (bytes) OPEN-3 SCSI disk 4806720 512 3338 OPEN-8 SCSI disk 14351040 512 OPEN-9 SCSI disk 14423040 OPEN-E SCSI disk OPEN-L OPEN-V # of Cylinders Heads Sectors per track Capacity MB*(Note 3) 15 96 2347 9966 15 96 7007 512 10016 15 96 7042 28452960 512 19759 15 96 13893 SCSI disk 71192160 512 49439 15 96 34761 SCSI disk max=125827200 512
Note 1: The availability of a disk type depends on the disk array. Note 2: The devices are defined to the host as SCSI disk devices, even though the interface is Fibre Channel. 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 a CVS LUSE volume with capacity = 37 MB and n = 4: # of cylinders = 37 × 1024/720 × 4 = 52.62 × 4 = 53 × 4 = 212 OPEN-V: The number of cylinders for a CVS LUSE volume =# of cylinders = (capacity (MB) specified by user) × 16/15 × n 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.
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 adapters, host bus, 17 AL-PA, 16 arbitrated-loop physical address, 16 audience, 7 C clustering, 17 command device(s) designate at least one LDEV as a, 13 XP RAID Manager, 13 Command View XP Advanced Edition Software, 13 Command View XP Advanced Edition Software, 11 Command View XP Advanced Edition Software, 14, 19 configuration device, 21 emulation types, 12 recognition, 20 Fibre Channel ports, 16 HBAs, 17 host, 17 host mode, setting, 14 port, 16 System Option Mode, 15 conventions document, 8 stora
G glossary, 35 H HBA(s), 11 configuring, 17 supported, 17 verify driver installation, 20 help obtaining, 9 host configuration, 17 doesn't reboot properly, 26 hangs up, 26 host bus adapters, see "HBAs", 11 host mode, setting, 14 HP service representative tasks, 14 technical support, 9, 26 I installation connecting disk array, 18 HP service representative tasks, 14 overview, 13 procedures, 13 interface, Fibre Channel, 11 L LDEV(s) designate at least one as a command device, 13 Linux partitions, 12 server,
W websites HP , 10 HP Subscriber's Choice for Business, 9 product manuals, 7 worksheet, path, 29 X XP XP XP XP Command View, 14 Remote Web Console, 13 Array Manager, 11, 14, 19 arrays storage capacity, 11 XP Business Copy Software, 13 XP Command View, 13 XP Command View, 11, 19 XP Continuous Access Software, 13 XP RAID Manager command devices, 13 XP Remote Web Console, 11, 14, 19 Z zoning, fabric, 17 XP Disk Array Configuration Guide for Linux 41