HP StorageWorks Disk Array XP configuration guide: Linux

XP12000 XP10000 XP1024 XP128

This guide describes the requirements and procedures for connecting the XP family of disk arrays to a Linux system and configuring the new disk array for operation with Linux.

Part number: A5951–96094 Seventh edition: (November 2005) Legal and notice information © Copyright 2003-2005 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. The only warranties for HP products and services 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. Microsoft, Windows, Windows XP, and Windows NT are U.S. registered trademarks of Microsoft Corporation. Linux is a U.S. registered trademark of Linus Torvalds. Disk Array XP operating system configuration guide: Linux Contents

Preface...... 5 Aboutthisguide...... 5 Intendedaudience...... 5 Diskarrays...... 5 Relateddocumentation...... 5 Documentconventionsandsymbols...... 6 HPtechnicalsupport...... 7 Subscriptionservice...... 7 OtherHPwebsites...... 7

1Installation...... 9 Featuresandrequirements...... 9 FibreChannelinterface...... 10 Deviceemulationtypes...... 10 Partitions...... 11 Failover...... 11 SNMP configuration...... 11 RAID Manager command devices ...... 11 Installationprocedures...... 12 Install and configurethediskarray...... 12 Settingthehostmodeforthediskarrayports...... 13 SettingtheSystemOptionModes...... 14 ConfiguringtheFibreChannelports...... 15 FibreAddress...... 16 FabricandConnectionparametersettings...... 16 Install and configurethehost...... 17 LoadingtheOSandsoftware...... 17 Installing and configuringtheHBAs...... 18 Clusteringandfabriczoning...... 18 FabriczoningandLUNsecurityformultipleoperatingsystems...... 19 Connectthediskarray...... 20 RestartingtheLinuxserver...... 20 Definingthepaths...... 20 Verifyingnewdevicerecognition...... 21 Configurediskarraydevices...... 23 Partitioningthedevices...... 23 Creating the filesystems...... 23 Creating filesystemswithext2...... 24

Disk Array XP operating system configuration guide: Linux 3 Creatingthemountdirectories...... 24 Creatingthemounttable...... 25 Verifying filesystemoperation...... 25

2Troubleshooting...... 27 Errorconditions...... 27 CallingtheHPsupportcenter...... 28 Contactinformation...... 28 Beforeyoucall...... 29

APathworksheet...... 31

BDiskarraysupportedemulations...... 33 Supportedemulations...... 33 Emulation specifications...... 34

Glossary...... 37

Index...... 41

4 Preface

About this guide This guide provides information about: • Requirements and procedures for connecting an XP disk array 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

Disk arrays Unless otherwise noted, the term “disk array” refers to these disk arrays: • HP StorageWorks Disk Array XP128 • HP StorageWorks Disk Array XP1024 • HP StorageWorks XP10000 Disk Array • HP StorageWorks XP12000 Disk Array

Related documentation The following documents provide related information: • HP StorageWorks Disk Array XP128: Owner’s Guide • HP StorageWorks Disk Array XP1024: Owner's Guide • HP StorageWorks XP10000 Disk Array: Owner's Guide • HP StorageWorks XP12000 Disk Array: Owner's Guide You can find these documents on the storage web site: http://h18006.www1.hp.com/storage/xparrays.html

Disk Array XP operating system configuration guide: Linux 5 Document conventions and symbols

