HP StorageWorks Auto LUN XP user guide for the XP10000/XP12000 Part number: T1715-96002 Second edition: December 2005
Legal and notice information © Copyright 2005 Hewlett-Packard Development Company, L.P. Confidential computer software. Valid license from HP required for possession, use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor’s standard commercial license. The information contained herein is subject to change without notice.
Contents About this guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Intended audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Prerequisites. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Firmware versions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Related documentation . . . . . . . . . . . . . .
Auto Migration tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Pane contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Auto Migration Plans section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Auto Plan Parameter section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 Tables 1 2 3 4 5 6 7 8 9 10 CHP usage statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DKA usage statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DKP usage statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
About this guide This guide provides information about the following: • ”Auto LUN XP for the XP10000/XP12000” • ”Auto LUN XP features” on page 11 • ”Auto LUN XP tasks” on page 11 • ”Reserve volumes” on page 12 • ”Volume migration” on page 12 • ”Estimating usage rates” on page 12 • ”Automatic migration” on page 13 • ”Manual migration” on page 15 • ”Requirements and restrictions” on page 15 • ”Starting Auto LUN XP” on page 19 • ”Creating and executing migration plans” on page 24 • ”Troubleshooting Auto LUN XP
• HP StorageWorks Continuous Access XP Journal user guide • HP StorageWorks Performance Control XP user guide • HP StorageWorks XP Disk/Cache Partition user guide • Hitachi True Copy for z/OS® for the XP128/XP1024/XP10000/XP1200 • HP StorageWorks RAID Manager XP user guide You can find these documents at http://www.hp.com/support/rwc/manuals.
• Applicable error messages • Operating system type and revision level • Detailed, specific questions For continuous quality improvement, calls may be recorded or monitored. Subscription service HP strongly recommends that customers register online using the Subscriber's choice web site: http://www.hp.com/go/e-updates.
1 Auto LUN XP for the XP10000/XP12000 Auto LUN XP monitors resources in disk arrays and hosts connected to disk arrays. Auto LUN XP works with open system and mainframe volumes. You can analyze the information Auto LUN XP provides to optimize data storage and retrieval on disk arrays, resolve activity bottlenecks, and optimize volume allocation.
Reserve volumes The reserve volume function reserves target volumes for automatic and manual migration operations. After you reserve a number of target volumes, Auto LUN XP maintains this number of reserved volumes by swapping the reserve attribute after each migration operation (following the migration operation, the original source volume becomes a reserved volume).
Auto LUN XP does not estimate processor or access path usage. You can use Auto LUN XP migration operations to improve DKP and DRR usage, but cannot use them to address CHP or access path usage. Perform Auto LUN XP migration only when you expect a large improvement in disk array performance. Auto LUN XP migration might not provide significant improvement if parity group or volume usage varies only slightly or if overall DKP or DRR usage is relatively high.
The auto migration function identifies parity groups that exceed the user-specified usage limit, and selects high-usage volumes as source volumes to be migrated to parity groups in higher HDD classes or to other parity groups in the same HDD class with lower usage.
Auto migration sequence of events The following are the typical steps to set up an auto migration plan: 1. Analyze monitor data. You specify the monitor data term to be analyzed. 2. Make auto migration plan. You specify the auto migration plan’s parameters. 3. Perform auto migration plan. You specify when the auto migration plan is executed. 4. Analyze monitor data to confirm tuning results. Manual migration Use manual migration to select and migrate logical volumes under direct, manual control.
Table 3 Movability of volumes in pairs consisting of CV and normal values (continued) Source volume Target volume CV (OPEN-V without VMA setting) Not movable Movable Not movable Not movable Movable Not movable CV (OPEN-V with VMA setting) Not movable Not movable Movable Not movable Not movable Movable You cannot make pairs of the volumes. Specify the logical volumes satisfying the conditions described in Table 3 as the source and target volumes.
Table 5 shows which cascaded volumes can be used as source volumes.
The maximum number of Auto LUN XP copy operations plus BC pairs is 1024.
Auto migration parameters Auto migration parameters are initialized when the disk array configuration is changed (for example, when new drives or LDEVs are installed). Parameters include disk usage limit and migration time. After a change is made to the subsystem configuration, you must specify auto migration parameters again. Powering off disk arrays To turn the power off at the disk array, ensure that volume migration is finished.
Auto LUN pane The Auto LUN pane is the performance management pane. It displays usage rates for parity groups, logical volumes, channel processors, disk processors, and so forth. The pane has several sections. NOTE: If a hyphen appears in monitoring data columns on the Auto LUN pane, statistics cannot be collected for that item.
• The PFC button is displayed when the WWN or Port tab is active. Clicking this button displays the Performance Control pane. For details, see HP StorageWorks Performance Control XP user guide. • The Current Control status is displayed when the WWN or Port tab is active.
WWN, Port-LUN, LDEV, and Physical tabs Figure 5 WWN, Port-LUN, LDEV, and Physical tabs Click one of the tabs (WWN, Port-LUN, LDEV, or Physical) in the lower-left portion of the pane to view data about ports, LDEVs, or physical components. When you click a tab, the selection tree in the lower-left portion of the pane changes. You can then click entities to display information in the table and graph sections of the pane.
After replacing the micro program, monitoring data is not stored until a service technician releases the SVP from Modify mode. NOTE: If a host bus adapter’s WWN is displayed in red in the tree, the host bus adapter is connected to two or more ports, but Performance Control does not control traffic between the HBA and some ports. For information about controlling the traffic between the HBA and all connected ports, see HP StorageWorks Performance Control XP user guide. Port-LUN tab This tab displays ports.
If the parity group icon represents a single parity group 1-3, the text 1-3 is displayed on the right of the icon. If the parity group icon represents two or more connected parity groups, all connected parity groups are displayed to the right of the icon. For example, if parity group 1-3 is connected with parity group 1-4, the text 1-3[1-4] is displayed on the right of the parity group icon. All parity groups connected with 1-3 are enclosed by square brackets.
Manual Migration tab Use this tab to create and execute migration plans for manually migrating volumes. Figure 6 Manual Migration tab Pane contents This pane contains the following items: • Monitoring Term: Displays the monitoring period specified in the Auto LUN pane, analyzes disk usage information collected by Auto LUN XP during the monitoring period, and calculates estimated usage rates of the source and target parity groups after a proposed volume migration.
• Source LDEV columns: • LDEV: Logical volume ID • Emulation: Emulation type of the logical volume • Capacity: Capacity of the logical volume • RAID: RAID type • PG: Parity group ID (frame and group number) • HDD: Type of hard disk drive • Target LDEV columns: • LDEV: Logical volume ID • RAID: RAID type • PG: Parity group ID (frame and group number) • HDD: Type of hard disk drive Buttons • Set: Adds a new manual migration plan consisting of the logical volume in SourceLDEV and the logical volume in TargetL
9. In the tree, double-click the parity group to which you want to migrate the source volume. A list of logical volumes in that parity group appears. Click the target (destination) volume. You can click only volumes with a green pin icon or an icon framed by a blue line. 10.From the logical volumes indicated by a blue icon with a left-pointing arrow, select the logical volume to define as the target volume, and click the T button below the Target (Reserved) LDEV section.
NOTE: Auto migration cannot use external volumes or volumes reserved by another program. Figure 7 Auto Migration tab Pane contents This pane contains the following items: • Monitoring Term: Displays the monitoring period specified in the Auto LUN pane, analyzes disk usage information collected by Auto LUN XP during the monitoring period, and calculates estimated usage rates of the source and target parity groups after a proposed volume migration.
Auto Plan Parameter section • Auto Migration Function: If you click ON, logical volumes are automatically migrated. If you click OFF, they are not. • Sampling Term: The auto migration function analyzes resource usage within the SAMPLING TERM and creates auto migration plans based on that analysis. Use Sampling Term to narrow resource usage statistics to be analyzed. • Date and Time: Specifies a date/time frequency for analyzing resource usage.
10.Click Close. Deleting auto migration plans • To delete all auto migration plans, click Delete All. • To delete one auto migration plan, click the plan in the table, and click Delete. Remaking auto migration plans If auto migration operations do not produce enough improvements in disk access performance, discard the current migration plans and create new auto migration plans. 1. In the Auto LUN pane, click Physical. 2. Click Plan. The Manual Migration tab appears. 3. Click Auto Migration.
Auto LUN XP uses collected usage statistics to estimate usage rates of parity groups after a proposed volume migration. • Attribute tree: Lists HDD classes. When you double-click an HDD class icon, a list of parity groups in that HDD class appears. • Apply button: Applies settings in the Attribute tab to the disk array. • Reset button: Discards changes in the Attribute tab and restores the original settings. • Close button: Closes this pane.
• CLPR: Number and name of the CLPR that corresponds to the parity group to which the logical volume belongs, in the format CLPR number:CLPRname. For more information about CLPRs, see the HP StorageWorks XP Disk/Cache Partition user guide. • Owner: Program that reserved the volume. If Auto LUN XP reserved this volume, USP is displayed. If another program reserved this volume, Other[XX] is displayed, where [XX] is the program ID.
5. Right-click the parity group you want to fix. Figure 11 Attribute tab tree 6. Click Fixed PG. The parity group becomes fixed and is marked with an icon. 7. Click Apply. Releasing (unfixing) parity groups To move logical volumes in a fixed parity group to another parity group, change the fixed parity group to a normal parity group. To do this, go to the Attribute tab, right-click the fixed parity group, and click Normal PG.
History tab Use this tab to display information about automatic and manual migration operations that occurred in the past. You can find out when migration operations took place and whether they finished successfully.
Viewing migration history logs The History tab displays logs of automatic and manual migration operations. 1. In the Auto LUN pane, click Physical. 2. Click Plan. The Manual Migration tab appears. 3. Click the History tab. The History tab appears. To view logs of auto migration operations, look at Auto Migration History. To view logs of manual migration operations, look at Migration History. The migration logs may display the following messages.
Migration was stopped (other reason): Migration Stopped (CU:LDEV->CU:LDEV) yyyy/mm/dd hh:min:sec (XXXXXXXXXXXX) (a) (b) (c) (d) (a) Source volume (b) Target volume (c) Canceled time (d) Reason for cancellation: • No reserve volume. No reserved volume is set. Please make another plan. • Reserve volume emulation is different. The reserved volume's emulation type is different. • Utilization check. The usage rate is over the limit, or there is no monitor data. • Migration failed. Error code: XXXX.
Failed making an auto migration plan: yyyy/mm/dd hh:min : MakePlan is terminated by error: XXXXXXXXXX (a) (b) (a) End time (b) Reason for failure: • Cannot make proper migration plan: The program could not make a proper migration plan. Check the number of the reserved volumes and their locations. Check the maximum disk usage and change if necessary. • Failed to get XXXXXXXXXX (information or data: The program failed to get the information or data to make a plan.
The migration logs may display the following messages: Table 9 Migration log messages Message Meaning Migration Start Migration operation started Migration Complete Migration operation completed successfully Migration Cancel User canceled the migration operation Migration Failed Migration operation failed Migration Give Up Migration operation was canceled by Auto LUN XP (for example, volume usage rate exceeded specified maximum) Troubleshooting Auto LUN XP Auto LUN XP displays error messages o
The status transition chart of a pair when the volume migration is performed by using RAID Manager is shown in Figure 13. You can view the status shown in this chart by typing pairdisplay in RAID Manager. Figure 13 Pair status transitions during Auto LUN XP migrations using RAID Manager When you perform Auto LUN XP migrations using RAID Manager, the following restrictions apply: • An Auto LUN XP reserved volume cannot be used.
Table 10 Errors during Auto LUN XP migrations or migration cancellations using RAID Manager Error code Cause Solution 2312 Migration source volume is online with the host. Take the migration source volume off-line from the host, and perform the volume migration. 232F Migration source volume is already specified as an Auto LUN XP target volume. Release the volume from Auto LUN XP, and perform the volume migration.
Table 10 Errors during Auto LUN XP migrations or migration cancellations using RAID Manager Error code Cause Solution 236B Migration source volume is a Business Copy XP volume that is in the SP-PEND status. Perform the volume migration after the Business Copy XP pair is changed to the SPLIT status. 2372 Migration source volume is being formatted. Perform the volume migration after formatting is completed. 2373 Migration source volume is a command device. Volume migration cannot be executed.
Auto LUN XP for the XP10000/XP12000
2 Auto LUN/Performance Control Base Monitor Auto LUN XP statistics Disk arrays automatically collect statistics twice a day (in the morning and afternoon). Auto LUN XP monitors disk arrays and obtains usage statistics about resources such as front-end and back-end processors, hard disk drives, and logical volumes every 15 minutes. Auto LUN XP displays statistics collected for the last three months. Statistics over three months old are discarded.
time period. The pane also displays a graph indicating how the write pending rate changed within that period. • Usage statistics about access paths. An access path is a path through which data and commands are transferred within a disk array. In a disk array, channel adapters control data transfer between hosts and cache memory. Disk adapters control data transfer between cache memory and disk drives. Data transfer does not occur between channel adapters and disk adapters.
NOTE: Settings in the Monitor Options pane work with settings for Continuous Access XP and Continuous Access XP Journal. Therefore, changes you make to one pane affect the settings in the other panes. XP10000/12000 disk arrays NOTE: To begin monitoring the disk array, Command View XP or XP Remote Web Console must be in Modify mode. A yellow background color signals Modify mode. A gray background color signifies View mode. You cannot change in the Monitoring Options pane in View mode.
Viewing parity group usage statistics Auto LUN XP monitors parity groups, and displays average and maximum usage rates for the specified period. Auto LUN XP also displays a graph illustrating changes in parity group usage within that period. 1. In the Auto LUN pane, click Physical, and click the Parity Group folder. The table displays usage statistics about the parity group.
NOTE: If an exclamation mark (!) appears before a usage rate, that parity group usage rate might be inaccurate because the configuration has changed (for example, volumes have been moved by a migration plan or changed by VSC). 3. To display a graph illustrating changes in usage rates for parity groups, click the parity groups in the table, and click Draw. The table displays the following items: • Graph column: The check mark icon indicates the graph is currently illustrating data for that item.
1. In the Auto LUN pane, click Physical, and click the CHA folder. The table displays usage statistics about channel adapters (CHAs). Figure 17 CHA usage statistics 2. To display a graph illustrating changes in usage rates for channel adapters, click the channel adapters in the table, and click Draw. The table displays the following items: • Graph column: The check mark icon indicates the graph is currently illustrating data for that item. • ID: Channel processor ID numbers. • Usage: The Ave.
In the Auto LUN pane, click Physical, and click the DKA folder. The table displays a list of disk adapters. Figure 19 DKA usage statistics The table displays the following items: • Adapter: Disk adapter ID numbers. • Cluster-1: If the Cluster-1 column displays 0 and the Cluster-2 column displays a hyphen, the disk adapter is located in Cluster-1. • Cluster-2: If the Cluster-2 column displays 0 and the Cluster-1 column displays a hyphen, the disk adapter is located in Cluster-2.
2. Click the DRR below the disk adapter. The table displays usage statistics about DRRs in the disk adapter. Figure 21 DRR usage statistics 3. To display a graph illustrating changes in usage rate for DRRs, click the DRRs in the table, and click Draw. The table displays the following items: • Graph column: The check mark icon indicates the graph is currently illustrating data for that item. • ID: DDR ID numbers. • Usage: The Ave. (Total) column displays the average usage rate in the specified period.
2. Do any of the following: • To check usage statistics about paths between adapters (CHAs and DKAs) and the cache switch, click Adapter-CSW below the Access Path Usage folder. Figure 23 Usage statistics about paths between adapters and the cache switch • To check usage statistics about paths between adapters (CHAs and DKAs) and shared memory, click Adapter-SM below the Access Path Usage folder.
4. Click Apply. Auto LUN XP starts monitoring the disk array. To stop monitoring the disk array, complete the following instructions. If you stop monitoring, Auto LUN XP stops collecting statistics. 1. In the Auto LUN pane, click Monitoring Options. The Monitoring Options pane appears. 2. Click Disable for the Current Status option. 3. Click Apply. Viewing disk drive workload statistics Use the LDEV tab of the Auto LUN pane to check workloads on physical disk drives (parity groups) or logical volumes.
The table displays the following: • Graph column: The check mark icon indicates the graph is currently illustrating data for that item. • Group: Parity group ID. If the ID starts with the letter E, logical volumes in the parity group are external LUs. • LDEV: Logical volume ID. If the ID ends with the symbol #, logical volume is an external LU. • Type: Emulation type. • IO Rate (IOPS): Number of I/O requests to the parity group (or logical volume) per second.
• To view traffic statistics about host ports in a host group, click the host group. Figure 31 Traffic statistics about host ports in a host group • To view traffic statistics about LU paths, click the LUN icon. Figure 32 Traffic statistics about LU paths 4. To find out how traffic has changed, click the ports, WWNs, or LUNs, and click Draw. A graph appears below the table. 5. To view more detailed information in the graph, click the Detail check box on the lower-right side of the table, and click Draw.
• If you double-click Not Grouped, host bus adapters ( displayed. ) that do not belong to any PFC group are 2. In the list on the right side of the pane, do either of the following: • To view I/O rates, select IOPS. • To view transfer rates, select 100KB/s (MB/s [XP 12000]). 3. In the tree view, do one of the following: • To view traffic statistics for host bus adapters in a PFC group, click the PFC group.
Auto LUN/Performance Control Base Monitor
Index A G access path usage statistics 44, 50 Attribute tab 30 audience, documentation 7 Auto LUN pane 20 auto migration execution 18 history 34 parameters 13 planning 18 powering off disk arrays 19 reserving target volumes 32 settings 27 Graph section 21 C cascaded volumes 17 channel adapters (CHAs) usage statistics 43, 47 channel processors (CHPs) usage statistics 43, 48 CHAs (channel adapters) usage statistics 43, 47 CHPs (channel processors) usage statistics 43, 48 conventions, document 8 customer s
logs 35 manual 15, 18, 25 operations 12 plans 24 powering off disk arrays 19 RAID Manager, using 38 releasing parity groups 33 target volumes 32 Monitoring Data section 20 Monitoring Options pane 44 Monitoring Term section 20 optimizing performance 11 access path usage 50 channel adapters (CHAs) 47 channel processors (CHPs) 48 data recovery and reconstruction processors (DRRs) 49 disk adapters (DKAs) 48 disk array resources 45 disk processors (DKPs) 49 HBA/port traffic 54 logical volume usage 46 Monitorin
Figures 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 Moving volumes to another class based on usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Auto migration function example 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Auto migration function example 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Auto LUN pane . . . . . . . .
Tables 1 2 3 4 5 6 7 8 9 10 Recommended and minimum firmware versions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Document conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Movability of volumes in pairs consisting of CV and normal values . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Non-cascaded volumes that can be used as source volumes . . . . . . . . . . . . . . . . . . . . .