HP StorageWorks XP Disk Array Configuration Guide for Tru64 UNIX XP24000, XP12000, XP10000 Part number: A5951-96066 Eighth 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 ...................................................................................................................... 7 Related documentation ................................................................................................................ 7 Document conventions and symbols ...........................................................................................
Mounting an advanced file system: ................................................................................ Verifying the file systems ...................................................................................................... Setting and verifying automatic mounting at bootup ................................................................ Checking path failover ........................................................................................................
Figures 1..SNMP configuration ............................................................................................... 13 2..Multi-cluster environment ..........................................................................................
Tables 1..Document conventions ............................................................................................... 8 2..Microprocessor port sharing .................................................................................... 14 3..Host group mode (option) ........................................................................................ 16 4..Fabric zoning and LUN security ................................................................................ 20 5..
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 Tru64 UNIX operating system Intended audience This guide is intended for system administrators with knowledge of: • The host hardware • Tru64 operating system • XP disk arrays Related documentation The following documents provide related information: • • • • • • • HP StorageWorks XP10000 Disk Array: Owner's Guide HP StorageWor
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 Tru64 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.
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.
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 with XP Business Copy Software or XP Continuous Access Software, you use XP Remote Web Console or XP Command View, 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.
• • • • Assembling hardware and installing software Loading the microcode updates Installing and formatting devices Configuring array groups and creating LDEVs After these tasks are finished, use XP Remote Web Console, XP Command View, or XP Array Manager to complete the remaining tasks listed below. For procedures, refer to the applicable user guide available at: http://www.hp.com/support/manuals. If you do not have these programs, your HP service representative can perform these tasks for you.
View. For procedures, refer to the applicable user guide available at http://www.hp.com/support/ manuals. If these are not available, the HP service representative can set the host mode using the SVP. The required host mode setting for Tru64 is 07. CAUTION: The correct host mode must be set for all new installations (newly connected ports) to Tru64 hosts. Do not select a mode other than 07 for Tru64.
Table 3 Host group mode (option) Host Group Mode 14 Function Default Comments Enable use of XP Continuous Access Software on Tru64 TruClusters. Inactive Previously MODE272 CAUTION: Changing host group modes for ports where servers are already installed and configured breaks all LUN paths and will require the paths to be redefined. See “Defining the paths” on page 20.
Fabric and connection parameter settings Set each array port to FABRIC ENABLE with connections of POINT-TO -POINT (P-to-P). For detailed topology information, refer to the HP StorageWorks SAN Design Reference Guide available at: http://www.hp.com/support/manuals. 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.
[5] UDID:181 WWID:01000010:6006-0e80-0350-6200-0009-0010-5062-00b5 (ev:none) [6] UDID:182 WWID:01000010:6006-0e80-0350-6200-0009-0010-5062-00b6 (ev:none) [7] UDID:183 WWID:01000010:6006-0e80-0350-6200-0009-0010-5062-00b7 (ev:none) [8] UDID:184 WWID:01000010:6006-0e80-0350-6200-0009-0010-5062-00b8 (ev:none) [9] UDID:185 WWID:01000010:6006-0e80-0350-6200-0009-0010-5062-00b9 (ev:none) [10] UDID:186 WWID:01000010:6006-0e80-0350-6200-0009-0010-5062-00ba (ev:none) 2.
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.
Table 4 Fabric zoning and LUN security Environment Standalone SAN (non-clustered) OS Mix Fabric Zoning LUN Security homogeneous (a single OS type present in the SAN) Not required N/A heterogeneous (more than one OS type present in the SAN) Not recommended Clustered SAN heterogeneous (more than one OS type present in the SAN) Not recommended Must be used when multiple cluster nodes connect through a shared port Multi-Cluster SAN homogeneous (a single OS type present in the SAN) Not required M
Verifying host recognition of disk array devices Use the hwmgr show scsi command at the UNIX prompt to see the list of new disk array devices. The device files are created automatically in Tru64 UNIX during system startup. Device files are created for each logical unit. 1. Verify the character-type device files have been automatically created: Example — Tru64 5.1B # file /dev/rdisk/dsk* 2. Verify the block-type device files have been automatically created: Example — Tru64 5.
Refer to Tru64 UNIX System Administration for detailed procedures. Writing the partition labels Use the disklabel command to label the partition for each logical unit. Partition c specifies the entire area in the logical unit. Check that no errors are found in the partition settings after the labeling. You can edit the disk partition size using the disklabel command with option –e. When the disklabel –e command is executed, the vi editor for the environment in which you are working starts up.
# mkfset domain_name fileset_name Creating mount directories Create a mount directory for each device. Assign each mount directory a unique name that identifies the device being mounted. 1. Create a mount directory. # mkdir /mount_directory_name Example To create a mount directory for LUN 2 (partition c) on the disk array, enter: # mkdir /HP5700_LU2c 2. Verify the new mount directory.
mount –t advfs domain1#fileset1 /HP5700_LU2c 2. Assign the appropriate ownership and permissions: # chown owner : group * device_file_name * Example To assign ownership to dsk10c with owner Oracle, group dba, enter: chown oracle:dba *dsk10c* Verifying the file systems Verify that the new file systems were created correctly and are functioning properly. 1. Display all mounted file systems. # df The default display for drive capacity is 512-byte blocks.
Example To remove the file. vmunix.back1 Setting and verifying automatic mounting at bootup The /etc/fstab file contains boot time mounting parameters for disk devices. 1. After first making a backup copy of the file, edit the /etc/fstab file. Add a line for each new device to be mounted.
CAUTION: Tru64 5.1B and later fully support dynamic load balancing and failover when multiple HBAs are connected to the same LUN. This feature is ONLY available with version 5.1B and later.
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” on page 29.
Table 6 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. • 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.
Calling the HP support center If you are unable to resolve an error condition, contact the HP support center for assistance. Contact Information Telephone numbers for worldwide technical support are listed on the HP support web site: http://www.hp.
Troubleshooting
A Path worksheet Worksheet Table 7 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 specifications Table 9 Emulation specifications Emulation(Note 1) Category (Note 2) Blocks (512 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 Sector Size (bytes) # 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 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 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).
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.
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. Command View runs on a Windows-based management workstation. XP Remote Web Console HP StorageWorks XP Remote Web Console. A browser-based program installed on the SVP that allows you to configure and manage the disk array.
Glossary
Index A advanced file system (AdvFS), 22 arbitrated-loop physical address, 16 audience, 7 automatic mounting, 25 C clustering, 19, 19 command device(s) designate at least one LDEV as a, 13 XP RAID Manager, 13 configuration device, 21 emulation types, 12 Fibre Channel ports, 16 HBAs, 17 host, 17 host mode, setting, 15 port, 16 system files, 18 console commands df, 24 console commands mkfset, 22 mount, 23 conventions document, 8 storage capacity values, 9 D device(s) automatic mounting, 25 configuration, 21
file system(s) advanced (AdvFS), 22, 23 cannot be created, 28 creating, 22 mounting, 23 not mounted after rebooting, 28 verify installation, 24 G glossary, 37 H HBA(s) configuring, 17 supported, 17 HBA(s) card, verify installation, 17 help obtaining, 9 host configuration, 17 doesn't reboot properly, 28 hangs up, 28 host bus adapters, see "HBAs", 11 host mode, setting, 14 HP technical support, 9, 29 I installation, 11 connecting disk array, 20 disk array, 13 overview, 13 verify file system, 24 verify HBA
W websites HP , 10 HP Subscriber's Choice for Business, 9 product manuals, 7 worksheet, path, 31 X XP XP XP XP XP XP XP XP XP Array Manager, 14 Continuous Access Software, 13 Array Manager, 11 Business Copy Software, 13 Command View, 11, 13, 14, 16, 20 RAID Manager command devices, 13 Remote Web Console, 11, 13 Remote Web Console, 14, 16, 20 Secure Manager, 19 Z zoning, fabric, 19, 19 XP Disk Array Configuration Guide for Tru64 UNIX 43