Convention Element Blue text Cross-reference links and email addresses Bold • Keys that are pressed • Text typed into a GUI element, such as a box • GUI elements that are clicked or selected, such as menu and list items, buttons, tabs, and check boxes • Literalvaluestypedexactlyasshown Italics Text emphasis and book titles Blue, underlined: Web site addresses www.hp.com [http:// www.hp.com] Monospace font • File and directory names • System output • Code • Commands, their arguments, and argument values Monospace, italic • Code variables font • Command variables Monospace, bold Emphasized monospace text font

WARNING! Indicates that failure to follow directions could result in bodily harm or death.

CAUTION: Indicates that failure to follow directions could result in damage to equipment or data.

NOTE: Provides additional information.

6 Preface HP technical support In North America, call technical support at 1-800-633-3600, available 24 hours a day, 7 days a week. Outside North America, call technical support at the location nearest you. Telephone numbers for worldwide technical support are listed on the HP support web site: http://www.hp.com/support. From this web site, select your country. Collect the following information before calling: • Technical support registration number (if applicable) • Product serial numbers • Product model names and numbers • Applicable error messages • Operating system type and revision level • Detailed questions For continuous quality improvement, calls may be recorded or monitored.

Subscription service HP strongly recommends that customers register online using the Subscriber’s Choice web site: http://www.hp.com/go/e-updates. Subscribing to this service provides you with e-mail updates about the latest product enhancements, driver versions, and firmware documents, plus instant access to many other product resources. After subscribing, locate your products by selecting Business support and then Storage under Product Category.

Other HP web sites For additional information, see the following HP web sites: •http://www.hp.com/go/storage •http://www.hp.com/support/ •http://www.hp.com/service_locator •http://www.docs.hp.com

Disk Array XP operating system configuration guide: Linux 7 8 Preface 1 Installation

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. The disk array has the following features: • Storage capacity. The storage capacity for each model is listed below: XP128: From8to128drivesforupto36TB,48FCports XP1024: From8to1024drivesforupto149TB,64FCports XP10000: Up to 240drivesforupto69.2TB,48FCports XP12000: Up to 1152 drives for up to 332 TB, 128 FC ports • Server support. Server supported by HP to run Linux. Consult your HP representative for a list of supported servers. • Operating system support. Red Hat, SuSE, and United Linux are supported. Before installing the disk array, ensure the environment conforms to these requirements: • Port configuration Configure each Fibre Channel port on the disk array so it has a unique Fibre Channel loop ID. (All ports are set to 0 by default at the factory.) • Linux version Confirm you are using Red Hat, SuSE, or United Linux. • Superuser access Make sure you have superuser (root) login access to the Linux system. • Host Bus Adapters (HBAs). Install HBAs and all utilities and drivers. Refer to the adapter documentation for installation details • (Recommended) HP StorageWorks Remote Web Console XP, Command View XP Advanced Edition or Command View XP with LUN management feature for configuring disk array ports and paths • (Recommended) HP StorageWorks LUN Configuration and Security Manager XP • (Optional) OtheravailableXPsoftware(somemaynotbesupportedbyyour system): HP StorageWorks Business Copy XP

Disk Array XP operating system configuration guide: Linux 9 HP StorageWorks Continuous Access XP HP StorageWorks Continuous Access Extension XP HP StorageWorks Auto LUN XP HP StorageWorks Data Exchange XP HP StorageWorks Resource Manager XP HP StorageWorks RAID Manager XP HP StorageWorks Cache LUN XP HP StorageWorks Auto Path XP HP StorageWorks Cluster Extension XP HP StorageWorks Performance Advisor XP

Fibre Channel interface The XP family of disk arrays supports these Fibre Channel elements: • Connection speed of 1 Gbps and 2 Gbps • Short-wave non-OFC (open fiber control) optical interface • Multimode opticalcableswithSCorLCconnectors • 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 supports 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. • LUSE devices (OPEN-x*n): Logical Unit Size Expansion (LUSE) devices combine 2 to 36 OPEN-x devices to create expanded LDEVs larger than standard OPEN-x disk devices. For example, an OPEN-x LUSE volume created from ten OPEN-x volumesisdesignatedasOPEN-x*10. • CVS devices (OPEN-x CVS): Volume Size Configuration (VSC) defines custom volumes (CVS) that are smaller than normal fixed-sized logical disk devices (volumes). (OPEN-V is a CVS-based custom disk size that you determine. OPEN-L does not support CVS.)

10 Installation • LUSE (expanded) CVS devices (OPEN-x*n CVS): LUSE CVS combines CVS devices to create an expanded device. This is done by first creating CVS custom-sized devices and then using LUSE to combine from 2 to 36 CVS devices. For example, if three OPEN-9 CVS volumes are combined to create an expanded device, this device is designated as OPEN-9*3-CVS.

Partitions In a Linux environment, one LUN can be divided into a maximum of four primary partitions (using fdisk) or maximum of one extended partition.

Failover The XP family of disk arrays supports many standard software products that provide host, application, or I/O path failover and management.

SNMP configuration The XP family of disk arrays supports standard Simple Network Management Protocol (SNMP) for remotely managing the disk array. 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 Remote Web Console XP, Command View XP, or Command View XP Advanced Edition. Refer to the applicable user's guide for procedures.

RAID Manager command devices RAID Manager manages Business Copy (BC) or Continuous Access (CA) operations from a host server. To use RAID Manager with BC or CA, you use Remote Web Console, Command View, or Command View XP Advanced Edition to designate at least one LDEV as a command device. Refer to the applicable user's guide for information about how to designate a command device.

Disk Array XP operating system configuration guide: Linux 11 Installation procedures Perform these actions to install and configure the disk array: 1. Install and configure the disk array • Setting the host mode • Setting the System Option Modes • Configuring the Fibre Channel ports 2. Install and configure the host • Loading the OS and software • Installing and configuring the HBAs • Clustering and fabric zoning • Fabric zoning and LUN security 3. Connect the disk array • Restarting the Linux server • Defining the paths • Verifying new device recognition 4. Configure disk array devices • Partitioning the devices • Creating the file systems • Creating the mount directories • Creating the mount table

Install and configure 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 Remote Web Console, Command View, Command View XP Advanced Edition, or LUN Configuration and Security 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.

12 Installation Setting the host mode for the disk array ports After the disk array is installed, you must set the host mode for each disk array port to match the host OS. Set the host mode using LUN Manager in Remote Web Console XP (shown), Command View XP, or Command View XP Advanced Edition. If these are not available, the HP service representative can set the host mode using the SVP. The host mode setting for Linux is 00.

Disk Array XP operating system configuration guide: Linux 13 For the XP1024/XP128 arrays, the host mode can also be set at the port information window in Command View XP AE.

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.

14 Installation Mode Level HA Software Description and Usage 140 Optional None ON: Response to the Inquiry command is changed, and thevolumecanbeused from VeritasNetBackUP in heterogeneous OS configuration,suchasHP-UX. OFF: Normal response to the Inquiry command. 186 Mandatory Veritas Database ON: Mandatory setting when VERITAS Editions/ Advanced Database Editions/Advanced Cluster is Cluster connected. OFF: VERITAS Database Editions/ Advanced Cluster should not be connected with this setting. 254 Optional Veritas Database Change the response of reserve conflict Editions status to Read Capacity, Verify, and Start Stop Unit. ON: Normal end is reported. OFF: Reserve conflict status is reported. 280 Optional HP-UX Ghost LUN Remove OS version: HP-UX 11.0 and later. ON: When thehostscanstheLUNSonthe port, the disk array is not represented in the device list for HP-UX. OFF: When the host scans the LUNS on the port, the disk array is represented in the device list for HP-UX.

Configuring the Fibre Channel ports Configure the disk array Fibre Channel ports by using Remote Web Console (shown), Command View, or Command View XP AE. Select the settings for each port based on your topology. Use switch zoning if you connect different types of hosts to the array through the same switch.

Disk Array XP operating system configuration guide: Linux 15 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 specificvalues,refertotheHP StorageWorks LUN Configuration and Security Manager XP User 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 asshowninthefollowingfigures and table. For detailed topology information, refer to the HP StorageWorks SAN Design Reference Guide on the www.hp.com web site.

16 Installation Fabric Parameter Connection Parameter Provides ON FC-AL Not supported OFF FC-AL AL-port (private arbitrated loop; direct connect without aSAN) ON Point-to-Point N-port (SAN fabric port) OFF Point-to-Point Not supported

Install and configure 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 OS and software Follow the manufacturer's instructions to load the operating system and software onto the host. Load all OS patches and configuration utilities supported by HP and the HBA manufacturer.

Disk Array XP operating system configuration guide: Linux 17 Installing and configuring the HBAs Install and configure the host bus adapters using the HBA manufacturer's instructions. On Linux systems, the disk array only supports QLogic and Emulex adapters. Contact your HP service representative for the latest information about supported HBAs.

Clustering and fabric zoning If you plan to use clustering, install and configure the clustering software on the servers. Clustering is the organization of multiple servers into groups. Within a cluster, each server is a node. Multiple clusters compose a multi-cluster environment. The following example shows a multi-cluster environment with three clusters, each containing two nodes. The nodes share access to the disk array.

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.

18 Installation Fabric zoning and LUNsecurityformultiple operating systems You can connect multiple clusters of various operating systems to the same switch and fabric using appropriate zoning and LUN security as follows: • Storage port zones may overlap if more than one operating system needs to share an array port. • Heterogeneous operating systems may share an XP array port if you use Secure Manager and set the appropriate host group and mode. All others must connect to a dedicated XP array port. • UseSecureManager for LUN isolation when multiple hosts connect through a shared array port. Secure Manager provides LUN security by allowing you to restrictwhichLUNseachhostcanaccess.

Environment OS Mix Fabric Zoning LUN Security Standalone SAN homogeneous (a Not required Must be used (non-clustered) single OS type when multiple hosts present in the SAN) connect through a shared port heterogeneous (more Required than one OS type present in the SAN) Clustered SAN homogeneous (a Not required Must be used when single OS type multiple cluster present in the SAN) nodes connect through a shared heterogeneous (more Required port than one OS type present in the SAN) Multi-Cluster SAN homogeneous (a Not required Must be used when single OS type multiple cluster present in the SAN) nodes connect through a shared heterogeneous (more Required port than one OS type present in the SAN)

Disk Array XP operating system configuration guide: Linux 19 Connect the disk array The HP service representative connects the disk array to the host by: • Verifying operational status of the disk array channel adapters, LDEVs, and paths. • Connecting the Fibre Channel cables between the disk array and the fabric switch or host. • Verifying the ready status of the disk array and peripherals.

Restarting the Linux server 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 Remote Web Console (shown), Command View, or Command View XP AE to define paths (LUNs) between hosts and volumes in the disk array. This process is also called “LUN mapping.” In Remote Web Console and Command View, LUN mapping includes: • Configuring ports • Enabling LUN security on the ports • Creating host groups • Assigning host bus adapter WWNs to host groups • Mapping volumes to host groups (by assigning LUNs)

20 Installation In Command View XP AE, LUN mapping includes: • Configuring ports • Creating storage groups • Mapping volumes and WWN/host access permissions to the storage groups For details see LUN Configuration and Security Manager User's Guide or Command View XP Advanced Edition Device Manager Web Client User's Guide.NotetheLUNS and their ports, WWNs, nicknames, and LDEVs for later use in verifying host and device configuration.

Verifying new device recognition 1. Verify that the HBA driver is installed using the lsmod command. 2. View the device information in the the /proc//scsi file.

Disk Array XP operating system configuration guide: Linux 21 Example #cat /proc/scsi/scsiAttached devices: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: HP Model: OPEN-9 Rev: 2105 Type: Direct-Access ANSI SCSI revision: 02 Host: scsi0 Channel: 00 Id: 00 Lun: 01 Vendor: HP Model: OPEN-9 Rev: 2105 Type: Direct-Access ANSI SCSI revision: 02 Host: scsi0 Channel: 00 Id: 00 Lun: 02 Vendor: HP Model: OPEN-9 Rev: 2105 Type: Direct-Access ANSI SCSI revision: 02 Host: scsi0 Channel: 00 Id: 00 Lun: 03 Vendor: HP Model: OPEN-9 Rev: 2105 Type: Direct-Access ANSI SCSI revision: 02

3. Verify that the system recognizes the disk array partitions by viewing the /proc/partitions file. Example #cat /proc/partitions major minor #blocks name rio rmerge rsect ... 8 0 7211520 sda 138... 8 1 7181087 sda1 000... 8 2 28272 sda2 0 0 0 ... 8 16 7211520 sdb 1 3 8 ... 8 17 7181087 sdb1 000... 8 18 28272 sdb2 000... 8 32 7211520 sdc 1 3 8 ... 8 33 7181087 sdc1 000... 8 34 28272 sdc2 000... 8 48 7211520 sdd 1 3 8 ... 8 49 7181087 sdd1 000... 8 50 28272 sdd2 000... 8647211520 sde 138... 8657181087 sde1 000... 8 66 28272 sde2 000... 8 80 7211520 sdf 138... 8817173022 sdf1 000... 8 82 32130 sdf2 000... 8 96 7211520 sdg 138... 8977173022 sdg1 000... 104 0 17776560 cciss/c0d0 168200 352184 4166792... 104 1 257024 cciss/c0d0p1 138... 104 2 1048560 cciss/c0d0p2 2 3 16 ... 104 3 16470960 cciss/c0d0p3 168193 352166 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.

22 Installation Configure disk array devices Disks in the disk array are configuredusingthesameprocedureforconfiguring 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.

Partitioning the devices After the device parameters have been set, the next step is to set the partitions. To partition the devices: 1. Enter fdisk/dev/device_name. Example # fdisk/dev/sda

2. Select p to display the present partitions. 3. Select n to make a new partition. You can make up to four primary partitions or you can make one extended partition. The extended partition can be divided into a maximum of 11 logical partitions, which can be assigned partition numbers from 5 to 15. 4. Select w to write the partition information to disk and complete the fdisk command. 5. Other commands that you might want to use include: d to remove partitions q to stop a change 6. Repeat the above steps for each device.

Creating the file systems The supported file system for Linux is ext2.

Disk Array XP operating system configuration guide: Linux 23 Creating file systems with ext2 1. Enter mkfs –t ext2 /dev/device_name. Example # mkfs –t ext2 /dev/sdd

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

24 Installation 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. Edit the /etc/fstab file to add one line for each device to be automounted. Each line of the file contains: (A) device name, (B) mount point, (C) file system type (“ext2”), (D) mount options (“defaults”), (E) enhance parameter (“1”), and (F) fsck pass 2. Example /dev/sdb /A5700F_ID08 ext2 defaults 1 2 /dev/sdc /A5700F_ID09 ext2 defaults 1 2 /dev/sdd /A5700F_ID10 ext2 defaults 1 2 ABCDEF

Make an entry for each device. After all the entires are made, save the file and exit the editor. 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 Size Used Avail Used% Mounted on /dev/sda1 1.8G 890M 866M 51% / /dev/sdb1 1.9G 1.0G 803M 57% /usr /dev/sdc1 2.2G 13k 2.1G 0% /A5700F-LU00 #

Verifying file system operation Verify file system operation by copying a file to each device.

Disk Array XP operating system configuration guide: Linux 25 26 Installation 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 conditions Depending on your system configuration, you may be able to view error messages (R-SIMS) as follows: • In Remote Web Console (Status tab) • In Command View Advanced Edition (“Alerts” panel). • In Command View (Event History or Event Notification panels) Error Condition Recommended Action The logical devices are not recognized by Verify that the READY indicator lights on the the host. diskarrayareON.Verifythatfiber cables are correctly installed and firmly connected. Verify that the target IDs are properly configured. The LUNs for each TID must startat0andcontinuesequentiallywithout skipping any numbers. Verify that the TIDs/WWNs on each bus are unique. Do not install two devices with the same ID on the same bus.Recheck the buses for new devices. Verify that LUSE devices are not intermixed with normal LUNs on the same port. Verify that the maximum number of LUSE devices per port has not been exceeded. Verify that the disk array host mode is set correctly. The host does not reboot properly after hard If you power off the host without executing shutdown. the shutdown process, wait three minutes to allow the disk array's internal timeout process to purge queued commands. If the host restarts while the disk array is processing queued commands, the host may not reboot successfully.

Disk Array XP operating system configuration guide: Linux 27 Error Condition Recommended Action Physical volumes cannot be created. Verify that the disk array logical devices are correctly formatted. Logical volumes cannot be created. Verify that the volume capacity for OPEN-x volumesisnotgreater than the maximum capacity allowed. See the Emulation specifications table. Verify that the capacity of the volume group is not less than the total capacity of the partitioned logical volume. A file system is not mounted after rebooting. Verify that the host was restarted correctly. Verify that the file system attributes are correct. The disk array performs a self reboot Reboot the host. because the disk array was busy or it logged a panic message. The disk array responds “Not Ready” or the Contact HP. disk array has displayed “Not Ready” and timed out. 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 Make sure there are no duplicate disk array the host hangs. TIDs and that disk array TIDs do not conflict with any host TIDs.

Calling the HP support center If you are unable to resolve an error condition, contact the HP support center for assistance.

Contact information In North America, call technical support at 1-800-633-3600, available 24 hours a day, 7 days a week. Outside North America, call technical support at the location nearest you. Telephone numbers for worldwide technical support are listed on the HP support web site: http://www.hp.com/support. From this web site, select your country.

28 Troubleshooting 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 systemtypeandrevisionlevel • Detailed, specificquestions

Disk Array XP operating system configuration guide: Linux 29 30 Troubleshooting A Pathworksheet

LDEV (CU:LDEV) (CU = Device SCSI Bus Path 1 Alternate Paths control unit) Type Number 0:00 TID: TID: TID: LUN: LUN: LUN: 0:01 TID: TID: TID: LUN: LUN: LUN: 0:02 TID: TID: TID: LUN: LUN: LUN: 0:03 TID: TID: TID: LUN: LUN: LUN: 0:04 TID: TID: TID: LUN: LUN: LUN: 0:05 TID: TID: TID: LUN: LUN: LUN: 0:06 TID: TID: TID: LUN: LUN: LUN: 0:07 TID: TID: TID: LUN: LUN: LUN: 0:08 TID: TID: TID: LUN: LUN: LUN: 0:09 TID: TID: TID: LUN: LUN: LUN: 0:10 TID: TID: TID: LUN: LUN: LUN: 0:11 TID: TID: TID: LUN: LUN: LUN: 0:12 TID: TID: TID: LUN: LUN: LUN: 0:13 TID: TID: TID: LUN: LUN: LUN:

Disk Array XP operating system configuration guide: Linux 31 32 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

Emulation XP Model Emulation Supported LUSE CVS LUSE & CVS OPEN-3 Yes Yes Yes Yes OPEN-8 Yes Yes Yes Yes XP128 OPEN-9 Yes Yes Yes Yes XP1024 OPEN-E Yes Yes Yes Yes XP10000 OPEN-K XP12000 OPEN-L Yes Yes OPEN-M OPEN-V Yes Yes

Disk Array XP operating system configuration guide: Linux 33 Emulation specifications

Emulation Category Blocks (512 Sector #of Heads Sectors Capacity (Note 1) (Note 2) bytes ) Size Cylinders per MB* (Note 3) (bytes) Track OPEN-3 SCSI disk 4806720 512 3338 15 96 2347 OPEN-8 SCSI disk 14351040 512 9966 15 96 7007 OPEN-9 SCSI disk 14423040 512 10016 15 96 7042 OPEN-E SCSI disk 28452960 512 19759 15 96 13893 OPEN-L SCSI disk 71192160 512 49439 15 96 34761 OPEN-V SCSI disk max=125827200 512 Note 5 15 128 Note 6 LUSE OPEN-3*n 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 disk 14423040*n 512 10016*n 15 96 7042*n OPEN-E*n SCSI disk 28452960*n 512 19759*n 15 96 13893*n OPEN-L*n SCSI disk 71192160*n 512 49439*n 15 96 34761*n OPEN-V*n SCSI disk max=125827200 512 Note 5 15 128 Note 6 Note 4 CVS OPEN-3 CVS SCSI disk Note 4 512 Note 5 15 96 Note 6 OPEN-8 CVS SCSI disk Note 4 512 Note 5 15 96 Note 6 OPEN-9 CVS SCSI disk Note 4 512 Note 5 15 96 Note 6 OPEN-E CVS SCSI disk Note 4 512 Note 5 15 96 Note 6 CVS LUSE OPEN-3*n CVS SCSI disk Note 4 512 Note 5 15 96 Note 6 OPEN-8*n CVS SCSI disk Note 4 512 Note 5 15 96 Note 6 OPEN-9*n CVS SCSI disk Note 4 512 Note 5 15 96 Note 6 OPEN-E*n CVS SCSI disk Note 4 512 Note 5 15 96 Note 6 OPEN-V*n SCSI disk Note 4 512 Note 5 15 128 Note 6

*Capacity=(512xnumberofblocks)÷10242

34 Disk array supported emulations Note 1: Theavailabilityofadisktypedependsonthediskarray.

Note 2: Thedevicesaredefined 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 board. This may make actual capacity different from that listed in the table.

Note 4: The number of blocks for a CVS volume is calculated as follows: # of blocks = (# of cylinders) × (# of heads) × (# of sectors per track) Example For an OPEN-3 CVS volume with capacity = 37 MB: # of blocks = (53 cylinders–see Note 5) × (15 heads) × (96 sectors per track) = 76320

Example For an OPEN-V CVS volume with capacity = 49 MB: # of blocks = (53 cylinders–see Note 5) × (15 heads) × (128 sectors per track) = 101760

Note 5: The number of cylinders for a CVS volume is calculated as follows (↑…↑ means that the valueshouldberoundeduptothenextinteger): OPEN-3/8/9/E: ThenumberofcylindersforaCVSvolume=#ofcylinders=↑ (capacity (MB) specified by user) × 1024/720 ↑ Example For an OPEN-3 CVS volume with capacity = 37 MB: # of cylinders = ↑37 × 1024/720↑ = ↑52.62↑ (rounded up to next integer) = 53 cylinders

OPEN-V: The number of cylinders for a CVS volume = # of cylinders = ↑ (capacity (MB) specified by user) × 16/15 ↑

Disk Array XP operating system configuration guide: Linux 35 Example For an OPEN-V CVS volume with capacity = 49 MB: # of cylinders = ↑49 × 16/15↑ = ↑52.26↑ (rounded up to next integer) = 53 cylinders

OPEN-3/8/9/E: The number of cylinders for a CVS LUSE volume = # of cylinders = ↑ (capacity (MB) specified by user) × 1024/720 ↑ ×n Example For a CVS LUSE volume with capacity = 37 MB andn=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 andn=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 Remote Web Console, Command View or Command View Advanced Edition.

36 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).

BC HP StorageWorks Business Copy XP. BC lets you maintain up to nine local copies of logical volumes on the disk array.

CA HP StorageWorks Continuous Access XP. CA lets you create and maintain duplicate copies of local logical volumes on a remote disk array.

Command View HP StorageWorks Command View XP, a software product (CVXP) for managing XP arrays. Command View runs on a Windows-based management workstation.

Command View HP StorageWorks Command View XP Advanced Edition, XP Advanced Edi- installs on the user-provided Device Manager server and tion (CVXP AE) provides a browser-based platform from which you can manage the XP family of disk arrays—even globally distributed arrays.

command device A volume on the disk array that accepts Continuous Access or Business Copy control operations which are then executed by the disk array.

CU Control Unit. Contains LDEVs and is approximately equivalent to SCSI Target ID.

CVS Custom volume size. CVS devices (OPEN-x CVS) are custom volumes configured using array management software to be smaller than normal fixed-size OPEN system volumes. Synonymous with volume size customization (VSC).

DKC The array cabinet that houses the channel adapters and service processor (SVP).

Disk Array XP operating system configuration guide: Linux 37 DKU (disk cabinet The array cabinets that house the disk array physical disks. unit) emulation modes The logical devices (LDEVs) associated with each RAID group are assigned an emulation mode that makes them operate like OPEN system disk drives. The emulation mode determines the size of an LDEV: OPEN-3: 2.46 GB OPEN-8: 7.38 GB OPEN-9: 7.42 GB OPEN-E: 13.56 GB OPEN-L: 36 GB OPEN-V: User-defined custom size failover Disconnecting a failed unit or path and replacing it with an alternative unit or path in order to continue functioning. FC Fibre Channel. FC-AL Fibre Channel arbitrated loop. FCP Fibre Channel Protocol. GB Gigabytes HBA Host bus adapter. host mode Each port can be configuredforaparticularhosttype.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. 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. LUSE A LUN is normally associated with only a single LDEV. The LUSE feature allows a LUN to be associated with 1 to 36 LDEVs. Essentially, LUSE makes it possible for applications to access a single large pool of storage. The LUSE feature is available when the HP StorageWorks LUN Configuration Manager product is installed.

38 Glossary OFC Open Fibre Control. OPEN-x A general term describing any one of the supported OPEN emulation modes (for example, OPEN-L). OS Operating system. PA Physical address. path “Path” and “LUN” are synonymous. Paths are created by associating a port, a target, and a LUN ID with one or more LDEVs. port A physical connection that allows data to pass between a host and the disk array. The number of ports on an XP disk array depends on the number of supported I/O slots and the number of ports available per I/O adapter. The XP family of disk arrays supports Fibre Channel (FC) ports as well as other port types. Ports are named by port group and port letter, such as CL1-A. CL1 is the group, and A is the port letter. RAID Redundant array of independent disks. remote console PC The PC running HP StorageWorks Remote Control XP. Remote Control HP StorageWorks Remote Control XP. A software product used (RC) for managing XP arrays. Remote Web Con- HP StorageWorks XP Remote Web Console. A browser-based sole (RWC) program installed on the SVP that allows you to configure and manage the disk array. R-SIM Remote service information message. SCSI Small computer system interface. SIM Service information message. SNMP Simple Network Management Protocol. SVP Service processor, which is the PC built into the disk controller. The SVP provides a direct interface into the disk array. SVP use is reserved for HP support representatives only. TB Terabyte. TID Target ID. Volume On the XP array, a volume is a uniquely identified virtual storage device composed of a control unit (CU) component and a logical device (LDEV) component separated by a colon. For example 00:00 and 01:00 are two uniquely identified

Disk Array XP operating system configuration guide: Linux 39 volumes; one is identifiedasCU=00andLDEV=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 WorldWideName.Auniqueidentifier assigned to a Fibre Channel device.

40 Glossary Index

A D adapters, host bus,18 Data Exchange XP,10 AL-PA,16 device(s) arbitrated-loop physical address,16 configuration,23 audience,5 emulation types,10 Auto LUN XP,10 emulations, supported,33 Auto Path XP,10 logical, not recognized by host,27 partitioning,23 recognition,21 B type specifications,34 Business Copy XP,9,11 disk array(s) connecting,20 device emulations,33 C features,9 Cache LUN XP,10 installation overview,12 Cluster Extension XP,10 Not Ready error message,28 clustering, 18, 19 operating system versions,9 command device(s) requirements,9 designateatleastoneLDEVasa, self reboots,28 11 server support,9 RAID Manager,11 storage capacity,9 Command View, 9, 11, 12, 20 document,5 Command View XP Advanced Edition, document conventions,6 9, 11, 12, 20 documentation configuration HP web sites,5 device,23 emulation types,10 recognition,21 E Fibre Channel ports,16 emulation(s) HBAs,18 device emulation types,10 host,17 supported,33,34 host mode, setting,13 error conditions,27 port,16 System Option Mode,14 Continuous Access Extension XP,10 F Continuous Access XP,10,11 fabric environment conventions, document,6 parameter settings,16 CVS devices,10 zoning,18,19 failover,11 features and requirements,9

Disk Array XP operating system configuration guide: Linux 41 Fibre Channel L adapters, configuring,18 LDEV(s) connection speed,10 designate at least one as a interface,10 command device,11 parameter settings,16 Linux ports, configuring,16 partitions,11 supported elements,10 server, restarting,20 topology example,16 supported versions,9 file system(s) logicalvolumes,cannotbecreated,28 creating,23 LUN Configuration and Security not mounted after rebooting,28 Manager XP, 9, 12, 20 verifying,25 LUN(s) creating,20 mapping,20 G security,18,19 glossary,37 LUSE devices,10

H M HBA(s),9 mount directories, creating,24 configuring,18 mount table(s), creating,25 supported,18 multi-cluster environment,18 verify driver installation,21 help, obtaining,7 host O configuration,17 OPEN-x devices,10 doesnxd5 t reboot properly,27 operating system(s) hangs up,28 loading,17 host bus adapters, see "HBAs",9 LUN security for,19 host mode, setting,13 multiple, fabric zoning for,19 HP supported versions of Linux,9 service representative tasks,12 storage web site,7 Subscriber’s Choice web site,7 P technical support,7,28 parity error,28 path(s) defining,20 I worksheet,31 installation Performance Advisor XP,10 connecting disk array,20 physical volumes, cannot be created, HP service representative tasks,12 28 overview,12 port(s) procedures,12 Fibre Channel,16 interface, Fibre Channel,10 host mode, setting,13

42 R text symbols,6 R-SIMS,27 topology, fabric,16 RAID Manager command devices,11 troubleshooting,27 RAID Manager XP,10 error conditions,27 related documentation,5 technical support,28 Remote Web Console,9,11,12,20 requirements and features,9 Resource Manager XP,10 V volume(s) logical, cannot be created,28 S physical, cannot be created,28 SCSI disk, Fibre Channel interface and term "SCSI disk",10 Secure Manager XP,19 W security, LUN, 18, 19 web sites,5 server HP documentation,7 restarting,20 HP storage,7 support,9 HP Subscriber’s Choice,7 SNMP configuration,11 worksheet, path,31 software, optional,9 storage capacity,9 Subscriber’s Choice, HP,7 X symbols in text,6 XP family System Option Mode, setting,14 optional software,9 storage capacity,9 T technical support,28 Z HP,7 zoning, fabric, 18, 19

Disk Array XP operating system configuration guide: Linux 43