HP StorageWorks XP Disk Array Configuration Guide for Linux XP24000, XP20000, XP12000, XP10000, SVS 200 Part number: A5951–96097 Tenth edition: September 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..SNMP configuration ............................................................................................... 13 2..Simple 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..Error conditions ....
Preface About this guide This guide provides information about: • Requirements and procedures for connecting an XP disk array or SVS 200 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 SVS 200 Related documentation The following documents [and websites] provide related information: • • • • • • • • HP StorageWor
Convention Element Blue, underlined text: http://www.hp.
• 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) = 1,0244 bytes • 1 block = 512 bytes Graphical interface illustrations The GUI illustrations in this guide were created using a Windows computer with the Internet Explorer browser.
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.
• Multimode optical cables with SC or LC connectors • 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 SVS 200 support these device emulation types: • OPEN-x devices: OPEN-x logical units represent disk devices.
SNMP configuration The XP family of disk arrays and the SVS 200 support standard Simple Network Management Protocol (SNMP) for remotely managing arrays. The SNMP agent on the service processor (SVP) performs error-reporting operations requested by the SNMP manager. SNMP properties are usually set from the SVP but they can also be set remotely using XP Remote Web Console, XP Command View (XP arrays only), or XP Command View Advanced Edition Software. Refer to the applicable user's guide for procedures.
• • • • Creating the file systems Creating the mount directories Creating the mount table Verifying file system operation 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), XP Command View Advanced Edition Software, or XP Array Manager to complete the
The following host group mode (option) is available for : 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.
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. For detailed topology information, refer to the HP StorageWorks SAN Design Reference Guide at http://www.hp.com/go/sandesign.
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. Setting the System Option Modes The HP service representative sets the System Option Mode(s) based on the operating system and software configuration of 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.
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. Verifying new device recognition 1. Verify that the FCA driver is installed using the lsmod command. 2. View the device information in the /proc/scsi/scsi file.
8 8 104 104 104 104 96 97 0 1 2 3 7211520 7173022 17776560 257024 1048560 16470960 sdg sdg1 cciss/c0d0 cciss/c0d0p1 cciss/c0d0p2 cciss/c0d0p3 1 0 168200 1 2 168193 3 0 352184 3 3 352166 8 ... 0 ... 4166792... 8 ... 16 ... 4166736... In the above example, the “sd” devices represent the XP disk partitions and the “cciss” devices represent the internal hard drive partitions on an HP Proliant system.
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 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 FCA 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 6 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. Supported emulations HP recommends using OPEN-V as the emulation for better performance and features that may not be supported with the legacy emulations (OPEN-[389LE]).
Emulation specifications Table 8 Emulation specifications Emulation (Note 1) Category (Note 2) Product name (Note 3) Blocks (512 bytes) Sector size (bytes) OPEN-3 SCSI disk OPEN-3 4806720 512 OPEN-8 SCSI disk OPEN-8 14351040 OPEN-9 SCSI disk OPEN-9 OPEN-E SCSI disk OPEN-L # of cylinders Heads Sectors per track Capacity MB* (Note 4) 3338 15 96 2347 512 9966 15 96 7007 14423040 512 10016 15 96 7042 OPEN-E 28452960 512 19759 15 96 13893 SCSI disk OPEN-L 71192160
The value n is the number of volumes combined together. For example, with 8 combined volumes: OPEN-V*8. Note 1: The availability of an emulation 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 command device (used for XP Raid Manager) is distinguished by -CM on the product name (for example, OPEN-3-CM, OPEN-3-CVS-CM). Note 4: The device capacity can sometimes be changed by the BIOS or host adapter board.
OPEN-3/8/9/E: The number of cylinders for a CVS LUSE volume = # of cylinders = specified by user) × 1024/720 × n (capacity (MB) 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.
Glossary 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).
OPEN-E). 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. A LUN results from mapping a SCSI logical unit number, port ID, and LDEV ID to a RAID group. The size of the LUN is determined by the emulation mode of the LDEV and the number of LDEVs associated with the LUN. For example, a LUN associated with two OPEN-3 LDEVs has a size of 4,693 MB.
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. XP Command View runs on a Windows-based management workstation.
Glossary
Index A adapters, Fibre Channel , 17 arbitrated-loop physical address, 17 audience, 7 C clustering, 17 command device(s) one LDEV as a, 13 XP RAID Manager, 13 configuration device, 21 emulation types, 12 recognition, 19 FCAs, 17 Fibre Channel ports, 16 host, 17 host mode, setting, 14 port, 16 System Mode, 17 conventions document, 7 storage capacity values, 8 CVS devices, 12 D device(s) configuration, 21 emulation types, 12 emulations, supported, 29 logical, not recognized by host, 25 partitioning, 21 reco
file system(s) creating, 21 not mounted after rebooting, 25 verifying, 23 G glossary, 33 H help obtaining, 9 host configuration, 17 doesn't reboot properly, 25 hangs up, 26 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) one designated as a command device, 13 Linux partitions, 12 server, restarting, 19 supported versions, 11 l
W websites HP , 9 HP Subscriber's Choice for Business, 9 product manuals, 7 worksheet, path, 27 X XP Array Manager, 11, 14, 20 XP arrays storage capacity, 11 XP Business Copy Software, 13 XP Command View, 11, 13, 14, 20 XP Command View Advanced Edition Software, 11, 13, 14, 20 XP Continuous Access Software, 13 XP RAID Manager command devices, 13 XP Remote Web Console, 11, 13, 14, 20 Z zoning, fabric, 17 XP Disk Array Configuration Guide for Linux 39