HP StorageWorks Disk Array XP operating system configuration guide: Tru64 UNIX XP12000 XP10000 Part number: A5951-96065 Seventh edition: June 2006
Legal and notice information © Copyright 2003-2006 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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . About this guide . . . . . . . . . Intended audience . . . . . . . . Disk arrays . . . . . . . . . . . Related documentation . . . . . . Document conventions and symbols HP technical support . . . . . . . Subscription service . . . . . . . Other HP web sites . . . . . . . Documentation feedback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2 Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . Error conditions . . . . . . Calling the HP support center Contact Information . . Before you call . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 27 29 29 29 A Path worksheet . . . . . . . . . .
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 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 Disk arrays Unless otherwise noted, the term “disk array” refers to these systems: • HP StorageWorks XP10000 Disk Array • HP StorageWorks XP12000
Document conventions and symbols Convention Element Blue text: Document conventions and symbols Cross-reference links and e-mail addresses Blue, underlined text: http:// www.hp.
HP technical support Telephone numbers for worldwide technical support are listed on the HP support web site: http://www.hp.com/support/. Collect the following information before calling: • • • • • • Technical support registration number (if applicable) Product serial numbers Product model names and numbers Error messages Operating system type and revision level Detailed questions For continuous quality improvement, calls may be recorded or monitored.
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.
Fibre Channel interface The XP family of disk arrays supports these Fibre Channel elements: • • • • Connection speeds of 1 Gbps, 2 Gbps, and 4 Gbps Short-wave non-OFC (open fiber control) optical interface Multimode optical cables with SC or LC connectors 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.
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 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, or Command View XP . For procedures, refer to the applicable user guide available at http://www.hp.com/support/manuals.
Installation procedures Perform these actions to install and configure the disk array: 1. Install and configure the disk array • Setting the host mode for the disk array ports • 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 • Setting up clustering and fabric zoning • Fabric zoning and LUN security for multiple operating systems 3.
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 Configuring array groups and creating LDEVs After these tasks are finished, use Remote Web Console, Command View, Command View XP Advanced Edition, or LUN Configuration and Security Manager to complete the remaining tasks listed below.
Setting the host mode and host group 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. 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 following host group modes are available for Tru64: Host Group Mode 14 Function Default Comments Enable use of Continuous Access on Tru64 TruClusters. Inactive Previously MODE272 CAUTION: Changing host group modes for ports where servers are already installed and configured is disruptive and requires the server to be rebooted. 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.
Fabric and connection parameter settings Set each array port to FABRIC ENABLE with connections of POINT-TO-POINT (P-to-P) as shown in the previous figure. For detailed topology information, refer to the HP StorageWorks SAN Design Reference Guide available at http://www.hp.com/support/manuals website. 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.
Using wwidmgr When booting from an XP12000/XP10000, use the following procedure to create the bootable device within the console: 1.
Configuring system files Configure the Tru64 system to recognize the HBA as explained in the Tru64 Installation Guide or New Hardware Delivery (NHD) kit. This usually consists of booting genvmunix and executing doconfig (as explained in the Installation Guide). This can also sometimes be done by editing the system kernel configuration file as explained below. 1. Use the doconfig -c config_file command to reconfigure the kernel, where config_file is usually the system name. 2.
Fabric zoning and LUN security for multiple 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: • 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. • Use Secure Manager for LUN isolation when multiple hosts connect through a shared array port.
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.
Verifying host recognition of disk array devices Use the scu show edt 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 v5.1B # file /dev/rdisk/dsk* 2. Verify the block-type device files have been automatically created: Example — Tru64 v5.
To write the partition label: 1. Enter disklabel –rw. Specify the disk name. Example — Tru64 v5.1B # disklabel –rw dsk10 OPEN-3 2. Enter disklabel –r to verify labeling and partition settings. Specify the disk name. Example — Tru64 v5.1B # disklabel –r dsk10 Creating the file systems Create a file system for each new OPEN-x device. Optionally, you can create and use an advanced file system (AdvFS) to overcome the size and speed limitations of the file system.
Mounting the file systems After the file systems and mount directories have been created, you can mount the file system for each new device. To mount a Tru64 file system: 1. Mount device: # mount device_file_name mount_directory Example — Tru64 v5.1B To mount device dsk10c with mount directory name HP5700_LU2c, enter: # mount /dev/disk/dsk10c HP5700_LU2c 2. Assign the appropriate ownership and permissions: # chown owner:group *device_file_name* Example — Tru64 v5.
3. Copy a file from the root directory to the new device: # cp /filename file_name.back1 Example To copy file vmunix from the root directory to the HP5700_LU2c device, enter: cp /vmunix vmunix.back1 4. Copy a file to the new device again: # cp /filenamefile_name.back2 Example To copy the same file again, enter: cp /vmunix vmunix.back2 5. List the files in the current directory: Example # ls –l The vmunix.back1 and vmunix.back2 files should be shown. 6.
Notes: For UFS systems, you must File System Check (fsck) disks that contain mount points before mounting other disks on those mount points. 2. Shut down and reboot the system. 3. Use the df or df –k command to verify file system auto mounting. Checking path failover The disk array supports Tru64 path failover (Tru64 v5.1B–2 and later only). You can connect multiple HBAs to the disk array with shared LUNs. Confirm the existence of multiple paths for devices as follows: 1.
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 Condition Recommended Action The logical devices are not recognized by the host. Verify that the READY indicator lights on the disk array are ON. Verify that fiber cables are correctly installed and firmly connected. Verify that the target IDs are properly configured. The LUNs for each TID must start at 0 and continue sequentially without 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.
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.com/support/.
Troubleshooting
A Path worksheet LDEV (CU:LDEV) (CU = control unit) Device Type SCSI Bus Number Path 1 Alternate Paths 0:00 TID: LUN: TID: LUN: TID: LUN: 0:01 TID: LUN: TID: LUN: TID: LUN: 0:02 TID: LUN: TID: LUN: TID: LUN: 0:03 TID: LUN: TID: LUN: TID: LUN: 0:04 TID: LUN: TID: LUN: TID: LUN: 0:05 TID: LUN: TID: LUN: TID: LUN: 0:06 TID: LUN: TID: LUN: TID: LUN: 0:07 TID: LUN: TID: LUN: TID: LUN: 0:08 TID: LUN: TID: LUN: TID: LUN: 0:09 TID: LUN: TID: LUN: TID: LUN: 0:10 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 Emulation (Note 1) Category (Note 2) Blocks (512 bytes ) Sector Size (bytes) # of Cylinders Heads Sectors per Track Capacity MB* (Note 3) 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
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 (↑…↑
Disk array supported emulations
Glossary 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.
HBA Host bus adapter. 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.
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.
Glossary
Index A advanced file system (AdvFS), 22 arbitrated-loop physical address, 15 audience, 5 Auto LUN XP, 9 automatic mounting, 24 B Business Copy XP, 9, 11 C Cache LUN XP, 9 clustering, 18, 19 command device(s) designate at least one LDEV as a, 11 RAID Manager, 11 Command View, 9, 11, 13, 15, 20 Command View XP Advanced Edition, 9, 13, 15, 20 configuration device, 21 emulation types, 10 Fibre Channel ports, 15 HBAs, 16 host, 16 host mode, setting, 14 port, 15 system files, 18 console commands df, 23 mkfs
H HBA(s) configuring, 16 supported, 16 HBA(s) card, verify installation, 17 help obtaining, 7 host configuration, 16 doesn’t reboot properly, 28 hangs up, 28 host bus adapters, see "HBAs", 9 host mode, setting, 14 HP technical support, 7, 29 I installation, 9 connecting disk array, 19 disk array, 13 overview, 12 verify file system, 23 verify HBA card, 17 interface, Fibre Channel, 10 L LDEV(s) designate at least one as a command device, 11 logical volumes, cannot be created, 28 LUN Configuration and Sec
Z zoning, fabric, 18, 19 HP StorageWorks Disk Array XP operating system configuration guide: Tru64 UNIX 43