This guide describes the requirements and procedures for connecting the XP family of disk
arrays to an HP-UX system and configuring the new disk array for operation with HP-UX.
to, the implied warranties of merchantability and fitness for a particular purpose. Hewlett-Packard shall not be
liable for errors contained herein or for incidental or consequential damages in connection with the furnishing,
performance, or use of this material.
This document contains proprietary information, which is protected by copyright. No part of this document may be
photocopied, reproduced, or translated into another language without the prior written consent of Hewlett-Packard.
The information contained in this document is subject to change without notice.
HP-UX is a registered trademark of Hewlett-Packard Company.
All other product names mentioned herein may be trademarks of their respective companies.
Hewlett-Packard Company shall not be liable for technical or editorial errors or omissions contained herein. The
information is provided “as is” without warranty of any kind and is subject to change without notice. The warranties
for Hewlett-Packard Company products are set forth in the express limited warranty statements accompanying such
products. Nothing herein should be construed as constituting an additional warranty.
Printed in the U.S.A.
HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX
sixth edition (July 2005)
part number: A5951-96015
2HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX
About this guide 7
Intended audience 7
Prerequisites 7
Disk arrays 7
Related documentation 8
HP storage website 8
HP sales and authorized resellers 8
HP technical support 9
Document conventions 10
Revision history 11
Verifying the device files and drivers 36
Creating the device files 38
Creating the physical volumes 41
Creating new volume groups 42
Creating logical volumes 45
Creating the file systems 47
Setting the I/O timeout parameter 49
Creating the mount directories 50
Mounting and verifying the file systems 51
Setting and verifying the auto-mount parameters 52
2Troubleshooting 55
Error conditions 56
Calling the HP support center 59
AWorksheets 61
Path worksheet 62
BDisk array device emulations 63
Supported emulations 64
Device type specifications 65
LUSE device parameters 68
SCSI TID map for Fibre Channel adapters 71
CReference information for SAM 73
Configuring the devices using SAM 74
Setting the maximum number of volume groups using SAM 76
Glossary 77
Index 81
4HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX
About this guide
This guide provides information about:
• Requirements and procedures for connecting an XP disk array to a
• Configuring the disk array for use with the HP-UX operating system
Intended audience
This guide is intende d for syst em administrator s with knowledge of the host
server, the operating system, and XP disk arrays.
Prerequisites
Prerequisites for installing and confi gur ing this product include knowledge
of:
• Disk arrays and RAID technology
• Operating system commands and utilities
host system
Disk arrays
Unless otherwise noted, the term disk array refers to these disk arrays:
HP StorageWorks Disk ArrayXP 128
HP StorageWorks Disk Array XP1024
HP StorageWorks XP10000 Disk Array
HP StorageWorks XP12000 Disk Array
About this guide7
Related documentation
HP provides these related documents:
• 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
T o lo cate t hese doc uments, t o learn more about HP softwar e produ cts, or to
obtain software updates, visit the HP web site:
http://h18006.www1.hp.com/storage/xparrays.html
HP storage website
For the most current information about HP StorageWorks XP products,
visit:
For information about product availa bili ty, configuration, and connecti vity,
contact your HP support representative.
To reach HP sales or find a local authorized reseller of HP products, call
1-800-282-6672 or visit the HP How To Buy web site:
http://welcome.hp.com/country/us/en/howtobuy.html
You can also find HP sales and resellers at
Contact HP.
8HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX
http://www.hp.com
. Click
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.
The HP web site lists telephone numbers for worldwide technical support
at:
Collect the following information before calling:
For continuous quality improvement, calls may be recorded or monitored.
HP strongly recommends that customers sign up online using the
Subscriber’s choice web site at
Subscribing to this service provides you with email updates on the latest
product enhancements, newest drivers, and firmware documentation
updates as well as instant access to numerous other product resources.
http://www.hp.com/support
• Technical support registration number (if applicable)
• Product serial numbers
• Product model names and numbers
• Applicable error message s
• Operating system type and revision level
• Detailed questions
. From this web site, select your country.
http://www.hp.com/go/e-updates
.
About this guide9
Document conventions
ConventionElement
Blue text (Figure 1)Blue text represen ts a cro ss-refe rence. In the onlin e version of this guide,
the reference is linked to the target.
BoldBold text represents application names, file names, menu items, dialog
box titles, buttons, key names, field names, and literal values that you
type exactly as shown.
ItalicsItalic type indica te s th at you must supply a value. It al ic type is also used
for manual titles.
Blue underlined sans serif
font (www.hp.com
monospace fontMonospace font deno tes use r inpu t and s ystem re spo nses, s uch as o utp ut
)
Underlined, blue text represents a website on the Internet. In the online
version of this guide, the reference is linked to the target.
and messages.
Example
The word “example” in italics denotes an example of input or output.
[ ]Square brackets indicate an optional parameter.
{ }Braces indicate that you must specify at least one of the listed options.
|A vertical bar separates alternatives in a list of options.
10HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX
Revision history
September 1999Open-8 emulation added.
January 2000Content extensively revised and reorganized.
June 2000Added support for XP512.
Content reorganized and revised.
February 2001Added appendixes C, D, E, and F.
Added glossary.
April 2003Changed brand name to St orageWorks.
Added support for OPEN-L and OPEN-V.
Changed CVS to VCS.
November 2003Revised I/O timeout procedure. Minor update.
August 2004Updated for XP12000.
July 2005Updated to include XP10000, Command View XP
Advanced Edition, and Remote Web Console XP.
About this guide11
Warranty statement
HP warrants that for a period of ninety calendar days from the date of
purchase, as evidenced by a copy of the invoice, the media on which the
Software is furnished (if any) will be free of defects in materials and
workmanship under normal use.
DISCLAIMER. EXCEPT FOR THE FOREGOING AND TO THE
EXTENT ALLOWED BY LOCAL LAW, THIS SOFTWARE IS
PROVIDED TO YOU “AS IS” WITHOUT WARRANTIES OF ANY
KIND, WHETHER ORAL OR WRITTEN, EXPRESS OR IMPLIED.
HP SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES
OR CONDITIONS OF MERCHANTABILITY, SATISFACTORY
QUALITY, NON-INFRINGEMENT, TITLE, ACCURACY OF
INFORMATIONAL CONTENT, AND FITNESS FOR A
PARTICULAR PURPOSE. Some jurisdictions do not allow exclusions
of implied warranties or conditions, so the above exclusion may not apply
to you to the extent prohibited by such local laws. You may have other
rights that vary from country to country, state to state, or province to
province.
WARNING! YOU EXPRESSLY ACKNOW LEDGE AND AGREE THAT USE OF THE SOFTWARE IS AT YOUR SOLE RISK. HP
DOES NOT WARRANT THAT THE FUNCTIONS CONTAINED IN
THE SOFTWARE WILL MEET YOUR REQUIREMENTS, OR THAT
THE OPERATION OF THE SOFTWARE WILL BE UNINTERRUPTED,
VIRUS-FREE OR ERROR-FREE, OR THAT DEFECTS IN THE
SOFTWARE WILL BE CORRECTED. THE ENTIRE RISK AS TO THE
RESULTS AND PERFORMANCE OF THE SOFTWARE IS ASSUMED
BY YOU. HP DOES NOT WARRANT OR MAKE ANY
REPRESENTATIONS REGARDING THE USE OR THE RESULTS OF
THE USE OF THE SOFTWARE OR RELATED DOCUMENTATION IN
TERMS OF THEIR CORRECTNESS, ACCURACY, RELIABILITY,
CURRENTNESS, OR OTHERWISE. NO ORAL OR WRITTEN
INFORMATION OR ADVICE GIVEN BY HP OR HP’S AUTHORIZED
REPRESENTATIVES SHALL CREATE A WARRANTY.
12HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX
LIMITATION OF LIABILITY. EXCEPT TO THE EXTENT
PROHIBITED BY LOCAL LAW, IN NO EVENT INCLUDING
NEGLIGENCE WILL HP OR ITS SUBSIDIARIES, AFFILIATES,
DIRECTORS, OFFICERS, EMPLOYEES, AGENTS OR
SUPPLIERS BE LIABLE FOR DIRECT, INDIRECT, SPECIAL,
INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR OTHER
DAMAGES (INCLUDING LOST PROFIT, LOST DATA, OR
DOWNTIME COSTS), ARISING OUT OF THE USE, INABILITY
TO USE, OR THE RESULTS OF USE OF THE SOFTWARE,
WHETHER BASED IN WARRANTY, CONTRACT, TORT OR
OTHER LEGAL THEORY, AND WHETHER OR NOT ADVISED
OF THE POSSIBILITY OF SUCH DAMAGES. Your use of the
Software is entirely at your own ris k. Shoul d th e Soft war e prove defective,
you assume the entire cost of all service, repair or correction. Some
jurisdictions do not allow the exclusion or limitation of liability for
incidental or conse quenti al damag es, so t he above limit atio n may not a pply
to you to the extent prohibited by such local laws.
NOTE. EXCEPT TO THE EXTENT ALLOWED BY LOCAL LAW,
THESE WARRANTY TERMS DO NOT EXCLUDE, RESTRICT OR
MODIFY, AND ARE IN ADDITION TO, THE MANDATORY
STATUTORY RIGHTS APPLICABLE TO THE LICENSE OF THE
SOFTWARE TO YOU;
PROVIDED, HOWEVER, THAT THE
CONVENTION ON CONTRACTS FOR THE INTERNATIONAL
SALE OF GOODS IS SPECIFICALLY DISCLAIMED AND SHALL
NOT GOVERN OR APPLY TO THE SOFTWARE PROVIDED IN
CONNECTION WITH THIS W ARRANTY STATEMENT.
About this guide13
14HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX
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.
Installation15
Features and requirements
Ask your HP service represent ative about the lat est supporte d hardware and
software.
The disk array and host have the following features:
• Storage capacity. The storage capacity for each model is listed
below:
XP128: From 8 to 128 drives for up to 18 TB, 48 FC ports
XP1024: From 8 to 1024 drives for up to 149 TB, 64 FC ports
XP10000: Up to 240 drives for up to 69.2 TB, 48 FC ports
XP12000: Up to 1152 drives for up to 165 TB, 128 FC ports
• Server support. HP-UX-supported processor
• Operating system support. HP-UX, version 10.20, 11.0, or 11i v2
with the latest patches (if any)
Before installing the disk array, ensure the environment conforms to these
requirements:
• 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 V iew XP Advanc ed Editi on or Command View XP with
LUN management feature for configuring disk array ports and
paths
•(Recommended) HP StorageWorks LUN Configuration and
Security Manager XP
16HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX
Fibre Channel interface
The XP fami ly of disk arrays support s these Fibre Channel elements:
•(Optional) Other available XP software (some may not be
supported by your array:
HP StorageWorks Business Copy XP
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
• Multimode optical cables with SC or LC connectors
• Public or private arbitrated loop (FC-AL) or direct fabric attach
• Fibre Chan nel switches
Even though the interface is Fibre Chann el, this gui de uses the term “SCSI
disk” because disk array devices are defined to the host as SCSI disks.
Installation17
Device emulation types
The XP family of disk arrays supports these device emulation types:
• OPEN-K/3/8/9/E 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-K/3/8/9/E disk devices. For
example, an OPEN-x LUSE volume created from ten OPEN-x
volumes is designated as OPEN-x*10.
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 dete rmine. OPEN- L does not
support 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 expande d device,
this device is designated as OPEN-9*3-CVS.
Failover
The XP family of disk arrays supports many standard software products
that provide host, application, or I/O path failover and management.
The following are supported for HP-UX:
• HP Multi-C omputer/Serv iceGuard (MC/ServiceGuard) software for
application failover
• Alternate link for I/O path failover (included in HP-UX)
• Logical volume management (included in HP-UX)
18HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX
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, 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 app li cab le user’s guide f or information about how t o designate
a command device.
Installation19
Installation procedures
Perform these actions to install and configure the disk array:
1. Install and configure the disk array (see page 21)
• 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 (see page 26)
• Loading the OS and software
• Installing and configuring the HBAs
• Clustering and fabric zoning
• Fabric zoning and LUN security for multiple operating systems
3. Connect the disk array (see page 29)
• Defining the paths
• Verifying HBA installation
• Verifying device recognition
4. Configure disk array devices (see page 35)
• Verifying the device files and drivers
• Creating the device files
• Creating the physical volumes
• Creating new volume groups
• Creating logical volumes
• Creating the file systems
• Setting the I/O timeout parameter
• Creating the mount directories
• Mounting and verifying the file systems
• Setting and verifying the auto-mount parameters
20HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX
Install and configure the disk array
The HP service represen tative perf orms these ta sks:
• Assembling hardware and installing software
• Loading the microcode updates
• Installing the channel adapters (CHAs) and cabling
• 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 Securi ty Man ager to complete the remai ning t asks li sted
below. If you do not have these programs, your HP service representative
can perform these tasks for you.
Setting the host mode for the disk array ports
The disk array ports have host modes that must be set depending on the
host you use. After the disk array is installed use LUN Manager in Remote
Web Console XP (shown), Command View XP, or Command View XP
Advanced Edition to set t he host mode f or e ach por t. The host mode se ttin g
for HP-UX is 08.
Installation21
For the XP1024/XP128 arrays, the host mode can also be set at the port
information window in Command View XP AE.
22HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX
Setting the System Option Modes
The HP service r epresentat ive set s the S ystem Op tion Mode( s) based on the
operating system and software configuration of the host.
ModeLevel
140OptionalNoneON: Response to the Inquiry command is
HA
Software
Description and Usage
changed, and the vol ume can be used from
VeritasNetBackUP in heterogeneous OS
configuration, such as HP-UX.
OFF: Normal response to the Inquiry
command.
186MandatoryVerita s
Database
Editions/
Advanced
Cluster
254OptionalVerita s
Database
Editions
280OptionalHP-UX Ghost LUN Remove
ON: Mandatory setting when VERITAS
Database Editions/Advanced Cluster is
connected.
OFF: VERIT A S Dat abase Edit ion s /Adv ance d
Cluster should not be connected with this
setting.
Change the response of re serve conflict status
to Read Capacity, Verify, and Start Stop Unit.
ON: Normal end is reported.
OFF: Reserve conflict status is reported.
OS version: HP-UX 11.0 and later.
ON: When the host scans the LUNS on the
port, the disk a rray is not represen ted in the
device list for HP-UX.
OFF: When the host scans the LUNS on the
port, the disk array is represented in the d ev ice
list for HP-UX.
Installation23
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 storage area network topology. Use
switch zoning if you connect different types of hosts to the array through
the same switch.
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.
24HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX
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 table and figures.
For detailed topology information, refer to the HP StorageWorks SAN Design Reference Guide on the
hp.com
website.
Fabric
parameter
Connection
parameter
Provides
ONFC-ALNot supported
ONDirect Fabric AttachF-port (fabric port)
OFFFC-ALAL-port (private arbi tr at ed loop)
OFFDirect Fabric AttachNot supported
Installation25
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.
Installing and configuring the HBAs
Install and configure the host bus adapters using the HBA manufacturer’s
instructions.
26HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX
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.
Installation27
Fabric zoning and LUN security for multiple operating systems
You can connect multiple clus te rs of various operating systems to the sa me
switch and fabric using appropriate zoning and LUN security as follows:
• Host zones must contain only homogeneous operating systems.
• Storage port zones may overlap if more than one operating system
needs to sh are 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.
• Use Secure Manager for LUN i sol at io n when multiple hosts conne ct
through a shared array port. Secure Manager provides LUN
security by allowing you to restrict which LUNs each host can
access.
EnvironmentOS MixFabric ZoningLUN Security
Standalone SAN
(non-clustered)
Clustered SANhomogeneous (a single OS
Multi-Cluster
SAN
homogeneous (a single OS
type present in the SAN)
heterogeneous (more than one
OS type present in the SAN)
type present in the SAN)
heterogeneous (more than one
OS type present in the SAN)
homogeneous (a single OS
type present in the SAN)
heterogeneous (more than one
OS type present in the SAN)
Not requiredMust be used when multiple
hosts connect through a
Required
shared po rt
Not requiredMust be used when multiple
cluster nodes conne ct thr ough
Required
a shared port
Not requiredMust be used when multiple
cluster nodes conne ct thr ough
Required
a shared port
28HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX
Connect the disk array
The HP service representative connects the disk array to the host by:
1. V eri fying operational sta tus of the disk array c hannel adapters, LDEVs,
and paths.
2. Connecting the Fibre Channel cables between the disk array and the
fabric switch or host.
3. Verifying the ready status of the disk array and peripherals.
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
•Setting LUN security
•Creating host groups
•Assigning host bus adapter WWNs to host groups
•Mapping volumes to host groups (by assigning LUNs)
Installation29
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 Vi ew XP Advanced Editi on Device Manag er Web Client User’s
Guide. Note the LUNS and t heir ports , WWNs, ni cknames, and LDEVs for
later use in verifying host and device configuration.
30HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX
Verifying HBA installation
After configuring the ports on the disk array, verify that the HBAs are
installed properly.
Use the ioscan –f command, and verify that the rows shown in the ex ample
are displayed. If these rows are not di splayed, check the host adapter
installation (hardware and driver installation) or the host configuration.
In the example:
HP OPEN-9 device: SCSI bus numb er = 14/12, bus insta nce = 6, SCSI
target ID = 0, LUN = 0.
HP OPEN-9*2 device: SCSI bus number = 14/12, bus instance = 6,
SCSI target ID = 0, LUN = 1.
If UNKNOWN is displayed fo r a disk, t he HP 9000 system may not be
configured properly. Refer to the HP documentation or contact HP
32HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX
Example
customer support for assistance with the HP 9000 system or the
HP-UX operating system.
3. Enter the device data for each disk array device in a table. See “Path
worksheet” on page 62.
4. Construct the device file name for each device, using the device
information, and enter the file names in your table. Use the following
formula to construct the device file name:
cxtydz
where
x = SCSI bus instance number
y = SCSI target ID
z = LUN
c stands for controller, t stands for target ID, and d stands for device.
The numbers x, y, and z are hexadecimal.
SCSI bus
instance numberHardware path SCSI TIDLUNFile name
0014/12.6.060c6t0d0
0014/12.6.161c6t0d1
5. Verify that the SCSI TIDs correspond to the assigned port address for
all connected ports ( see ma pping t ables on
page 63 in Appendix B, for
values). If so, the logical devices are recognized properly.
If the logical devices are not recognized properly:
• Check the AL-PA for each port using the LUN Manager software.
• If the same port address is set for multiple ports on the same loop
(AL with HUB), all port addresses except one changed to another
value, and the relationship between AL-PA and TID does not
correspond to the mapping given in
Installation33
Appendix B (page 63), set a
different address for each port, reboot the server, and then verify
new device recognition again.
• If unused device information remains, the TID-to-AL-PA mapping
will not correspond to the mappi ng given in
Appendix B (pag e 63).
Renew the device information, and then verify new device
recognition again.
34HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX
Configure disk array devices
Disk arrays are configured using the same procedure for configuring any
new disk on the host. This includes the following procedures:
1. Verifying the device files and drivers (see page 36)
2. Creating the device files (see page 38)
3. Creating the physical volumes (see page 41)
4. Creating new volume groups (see page 42)
5. Creating logical volumes (see page 45)
6. Creating the file systems (see page 47)
7. Setting the I/O timeout parameter (see page 49)
8. Creating the mount directories (see page 50)
9. Mounting and verifying the file systems (see page 51)
10. Setting and verifying the auto-mount parameters (see page 52)
The HP-UX system uses the Logical Volume Manager (LVM) to manage
the OPEN-x devices on the disk array. The instructions in this section do
not explicitly cover all LVM configuration issues. For further information
on LVM configuration, see the HP-UX user documentation.
HP System Administrator Manager (SAM) can be used instead of UNIX
commands to configure SCSI disk devices. See
further information.
Installation35
appendix C (page 73) for
Verifying the device files and drivers
The device files for new devices are usually created automatically during
HP-UX startup. Each device must have a block-type device file in the
/dev/dsk directory and a character-type device file in the /dev/rdsk
directory.
However, some HP-compatible systems do not create the device files
automatically. If verification shows that the device files were not created,
follow the instruct ions i n
device files manually.
This procedure verifies both types of device files.
To verify that the device files for the disk array devices were created:
1. Display the block-type device files in the /dev/dsk directory using the
ls –l command with the output piped to more. Verify there is one
block-type device file for each disk array device.
“Creating the devic e fi les” (page 38) to crea te the
Example
# ls –l /dev/dsk | more
Total 0
brw-r - - - - - 1 bin sys 28 0x006000 Dec 6 15:08
c6t0d0
brw-r - - - - - 1 bin sys 280 0x06100 Dec 6 15:08
c6t0d1
2. Verify that the block-type device file name for each device is correct.
3. Display the character -type device fil es in the /dev/rdsk directory using
the ls –l command with the output piped to more. Verify that there is
one character-type device file for each disk array device.
36HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX
Example
# ls –l /dev/rdsk | more
Total 0
crw-r - - - - - 1 bin sys 177 0x006000 Dec 6 15:08
c6t0d0
crw-r - - - - - 1 bin sys 177 0x006100 Dec 6 15:08
c6t0d1
4. Use the device data table you created to verify that the character-type
device file name for each device is correct.
This task c an also be accomplished with the lssf command.
5. After verifying the block-type and cha racter-type device files, verify the
HP-UX driver for the disk array using the ioscan –fn command.
Example
# ioscan -fn
ClassI H/W PathDriverS/W State H/W TypeDescription
If the device files were not created automatically when the system was
restarted, use th e insf – e command in the /dev director y to create t he devic e
files. After this command i s exe cuted, repea t the proced ures in the pr evious
section
driver.
(page 36) to verify new device recognition and the device files and
Example
# insf -e
insf: Installing special files for mux2 instance 0
address 8/0/0
: : : :
: : : :
#
Failure of the insf –e command indicates a SAN problem.
If the device files for the new disk array devices cannot be created
automatically, you must create the device files manually using the mknod
command as follows:
1. Retrieve the device information you recorded earlier.
2. Construct the device file name for each device, using the device
information, and enter the file names in your table. Use the following
formula to construct the device file name:
cxtydz
where
x = SCSI bus instance number
y = SCSI target ID
z = LUN
c stands for controller, t stands for target ID, and d stands for device.
The numbers x, y, and z are hexadecimal.
38HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX
3. Construct the minor number for each device, using the device
information, and enter the file names in your table. Use the following
formula to construct the minor number:
0xxxyz00
where
xx = SCSI bus instance number
y = SCSI target ID
z = LUN
4. Display the driver inform ation for the system using the lsdev command.
Example
Example
# lsdev
Character Block Driver Class
: : : :
188 31 sdisk disk
#
5. Enter the major numbers f or the device drivers into the t able. Y ou should
now have all required de vice and driver information in the table.
6. Create the device files for all disk array devices (SCSI disk and
multiplatform devices) using the mknod command. Create the
block-type device f iles in the /dev/dsk directory an d the charac ter-t ype
device files in the /dev/rdsk directory.
# cd /dev/dskGo to /dev/dsk directory.
# mknod /dev/dsk/c2t6d0 b 31 0x026000
Create block-type file.
File name, b=block-type, 31=major #, 0x026000= minor
#
40HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX
Creating the physical volumes
A physical volume must be created for each new SCSI disk device.
To c reate the physical volum es:
1. Use the pvcreate command to create the physical volumes with the
character-type device file as the argument. Specify the /dev/rdsk
directory.
Example
# pvcreate /dev/rdsk/c6t0d0
Physical volume "/dev/rdsk/c6t0d0" has been
successfully created.
:
# pvcreate /dev/rdsk/c6t0d1
Physical volume "/dev/rdsk/c6t0d1" has been
successfully created.
Do not use the –f option with the pvcreate command. This option
creates a new physical volume forcibly and overwrites the existing
volume. If you accidentally enter the character-type device file for an
existing volume, you will lose the data on that volume.
2. Repeat step 1 for each OPEN-x device on the disk array.
Installation41
Creating new volume groups
You must create new volume groups for the new physical volumes. If
desired, you can also add any of the volumes on the disk array to existing
volume groups using the vgextend command. The physical volumes that
make up one volume group can be located either in the same disk array or
in other disk arrays.
To allow more volume groups to be created, use SAM to modify the
HP-UX system kernel configuration. See
To create volume groups:
1. Use the vgdisplay command to display the existing volume groups.
2. Choose a unique name for the new volume group (for exa mple : vg06) .
3. Create the directory for the new volume group.
appendix C (page 73) for details.
Example
Example
# mkdir /dev/vg06
4. Use the ls –l command (with the output piped to grep to display only
the files containing “group”) to display the minor numbers for the
existing group files.
# ls –1 /dev/vg* | grep group
crw-rw-rw 1 root root 64 0x0000000 Nov7 08:13
group
:
5. Choose a unique minor number for th e new group file in sequential order
(for example, when exi sting volume groups are vg00-vg05 and the next
group name is vg06, use minor number 06 for the vg06 group file).
The minor numbers are hexadecimal (for example, the 10th minor
number is 0x0a0000).
6. Use mknod to create the group file for the new directory. Specify the
volume group name, major number, and minor number. The major
number for all group files is 64.
42HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX
ExampleIn this exampl e: gro up name = vg06, maj or number of group file = 64,
minor number of existing group file = 06 (which must be unique for
each volume group), and c = character.
# mknod /dev/vg06/group c 64 0x060000
:
7. Create the volume group.
To allocate more than one physical volume to the new volume group,
add the other physical volumes, separated by a space.
Example
# vgcreate /dev/vg06 /dev/dsk/c6t0d0
Volume group "/dev/vg06" has been successfully
created.
Volume group configuration for /dev/vg06 has been
saved in /etc/1vmconf/vg06.conf.
For Logical Unit Size Expansion (LUSE) volumes that contain more
than 17 OPEN-8/9 LDEVs or more than 7043 MB
(OPEN-8/9*n-CVS), use the –s and –e physical extent (PE)
parameters of t h e vgcreate command. See
“LUSE device parameters”
(page 68).
If you need to dele te a volume grou p, use the vgremove command (for
example, vgremove /dev/vgnn). If the vgremove command does not
work because the volume group is not active, use the vgexport
command (for example, vgexport /dev/vgnn).
8. Use the vgdisplay command to verify that the new directory was
created.
9. Use vgdisplay –v to verify that t he volume group was created correctly.
The –v option displays the detailed volume group information.
Installation43
Example
# vgdisplay –v /dev/vg06
- - - Volume groups - - -
VG Name/dev/vg06
VG Write Accessread/write
VG Statusavailable
Max LV255
Cur LV0
Open LV0
Max PV16
Cur PV1
Act PV1
Max PE per PV1016
VGDA2
PE Size (Mbytes)4
Total PE586
Alloc PE0
Free PE586
Total PVG0
44HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX
Creating logical volumes
Use these commands for logical volume configuration:
lvremoveDeletes a logical volume.
lvextendIncreases the size of an existing logical volume.
lvreduceDecreases the size of an existing logical volume.
CautionData within the file system can be lost after execution of lvreduce.
Any file system attached to the logical volume must be
unmounted before executing the lvremove command.
Example:
Example:
Any file system attached to the logical volume must be
unmounted before executing the lvreduce command.
Example:
lvremove /dev/vgnn/lvolx
lvextend –L size /dev/vgnn/lvolx
lvreduce –L size /dev/vgnn/lvolx
Create logical volumes after you create volume groups. A logical volume
must be created for each new SCSI disk device
To c reate logical volumes:
1. Use the lvcreate –L command to create a logical volume.
Specify the volume size (in megabytes) and the volume group for the
new logical volume. HP-UX assigns the logical volume numbers
automatically (lvol1, lvol2, lvol3). Use the following capacity values
for the size parameter:
To calculate S1 for CVS, LUSE, and CVS LUSE volumes, first use
the vgdisplay command to display the physical extent size (PE Size)
and usable number of physical extents (Free PE) for the volume.
Calculate the maximum size value (in MB) as follows:
S1 = (PE Size) × (Free PE)
Logical volumes can span multiple physical volumes. Use the
diskinfo command for extended LUNs.
ExampleCreate an OPEN-3 logical volume the size of the physical volume,
using 2344 for the size parameter. An OPEN-9 volume uses 7040 for
the size parameter to create a logical volume the size of the physical
volume.
# lvcreate –L 2344 /dev/vg06
Logical volume "/dev/vg06/lvol1" has been
successfully created with character device
"/dev/vg06/rlvol1".
Logical volume "/dev/vg06/lvol1" has been
successfully extended.
Volume Group configuration for /dev/vg06 has been
saved in /etc/1vmconf/vg06.cof.
2. Use the lvdisplay command to verify that the logical volume was
created correctly.
46HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX
Example
# lvdisplay /dev/vg06/lvol1
- - - Logical volume - - LV Name /dev/vg06/lvol1
VG Name /dev/vg06
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 2344
Current LE 586
Allocated PE 586
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
3. Repeat steps 1 and 2 for each logical volume to be created.
You can create only one logical volume at a time. However, you can
verify multiple logical volumes at a time.
Creating the file systems
Create the file system for each new logical volume on the disk array. The
default file system types are:
• HP-UX OS version 10.20 = hfs or vxfs, depending on entry in the
/etc/defaults/fs file
• HP-UX OS version 11.0 = vxfs
• HP-UX OS version 11.i = vxfs
To create file systems:
1. Use the newfs command to create the file system using the logical
volume as the argument.
Installation47
Example
# newfs /dev/vg06/rlvol1
newfs: /etc/default/fs is used for determining the
file system type
mkfs (hfs): Warning -272 sectors in the last
cylinder are not allocated.
mkfs (hfs): /dev/vg06/rlvol1 - 2400256 sectors in
3847 cylinders of 16 tracks, 2547.9MB in 241 cyl
groups (16 c/g, 10.22Mb/g, 1600 ig/g)
newfs: / etc/default/fs is used for determining the
file system type
mkfs (hfs): ...
:
7188496, 7198520, 7208544
#
# newfs -F vxfs /dev/vg06/rlvol1Specify file system type
:
# newfs -F hfs /dev/vg06/rlvol2
2. Repeat step 1 for each logical volume on the disk array.
48HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX
Setting the I/O timeout parameter
Set the I/O timeout value for each disk device to 30 seconds.
To change the I/O timeout parameter:
1. Verify the current I/O timeout value using the pvdisplay command:
Example
Example
# pvdisplay /dev/dsk/c0t6d0
This causes current values to be displayed:
--- Physical volumes --PV Name /dev/dsk/c0t6d0
VG Name /dev/vg06
PV Status available
Allocatable yes
VGDA 2
Cur LV 1
PE Size (Mbytes) 4
Total PE 586
Free PE 0
Allocated PE 586 [OPEN-9]
Stale PE 0
IO Timeout (Seconds) default [I/O timeout value]
2. If the I/O timeout value is not 30, change the value to 30 using the
pvchange -t command:
# pvchange -t 30 /dev/dsk/c0t6d0
This result is displayed:
Physical volume "/dev/dsk/c0t6d0" has been
successfully changed.
Volume Group configuration for /dev/vg06 has been
saved in /etc/lvmconf/vg06.cof
3. V eri fy that the new I/O timeou t value is 30 seconds using the pvdisplay
command:
Example
# pvdisplay /dev/dsk/c0t6d0
Current values are now displ ayed, confirming that the new I/O timeout
value is 30 seconds:
Installation49
--- Physical volumes --PV Name /dev/dsk/c0t6d0
VG Name /dev/vg06
PV Status available
:
Stale PE 0
IO Timeout (Seconds) 30 [New I/O timeout value]
4. Repeat the above steps for each new di sk that is connected to the system.
Creating the mount directories
Create a mount directory for each logical volume. Choose a unique name
for each mount directory that identifies the logical volume.
ExampleThe following example shows the root directory as the location for the
mount directories.
To create a mount directory for each logical volume:
1. Use mkdir with the new mount directory na me as the argument to create
the mount directory.
# mkdir /AHPMD-LU00
2. Use the ls –x command to verify the new mount directory.
# ls -x
AHPMD-LU00 bin dev device etc export
floppy home hstsboof kadb kernel lib
3. Repeat steps 1 and 2 for each logical volume on the di sk array.
50HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX
Mounting and verifying the file systems
After the mount directories have been created, mount and verify the file
system for each logical volume.
To mount and verify the file systems:
1. Use mount to mount the file system for the volume.
Example
Example
Example
# mount /dev/vg06/lvol1 /AHPMD-LU00
2. Repeat step 1 for each logical volume on the disk array.
If you need to unmount a file system, use the unmount command.
3. Use the bdf command to verify that the file systems are correct. The
capacity is listed under Kbytes.
4. As a final verification, perform some basic UNIX operations (for
example file creation, cop yin g, and delet ion) on ea ch logic al device to
make sure that the devices on the disk array are fully operational.
#cd /AHPMD-LU00
#cp /bin/vi /AHPMD-LU00/vi.back1
#ls -l
drwxr-xr-t 2 root root 8192 Mar 15
11:35 lost+found
-rwxr-xr-x 1 root sys 217088 Mar 15
11:41 vi.back1
#cp vi.back1 vi.back2
#ls -l
Installation51
drwxr-xr-t 2 root root 8192 Mar 15
11:35 lost+found
-rwxr-xr-x 1 root sys 217088 Mar 15
11:41 vi.back1
-rwxr-xr-x 1 root sys 217088 Mar 15
11:52 vi.back2
Setting and verifying the auto-mount parameters
Set up and verify the auto-mount parameters for each new volume. The
/etc/checklist file (which can also be cal l ed the /etc/fstab file) contains the
auto-mount parameters for the logical volumes.
To set up and verify the auto-mount parameters:
1. Edit the /etc/checklist (/etc/fstab) file to add a line for each
OPEN-x device on the disk arra y . This example an d the following tabl e
show the auto-mount parameters.
52HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX
Parameter NameEnter
P1
P2
Device to mountBlock-type device file name
Mount pointMount directory name
File systemType of file system (for example,
P3
hfs, vxfs)
Mount options“defaults” or other appropriate
P4
P5
P6
P7
Enhance0
File system check
(fsck pass)
CommentsComment statement
mount options
Order for performing f ile system
checks
2. Reboot the system.
3. Use the bdf command to verify the file system again.
Installation53
54HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX
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
page 59.
“Calling the HP support center” on
2
Troubleshooting55
Error conditions
Depending on your system configuration, you may be able to view error
messages 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 ConditionRecommended Action
The logical devices are not
recognized by the host.
The host does not reboot
properly after hard shut down.
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 in stall t wo
devices with the same ID on the same bus.
Recheck the buses for new devices.
Verify that LUSE devices are n ot int ermixed wit h normal LUNs o n the
same port.
Verify that the maximum number of LUSE devices per port has not
been exceeded.
Verify that the disk a rray host mode is set correctly.
If you power off t he host without executing t he shutdown proc ess, 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.
56HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX
Error ConditionRecommended Action
Physical volumes cannot be
created (pvcreate).
Volume group cannot be
created (vgcreate).
Logical volumes cannot be
created (lvcreate).
Verify that the disk array logical devices are correctly formatted.
Verify that the character-t ype device file exists.
Verify that the correct character-type device file name is used with
pvcreate (for example, /dev/rdsk/...).
Verify that the directory for the new volume group exists.
Verify that the control file exists.
Verify that the correct major number (64) and minor number are used
with mknod.
Verify that the block-type device file exists and is entered correctly
with vgcreate.
Verify that the physical volume is not already allocated to another
volume group.
Verify that the volume capacity for OPEN-x volumes is not greater
than the maximum capacity allowed. See the Device Emulations
Appendix.
Verify that the capacity of the volume group is not less than the total
capacity of the partitioned logical volume.
The file system cannot be
created (newfs command).
A file system is not mounted
Verify that the character-type device file is entered correctly with
newfs (for example, /dev/vg01/r/vo/x).
Verify that the host was restarted correctly.
after rebooting.
Verify that the file system attributes are correct.
Verify that the auto-mount inform ation in the /etc/checklist
(/etc/fstab) file is correct.
Troubleshooting57
Error ConditionRecommended Action
The disk array performs a
self reboot because the disk
array was busy or it l ogged a
panic message.
The disk array responds “Not
Ready” or the disk array has
displayed “Not Ready” and
timed out.
The host detects a parity
error.
The host hangs or devi ces are
declared and the host hangs.
Reboot the host.
Contact HP.
Check the HBA and make sure it was installed properly.
Reboot the host.
Make sure there are no duplicate disk array TIDs and that disk array
TIDs do not conflict with any host TIDs.
58HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX
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.
The HP web site lists telephone numbers for worldwide technical support
at:
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 message s
. From this web site, select your country.
• Operating system type and revision level
• Detailed, specific questions
Troubleshooting59
60HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX
A
Worksheets
Worksheets61
Path worksheet
Bus
no.
Instance
(XX)
Disk
H/W pathDriver Device
no.
type
TID
(Y)
LUN
(Z)
Device
file
Minor #
0xXXYZ00
Major #
for char.
files
Major #
for block
files
62HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX
B
Disk array device emulations
This appendix provides infor mation about support ed emulations and devi ce
type specifications. Some parameters may not be relevant to your array.
Consult your HP representative for information about supported
configurations for your system.
Note 1:The availa bility of a di sk type depends on the d i sk array.
Note 2:The devices are defined to the host as SCSI disk devices, even though the
interface is Fibre Channe l.
Note 3:The device capacity can someti mes be changed by the BIOS or host ad apter
board. This may make actual cap acity dif fer ent fr om that l isted in the t able.
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 1: 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 2: 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 value should be rounded up to the next integer):
OPEN-3/8/9/E: The number of cylinders for a CVS volume =
# of cylinders = ↑ (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 i nteger) =
53 cylinders
OPEN-V: The number of cylinders for a CVS volume =
# of cylinders = ↑ (capacity (MB) specified by user) × 16/15 ↑
Example: For an OPEN-V CVS volume with capacity = 49 MB:
# of cylinders = ↑49 × 16/15↑ = ↑52.26↑ (rounded up t o n ext i nteger) = 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
66HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX
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 cap aci ty = 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. The capacity of an OPEN-V CVS volume can be
specified in MB or number of cylinders. You set the volume size using the
Remote Web Console, Command View or Command View Advanced
Edition soft ware.
Disk array device emulations67
LUSE device parameters
Device type
Physical
extent
size (PE)
Max
physical
extent size
(MPE)
OPEN-K/3/8/9/E
OPEN-3/K*n (n= 2 to 36 )
OPEN-3/K-CVS
OPEN-3/K*n-CVS (n = 2 to 36)
OPEN-8/9*nn = 2 to 17defaultdefault
n = 18815845
n = 19816725
n = 20817606
n = 21818486
n = 22819366
n = 23820247
n = 24821127
n = 25822007
n = 26822888
n = 27823768
n = 28824648
n = 29825529
n = 30826409
n = 31827289
defaultdefault
n = 32828170
n = 33829050
n = 34829930
n = 35830810
n = 36831691
68HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX
Max
Physical
extent
Device type
OPEN-E*nn = 2 to 9defaultdefault
n = 10817366
n = 11819102
n = 12820839
n = 13822576
n = 14824312
n = 15826049
n = 16827786
n = 17829522
n = 18831259
n = 19832995
n = 20834732
n = 21836469
n = 22838205
size (PE)
physical
extent size
(MPE)
n = 23839942
n = 24841679
n = 25843415
n = 26845152
n = 27846889
n = 28848625
n = 29850362
n = 30852098
n = 31853835
n = 32855572
Disk array device emulations69
Max
Physical
extent
Device type
n = 33857308
n = 34859045
n = 35860782
n = 36862518
OPEN-L*nn = 2 to 3defaultdefault
size (PE)
physical
extent size
(MPE)
OPEN-8/9/E-CVS
OPEN-V
OPEN-8/9/E*n-CVS
OPEN-V*n
(n = 2 to 36)
N1 = [ VCS volume capacity (in MB) from Remote Console PC ] × n
N2 = ↑ N1 / PE ↑ (↑ means round up to next integer)
Example: CVS vo lume capacity is 6000 MB for OPEN-9*22-CVS volume:
N1 = 6000 ×22 = 132000
N2 = ↑ 132000/8 ↑ = 16500
70 to 119731(MB) × N18default
119732 to (MB) × N18N2
defaultdefault
70HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX
SCSI TID map for Fibre Channel adapters
When an arbitrated loop (AL) is established or reestablished, the port
addresses are assigned automatically to prevent duplicate TIDs. With the
SCSI over Fibre Channel protocol (FCP), there is no longer a need for
target IDs in the traditional se nse.
SCSI is a bus-oriented protocol requiring each device to have a unique
address since all commands go to all devices. For Fibre Channel, the
AL-PA is used instead of the TID to direct packets to the desired
destination.
Unlike traditional SCSI, when control of the loop is acquired, a
point-to-point connection is established from initiator to target. To enable
transparent use of FCP, the operating system maps a TID to each AL-PA.
The host maps SCSI protocol to Fibre Channel protocol and detects and
accesses Fibre Channel-connected devices using device files
(/dev/dsk/c*t*d* and /dev/rdsk/c*t*d*) in the same way as for
SCSI-connected devices. The device files for Fibre Channel-connected
devices are configured in a different way from SCSI-connected devices,
because Fibre Channel supports 126 addresses per path while SCSI
supports 16 TIDs per path.
The following table identifies the fixed mappings between the TID (drive)
values assigned by the operating system and the Fibre Channel native
addresses (AL_PA/SEL_ID) for Fibre Channel adapt ers. The controller
number (the dks value in /dev/dsk/dks*d*l*s*) depends on the server
configuration, and a different value is assigned per each column.
Disk array device emulations71
The mapping cannot be done when these conditions exist:
• disk array devices and other types of devices are connected in the
same loop
• information for unused devices remains in the server system
• multiple ports participate in the same arbitrated loop
72HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX
C
Reference information for SAM
The HP System Administrator Manager (SAM) is used to perform HP-UX
system administration functions, including:
• setting up users and groups
• configuring the disks and file systems
• performing auditing and security activities
• editing the system kernel configuration
This appendix provides instructions for:
• using SAM to configure the disk devices
• using SAM to set the maximum number of volume groups
Reference information for SAM73
Configuring the devices using SAM
The SAM Areas window displays the system administration functions and
allows you to select the desired function. The Disks and File Systems
function allows you to configure new disk devices for LVM operations.
To configure the newly installed SCSI disk devices:
1. Select Disks and File Systems, then select Disk Devices.
74HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX
2. V eri fy that the n ew disk array device s are displayed i n the Disk Devices
window.
3. Select the device to confi gure, select the Actions menu, select Add, and
then select Using the Logical Volume Manager.
4. In the Add a Disk Using LVM window, select Create... or Extend a Volume Group.
5. In the Create a Volume Group windo w, enter the name of the new or
existing volume group to assign the new device to, and then click OK
twice. The Add a Disk Using LVM window now displays the volume
group name.
6. Select Add New Logical Volume to open the Create New Logical Volumes window.
7. In the Create New Logical Volumes window, enter the name, size in
megabytes, and mount directory for the new logical volume. Select
Add, and then click OK twice.
8. Repeat steps 3 through 7 for each new disk device on the disk array.
Reference information for SAM75
Setting the maximum number of volume groups
using SAM
The HP-UX kernel specifies the maximum number of volume groups that
can be created. The default is 10. You may need to change this number to
accommodate new devices on the disk array. To change this number, use
the Kernel Configuration function.
To change the maximum number of volume groups:
1. Select the Kernel Configuration f unction, then select Configurable
Parameters.
2. In the Configurable Parameters window, select the maxvgs
parameter, select the Actions menu, and then select Modify Configurable Parameter.
3. In the Modify Configurable Parameter window, enter the desired
maximum number of volume groups in the Formula/Value field, and
then click OK.
4. In the Configurable Parameters window, make sure that none of the
parameters are selected. Then select the Actions menu, and select
Create New Kernel.
5. When the configuration window opens, click Yes to create the new
kernel (or click No to return to the Configurable Parameters window .)
6. When the Reboot the System window opens, click OK to move the
new kernel into place and reboot the system.
76HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX
Glossary
ALArbitrated loop.
AL-PAArbitrated loop physical address.
array groupA group of 4 or 8 physical hard disk drive s (HDDs) inst al le d in an XP disk
array and assigned a common RAID level. RAID1 array groups are made
up of 4 HDDs (2D+2D). A RAID1 group is two 4 HDD array groups
concatenated togeth er (4D+ 4D). RAID 5 array g roups a re made up of 4 or 8
HDDs, depending on whether they are RAID5 3D+1P or RAID5 7D+1P,
respectively. All RAID6 array groups are made up of 8 HDDs (6D+2P).
BCHP StorageWorks Business Copy XP. BC lets you maint ain u p to ni ne lo cal
copies of logical volumes on the disk array.
CAHP StorageWorks Continuous Access XP. CA lets you create and maintain
duplicate copies of local logical volumes on a remote disk array.
Command View
(CVXP)
Command View XP
Advanced Edition
(CVXP AE)
command deviceA volume on the disk array that accepts Continuous Acc ess or Business Copy
CUControl Unit. Contains LDEVs and is approximately equivalent to SCSI
Glossary77
HP StorageW o rks Command V iew XP, a software product for managing XP
arrays. Command V iew runs on a W indows-based management workstati on.
HP StorageWorks Command View XP Advanced Edition, installs on the
user-provided Device Manager server and provides a browser-based
platform from which you can manage the XP family of disk arrays—even
globally distributed arrays.
control operations which are then executed by the disk array.
Target ID.
CVSCustom 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
(disk controller unit)
DKU
The array cabinet that houses the channel adapters and service processor
(SVP).
The array cabinets that house the disk array physical disks.
(disk cabinet unit)
emulation modesThe logical devices (LDEVs) a ssociated with ea ch RAID group are as signed
an emulation mode that mak es the m operat e lik e OPEN syst em disk drives .
The emulation mode determines the size of an LDEV:
failoverDisconnecting a failed unit or path and replacing it with an alternative unit
or path in order to continue functioning.
FCFibre Channel.
FC-ALFibre Channel arbitrated loop.
FCPFibre Channel Protocol.
GBGigabytes
HBAHost bus adapter.
host modeEach port can be configured for a particular host type. These modes are
represented as two- digit hexadecimal number s. For example, host mode 08
represents an HP-UX host.
78HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX
LDEVLogical device. An LDEV is creat ed 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 o ften used synonymously wi th the t erm
volume.
LUNLogical 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 emulatio n mode of the LDEV and the number of LDEVs
associated with the LUN. For example, a LUN associated with two OPEN3 LDEVs has a size of 4,693 MB.
LUSEA LUN is normally associated with o nly a s ingle L DEV. The LUSE f eature
allows a LUN to be a ssociated with 1 to 36 LDEVs. Essentially , LUSE makes
it possible for applica tions to access a single large poo l of storage. The LUSE
feature is available when the HP StorageW orks LUN Configuration Manager
product is installed.
OFCOpen Fibre Control.
OPEN-xA general term describing any one of the supported OPEN emulation
modes (for example, OPEN-L).
OSO perating system.
PAPhysical address.
path“Path” and “LUN” are synonymous. Paths are created by associating a por t,
a target, and a LUN ID with one or more LDEVs.
portA 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 Fib re Channel (FC) port s 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.
RAIDRedundant array of independent disks.
remote console PCThe PC running HP StorageWorks Remote Control XP.
Glossary79
Remote Control (RC)HP StorageWorks Remote Control XP. A software product used for
managing XP arrays.
Remote W eb Console
(RWC)
HP StorageWorks XP Remote Web Console. A browser-based program
installed on the SVP that al lows you to configure an d manage the disk array.
R-SIMRemote service information message.
SCSISmall computer system interface.
SIMService information message.
SNMPSimple Network Management Protocol.
SVPS ervice processor, which is the PC built into the disk controll er. The SVP
provides a direct interface into the disk array. SVP use is reserved for HP
support re presentatives only .
TBTerabyte.
TIDTarget ID.
VolumeOn 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 volumes; one is identified as CU = 00 and LDEV = 00,
and the other as CU = 01 and LDEV = 00; t hey are two unique separate virtual
storage devices within the XP array.
VSCVolume size customization. Synonymous with CVS.
WWNWorld Wide Name. A unique i den ti fi er as si gned to a Fibre Channe l devi ce.
80HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX
Index
A
arbitrated-loop physical address24
authorized resellers8
Auto LUN XP17
Auto Path XP17
auto-mount parameters, setting52
verifying36
logical, not recognized by host56
LUSE device parameters68
recognition32
specifications65
type specificatio ns65
verifying32
directories, mount50
disk array(s)
connecting29
Index81
device types65
features16
installation overview20
not ready message58
operating system versio ns16
requirements16
self reboot58
server support16
storage capacity16
supported7
times out58
documentation
related8
E
emulation(s)
device emulation types18
supported64
error conditions56
F
fabric environment
parameter settings25
port addresses24
zoning27, 28
failover18
Fibre Channel
adapters, SCSI TID map71
connection speed17
parameter settings25
ports, configuring24
supported elements17
topology example25
file system(s)
cannot be created57
for logical volumes 47
mounting51
not mounted after rebooting57
verifying36, 51
G
glossary77
H
HBA(s)
configuring26
installation, verifying31
host
configuration26
doesn’t reboot properly after hard
shutdown
56
hangs up58
logical devices not recognized56
parity error58
host bus adapters, see "HBAs"
host mode, setting21
HP
service representative tasks21
technical support59
HP-UX, supported versions16
I
I/O timeout parameter, setting49
installation
connecting disk array29
HBA, verifying31
HP service representative tasks21
overview20
L
LDEV(s)
designate at least one as a command
device
19
logical volume(s)
auto-mount parameters52
82 HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX
cannot be created57
creating45
file systems47, 51
LUN Configuration and Security Manager
XP
16, 21, 29, 30
LUN(s)
creating29
mapping29
security27
LUSE device parameters68
M
mount directories, creating50
multi-cluster environment27
O
operating system(s)
loading26
LUN securit y for28
multiple, fa bric zoning f or28
supported versions of HP-UX16