HP StorageWorks XP24000, StorageWorks XP20000, StorageWorks XP12000, StorageWorks XP10000, StorageWorks SVS 200 XP Disk Array Configuration Guide for Linux

Page 1
HP StorageWorks
XP Disk Array Configuration Guide for Linux
XP24000, XP20000, XP12000, XP10000, SVS 200
Part number: A5951–96097 Tenth edition: September 2007
Page 2
Legal and notice information
Confidential computer software. Valid license from HP required for possession, use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor's standard commercial license.
The information contained herein is subject to change without notice. The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein.
Microsoft, Windows, Windows XP, and Windows NT are U.S. registered trademarks of Microsoft Corporation.
Page 3
Contents
Preface ................................................................................................ 7
About this guide ......................................................................................................................... 7
Intended audience ...................................................................................................................... 7
Related documentation ................................................................................................................ 7
Document conventions and symbols ............................................................................................... 7
Conventions for storage capacity values ........................................................................................ 8
Graphical interface illustrations ..................................................................................................... 9
HP technical support ................................................................................................................... 9
Subscription service .................................................................................................................... 9
HP websites ............................................................................................................................... 9
Documentation feedback ........................................................................................................... 10
1 Installing and configuring Linux for the XP disk array ............................. 11
Features and requirements ......................................................................................................... 11
Fibre Channel interface ............................................................................................................. 11
Device emulation types .............................................................................................................. 12
Partitions ................................................................................................................................. 12
Failover ................................................................................................................................... 12
SNMP configuration .................................................................................................................. 13
XP RAID Manager command devices .......................................................................................... 13
Installation roadmap ................................................................................................................. 13
Installing and configuring the disk array ...................................................................................... 14
Setting the host mode and host group mode for the disk array ports .......................................... 14
Configuring the Fibre Channel ports ..................................................................................... 15
Fabric and Connection parameter settings ....................................................................... 16
Fibre address .............................................................................................................. 17
Setting the System Option Modes ......................................................................................... 17
Installing and configuring the host ............................................................................................... 17
Installing and configuring the FCAs ..................................................................................... 17
Loading the operating system and software ........................................................................... 17
Clustering and fabric zoning ................................................................................................ 17
Fabric zoning and LUN security for multiple operating systems ................................................. 18
Connecting the disk array .......................................................................................................... 18
Restarting the Linux server ................................................................................................... 19
Verifying new device recognition .......................................................................................... 19
Defining the paths ..............................................................................................................20
Configuring disk array devices ................................................................................................... 21
Partitioning the devices ....................................................................................................... 21
Creating the file systems ...................................................................................................... 21
Creating file systems with ext2 ....................................................................................... 21
Creating the mount directories ............................................................................................. 22
Creating the mount table ..................................................................................................... 22
Verifying file system operation .............................................................................................. 23
XP Disk Array Configuration Guide for Linux 3
Page 4
2 Troubleshooting ............................................................................... 25
Error conditions ........................................................................................................................ 25
Calling the HP support center ..................................................................................................... 26
Contact information ............................................................................................................ 26
Before you call ................................................................................................................... 26
A Path worksheet ................................................................................ 27
Worksheet ............................................................................................................................... 27
B Disk array supported emulations ........................................................ 29
Supported emulations ................................................................................................................ 29
Emulation specifications ............................................................................................................. 30
Glossary ............................................................................................ 33
Index ................................................................................................. 37
4
Page 5
Figures
..SNMP configuration ............................................................................................... 131
..Simple point-to-point fabric topology example ............................................................ 162
..Multi-cluster environment .......................................................................................... 183
XP Disk Array Configuration Guide for Linux 5
Page 6
Tables
..Document conventions ............................................................................................... 71
.. Host group mode (option) ....................................................................................... 152
..Fabric topology settings ........................................................................................... 163
..Fabric zoning and LUN security settings ..................................................................... 184
..Error conditions ...................................................................................................... 255
..Path worksheet ....................................................................................................... 276
..Supported emulations ............................................................................................. 297
..Emulation specifications ........................................................................................... 308
6
Page 7
Preface
About this guide
This guide provides information about:
• Requirements and procedures for connecting an XP disk array or SVS 200 to a host system
• Configuring the disk array for use with the Linux operating system
Intended audience
This guide is intended for system administrators with knowledge of:
• The host hardware
• Linux operating system
• XP disk arrays and/or the SVS 200
Related documentation
The following documents [and websites] provide related information:
• HP StorageWorks XP10000 Disk Array: Owner's Guide
• HP StorageWorks XP12000 Disk Array: Owner's Guide
• HP StorageWorks XP20000 Disk Array: Owner's Guide
• HP StorageWorks XP24000 Disk Array: Owner's Guide
• HP StorageWorks 200 Storage Virtualization System: Owner's Guide
• HP StorageWorks XP LUN Manager User's Guide
• HP StorageWorks SAN Design Reference Guide
• HP StorageWorks XP Command View Advanced Edition Software Device Manager Web Client
User's Guide
You can find these documents from the Manuals page of the HP Business Support Center website:
http://www.hp.com/support/manuals
In the Storage section, click Disk Storage Systems and then select your product.
Document conventions and symbols
Table 1 Document conventions
ElementConvention
Cross-reference links and e-mail addressesBlue text: Table 1
XP Disk Array Configuration Guide for Linux 7
Page 8
ElementConvention
Website addressesBlue, underlined text: http://www.hp.com
Bold text • Keys that are pressed
• Text typed into a GUI element, such as a box
• GUI elements that are clicked or selected, such as menu
and list items, buttons, tabs, and check boxes
Text emphasisItalic text
Monospace text • File and directory names
• System output
• Code
• Commands, their arguments, and argument values
Monospace, italic text • Code variables
• Command variables
Emphasized monospace textMonospace, bold text
CAUTION:
Indicates that failure to follow directions could result in damage to equipment or data.
IMPORTANT:
Provides clarifying information or specific instructions.
NOTE:
Provides additional information.
TIP:
Provides helpful hints and shortcuts.
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
Preface8
Page 9
•
1 TB (terabyte) = 1,0004 bytes
HP XP storage systems use the following values to calculate logical storage capacity values (logical devices):
• 1 KB (kilobyte) = 1,024 bytes
•
1 MB (megabyte) = 1,0242 bytes
•
1 GB (gigabyte) = 1,0243 bytes
•
1 TB (terabyte) = 1,0244 bytes
• 1 block = 512 bytes
Graphical interface illustrations
The GUI illustrations in this guide were created using a Windows computer with the Internet Explorer browser. Actual windows may differ depending on the operating system and browser used. GUI contents also vary with licensed program products, storage system models, and firmware versions.
HP technical support
For worldwide technical support information, see the HP support website:
http://www.hp.com/support
Before contacting HP, collect the following information:
• Product model names and numbers
• Technical support registration number (if applicable)
• Product serial numbers
• Error messages
• Operating system type and revision level
• Detailed questions
Subscription service
HP recommends that you register your product at the Subscriber's Choice for Business website:
http://www.hp.com/go/e-updates
After registering, you will receive e-mail notification of product enhancements, new driver versions, firmware updates, and other product resources.
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
XP Disk Array Configuration Guide for Linux 9
Page 10
Documentation feedback
HP welcomes your feedback.
To make comments and suggestions about product documentation, please send a message to
[email protected]. All submissions become the property of HP.
Preface10
Page 11
1 Installing and configuring Linux for the XP disk array
You and your HP service representative each play a role in installation. Your HP service representative is responsible for installing the disk array and formatting the disk devices. You are responsible for configuring the host server for the new devices with assistance from your HP service representative.
Features and requirements
Ask your HP service representative about the latest supported hardware and software.
The disk array has the following features:
• Storage capacity: The storage capacity for each model is listed below:
XP10000: Up to 240 drives for up to 69.2 TB, 48 FC ports XP12000: Up to 1152 drives for up to 332 TB, 128 FC ports XP20000: Up to 240 drives for up to 69.2 TB, 48 FC ports XP24000: Up to 1152 drives for up to 332 TB, 256 FC ports SVS 200: Up to 127 TB in external storage, 48 FC ports
• Server support: Server supported by HP to run Linux. Consult your HP representative for a list of
supported servers.
• Operating system support: Check with your HP representative for the current OS versions supported
by your XP disk array.
Before installing the disk array, ensure the following requirements are met:
• Fibre Channel Port configuration: Configure each Fibre Channel port on the disk array so it has
a unique Fibre Channel loop ID. (All ports are set to 0 by default at the factory.)
• Linux version: Confirm you are using Red Hat, SuSE, or United Linux.
• Superuser access: Make sure you have superuser (root) login access to the Linux system.
• Fibre Channel Adapter (FCAs): Install FCAs and all utilities and drivers. Refer to the adapter
documentation for installation details
• (Recommended) HP StorageWorks XP Remote Web Console, HP StorageWorks XP Command
View Advanced Edition Software or HP StorageWorks XP Command View with LUN management feature for configuring disk array ports and paths
• (Recommended) HP StorageWorks XP Array Manager
• (Optional) Check with your HP representative for other XP software available for your system.
Fibre Channel interface
The XP family of disk arrays and the SVS 200 support these Fibre Channel elements:
• Connection speeds of 1 Gbps, 2 Gbps, and 4 Gbps
• Short-wave non-OFC (open fiber control) optical interface
XP Disk Array Configuration Guide for Linux 11
Page 12
• Multimode optical cables with SC or LC connectors
• Public or private arbitrated loop (FC-AL) or direct fabric attach
• Fibre Channel switches
Even though the interface is Fibre Channel, this guide uses the term “SCSI disk” because disk array devices are defined to the host as SCSI disks.
Device emulation types
The XP family of disk arrays and the SVS 200 support these device emulation types:
• OPEN-x devices: OPEN-x logical units represent disk devices. Except for OPEN-V, these devices
are based on fixed sizes. OPEN-V is a user-defined size based on a CVS device. Supported emulations include OPEN-3, OPEN-8, OPEN-9, OPEN-E, OPEN-L, and OPEN-V devices.
• LUSE devices (OPEN-x*n): Logical Unit Size Expansion (LUSE) devices combine 2 to 36 OPEN-x
devices to create expanded LDEVs larger than standard OPEN-x disk devices. For example, an OPEN-x LUSE volume created from ten OPEN-x volumes is designated as OPEN-x*10.
• CVS devices (OPEN-x CVS): Volume Size Configuration (VSC) defines custom volumes (CVS) that
are smaller than normal fixed-sized logical disk devices (volumes). OPEN-V is a CVS-based custom disk size that you determine. OPEN-L does not support CVS. Although OPEN-V is a CVS-based device, the product name in the SCSI inquiry string is OPEN-V opposed to the fixed size OPEN-[389E] devices that appear as OPEN-x-CVS.
• LUSE (expanded) CVS devices (OPEN-x*n CVS): LUSE CVS combines CVS devices to create an
expanded device. This is done by first creating CVS custom-sized devices and then using LUSE to combine from 2 to 36 CVS devices. For example, if three OPEN-9 CVS volumes are combined to create an expanded device, this device is designated as OPEN-9*3-CVS. OPEN-V devices are designated as OPEN-V*n (without CVS).
NOTE:
For the SVS 200, and the XP24000/XP20000/XP12000/XP10000 when connected to external storage devices, HP recommends using OPEN-V as the emulation the array makes visible to the host. This allows configuration of external storage LDEVs without losing data. Using any other emulation may cause data loss in the external storage LUNs. For new deployments, OPEN-V should be chosen because some features (such as XP Snapshot or Continuous Access Journal) are only supported with OPEN-V.
Refer to Table 8 on page 30 for detailed information.
Partitions
In a Linux environment, one LUN can be divided into a maximum of four primary partitions (using fdisk) or maximum of one extended partition.
Failover
The disk arrays support many standard software products that provide host, application, or I/O path failover and management.
Installing and configuring Linux for the XP disk array12
Page 13
SNMP configuration
The XP family of disk arrays and the SVS 200 support standard Simple Network Management Protocol (SNMP) for remotely managing arrays. The SNMP agent on the service processor (SVP) performs error-reporting operations requested by the SNMP manager. SNMP properties are usually set from the SVP but they can also be set remotely using XP Remote Web Console, XP Command View (XP arrays only), or XP Command View Advanced Edition Software. Refer to the applicable user's guide for procedures.
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 you must designate at least one LDEV as a command device. This can be done with XP Remote Web Console, XP Command View (XP arrays only), or XP Command View Advanced Edition Software to . Refer to the applicable user guide for information about how to designate a command device.
Installation roadmap
Perform these actions to install and configure the disk array:
1. Installing and configuring the disk array
• Setting the host mode and host group mode
• Configuring the Fibre Channel ports
• Setting the System Option Modes
2. Installing and configuring the host
• Installing and configuring the FCAs
• Loading the operating system and software
• Clustering and fabric zoning
• Fabric zoning and LUN security for multiple operating systems
3. Connecting the disk array
• Restarting the Linux server
• Verifying new device recognition
• Defining the paths
4. Configuring disk array devices
• Partitioning the devices
XP Disk Array Configuration Guide for Linux 13
Page 14
• Creating the file systems
• Creating the mount directories
• Creating the mount table
• Verifying file system operation
Installing and configuring the disk array
The HP service representative performs these tasks:
• Assembling hardware and installing software
• Loading the microcode updates
• Installing and formatting devices
After these tasks are finished, you will use XP Remote Web Console, XP Command View (XP arrays only), XP Command View Advanced Edition Software, or XP Array Manager to complete the remaining tasks listed below. If you do not have these programs, your HP service representative can perform these tasks for you.
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 XP Remote Web Console (shown), XP Command View (XP arrays only), or XP Command View Advanced Edition Software. If these are not available, the HP service representative can set the host mode using the SVP. The host mode setting for Linux is 00. Test.
CAUTION:
The correct host mode must be set for all new installations (newly connected ports) to Linux hosts. Do not select a mode other than 00 for Linux. Changing a host mode after the host has been connected is disruptive and requires the server to be rebooted.
When a new host group is added, additional host group modes (options) may be configured. The storage administrator must verify if an additional host group mode is required for the host group.
Installing and configuring Linux for the XP disk array14
Page 15
The following host group mode (option) is available for :
Table 2 Host group mode (option)
Group Mode
CAUTION:
Changing host group modes for ports where servers are already installed and configured is disruptive and requires the server to be rebooted.
Configuring the Fibre Channel ports
Configure the disk array Fibre Channel ports by using XP Remote Web Console (shown), XP Command View (XP arrays only), or XP Command View Advanced Edition Software. 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.
CommentsDefaultFunctionHost
Previously MODE249InactiveReporting Unit Attention when adding LUN7
XP Disk Array Configuration Guide for Linux 15
Page 16
Fabric and Connection parameter settings
Set each array port to FABRIC ON or OFF with connections of POINT-TO-POINT or FC-AL as shown in the following figures and table. For detailed topology information, refer to the HP StorageWorks SAN Design Reference Guide at
http://www.hp.com/go/sandesign.
Figure 2 Simple point-to-point fabric topology example
Table 3 Fabric topology settings
ProvidesConnection parameterFabric parameter
FC-ALOFF
Installing and configuring Linux for the XP disk array16
Not supportedFC-ALON
FL-port (private arbitrated loop; direct connect without a SAN)
N-port (SAN fabric port)Point-to-PointON
Not supportedPoint-to-PointOFF
Page 17
Fibre address
In fabric environments, the port addresses are assigned automatically. In arbitrated loop environments, set the port addresses by selecting a unique arbitrated loop physical address (AL-PA) or loop ID for each port. For specific values, refer to the HP StorageWorks XP LUN Manager User's Guide applicable to your array.
Setting the System Option Modes
The HP service representative sets the System Option Mode(s) based on the operating system and software configuration of the host. Notify your HP representative if you install storage agnostic software (such as backup or cluster software) that may require specific settings.
Installing and configuring the host
This section explains how to install and configure Fibre Channel adapter (FCAs) that connect the host to the disk array.
Installing and configuring the FCAs
Install and configure the Fibre Channel adapters using the FCA manufacturer's instructions.
On Linux systems, the disk array only supports QLogic and Emulex adapters. Contact your HP service representative for the latest information about supported FCAs.
Loading the operating system 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 FCA manufacturer.
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.
XP Disk Array Configuration Guide for Linux 17
Page 18
Figure 3 Multi-cluster environment
Within the Storage Area Network (SAN), the clusters may be homogeneous (all the same operating system) or they may be heterogeneous (mixed operating systems). How you configure LUN security and fabric zoning depends on the operating system mix and the SAN configuration.
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:
• Storage port zones may overlap if more than one operating system needs to share an array port.
• Heterogeneous operating systems may share an XP array port if you use Secure Manager and set
the appropriate host group and mode. All others must connect to a dedicated XP array port.
• Use Secure Manager for LUN isolation when multiple hosts connect through a shared array port.
Secure Manager provides LUN security by allowing you to restrict which LUNs each host can access.
Table 4 Fabric zoning and LUN security settings
LUN SecurityFabric ZoningOS MixEnvironment
Standalone SAN (non-clustered)
Clustered SAN Multi-Cluster SAN
present in the SAN)
type present in the SAN)
Connecting the disk array
The HP service representative connects the disk array to the host by:
• Verifying operational status of the disk array channel adapters, LDEVs, and paths.
• Connecting the Fibre Channel cables between the disk array and the fabric switch or host.
• Verifying the ready status of the disk array and peripherals.
Installing and configuring Linux for the XP disk array18
Not requiredhomogeneous (a single OS type
Requiredheterogeneous (more than one OS
Must be used when multiple hosts or cluster nodes connect through a shared port
Page 19
Restarting the Linux server
To recognize the new device(s), restart the Linux server as follows:
1. Power on the display of the Linux server.
2. Power on all devices other than the Linux server.
3. Confirm ready status of all devices.
4. Power on the Linux server.
Verifying new device recognition
1. Verify that the FCA driver is installed using the lsmod command.
2. View the device information in the /proc/scsi/scsi file.
Example
#cat /proc/scsi/scsiAttached devices: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: HP Model: OPEN-9 Rev: 2105 Type: Direct-Access ANSI SCSI revision: 02 Host: scsi0 Channel: 00 Id: 00 Lun: 01 Vendor: HP Model: OPEN-9 Rev: 2105 Type: Direct-Access ANSI SCSI revision: 02 Host: scsi0 Channel: 00 Id: 00 Lun: 02 Vendor: HP Model: OPEN-9 Rev: 2105 Type: Direct-Access ANSI SCSI revision: 02 Host: scsi0 Channel: 00 Id: 00 Lun: 03 Vendor: HP Model: OPEN-9 Rev: 2105 Type: Direct-Access ANSI SCSI revision: 02
3. Verify that the system recognizes the disk array partitions by viewing the /proc/partitions
file.
Example
#cat /proc/partitions major minor #blocks name rio rmerge rsect ... 8 0 7211520 sda 1 3 8 ... 8 1 7181087 sda1 0 0 0 ... 8 2 28272 sda2 0 0 0 ... 8 16 7211520 sdb 1 3 8 ... 8 17 7181087 sdb1 0 0 0 ... 8 18 28272 sdb2 0 0 0 ... 8 32 7211520 sdc 1 3 8 ... 8 33 7181087 sdc1 0 0 0 ... 8 34 28272 sdc2 0 0 0 ... 8 48 7211520 sdd 1 3 8 ... 8 49 7181087 sdd1 0 0 0 ... 8 50 28272 sdd2 0 0 0 ... 8 64 7211520 sde 1 3 8 ... 8 65 7181087 sde1 0 0 0 ... 8 66 28272 sde2 0 0 0 ... 8 80 7211520 sdf 1 3 8 ... 8 81 7173022 sdf1 0 0 0 ... 8 82 32130 sdf2 0 0 0 ...
XP Disk Array Configuration Guide for Linux 19
Page 20
8 96 7211520 sdg 1 3 8 ... 8 97 7173022 sdg1 0 0 0 ... 104 0 17776560 cciss/c0d0 168200 352184 4166792... 104 1 257024 cciss/c0d0p1 1 3 8 ... 104 2 1048560 cciss/c0d0p2 2 3 16 ... 104 3 16470960 cciss/c0d0p3 168193 352166 4166736...
In the above example, the “sd” devices represent the XP disk partitions and the “cciss” devices represent the internal hard drive partitions on an HP Proliant system.
Defining the paths
Use XP Remote Web Console (shown), XP Command View (XP arrays only), or XP Command View Advanced Edition Software to define paths (LUNs) between hosts and volumes in the disk array.
This process is also called “LUN mapping.” In XP Remote Web Console and XP Command View, LUN mapping includes:
• Configuring ports
• Enabling LUN security on the ports
• Creating host groups
• Assigning Fibre Channel adapter WWNs to host groups
• Mapping volumes (LDEVs) to host groups (by assigning LUNs)
In XP Command View Advanced Edition Software, LUN mapping includes:
• Configuring ports
• Creating storage groups
• Mapping volumes and WWN/host access permissions to the storage groups
For details see HP StorageWorks XP LUN Manager User's Guide or HP StorageWorks XP Command View Advanced Edition Software Device Manager Web Client User's Guide. Note the LUNs and their ports, WWNs, nicknames, and LDEVs for later use in verifying host and device configuration.
Installing and configuring Linux for the XP disk array20
Page 21
Configuring disk array devices
Disks in the disk array are configured using the same procedure for configuring any new disk on the host. This includes the following procedures:
1. Partitioning the devices
2. Creating the file systems
3. Creating the mount directories
4. Creating the mount table
5. Verifying file system operation
Creating scripts to configure all devices at once may save you considerable time.
Partitioning the devices
After the device parameters have been set, the next step is to set the partitions. To partition the devices:
1. Enter fdisk/dev/device_name.
Example
# fdisk/dev/sda
2. Select p to display the present partitions.
3. Select n to make a new partition. You can make up to four primary partitions or you can make
one extended partition. The extended partition can be divided into a maximum of 11 logical partitions, which can be assigned partition numbers from 5 to 15.
4. Select w to write the partition information to disk and complete the fdisk command.
5. Other commands that you might want to use include:
d to remove partitions
q to stop a change
6. Repeat the above steps for each device.
Creating the file systems
The supported file system for Linux is ext2.
Creating file systems with ext2
1. Enter mkfs –t ext2 /dev/device_name.
Example
# mkfs –t ext2 /dev/sdd
XP Disk Array Configuration Guide for Linux 21
Page 22
2. Repeat step 1 for each device on the disk array.
Creating the mount directories
Create mount directories using the mkdir command. Choose names for the mount directories which identify both the logical volume and partition.
1. Enter mkdir /mnt/mount_point.
Example
# mkdir /mnt/A5700F_LU00
2. Repeat step 1 for each device on the disk array.
Creating the mount table
Add the new devices to the /etc/fstab file to specify the automount parameters for each device.
1. Edit the /etc/fstab file to add one line for each device to be automounted.
Each line of the file contains: (A) device name, (B) mount point, (C) file system type (“ext2”), (D) mount options (“defaults”), (E) enhance parameter (“1”), and (F) fsck pass 2.
Example
/dev/sdb /A5700F_ID08 ext2 defaults 1 2 /dev/sdc /A5700F_ID09 ext2 defaults 1 2 /dev/sdd /A5700F_ID10 ext2 defaults 1 2 A B C D E F
Make an entry for each device. After all the entries are made, save the file and exit the editor.
Installing and configuring Linux for the XP disk array22
Page 23
2. Reboot the system.
3. Display the mounted devices using the df –h command and verify that the devices were
automounted.
Example
# df -h Filesystem Size Used Avail Used% Mounted on /dev/sda1 1.8G 890M 866M 51% / /dev/sdb1 1.9G 1.0G 803M 57% /usr /dev/sdc1 2.2G 13k 2.1G 0% /A5700F-LU00 #
Verifying file system operation
Verify file system operation by copying a file to each device.
XP Disk Array Configuration Guide for Linux 23
Page 24
Installing and configuring Linux for the XP disk array24
Page 25
2 Troubleshooting
This section provides resolutions for various error conditions you may encounter.
If you are unable to resolve an error condition, ask your HP support representative for assistance. See “Calling the HP support center” on page 26.
Error conditions
Depending on your system configuration, you may be able to view error messages (R-SIMS) as follows:
• In XP Remote Web Console (Status tab)
• In XP Command View Advanced Edition Software (Alerts window)
• In XP Command View (Event History or Event Notification windows) (XP arrays only)
Table 5 Error conditions
recognized by the host.
Recommended actionError condition
Verify the following:The logical devices are not
• 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. Recheck the buses for new devices.
• LUSE devices are not intermixed with normal LUNs on the same
port.
• The maximum number of LUSE devices per port has not been
exceeded.
• The disk array host mode is set correctly.
The host does not reboot properly after hard shutdown.
Logical volumes cannot be created.
rebooting.
If you power off the host without executing the shutdown process, wait three minutes to allow the disk array's internal timeout process to purge queued commands. If the host restarts while the disk array is processing queued commands, the host may not reboot successfully.
Verify that the disk array logical devices are correctly formatted.Physical volumes cannot be created.
Verify that the volume capacity for OPEN-x volumes is not greater than the maximum capacity allowed. See “Disk array supported
emulations” on page 29.
Verify that the capacity of the volume group is not less than the total capacity of the partitioned logical volume.
Verify that the host was restarted correctly.A file system is not mounted after Verify that the file system attributes are correct.
XP Disk Array Configuration Guide for Linux 25
Page 26
because the disk array was busy or it logged a panic message.
or the disk array has displayed “Not Ready” and timed out.
Recommended actionError condition
Reboot the host.The disk array performs a self reboot
Contact HP.The disk array responds “Not Ready”
The host detects a parity error.
The host hangs or devices are declared and the host hangs.
Check the FCA 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.
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/.
Before you call
Be sure to have the following information available:
• Technical support registration number (if applicable)
• Product serial numbers
• Product model names and numbers
• Applicable error messages
• Operating system type and revision level
• Detailed, specific questions
For continuous quality improvement, calls may be recorded or monitored.
Troubleshooting26
Page 27
A Path worksheet
Worksheet
Table 6 Path worksheet
control unit)
Device TypeLDEV (CU:LDEV) (CU =
Number
Alternate PathsPath 1SCSI Bus
TID:TID:TID:0:00 LUN:LUN:LUN:
TID:TID:TID:0:01 LUN:LUN:LUN:
TID:TID:TID:0:02 LUN:LUN:LUN:
TID:TID:TID:0:03 LUN:LUN:LUN:
TID:TID:TID:0:04 LUN:LUN:LUN:
TID:TID:TID:0:05 LUN:LUN:LUN:
TID:TID:TID:0:06 LUN:LUN:LUN:
TID:TID:TID:0:07 LUN:LUN:LUN:
TID:TID:TID:0:08 LUN:LUN:LUN:
TID:TID:TID:0:09 LUN:LUN:LUN:
TID:TID:TID:0:10 LUN:LUN:LUN:
XP Disk Array Configuration Guide for Linux 27
Page 28
Path worksheet28
Page 29
B Disk array supported emulations
This appendix provides information about supported emulations and device type specifications. Some parameters may not be relevant to your array. Consult your HP representative for information about supported configurations for your system.
Supported emulations
HP recommends using OPEN-V as the emulation for better performance and features that may not be supported with the legacy emulations (OPEN-[389LE]).
Table 7 Supported emulations
LUSE & CVSCVSLUSEFixed SizeEmulationXP model
YesYesYesYesOPEN-3
YesYesYesYesOPEN-8XP10000
YesYesYesYesOPEN-9XP12000
YesYesYesYesOPEN-EXP20000
OPEN-KXP24000
YesYesOPEN-LSVS 200
OPEN-M
YesYesOPEN-V
NOTE:
For the SVS 200, and the XP24000/XP20000/XP12000/XP10000 when connected to external storage devices, HP recommends using OPEN-V as the emulation the array makes visible to the host. This allows external storage LDEVs to be configured without losing data. Using any other emulation may cause data loss in the external storage LUNs.
XP Disk Array Configuration Guide for Linux 29
Page 30
Emulation specifications
Table 8 Emulation specifications
Emulation
(Note 1)
LUSE
CVS
Category
(Note 2)
Product name
(Note 3)
Blocks
(512 bytes)
Sector
size
(bytes)
cylinders
Heads# of
Sectors
per
track
Capacity
MB*
(Note 4)
2347961533385124806720OPEN-3SCSI diskOPEN-3
70079615996651214351040OPEN-8SCSI diskOPEN-8
704296151001651214423040OPEN-9SCSI diskOPEN-9
1389396151975951228452960OPEN-ESCSI diskOPEN-E
3476196154943951271192160OPEN-LSCSI diskOPEN-L
2347*n96153338*n5124806720*nOPEN-3*nSCSI diskOPEN-3*n
7007*n96159966*n51214351040*nOPEN-8*nSCSI diskOPEN-8*n
7042*n961510016*n51214423040*nOPEN-9*nSCSI diskOPEN-9*n
13893*n961519759*n51228452960*nOPEN-E*nSCSI diskOPEN-E*n
34761*n961549439*n51271192160*nOPEN-L*nSCSI diskOPEN-L*n
CVS LUSE
General notes:
*Capacity = (512 x number of blocks) ÷ 1024
Note 79615Note 6512Note 5OPEN-3-CVSSCSI diskOPEN-3 CVS
Note 79615Note 6512Note 5OPEN-8-CVSSCSI diskOPEN-8 CVS
Note 79615Note 6512Note 5OPEN-9-CVSSCSI diskOPEN-9 CVS
Note 79615Note 6512Note 5OPEN-E-CVSSCSI diskOPEN-E CVS
Note 712815Note 6512Note 5OPEN-VSCSI diskOPEN-V
Note 79615Note 6512Note 5OPEN-3*n-CVSSCSI diskOPEN-3*n CVS
Note 79615Note 6512Note 5OPEN-8*n-CVSSCSI diskOPEN-8*n CVS
Note 79615Note 6512Note 5OPEN-9*n-CVSSCSI diskOPEN-9*n CVS
Note 79615Note 6512Note 5OPEN-E*n-CVSSCSI diskOPEN-E*n CVS
Note 712815Note 6512Note 5OPEN-V*nSCSI diskOPEN-V*n
2
Disk array supported emulations30
Page 31
Note 1:
Note 2:
Note 3:
Note 4:
Note 5:
The value n is the number of volumes combined together. For example, with 8 combined volumes: OPEN-V*8.
The availability of an emulation depends on the disk array.
The devices are defined to the host as SCSI disk devices, even though the interface is Fibre Channel.
The command device (used for XP Raid Manager) is distinguished by -CM on the product name (for example, OPEN-3-CM, OPEN-3-CVS-CM).
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.
The number of blocks for a CVS volume is calculated as follows:
# of blocks = (# of cylinders) × (# of heads) × (# of sectors per track)
Note 6:
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
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 integer) = 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 to next integer) = 53 cylinders
XP Disk Array Configuration Guide for Linux 31
Page 32
Note 7:
OPEN-3/8/9/E: The number of cylinders for a CVS LUSE volume = # of cylinders = (capacity (MB) specified by user) × 1024/720 × n
Example
For a CVS LUSE volume with capacity = 37 MB 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
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 XP Remote Web Console, XP Command View (XP arrays only), or XP Command View Advanced Edition Software.
Disk array supported emulations32
Page 33
Glossary
AL-PA Arbitrated loop physical address.
array group A group of 4 or 8 physical hard disk drives (HDDs) installed in an XP disk array
command device A volume on the disk array that accepts XP Continuous Access Software or XP
CU Control Unit. Contains LDEVs and is approximately equivalent to SCSI Target ID.
CVS Custom volume size. CVS devices (OPEN-x CVS) are custom volumes configured
emulation modes The logical devices (LDEVs) associated with each RAID group are assigned an
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).
Business Copy Software control operations which are then executed by the disk array.
using array management software to be smaller than normal fixed-size OPEN system volumes. Synonymous with volume size customization (VSC). OPEN-V is a CVS-based volume.
emulation mode that makes them operate like OPEN system disk drives. The emulation mode determines the size of an LDEV: OPEN-3: 2.46 GB OPEN-8: 7.38 GB OPEN-9: 7.42 GB OPEN-E: 13.56 GB OPEN-L: 36 GB OPEN-V: User-defined custom size
failover Using an alternate unit or path instead of a failed unit or path in order to continue
functioning.
FC Fibre Channel.
FCA Fibre Channel Adapter.
FC-AL Fibre Channel arbitrated loop.
FCP Fibre Channel Protocol.
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,
XP Disk Array Configuration Guide for Linux 33
Page 34
OPEN-E). The number of resulting LDEVs depends on the selected emulation mode. The term LDEV is often used synonymously with the term volume.
LUN Logical unit number. A LUN results from mapping a SCSI logical unit number,
port ID, and LDEV ID to a RAID group. The size of the LUN is determined by the emulation mode of the LDEV and the number of LDEVs associated with the LUN. For example, a LUN associated with two OPEN-3 LDEVs has a size of 4,693 MB.
LUSE A LUN is normally associated with only a single LDEV. The LUSE feature allows
a LUN to be associated with 1 to 36 LDEVs. Essentially, LUSE makes it possible for applications to access a single large pool of storage. The LUSE feature is available when the HP StorageWorks XP Array Manager product is installed.
OFC Open Fibre Control.
OPEN-
x
A general term describing any one of the supported OPEN emulation modes (for example, OPEN-E. There are two types of OPEN-x devices: legacy OPEN-x devices with a fixed size (such as, OPEN-3, OPEN-8, OPEN-9, OPEN-E), and OPEN-V, which has a variable size and is a CVS-based volume.
PA Physical address.
path “Path” and “LUN” are synonymous. Paths are created by associating a port and
a LUN ID with an LDEV.
port A physical connection that allows data to pass between a host and the disk
array. The number of ports on an XP disk array depends on the number of supported I/O slots and the number of ports available per I/O adapter. The XP family of disk arrays supports Fibre Channel (FC) ports as well as other port types. Ports are named by port group and port letter, such as CL1-A. CL1 is the group, and A is the port letter.
RAID Redundant array of independent disks.
R-SIM Remote service information message.
SCSI Small computer system interface.
SIM Service information message.
SNMP Simple Network Management Protocol.
SVP Service processor, which is the PC built into the disk array. The SVP provides a
direct interface into the disk array. SVP use is reserved for HP support representatives only.
SVS Storage Virtualization System, an appliance that manages multiple disk array
storage systems.
TID Target ID.
Volume On the XP array, a volume is a uniquely identified virtual storage device
composed of a control unit (CU) component and a logical device (LDEV) component separated by a colon. For example 00:00 and 01:00 are two uniquely identified 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.
Glossary34
Page 35
VSC Volume size customization. Synonymous with CVS.
WWN World Wide Name. A unique identifier assigned to a Fibre Channel device.
XP Command View
XP Command View Advanced Edition Software
XP Remote Web Console
HP StorageWorks XP Command View, a software product for managing XP arrays. XP Command View runs on a Windows-based management workstation.
HP StorageWorks XP Command View Advanced Edition Software, installs on the user-provided Device Manager server and provides a browser-based platform from which you can manage the SVS 200 and the XP family of disk arrays—even globally distributed arrays.
HP StorageWorks XP Remote Web Console. A browser-based program installed on the SVP that allows you to configure and manage the disk array.
XP Disk Array Configuration Guide for Linux 35
Page 36
Glossary36
Page 37
Index
A
adapters, Fibre Channel , 17 arbitrated-loop physical address, 17 audience, 7
C
clustering, 17 command device(s)
one LDEV as a, 13 XP RAID Manager, 13
configuration
device, 21
emulation types, 12
recognition, 19 FCAs, 17 Fibre Channel ports, 16 host, 17 host mode, setting, 14 port, 16 System Mode, 17
conventions
document, 7 storage capacity values, 8
CVS devices, 12
D
device(s)
configuration, 21 emulation types, 12 emulations, supported, 29 logical, not recognized by host, 25 partitioning, 21 recognition, 19 type specifications, 30
disk array(s)
connecting, 18 device emulations, 29 features, 11 installation overview, 13 Not Ready error message, 26 operating system versions, 11 requirements, 11 self reboots, 26 server support, 11 storage capacity, 11
document
conventions, 7 related documentation, 7
documentation
HP website, 7 providing feedback, 10
E
emulation(s)
device emulation types, 12 supported, 29, 29
error conditions, 25
F
fabric environment
parameter settings, 16 port addresses, 17
zoning, 17 failover, 12 FCA(s), 11
configuring, 17
supported, 17
verify driver installation, 19 features and requirements, 11 Fibre Channel
adapters, configuring, 17
connection speed, 11
interface, 11
parameter settings, 16
ports, configuring, 16
supported elements, 11
topology example, 16 Fibre Channel adapters, see "FCAs", 11
XP Disk Array Configuration Guide for Linux 37
Page 38
file system(s)
creating, 21 not mounted after rebooting, 25 verifying, 23
G
glossary, 33
H
help
obtaining, 9
host
configuration, 17 doesn't reboot properly, 25
hangs up, 26 host mode, setting, 14 HP
service representative tasks, 14
technical support, 9, 26
I
installation
connecting disk array, 18
HP service representative tasks, 14
overview, 13
procedures, 13 interface, Fibre Channel, 11
L
LDEV(s)
one designated as a command device, 13 Linux
partitions, 12
server, restarting, 19
supported versions, 11 logical volumes, cannot be created, 25 LUN(s)
creating, 20
mapping, 20
security, 17 LUSE devices, 12
M
mount directories, creating, 22 mount table(s), creating, 22 multi-cluster environment, 17
O
OPEN-x devices, 12
operating system(s)
loading, 17 LUN security for, 18 multiple, fabric zoning for, 18 supported versions of Linux, 11
P
parity error, 26 path(s)
defining, 20
worksheet, 27 physical volumes, cannot be created, 25 port(s)
address, 17
Fibre Channel, 16
host mode, setting, 14
R
R-SIMS, 25 related documentation, 7 requirements and features, 11
S
SCSI disk, Fibre Channel interface and term "SCSI disk", 12 security, LUN, 17 server
restarting, 19
support, 11 SIMS, 25 storage capacity, 11 storage capacity values
conventions, 8 Subscriber's Choice, HP, 9 System Mode, setting, 17
T
technical support, 26
HP, 9
service locator website, 9 topology, fabric, 16 troubleshooting, 25
error conditions, 25
technical support, 26
V
volume(s)
logical, cannot be created, 25
physical, cannot be created, 25
38
Page 39
W
websites
HP , 9 HP Subscriber's Choice for Business, 9 product manuals, 7
worksheet, path, 27
X
XP Array Manager, 11, 14, 20 XP arrays
storage capacity, 11 XP Business Copy Software, 13 XP Command View, 11, 13, 14, 20 XP Command View Advanced Edition Software,
11, 13, 14, 20
XP Continuous Access Software, 13 XP RAID Manager command devices, 13 XP Remote Web Console, 11, 13, 14, 20
Z
zoning, fabric, 17
XP Disk Array Configuration Guide for Linux 39
Page 40
40
Loading...