Você está na página 1de 106

HP StorageWorks XP 2: Business Continuity and Availability

U8443S E.00

Lab guide

HP StorageWorks XP 2: Business Continuity and Availability


U8443S E.00

Lab guide
Use of this material to deliver training without prior written permission from HP is prohibited.

Copyright 2010 Hewlett-Packard Development Company, L.P. 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. This is an HP copyrighted work that may not be reproduced without the written permission of HP. You may not use these materials to deliver training to any person outside of your organization without the written permission of HP. Microsoft, Windows, Windows XP, and Windows Vista are U.S. registered trademarks of Microsoft Corporation. UNIX is a registered trademark of The Open Group. Export Compliance Agreement Export Requirements. You may not export or re-export products subject to this agreement in violation of any applicable laws or regulations. Without limiting the generality of the foregoing, products subject to this agreement may not be exported, re-exported, otherwise transferred to or within (or to a national or resident of) countries under U.S. economic embargo and/or sanction including the following countries: Cuba, Iran, North Korea, Sudan and Syria. This list is subject to change. In addition, products subject to this agreement may not be exported, re-exported, or otherwise transferred to persons or entities listed on the U.S. Department of Commerce Denied Persons List; U.S. Department of Commerce Entity List (15 CFR 744, Supplement 4); U.S. Treasury Department Designated/Blocked Nationals exclusion list; or U.S. State Department Debarred Parties List; or to parties directly or indirectly involved in the development or production of nuclear, chemical, or biological weapons, missiles, rocket systems, or unmanned air vehicles as specified in the U.S. Export Administration Regulations (15 CFR 744); or to parties directly or indirectly involved in the financing, commission or support of terrorist activities. By accepting this agreement you confirm that you are not located in (or a national or resident of) any country under U.S. embargo or sanction; not identified on any U.S. Department of Commerce Denied Persons List, Entity List, US State Department Debarred Parties List or Treasury Department Designated Nationals exclusion list; not directly or indirectly involved in the development or production of nuclear, chemical, biological weapons, missiles, rocket systems, or unmanned air vehicles as specified in the U.S. Export Administration Regulations (15 CFR 744), and not directly or indirectly involved in the financing, commission or support of terrorist activities. Printed in US HP StorageWorks XP 2: Business Continuity and Availability Lab guide April 2010

Contents
HPVL Lab Environment........................................................................... Lab 1 Overview ...................................................................................... Lab 1 Rules of Engagement ...................................................................... Lab 1 Connecting to the HPVL .................................................................. Lab 1 Lab Resources ................................................................................ Lab 1 1 1 1 1 2

Lab activity: Configuring the XP Review ................................................... Lab 2 - 1 Record information about your hosts: ................................................ Lab 2 - 1 Connect to Web Console ................................................................ Lab 2 - 1 Create Custom LDEVs for use in later labs ......................................... Lab 2 - 2 Present LUNs to the hosts................................................................. Lab 2 - 5 Module 4 - Lab activity: Performance Analysis........................................ Lab 4 - 1 Part 1 Analysis using PA Reports ................................................. Lab 4 - 1 Part 3 Import Performance Advisor Data ......................................... Lab 4 - 2 Part 4 Performance Scenarios using captured data .......................... Lab 4 - 4 Lab activity: External Storage XP 24000/20000 ...................................... Lab 5 - 1 Verify/Set ports ............................................................................. Lab 5 - 1 Map External LUNs to XP LDEVs ................................................... Lab 5 - 1 Disconnecting an External Array ..................................................... Lab 5 - 7 Deleting an External LDEV............................................................. Lab 5 - 8 Map the External Volume to a host ................................................. Lab 5 - 8 Lab activity: Thin Provisioning............................................................... Lab 6 - 1 Objectives .................................................................................... Lab 6 - 1 Lab exercise: Creating Thin Provisioning Pools................................ Lab 6 - 2 Lab exercise: Creating Thin Provisioning VVOLs............................ Lab 6 - 4 Lab exercise: Assigning Thin Provisioning VVOLs to a pool............. Lab 6 - 8 Lab exercise: Presenting Thin Provisioning LUNs to a Windows host. Lab 6 - 9 Lab exercise: Understanding Thin Provisioning thresholds ............... Lab 6 - 1 1 Lab exercise: Expanding Thin Provisioning pools ............................ Lab 6 - 15 Lab exercise: Expanding Thin Provisioning volumes (Optional) ........ Lab 6 - 17 Lab exercise: Disconnecting a VVOL from a THP pool ...................... Lab 6 - 19 Lab exercise: Deleting VVOLs ..................................................... Lab 6 - 21 Lab activity: Performance Monitor ......................................................... Lab 8 - 1 Lab setup ..................................................................................... Lab 8 - 1 Lab activity: AutoLUN Manual Migration................................................. Lab 9 - 1 Lab setup ..................................................................................... Lab 9 - 1 (Optional) Using AutoLUN to migrate a normal volume to a Thin Provisioned Volume......................................................................................... Lab 9 - 4
u8443s d.00 2009 Hewlett-Packard Development Company, L.P.

HP StorageWorks XP 2: Business Continuity and Availability

Lab activity: Performance Control ...........................................................Lab 10 - 1 Begin Collecting Monitoring Data ...................................................Lab 10 - 1 Start an I/O Workload ..................................................................Lab 10 - 2 Use Performance Control to Limit your host .......................................Lab 10 - 4 Monitor the results.........................................................................Lab 10 - 8 Remove all PFC settings .................................................................Lab 10 - 9 View Monitored Data ....................................................................Lab 10 - 9 Turn off Monitoring...................................................................... Lab 10 - 10 Lab activity: Business Copy Review (Paper Lab)........................................ Lab 1 - 1 1 1: Solution for software developers .................................................. Lab 1 - 1 1 2: Backup solution......................................................................... Lab 1 - 1 1 Lab activity: Configuring Snapshot......................................................... Lab 13 - 1 Part 1 - Setup Snapshot Pools and V-VOLs with Remote Web Console .. Lab 13 - 2 Part 2 - Creating and managing snapshots with RAID Manager.......... Lab 13 - 7 Lab activity: Configure Continuous Access Journal ................................... Lab 14 - 1 Part 1 Planning .......................................................................... Lab 14 - 2 Part 2 - Configuring CA Journal ...................................................... Lab 14 - 3 Part 3 - Turn on Monitoring............................................................. Lab 14 - 5 Part 4 - Configure RAID Manager for Continuous Access.................... Lab 14 - 6 Part 5 - Run a Workload ................................................................ Lab 14 - 9 Part 6 - Test data replication ......................................................... Lab 14 - 12 Part 7 - Cleanup.......................................................................... Lab 14 - 13

ii

2009 Hewlett-Packard Development Company, L.P.

u8443s d.00

HPVL Lab Environment


Overview
The HP Virtual Lab environment will be used to complete the labs for this course.

Rules of Engagement
Equipment in the Hewlett-Packard Virtual Lab (HPVL) is often shared by classes in other time zones. To minimize the impact of equipment sharing please follow these rules throughout the labs: Use only the ports assigned on the student lab launch page Use only LDEVs that do not already have paths assigned. Do not delete anything that someone else has created unless its on your port and is absolutely necessary for you to delete in order to complete your lab Log out of all Web Console sessions when you finish for the day Do not leave the array in Modify mode when you finish for the day Do not leave any RAID manager sessions running when you finish for the day Delete your CA configuration when you have completed the lab and are finished for the day.

Connecting to the HPVL


Your instructor will provide you with the URL and log in information for the HP Virtual lab. Each team will also be assigned a lab group. Record that information here: Login ______________________________ Password __________________________ Labgroup __________________________ Launch a browser and connect to the lab. Log in with userid and password assigned to you. Click on the link for HPVL access and launch the labgroup assigned to your team.

Lab 1 - 1

2010 Hewlett-Packard Development Company, L.P.

u8443s e.00

HPVL Lab Environment

Lab Resources
As you roll your mouse over each component on the lab launch page you will get a popup with either a link to access the resource or more information about the resource. Each lab team will be assigned the following resources: One XP Array. Record your SVP IP and serial number here ___________________ One Command View XP AE Management Server. This server is not used in the XP 2 class. One XP Performance Advisor Management Server. This is a Windows system with the XP Performance Advisor Management Software installed. Log on to this system only when the labs instruct you to do so. Most labs will be done while logged in to one of your Storage Clients. Record the hostname and IP address of your PA Management Server: ___________________________________________________________ One Windows Storage Client and one HP-UX Storage Client. You will be presenting XP storage to these hosts. You will also use them to browse to the SVP in order to use the XP Remote Web Console GUI.

Record the hostname and IP address of your Windows Client: ___________________________________________________________ Record the hostname and IP address of your HP-UX Client: ___________________________________________________________ Our SAN is configured to provide the most flexibility in our lab environment and still minimize the havoc you can cause other teams. It is not a typical SAN implementation for an XP. Each team will have: Switch ports zoned to your clients, switch ports zoned to see the other XPs (for Continuous Access Lab), and switch ports zoned to see External Storage Record your assigned ports: Windows: __________ HP-UX: __________

External Storage ________________ CA ____________

u8443s e.00

2010 Hewlett-Packard Development Company, L.P.

Lab 1 - 2

Lab activity: Configuring the XP Review


This lab will serve as a review of the Web Console skills that are covered in the XP 1 class. You will create volumes/LUNs that will be used in subsequent labs. Be sure to record the indicated information as it will be needed for later labs.

Record information about your hosts:


For each host you wish to present storage to record the following information:

Hostname/IP

OS

Assigned Ports

FC port WWNs

Use fcinfo to get the WWN for your windows hosts. Use fcmsutil <device_file> for HP-UX

Connect to Web Console


1. From the lab launch page make a note of your XPs IP address and serial number. _________________________________ 2. 3. Connect to your Windows Client machine. Open a browser. For easier browsing set Security for the Internet Zone to the default level. To verify or change the setting: Tools Internet Options Security Click on Default Level. Click OK. 4. Browse to your XP and login as the user: administrator password: administrator http://<svp_IP>

u8443s e.00

2010 Hewlett-Packard Development Company, L.P.

Lab 2 - 1

HP StorageWorks XP 2: Business Continuity and Availability

Create Custom LDEVs for use in later labs


Go Volume Manager Customized Volumes Expand the + next to Internal. Expand the + next to Box1 Expand the + next to the last parity group Select the VDEV of the last parity group. Select the Free space and right click. Select Install CV

Enter 5120 in the capacity box. Enter 5 in the No. box. Click Set. Enter 10240 in the capacity box. Enter 2 in the No. box. Click Set. Enter 100 in the capacity box. Enter 4 in the No. box. Click Set.

Lab 2 - 2

2010 Hewlett-Packard Development Company, L.P.

u8443s e.00

Lab activity: Configuring the XP Review

Click Next. Choose a CU for the new LDEVs. In this example we have selected CU0. Highlight the new volumes on the left. Click a white box on the right. LDEV numbers will be assigned to the newly created volumes and the boxes will turn blue.

Click Next. The System Disk Setting window is displayed. We will not be creating a System Disk. Click Next. A confirmation screen is displayed (note: if you selected a new CU you may get a screen asking you to assign the new CU and SSID). Click OK. Click Apply to commit your changes. Reply YES to quick format.

u8443s e.00

2010 Hewlett-Packard Development Company, L.P.

Lab 2 - 3

HP StorageWorks XP 2: Business Continuity and Availability

Record Information about your newly created LDEVs:

LDEV #

Size

Parity Group # RAID level

Lab 2 - 4

2010 Hewlett-Packard Development Company, L.P.

u8443s e.00

Lab activity: Configuring the XP Review

Present LUNs to the hosts


Using the information recorded above, create a host group for your Windows Client on each of the assigned ports. Present one of the 5120MB LDEVs created in the previous step to your Windows Client on both ports. Present one of the 100MB LDEVs to your Windows client on one port only. Designate the 100MB LDEV as a Command Device: 1. Create a host group for your host on one of its assigned CHA ports: a. Go LUN Manager LU Path and Security

b. Right click on your port and choose Add New Host Group.

c. Use a name that relates to your host name. Choose the appropriate host mode: Windows: 2C, HP-UX 11iv3: 08.

When you have completed the Add New Host Group panel, click OK.

2. Right click on your new Host Group and select Add WWN from the menu. Select your hosts HBA WWN from the pull down, assign a nickname if you wish and click on OK. If more than one of your hosts WWNs appears in the pull down list, repeat for each one.

u8443s e.00

2010 Hewlett-Packard Development Company, L.P.

Lab 2 - 5

HP StorageWorks XP 2: Business Continuity and Availability

3. Copy your new host group to the second XP CHA assigned for your host by right clicking on the host group name and choosing Copy, then right click on the destination CHA port and choose Paste.

4. If both WWNs for your host were configured for the host group, skip to the next step. If one of the WWNs did not appear in the drop down list for the first port, you will need to edit the WWN after pasting to the second port. Click on the + next to the host group name. Right click on the WWN and choose Change WWN and Nickname. Select the second HBAs WWN from the drop down and modify the nickname. Click OK to accept the changes

Lab 2 - 6

2010 Hewlett-Packard Development Company, L.P.

u8443s e.00

Lab activity: Configuring the XP Review

5. Select the newly created host group in the Left panel. An unpopulated list of LUNs should appear on the right. In the lower panel on the right, select the CU that contains the LDEVs created using Volume Manager in the previous part of the lab. Select one of the 5GB volumes and one of the 100MB volumes. Select LUN0000. Click on Add LU Path in the middle. If you are not already in modify mode, click on the pen icon to enter modify mode. Select the 100MB LUN. Right click and select Command Device Disable Enable. The icon for this LUN should now have a C on it.

6. Copy the 5GB LUN to your second port by selecting it. Right click and choose Copy Paths. Select the host group on the second port. Right click and choose Paste Paths. 7. Click Apply to commit your changes.

u8443s e.00

2010 Hewlett-Packard Development Company, L.P.

Lab 2 - 7

HP StorageWorks XP 2: Business Continuity and Availability

8. Scan for new hardware on your Windows client. If your LUNs are not visible, reboot the Windows client. DO NOT INITIALIZE THE DISKS AT THIS TIME. 9. Install xpinfo from the mapped network drive (the student share): Navigate to the xpinfo folder Open the xpinfo zip file for Windows. Extract the xpinfo.exe file to the C:\WINDOWS\system32 directory Open a command window and run the xpinfo i command to see the host's view of the XP LUNs. Run xpinfo|more to see the detailed view. 10. If you also wish to experiment with HP-UX, present LUNs to your HP-UX client. To install xpinfo on HP-UX follow these steps: # cd /depot/XP/xpinfo # cp xpinfo.gz /tmp # cd /tmp # gunzip xpinfo.gz # mv xpinfo /usr/bin # chmod +x /usr/bin/xpinfo

Lab 2 - 8

2010 Hewlett-Packard Development Company, L.P.

u8443s e.00

Module 4 - Lab activity: Performance Analysis


Part 1 Analysis using PA Reports
Analyze the Performance Advisor generated report for Array 17935. This report comes from a real customer problem. The report can be found on the student share XP2_palabs Report_17935_all.pdf The customer is reporting an application slow down on February 02 between 6-6:30PM. The customer is using RAID groups that are 7+1 on 15k drives. (Note: You will notice that the report shows a cache amount of 0MB. This was due to a bug in an earlier version of Performance Advisor that has since been fixed. The actual amount of cache on this array is 128GB). Make a note of any bottlenecks or red flags you may see. What type of I/O was being done at the time of the slowdown? Do you think this is a front end or a backend problem? What metrics lead you to your conclusion? Be prepared to discuss your findings with the class.

u8443s e.00

2010 Hewlett-Packard Development Company, L.P.

Lab 4 -1

HP StorageWorks XP 2: Business Continuity and Availability

Part 3 Import Performance Advisor Data


In this portion of the lab you will import data that was previously collected and exported using another PA server. You will then view various PA data using the GUI. 1. Log in to the PA Management Server. 2. Launch the PA GUI by clicking on the Performance Advisor desktop icon

3. Login as administrator with a password of administrator 4. Click on Database Manager in the left navigation pane. Increase the maximum database size to 10GB. Click on Save. Exit the GUI.

5. Open the student share and copy the file XP2_palabs palbs.zip to your desktop. Right click on the zip file and choose WinZip Extract to here. A new folder named palabs should appear on your desktop. 6. Start the PA Backup Utility: Start All Programs Performance Advisor Backup Utility. Click on Restore. Navigate to the palabs folder on your desktop. Click Open. Click on Yes when asked if you want to restore. The restore process will begin. Be patient. You will see several messages including a few oracle error messages. When the restore has finished you will be prompted to press any key. After pressing any key, close the restore progress window and the backup/restore window.
Lab 4 -2
2010 Hewlett-Packard Development Company, L.P. u8443s e.00

HP Storage Works

XP

Lab activity: Performance Analysis

7. Launch the PA GUI by clicking on the Performance Advisor desktop icon

Log in as administrator, password administrator. 8. Click on Array View in the Navigation pane on the left. Click on the + next to Array. Verify that array 10026 appears in the list. 9. Close the PA GUI. Log off the PA server.

u8443s e.00

2010 Hewlett-Packard Development Company, L.P.

Lab 4 -3

HP StorageWorks XP 2: Business Continuity and Availability

Part 4 Performance Scenarios using captured data


Scenario 1 On 2/05/2010 at approximately 1 1:30, application users complained about a performance slowdown on server Spiderman connected to XP24000 (SN 10026). The application uses only two LDEVs (0:D0 and 0:D1). Use the historical data imported into the PA database to gather information. There is no one right way to go about this. The following is a list of things you may wish to explore: What ports are being used to access these LDEVs? How busy are those ports/microprocessors? What type of I/Os are being done to these LDEVs? Where do those LDEVs reside? Are there other busy LDEVs residing in the same place? Which ACP(DKAs) are accessing these LDEVs? What does the utilization look like?

After exploring the PA data, record your conclusions. Do you think this is a front end or back end problem? Be prepared to discuss you findings with the class. PA tips: Launch the PA GUI from the quick links on the lab launch page to be able to best maximize your window. To look at historical data from the various Array Views, Click the link to create a chart with current values (which will have no data). Click on the on the duration bar. You can then change the Start and End data/time. Click on Update.

If you cannot see the Duration Start and End at the bottom of your browser window, try increasing your local desktop resolution. If that does not work use the lab browser, page menu and zoom to 150%

Lab 4 -4

2010 Hewlett-Packard Development Company, L.P.

u8443s e.00

Lab activity: Performance Analysis

Note: If you are unfamiliar with using Performance Advisor you may want to start by looking at the Module 4 lab discussion in Appendix B of the Student Guide.

u8443s e.00

2010 Hewlett-Packard Development Company, L.P.

Lab 4 -5

HP StorageWorks XP 2: Business Continuity and Availability

Scenario 2 On 3/09/2010 at approximately 6:40PM there is an application slowdown on server DL36-267. The application uses just one LDEV: 2:0B on array 35570 (XP 20000). Use the historical data imported into the PA database to gather information. There is no one right way to go about this. The following is a list of things you may wish to explore: What ports are being used to access these LDEVs? How busy are those ports/microprocessors? What type of I/Os are being done to these LDEVs? What does cache usage look like? Where do those LDEVs reside? Are there other busy LDEVs residing in the same place? Which ACP(DKAs) are accessing these LDEVs? What does the utilization look like?

After exploring the PA data, record your conclusions. Do you think this is a front end or back end problem? Be prepared to discuss you findings with the class.

Lab 4 -6

2010 Hewlett-Packard Development Company, L.P.

u8443s e.00

Lab activity: External Storage XP 24000/20000


In this lab you will map LUNs that reside on an EVA as external storage. In order to configure External storage, you must first stop I/O to all Command Devices. Please stop collecting Performance Advisor data before proceeding with this lab, if you have not already done so. In order to accommodate the time zone sharing of XP equipment, please do not configure all of the external LUNs presented to your XP.

Verify/Set ports
1. 2. 3. From the launch page, record the ports that are to be used to access External Storage: ________________ Open a Web Console session and get into modify mode. Go External Storage Port Operation. Click on Subsystem. Verify that the assigned ports have an attribute of External. If not, make it so by right clicking on the port & choosing Change to External

Map External LUNs to XP LDEVs


The XP must first go through a Discovery process to find the External LUNs. This is much like having any OS scan for new devices. Once discovery has completed you must then map the external LUNs to XP LDEVs. Much like internal LDEVs belong to a parity group, external LDEVs are grouped into External LU Groups (ExG). You can group external LDEVs according to their use. In order to map External LUNs to XP LDEVs you must configure the following: Cross-subsystem paths External volume parameters such as cache and inflow control settings. Assign LDEV numbers Assign SSID (storage system ID) if assigned LDEV numbers are in a previously unused Control Unit. There are two methods available to perform the configuration. When you perform automatic mapping, you configure only cross-subsystem paths and all the other settings above are automatically made by XP External Storage software according to the default mapping policy. When you perform manual mapping, you configure all the settings. Automatic mapping maps all the external volume found by the Volume Discovery to the internal volumes. Automatic mapping requires less configuration but you are not allowed to set different parameters for each external volume or to specify LDEV numbers for each LDEV. We will experiment with both.

u8443s e.00

2010 Hewlett-Packard Development Company, L.P.

Lab 5 -1

HP StorageWorks XP 2: Business Continuity and Availability

1.

Click on the Volume Operation tab. Right click on Subsystem and choose Edit Policy

2.

Set the default policies as shown below. Click on Close:

3.

Right Click on Subsystem and choose Add Volume (Auto) Default Policy

The Auto Discovery of Ports setting made above will cause the XP to automatically discover any WWNs connected to all the XP's external ports. You will now need to configure the cross subsystem paths. The XP should have discovered an EVA array. Click on the EVA array in the display and the XP external ports connected to the EVA should be displayed. Click on an XP port to see the EVA WWN's connected to that port. To add the cross subsystem path select the EVA's WWNs, right click and select Add. Repeat for the second XP port:

Lab 5 -2

2010 Hewlett-Packard Development Company, L.P.

u8443s e.00

Lab activity: External Storage

You should now see the cross subsystem paths in the lower part of the display. Notice that each path is assigned a priority. Click OK:

Because you chose Automatic mode for adding the volumes the XP will automatically choose LDEV numbers and assign attributes according to the default setting. To see these assignment click the + next to the EVA in the left navigation bar, click on newly create Path Group. When you are done examining this screen, click Cancel so you can add the volumes and choose the settings manually.

u8443s e.00

2010 Hewlett-Packard Development Company, L.P.

Lab 5 -3

HP StorageWorks XP 2: Business Continuity and Availability

4.

Once again, right click on Subsystem. This time choose Add Volume (manual) Default Policy:

Once again, The XP should have discovered an EVA array. Click on the EVA array in the display and the XP external ports connected to the EVA should be displayed. This time you will create two path groups. The first path group will use the odd numbered Cluster port as the higher priority paths; the second path group will use the even numbered Cluster path as the higher priority. To create the first path group, select the XP odd number cluster path and select EVA WWN's, right click and choose Add. Repeat for the XP even number cluster path.

You should now see the cross subsystem paths in the lower part of the display. Notice that each path is assigned a priority. Click OK:

The add Volume Dialog box appears. Select the first external LUN, right click on choose Set External Volume Parameter:

Lab 5 -4

2010 Hewlett-Packard Development Company, L.P.

u8443s e.00

Lab activity: External Storage

In the Set External Volume Parameter box make sure to disable cache. Click OK::

Select the bottom remaining LUNs, right click and choose Delete.

Set the Volume IDs for the external LDEV. Select the LDEV, right click and choose LDEV Mapping (Auto).

u8443s e.00

2010 Hewlett-Packard Development Company, L.P.

Lab 5 -5

HP StorageWorks XP 2: Business Continuity and Availability

Choose an LDKC and CU. Set the interval to 0. Choose a starting LDEV number. Click OK:

Confirm your choices and click OK Click Apply to complete.

Lab 5 -6

2010 Hewlett-Packard Development Company, L.P.

u8443s e.00

Lab activity: External Storage

5.

Configure the second path group by repeating the actions in the previous step, but this time choose the even cluster path first when adding the paths to the WWNs.

The remaining LDEVs should be discovered. Set the options and LDEV number for one additional LDEV, as you did before. When you are finished you should have two path groups with 1 external LDEV in each.

Disconnecting an External Array


1. In the Volume Operation Screen click on the EVA in the navigation panel on the left. In the right display panel notice the Ext-VOL status. If it is not displayed, click on the Status: Disable button toward the upper right of your screen. It will change to Enable and the status will be displayed.

2.

When doing maintenance on an external array or when the link between the arrays will be down for an extended time its desirable to force the XP to flush any data that is in cache out to the external array. To do this, right click on the EVA. Select the Disconnect Subsystem option. Click Apply. This may take several minutes.

Notice the volume status. It should show as Disconnect. To restore the connection, right click on the array and choose Check Paths and Restore Volumes to bring the devices back on-line. Click Apply. The status should change to either Checking or Normal. If the status is not Normal File Refresh after a few minutes. The status should change to Normal.
u8443s e.00 2010 Hewlett-Packard Development Company, L.P.

Lab 5 -7

HP StorageWorks XP 2: Business Continuity and Availability

Deleting an External LDEV


1. Before deleting an external LDEV you need to disconnect it to get the XP to flush any data in cache related to the volume. In the Volume Operation Screen, expand the EVA. Click on one of the Path Groups. Choose one of your external volumes from the volume list in the right panel. Right click and select Disconnect Volume. Click Apply. View the Ext volume status. If the status is not Disconnect, wait a few minutes and choose Refresh from the File menu. Once the volume shows a status of Disconnect, select it, right click and choose Delete Volume. Click Apply.

2.

Map the External Volume to a host


1. Use LUN Manager to map one of the external volumes to your host. Notice the LDEV number is followed by a # sign to indicate that it is an external volume.

Lab 5 -8

2010 Hewlett-Packard Development Company, L.P.

u8443s e.00

Lab activity: External Storage

2.

Scan for new devices on your host. There may already be data on the external volume from a previous class. If so, assign a drive letter and explore the data. If not, initialize and quick format the drive and add some files to it. Run xpinfo|more. Find your external LUN in the output. Notice that the RAID Level for the external device appears as ELUN and that no RAID group is listed.

3.

u8443s e.00

2010 Hewlett-Packard Development Company, L.P.

Lab 5 -9

HP StorageWorks XP 2: Business Continuity and Availability

Lab 5 -10

2010 Hewlett-Packard Development Company, L.P.

u8443s e.00

Lab activity: Thin Provisioning


Objectives
After completing this lab you should be able to: Configure Thin Provisioning pools. Create Thin Provisioning VVOLs Manage VVOL and pool thresholds. Expand Thin Provisioning pools. Delete VVOLs Note: This lab can only be performed on an XP 2x000

u8443s e.00

2010 Hewlett-Packard Development Company, L.P.

Lab 6 -1

HP StorageWorks XP 2: Business Continuity and Availability

Lab exercise: Creating Thin Provisioning Pools


In a real world environment you should take great care in planning out your pools. For our lab purposes you can select any unused volumes. 1. 2. 3. 4. 5. 6. Log into the Remote Web Console (RWC) as a user with administrator privileges.. Place the array in Modify Mode by clicking the pen icon at the top of the screen. In the main navigation menu, choose Go Volume Manager Pool. In the navigation tree, right-click on XP Thin Provisioning and select New Pool from the menu. Enter the Pool ID and Threshold values. Record your new pool ID here ____ Click Set.

Lab 6 -2

2010 Hewlett-Packard Development Company, L.P.

u8443s e.00

Lab activity: Thin Provisioning

7. 8. 9.

Select the LDKC and CU that contain the LDEVs you are using for the pool volumes. In the lower pane, select 2 10GB LDEVs for your pool volumes. Click Add PoolVOL.

10. Click Apply.

u8443s e.00

2010 Hewlett-Packard Development Company, L.P.

Lab 6 -3

HP StorageWorks XP 2: Business Continuity and Availability

Lab exercise: Creating Thin Provisioning VVOLs


1. 2. 3. 4. 5. 6. 7. In the main navigation menu, choose Go Volume Manager VVOL. Right-click XP Thin Provisioning in the navigation tree, and choose New V VOL Group. Enter a number for the group in the VVOL Group field. The emulation type should be set for OPENV. Select the CLPR to assign to the new VVOL Group. Enter 0 in the Copy of VVOL Groups, this option allows you to create multiple VVOL Groups at once. Click Next.

Lab 6 -4

2010 Hewlett-Packard Development Company, L.P.

u8443s e.00

Lab activity: Thin Provisioning

8. 9.

Select MB for the Capacity Unit Enter 30000MB for the size of the VVOL in the Capacity field. Note that this is approximately 50% larger than the pool configured in the last step.

10. Enter one for the Number of VVOLs per group you wish to create.
Note The number entered in this field controls the number of VVOLs created per VVOL Group (total number of VVOLs = Number of VVOL Groups * Number of VVOLs).

11. Click Set. 12. Click Next.

u8443s e.00

2010 Hewlett-Packard Development Company, L.P.

Lab 6 -5

HP StorageWorks XP 2: Business Continuity and Availability

13. Assign CU:LDEV to the newly defined VVOL: a. b. c. d. Select the VVOL. Select a CU with available LDEVs from the CU NO dropdown. Select an Interval of 0. Click on an available (white) LDEV in the space below.

14. Click Next.

Lab 6 -6

2010 Hewlett-Packard Development Company, L.P.

u8443s e.00

Lab activity: Thin Provisioning

15. If you chose a previously unpopulated CU you will need to set the SSID. If not, skip to the next step. Select an SSID. Click Set. Click Next.

16. Verify that all information has been entered correctly. 17. Click OK. 18. Click Apply to complete the operation.

u8443s e.00

2010 Hewlett-Packard Development Company, L.P.

Lab 6 -7

HP StorageWorks XP 2: Business Continuity and Availability

Lab exercise: Assigning Thin Provisioning VVOLs to a pool


1. 2. 3. 4. If you have not already done so, navigate to the V-VOL screen (Go Volume Manager VVOL). Rightclick on the newly created VVOL and choose Associate V-VOL with Pool. Select the pool you created earlier. Click Next.

5. 6. 7. 8. 9.

Set the volume Threshold to 50%. Click Set. Click Apply. In the V-VOL screen, scroll to the right to see the V-VOLs threshold, Pool ID, usage rate and used pages. Click on the Pool tab. Observe the pool information in the lower left corner. Make a note of the pool Used Capacity and Usage Rate.

Lab 6 -8

2010 Hewlett-Packard Development Company, L.P.

u8443s e.00

Lab activity: Thin Provisioning

Lab exercise: Presenting Thin Provisioning LUNs to a Windows host


1. Using LUN Manager, on the XP RWC, right click on your host group and choose Change Host Group. Verify that your host mode is set to 2C. Click on Options>>. Select Host Mode Option 40. Repeat this for the host group on your second port

2. 3. 4. 5.

Present your Thin Provisioning V-VOL to the Windows host. If you have not already done so, log into the Windows host as Administrator. Rightclick on My Computer and select Manage from the menu. In the Computer Management window expand Storage and click on Disk Management. If the Initialize and Convert Disk Wizard window comes up click Cancel. From the menu, select Action Rescan Disks. If the LUN is not detected reboot the Windows host. Rightclick on the new ThP disk and choose Initialize Disk. De-select all disks except the new ThP volume. Next rightclick on the unallocated space for the ThP volume and choose New Partition a. b. c. d. e. Click Next. Select Primary Partition and click Next. Use the default (maximum) partition size, click Next. Select a drive letter to assign to the partition and click Next. Select the Format this partition with the following settings: radio button. 1) 2) File system: NTFS Allocation unit size: Default
2010 Hewlett-Packard Development Company, L.P.

6. 7. 8.

u8443s e.00

Lab 6 -9

HP StorageWorks XP 2: Business Continuity and Availability

3) f. g. h. 9.

Volume label: Enter a label for the volume

Check the Perform a quick format box. Click Next. Click Finish.

Return to the RWC Window. Go Volume Manager V-VOL. Drill down & display your V-VOL. Scroll to the right to view your usage rate and used pages. How much space has been allocated for your V-VOL? ________

Lab 6 -10

2010 Hewlett-Packard Development Company, L.P.

u8443s e.00

Lab activity: Thin Provisioning

Lab exercise: Understanding Thin Provisioning thresholds


1. On your Windows Client open the trap receiver program ( Start All Programs Trap Receiver Trap Receiver). Leave the trap receiver window open. Use RWC to configure your XP to forward SNMP traps to your Windows Server. Go Install SNMP IP Security. Right click on public and select Add IP Address

2.

Enter the IP Address of your Windows Client. Click OK. Click Apply. Click on Trap Test and verify that your SNMP trap receiver window shows the SNMP trap.

3. 4.

In the main menu choose Go Volume Manager Pool. Expand XP Thin Provisioning in the navigation tree and select the pool you created.
2010 Hewlett-Packard Development Company, L.P.

u8443s e.00

Lab 6 -11

HP StorageWorks XP 2: Business Continuity and Availability

5. 6. 7. 8.

Make note of the following values: Total Capacity, Used Capacity, and Threshold. On the student share you will find a file called GenFile.zip. Unzip the genfile.exe utility to the C:\genfile directory. Open a command prompt (Start Run cmd). Change to the C:\genfile directory and use genfile.exe to create data on the Thin Provisioning LUN. # cd c:\genfile # genfile 300M <drive_letter>:\file1.dat
Substitute the Thin Provisioned Volumes drive letter. The following gives you an idea of the size file that will be created: 32M 1G file 50M 1.6G 100M 3G 300M 9G

9.

Refresh the RWC display: File Refresh. The Used Capacity and Usage Rate should have changed, what are they now? ............................................................................................................................

10. Use genfile to create a 3G file genfile 100M <drive_letter>:\file2.dat (Substitute your drive letter) 11. Refresh the RWC display: File Refresh What is the Usage Rate? ................................................................................... Has the icon for the pool changed? .................................................................... 12. Check your SNMP trap receiver window. Did you receive a trap? Double click on the trap to view the text.

Lab 6 -12

2010 Hewlett-Packard Development Company, L.P.

u8443s e.00

Lab activity: Thin Provisioning

13. In RWC Go Device Status and Alerts Alerts. You should see new alerts. Right Click and select Detail. Close the detail listing.

14. On the XP RWC, return to the Volume Manger Pool display. Select your pool. Make note of the Used Capacity and Usage Rate for the pool. ............................................................................................................................ 15. On the Windows host, delete one of the files generated by genfile. Be sure to empty the Recycle Bin to ensure the files are completely deleted. 16. Refresh the XP RWC display. Notice the Used Capacity and Usage Rate have not changed. Once a host writes to a page Thin Provisioning does not reclaim the space. 17. Go the V-VOL screen (Go Volume Manager V-VOL). Drill down to your V-VOL. Select your V-VOL and scroll to the right to examine the usage rate
u8443s e.00 2010 Hewlett-Packard Development Company, L.P.

Lab 6 -13

HP StorageWorks XP 2: Business Continuity and Availability

and the number of pages used. Right click on your V-VOL and select Discard Zero Data from the menu.

Examine the Usage Rate and Used Page Num after the discard operation completes. You will notice that no pages have been discarded. This is because when Windows deletes a file it merely deletes a pointer to the file. It does not actually write zeros to the pages that were previously occupied by the file. The Discard Zero Data function is primarily used to discard zero pages after a fully provisioned volume is copied to a ThP volume. The pages that contain all zeros in the fully provisioned volume will be fully provisioned during the copy but can be reclaimed once the copy has completed. 18. Continue to copy data to the LUN until the pool Usage Rate is at 100%. What icon is used to indicate the pool in the navigation tree now? .................... ............................................................................................................................ What is the Pool Status?.................................................................................... 19. Check the SNMP trap receiver for new traps. 20. Delete some data from the LUN and refresh the RWC display. Is the pool still at full capacity?............................................................................

Lab 6 -14

2010 Hewlett-Packard Development Company, L.P.

u8443s e.00

Lab activity: Thin Provisioning

Lab exercise: Expanding Thin Provisioning pools


1. 2. 3. 4. In RWC Choose Go Volume Manager Pool from the main menu. Expand XP Thin Provisioning and select the full pool. In the Free LDEVs pane use the pulldowns to select an LDKC and CU with available volumes. Add 2 more volumes to the pool by selecting the volumes and clicking on the Add PoolVOL button. Click Apply. Does the pool icon still show a warning or error state?....................................... What are the new Total Capacity and Usage Rate? ......................................... 5. View the RWC Thin Provisioning report: File Reports. Click on the XP Thin Provisioning tab. With the LDKC:CU radio button selected, choose the CU containing your V-VOL from the CU pull down list on the right. Select your V-VOL. A list of the Pool VOLs will appear in the bottom pane.

6.

Select the Pool radio button. Select your pool from the pull down menu. A list of all the volumes occupying your pool will be displayed.

u8443s e.00

2010 Hewlett-Packard Development Company, L.P.

Lab 6 -15

HP StorageWorks XP 2: Business Continuity and Availability

7.

Close the report display window.

Lab 6 -16

2010 Hewlett-Packard Development Company, L.P.

u8443s e.00

Lab activity: Thin Provisioning

Lab exercise: Expanding Thin Provisioning volumes (Optional)


Expanding the size of a Thin Provisioned volume requires the use of RAID Manager. You may choose to skip this portion of the lab if you are unfamiliar with using RAID Manager. The RAID Manager software has already been installed on your Windows server. You should have a command device presented to your Windows server from a previous lab. If not, present one before continuing. 1. Copy the Thin Provisioning RAID Manager sample configuration file from the student share Raid_Manager Sample_HORCMs horcmThP50.conf to the C:\WINDOWS directory. Rename the file in the C:\WINDOWS directory horcm50.conf. Edit the new horcm50.conf file as follows: Replace the IP address in the HORCM_MON and HORCM_INST sections with the IP address of your Windows server In the HORCM_LDEV section, replace the array serial number and the Thin Provisioned V-VOL LDKC:CU:LDEV with your array information Save the changes HORCM_MON # IP service 192.168.140.202 5050 HORCM_CMD # Comand Device \\.\CMD HORCM_LDEV # group pair serial cu:ldev thpgrp thpvol 35587 00:7:00 HORCM_INST thpgrp 192.168.140.202 5050 If you have any open RWC sessions, release the Modify Mode lock. Start the RAID Manager instance: Open a Command Prompt Window Issue the following commands cd c:\horcm\etc horcmstart 50 If the instance fails to start check the C:\HORCM\log50\curlog directory for the current log file. 5. Use the raidvchkset command to increase the size of the Thin Provisioned volume by 5G: raidvchkset -I50 -vext 5g -g thpgrp -nowarning
u8443s e.00 2010 Hewlett-Packard Development Company, L.P.

2.

poll timeout 3000 1000

3. 4.

Lab 6 -17

HP StorageWorks XP 2: Business Continuity and Availability

6.

Use RWC to verify the V-VOL size has increased. You may receive a message that the array is in the process of changing the configuration. If, so wait a few minutes and refresh the array (File Refresh) and try again.

Go Volume Manager V-VOL. Drill down to your V-VOL VDEV. Select your V-VOL and observe the new size. 7.

Run disk manager on your Windows server. Rescan for disks. You should see the increased capacity.

Lab 6 -18

2010 Hewlett-Packard Development Company, L.P.

u8443s e.00

Lab activity: Thin Provisioning

Lab exercise: Disconnecting a VVOL from a THP pool

!
1.

Important Disconnecting a VVOL from a THP pool frees all chunks allocated to the volume. This operation results in host data loss.

On the Windows host unmount the LUN by removing the drive letter: a. b. c. d. Rightclick on My Computer and choose Manage. Rightclick the LUN and select Change Driver Letter and Paths Click Remove. Close the Computer Management Window

2. 3. 4. 5. 6. 7.

On the RWC use LUN Manager to remove all host paths associated with the V-VOL In the main menu select Go Volume Manager VVOL. In the navigation tree expand the XP Thin Provisioning. Expand your V-VOL group. Select the V-VOL VDEV. Rightclick the VVOL in the right pane and select Release V-VOL from Pool. Click OK. Click Apply.

8.

Click on the Pool tab. Drill down to your pool. Has the space been returned to the pool?

u8443s e.00

2010 Hewlett-Packard Development Company, L.P.

Lab 6 -19

HP StorageWorks XP 2: Business Continuity and Availability

Lab 6 -20

2010 Hewlett-Packard Development Company, L.P.

u8443s e.00

Lab activity: Thin Provisioning

Lab exercise: Deleting VVOLs


1. If you have not already done so, use LUN Manager to remove the paths to the host.
Note You must remove all host paths associated with a VVOL and disconnect the storage pool before you can perform the delete operation.

2. 3. 4. 5. 6.

In the main menu select Go Volume Manager VVOL. In the navigation tree expand XP Thin Provisioning. Rightclick the VVOL group in the navigation tree and select Delete VVOL Group. Click OK. Click Apply.

You have completed this lab.

u8443s e.00

2010 Hewlett-Packard Development Company, L.P.

Lab 6 -21

HP StorageWorks XP 2: Business Continuity and Availability

Lab 6 -22

2010 Hewlett-Packard Development Company, L.P.

u8443s e.00

Lab activity: Performance Monitor


Lab setup
For this lab, you will need 5 LUNs 2G each presented to your Windows host. Do not initialize the volumes!

Disk Target #

ldkc:cu:ldev

LUN #

Port

1 2 3 4 5
1. 2. Start AutoLUN/Perf Ctl/Perf Mon Select Monitoring Options tab. Click on the Enable Radio Button Select 1 minute Gathering Interval. Find the box that corresponds to each of your LDEVs CU #. If the box does not contain an S, select it and click Select. Click Apply.

XP20000/24000

u8443s e.00

2010 Hewlett-Packard Development Company, L.P.

Lab 8 - 1

HP StorageWorks XP 2: Business Continuity and Availability

3.

Click the AutoLUN tab, select Port-LUN tab. Expand Subsystem tree, expand Target. Select an XP Port then the Host Group where disks are presented. Click LUN. This will show all LUNs presented on this port.

4.

Select Real Time and 5. Click Apply. (You may need to wait until data is available. If the Real Time button is grayed out, choose Refresh from the File menu.

5.

Launch Iometer. Worker 1 Disk Targets 1, 2 and 3 Access Specifications 512B; 100% Read, 0% Random - 512B; 75% Read; 0% Random Worker 2 Disk Targets 2 and 4 Assigned Specifications 16kB; 100%, 0% Random

6.

Start Iometer (green flag on Iometer screen). Click Results Display tab and change the update frequency to 1 sec.

Lab 8 - 2

2010 Hewlett-Packard Development Company, L.P.

u8443s e.00

Lab activity: Performance Monitor

7.

In the Remote Web Console Auto LUN Port-LUN screen, select LUNs that Iometer is loading. If you do not see any I/O activity, refresh the array information. Once there is I/O activity shown in the IOPS column, click Draw. The graph and data will automatically update. You may need to change the Y Axis Rate to see data in the chart.

8.

Stop Iometer. Try different R/W values, Random/Sequential, add workers, etc.

u8443s e.00

2010 Hewlett-Packard Development Company, L.P.

Lab 8 - 3

HP StorageWorks XP 2: Business Continuity and Availability

9.

To review Historical Data (since starting AutoLUN) Select From and To times in the Monitoring Term. Click Apply Highlight LUNs to graph, click Draw.

10. For specific Read/Write Historical Data (since starting AutoLUN) Select LDEV tab. Expand Subsystem tree and click specific Parity Group. In Monitoring Term, use From and To sliders to select specific time frame to show. Click Apply. Highlight LUNs to graph, select IOPS or MB/s. Select IO Rate, Read, Write, Read Hit, Write Hit or Back Trans. from the pull down. When using Back Trans, also select Detail. Click Draw.

Lab 8 - 4

2010 Hewlett-Packard Development Company, L.P.

u8443s e.00

Lab activity: Performance Monitor

11. For Cache performance (since starting AutoLUN) Select Physical tab. Expand Subsystem tree and Highlight Cache. Highlight CLPR0. In the Monitoring Data pull down menu, select shortrange. You can now select between cache Usage and Write Pending Click Draw.

12. STOP Iometer if it is still running!

u8443s e.00

2010 Hewlett-Packard Development Company, L.P.

Lab 8 - 5

HP StorageWorks XP 2: Business Continuity and Availability

Lab 8 - 6

2010 Hewlett-Packard Development Company, L.P.

u8443s e.00

Lab activity: AutoLUN Manual Migration


Lab setup
For this lab, choose one volume to move with manual migration.
Source LDEV ldkc:cu:ldev LUN # Parity Group Port

You will need another LDEV the exact same size to be a target. The target should be in a different parity group and should not have any paths assigned. Use Volume Manager to create a target LDEV if necessary. To ensure volumes are the exact same size, use blks as the unit of allocation.

Target LDEV #

ldkc:cu:ldev

Parity Group

The Target LDEV (destination of the migration) must be reserved for AutoLUN: 1. Start AutoLUN. Click Physical tab. Click Plan (Monitoring Data must be set to longrange) 2. 3. 4. From AutoLUN Window, click Attribute tab. From Attribute window, expand Class tree. Select the Parity Group containing the target LDEV. Highlight the LDEV to Reserve Right click, select ReservedLDEV. Click Apply.

u8443s e.00

2010 Hewlett-Packard Development Company, L.P.

Lab 9 - 1

HP StorageWorks XP 2: Business Continuity and Availability

Manual Migration
5. 6. 7. From AutoLUN window, select Manual Migration tab. Expand the Parity Group containing the Source LDEV. Highlight the Source LDEV, click Target. Potential Target (Reserved) LDEVs will be listed. Only Reserved LDEVs that are the same size as the source will be included in the list. Select a Target LDEV. Click Graph to display estimated usage rates of Source and Target.

8.

Select the Target (Reserved) LDEV. Click Set. The AutoLUN Migration pair will move to the bottom of the window.

9.

Click Apply

10. Click on the History tab. Find the start and end messages for your migration in the Migration History panel at the bottom of the screen. 11. Using Manual Migration, move LDEVs back to the original Source and Target Parity Groups.

Lab 9 - 2

2010 Hewlett-Packard Development Company, L.P.

u8443s e.00

Lab activity: AutoLUN Manual Migration

Parity Group view after migration.

12. BONUS!!! Migrate an External Storage Volume, containing data, to an internal XP LDEV: Start by using Volume Manager Customized Volumes. Change the capacity unit displayed from MB to blocks. Record the capacity of one of your external volumes (in blocks) _____________ Create an internal volume of the exact same size (using blocks as the capacity unit). Next use AutoLUN to swap the internal and external LDEVs. Use LUN Manager to display the volumes presented to your host. Verify the volume that was previously an external LDEV no longer is followed by a # sign.

u8443s e.00

2010 Hewlett-Packard Development Company, L.P.

Lab 9 - 3

HP StorageWorks XP 2: Business Continuity and Availability

(Optional) Using AutoLUN to migrate a normal volume to a Thin Provisioned Volume


1. Use Volume Manger to create a 3000MB normal customized volume. Go Volume Manager Customized Volume. Make sure your volume is formatted and the status is Normal when you are done. Change the allocation unit display to blocks and record the following for the new volume: Parity Group ______ LDKC:CU:LDEV________ Size in blocks _______ 2. Click on the V-VOL tab. Select XP Thin Provisioning. Right click and select New V-VOL group. Create a new V-VOL group with one V-VOL the exact same size as the normal volume created above (use blocks as the allocation unit to ensure the volumes are the same size). Record the following: V-VOL Group ______ LDKC:CU:LDEV ________ 3. 4. 5. Right click on the newly created V-VOL. Choose Associate V-VOL with pool from the menu. Select a pool. Present the normal customized volume created above to your server. Rescan for disks on the server. Make the ThP V-VOL an AutoLUN reserved volume: a. b. c. d. e. 6. Go AutoLUN AutoLUN. Click on the Physical tab. Make sure Monitoring Data is set to longrange. Click on Plan. Click on the Attribute tab Expand the + Next to XP Thin Provisioning. Drill down to your V-VOL. Right click on your V-VOL and select Reserved LDEV. Click on the Manual Migration tab Drill down to the parity group that contains your normal custom volume. Select the normal volume and click on the Target button. Your ThP VVOL should be displayed in the target list in the middle of the screen. Select the ThP V-VOL and click on Set. Click on Apply Click on the History tab. Confirm the migration has completed. If it has not yet completed, click on the refresh button Once the migration has completed you should notice that the LDCK:CU:LDEV that was previously in the normal parity group is now in the ThP V-VOL group and the LDKC:CU:LDEV that was assigned to the ThP V-VOL is now in the normal parity group.
2010 Hewlett-Packard Development Company, L.P. u8443s e.00

Migrate the normal volume to the Thin Provisioned Volume: a. b. c. d.

7.

Verify the swap has occurred: a. b. c.

Lab 9 - 4

Lab activity: AutoLUN Manual Migration

d. 8.

Close the AutoLUN window once the migration has completed successfully. Go Volume Manager V-VOL.

Observe how much space has been provisioned for the ThP volume: a. b. c. d. e. Drill down to the ThP V-VOL created above. Select your ThP V-VOL and scroll to the right. Observe the usage rate. You should notice that the process of copying the normal volume to the ThP V-VOL caused the ThP volume to be fully provisioned. This occurred even though the normal volume contained no data! Right click on your V-VOL. Select Discard Zero Data Click Apply Be patient, the operation may take several minutes. Once the zero page reclaim has finished, observe the usage rate for your V-VOL. Did you get the space back?

9.

Reclaim the pages containing all zeros from the pool: a. b. c. d. e.

u8443s e.00

2010 Hewlett-Packard Development Company, L.P.

Lab 9 - 5

HP StorageWorks XP 2: Business Continuity and Availability

Lab 9 - 6

2010 Hewlett-Packard Development Company, L.P.

u8443s e.00

Lab activity: Performance Control


Performance control enables you to implement Quality of Service (QoS ) by limiting I/O/s or MB/s of selected HBAs. For this lab you will need to have one XP internal LUN 5G, that does not contain a partition, presented to your Windows host. Do not choose the External Storage nor the ThP LUN. Do not choose a command device. Record the following information: Windows Physical Drive number for LUN ________________________ XP LDEV # [LDKC] CU:LDEV _________________________ XP Parity group containing the LUN ____________________ Windows HBA WWNs _________________________________________________

Begin Collecting Monitoring Data


If you are already collecting data from the Auto LUN LAB you can skip to the next section. 1. Connect to your Windows Client machine. Launch Web Console. Log in and change to Modify Mode. Go Auto LUN, Perf Ctl, Perf Mon, Monitoring Options You must select the CU's you wish to monitor and a monitoring interval. To help you select CU's you can display a list of the parity groups, click on a parity group, and the CUs of the LDEVs in that parity group will be displayed. The PG Selection Support button at the bottom left toggles the parity group display. Select your parity group. The appropriate CU(s) will be highlighted. Click on Select. You should see an "S" in the box for your CU.

2.

u8443s d.00

2010 Hewlett-Packard Development Company, L.P.

Lab 10 -1

HP StorageWorks XP 2: Business Continuity and Availability

Toward the top of the screen click the Enable radio button and set your Gathering Interval to 1 minute. Click Apply.

Start an I/O Workload


3. 4. Start Iometer on your Windows client. On the Disk Target screen select Worker 1. Choose the disk that corresponds to the LUN recorded above. Do not choose either of your command devices, your External Storage device, nor your ThP LUN.

Click on the Access Specification tab. Click on New to create a new test. Create the new test as follows: Name: pfctest Transfer Request size: 64k 100% Random No Reply 100% of Access Specification Burst Length: 200 I/Os 33% Write 67% Read

Lab 10 -2

2010 Hewlett-Packard Development Company, L.P.

u8443s d.00

Lab activity: Performance Control

Choose the newly created test for Worker 1.

Click on the Results Display Tab. Slide the Update Frequency bar to the far left (update every second). Click on the green flag to start the test. Accept the default location to store the results.

u8443s d.00

2010 Hewlett-Packard Development Company, L.P.

Lab 10 -3

HP StorageWorks XP 2: Business Continuity and Availability

5.

Allow the test to run for several minutes. Note the Total I/Os per Second.

Use Performance Control to Limit your host


6. Click on the WWN tab on the lower left side panel. Click the PFC button on the right.

7.

Begin to have PFC monitor your HBA. Follow these steps: a. Click on the WWN tab. Expand the Subsystem icon and the CHA port of your first HBA. You should see two icons. One for Monitored HBAs and one for Non-Monitored HBAs. Expand the + next to both. Find your HBA in the list of Non-Monitor. Drag and Drop it to the Monitor icon. A pop-up will appear. Assign a PFC name to your HBA.

Lab 10 -4

2010 Hewlett-Packard Development Company, L.P.

u8443s d.00

Lab activity: Performance Control

b. 8. a.

Repeat for your second HBA. Click on Subsystem in the lower left. Right click and select Add New PFC Group. Assign a PFC group name in the pop-up that appears.

Create a PFC group for your host. Follow these steps:

b.

Select the newly created PFC group in the bottom left panel. In the top left select your HBA. Click on Add WWN. Repeat for your second HBA.

u8443s d.00

2010 Hewlett-Packard Development Company, L.P.

Lab 10 -5

HP StorageWorks XP 2: Business Continuity and Availability

9.

Make your new PFC group a Non-Priority group by right clicking on the group name in the lower left panel and selecting Prio -> Non-Prio.

10. Set an upper limit by right clicking the group name and choosing Change Upper Limit. Set the upper limit to 100 IOPS.

Lab 10 -6

2010 Hewlett-Packard Development Company, L.P.

u8443s d.00

Lab activity: Performance Control

11. Commit these changes by clicking on Apply. 12. To verify settings click on one of your HBAs In the upper left pane. In the upper right hand pane scroll to the far right. You should see the limit set.

To verify setting

u8443s d.00

2010 Hewlett-Packard Development Company, L.P.

Lab 10 -7

HP StorageWorks XP 2: Business Continuity and Availability

Monitor the results


13. Return to the Iometer screen. If the IOPS displayed has not dropped, stop the test and restart it. Watch the IOPS. It should stay fairly close to the limit. Allow this to run for a couple of minutes.

14. Set a threshold so that the limit is only in place when I/O activity is high. Do this by returning to the PFC screen in RWC. Click the All Threshold check box and set the Threshold to 60000 IOPS. Click Apply.

15. Return to the Iometer results display. You should see your IOPS begin to climb. Allow to run for a couple of minutes.

Lab 10 -8

2010 Hewlett-Packard Development Company, L.P.

u8443s d.00

Lab activity: Performance Control

Remove all PFC settings


16. Click the Initialize button on the bottom right to remove all PFC control.

Initialize will change all ports back to priority and will turn off threshold

View Monitored Data


17. Close the PFC screen. 18. At the top right of the Auto LUN screen set the time range to the last 30 minutes. If less than 30 minutes of data is available set it to the max. Click Apply. 19. Select shortrange for Monitoring Data. 20. Click on the Port-LUN tab. In the navigation panel, drill down and select your LUN.

Select time of last 30 mins

Select the lun

Change axis rate to 500

u8443s d.00

2010 Hewlett-Packard Development Company, L.P.

Lab 10 -9

HP StorageWorks XP 2: Business Continuity and Availability

Turn off Monitoring


21. Click on the Monitoring Options tab. Click the Disable radio button. Click Apply.

Make sure to stop all Iometer workloads when you are done with the lab!!!

Lab 10 -10

2010 Hewlett-Packard Development Company, L.P.

u8443s d.00

Lab activity: Business Copy Review (Paper Lab)


1: Solution for software developers
Consider the following scenario: One of your Windows hosts is going to be used to house a production system. A second Windows host will be used by software developers who need to access the data being generated within the production environment. This machine is called the Development Server. Imagine that the applications running on the Production Server require three logical devices to support them. These logical devices must be mounted as separate drives and available to the server at all times and must be consistent at all times. The development server needs to access the contents of the three production servers devices so that the developers can test software on real production data. A software test usually takes less than 10 minutes and when completed the developers will have amended the data on the disks. After a short period of code bug fixing and enhancement to the software that they are developing the development server will need to access clean copies of the production server disks again. Hence the developers will need clean copies of the production data disks again. Consider how you can use Business Copy to solve the set of requirements described above and design a solution.

2: Backup solution
A new requirement has now emerged for your installation. A backup system has been installed. The production system disks are so important to the organization that they need to be backed up to tape on a four hourly cycle. Let us imagine that the process of placing disk contents on tape can be completed by the backup software in two hours and any re-synchronizing can be completed in less than 30 minutes. In a recovery situation we will attempt recovery initially from production disk copies within the XP and these must never be more than 4 hours out of date. As we cannot be sure that this recovery will be successful we also need to be able to return data from tapes as a last resort. The users are not prepared to accept an attempt at recovery from a disk which is in the process of being backed up to tape. Discuss your proposed solution with rest of the class.

u8443s d.00

2009 Hewlett-Packard Development Company, L.P.

Lab 11 -1

HP StorageWorks XP 2: Business Continuity and Availability

Lab 11 -2

2009 Hewlett-Packard Development Company, L.P.

u8443s d.00

Lab activity: Configuring Snapshot


In this lab, you will create Business Copy Snapshot pairs. Examples are given throughout the lab instructions. When completing the lab steps, be sure to substitute information appropriate for your lab team.

u8443s d.00

2009 Hewlett-Packard Development Company, L.P.

Lab 13-1

HP StorageWorks XP 2: Business Continuity and Availability

Part 1 - Setup Snapshot Pools and V-VOLs with Remote Web Console
1. Present two 10G volumes and a 46M Command Device to the Windows storage client. The 10G LUNs will be used as the snapshot P-VOLs. Use Disk Manager to initialize both 10G volumes as basic disks. Create a partition with an NTFS file system on each volume. Assign them drive letters. Copy a few files to the new volumes. Record the following: LDEV # Parity Group Drive Letter Size

2.

Turn off write caching on the disks by right clicking on the OPEN-V Multi-Path Disk Devices in device manager and un-checking the Enable write caching on the disk check box.

Lab 13-2

2009 Hewlett-Packard Development Company, L.P.

u8443s d.00

Lab activity: Configuring Snapshot

3.

Create the pool:

Use RWC in Modify Mode to create a snapshot pool: Volume Manager Pool. Right click on Snapshot and choose New Pool. Assign a pool id and a threshold.

4.

In a real world environment you would take care to plan your Snapshot pool and would spread the pool across multiple array groups. For purposes of this lab, we will use what is convenient. Choose an LDEV in a different parity group than the volumes you created in step 1. The minimum size for a pool volume is 8G. Choose one pool volume 10G.

Click on the new pool in the Pool panel on the upper left. In the lower right Free LDEVs Panel, select your pool volume(s) and click Add Pool-VOL. Click Apply.

u8443s d.00

2009 Hewlett-Packard Development Company, L.P.

Lab 13-3

HP StorageWorks XP 2: Business Continuity and Availability

5.

The next step is to create V-VOLs for each of the Volumes you will replicate. It is critical the V-VOLs be exactly the same size as the P-VOLs. Go to Volume Manager Customized Volume. Drill down to the Parity Group/V-DEV containing your P-VOL LUNs. Change the display to blocks. Record the number of blocks here _______________________

Click on the V-VOL tab. Right click on XP Snapshot and select New V-VOL Group

Lab 13-4

2009 Hewlett-Packard Development Company, L.P.

u8443s d.00

Lab activity: Configuring Snapshot

Enter a V-VOL group ID. Click Next.

In the Create V-VOL window change the Capacity Unit to block. Set the number of blocks equal to your first P-VOL, click on Set. Repeat for the second P-VOL. Click on Next.

u8443s d.00

2009 Hewlett-Packard Development Company, L.P.

Lab 13-5

HP StorageWorks XP 2: Business Continuity and Availability

Highlight the Volumes. Select a starting CU, LDEV

Click Next. Click Apply. Notice the LDEV numbers are followed by a "V". Record your V-VOL LDEV IDs ________________________. 6. V-VOLs must have a path assigned in order to be a valid Business Copy S-VOL target. However, they are not writeable until the pair has been created and split. We will create a "dummy" host group for this purpose. Navigate to LUN Manager. Create a new host group on your Windows port called snapshot. You do not need to add any WWNs. Present the V-VOLs to the new hostgroup.

Lab 13-6

2009 Hewlett-Packard Development Company, L.P.

u8443s d.00

Lab activity: Configuring Snapshot

Part 2 - Creating and managing snapshots with RAID Manager


Snapshot creation can not be done with the RWC GUI. You must use RAID Manager. We have already installed RAID Manager on your Windows host. 1. Create RAID Manager HORCM config files for your P-VOL and your S-VOL (VVOL).

You can start by copying a sample file from the student share Raid_Manager Sample_HORCMs horcmsnap0.conf to C:\WINDOWS. Rename the file to horcmn.conf (where n is the instance number). Modify the file to match your environment. a. b. c. d. In the HORCM_MON section update the IP and service number In the HORCM_CMD section enter the location of your command device In the HORCM_LDEV section update the serial number of your array and the CU:LDEV of each of your P-VOLs In the HORCM_INST section update the IP address and service number of your second instance In the HORCM_MON section update the IP and service number In the HORCM_CMD section enter the location of your command device In the HORCM_LDEV section update the serial number of your array and the CU:LDEV of each of your S-VOLs (V-VOLs) - do not include the "V" after the CU:LDEV number In the HORCM_INST section update the IP address and service number of your first instance

Repeat for the second instance: e. f. g.

h.

Example:

u8443s d.00

2009 Hewlett-Packard Development Company, L.P.

Lab 13-7

HP StorageWorks XP 2: Business Continuity and Availability

2.

Open a command prompt Window. cd C:\HORCM\etc. Start the instances by issuing the command horcmstart n (where n is the instance number). If they fail to start look at the log file in C:\HORCM\logn\curlog (where n) is the instance number. Display the pair status: Example: (note change the instance number to reflect your settings)

3.

C:\HORCM\etc> pairdisplay -IBC0 -g snap1 -fx


Group snap1 snap1 snap1 snap1 PairVol(L/R) pair1(L) pair1(R) pair2(L) pair2(R) (Port#,TID, LU-M) ,Seq#,LDEV#.P/S,Status, 45134 45134 45134 114.SMPL - - - -, 19.SMPL - - - -, 431.SMPL - - - -, 45134 430.SMPL - - - -, (CL5-A-1, 0, 3-0 ) (CL5-A-2, 0, 0-0 ) (CL5-A-1, 0, 1-0 ) (CL5-A-2, 0, 1-0 )

Lab 13-8

2009 Hewlett-Packard Development Company, L.P.

u8443s d.00

Lab activity: Configuring Snapshot

4.

Create and the pair associating the pair with the snapshot pool you created above. Display the new status

Example: C:\HORCM\etc> paircreate -IBC0 -g snap1 -pid 1 -vl C:\HORCM\etc> pairdisplay -IBC0 -g snap1 -fx
Group snap1 snap1 snap1 snap1 PairVol(L/R) pair1(L) pair1(R) pair2(L) pair2(R) (Port#,TID, LU-M) ,Seq#,LDEV#.P/S,Status, Seq#,P-LDEV# 114 19 (CL5-A-1, 0, 3-0 ) 45134 114.P-VOL PAIR,45134 430 (CL5-A-2, 0, 0-0 ) 45134 430.S-VOL PAIR,- - - - (CL5-A-1, 0, 1-0 ) 45134 (CL5-A-2, 0, 1-0 ) 45134 431.S-VOL PAIR,- - - - 19.P-VOL PAIR,45134 431

5.

Display the status of the snapshot pool

Example: C:\HORCM\etc> pairdisplay -IBC0 -g snap1 PID 001 POLN 0 2 6040 -v pid -l 1 20 80 POLS U(%) SSCNT Available(MB) Capacity(MB) Seq# Num LDEV# H(%) 6040 45134

Output fields: PID: Poll ID POLS: Pool Status - POLN (Normal), POLF (Full), POLS (Suspended), POLE (Failure) U (%): Usage rate SSCNT: Number of Snapshot volumes Available: Available capacity in the snapshot pool Seq#: Array Serial number Num: Number LDEVs in the pool H(%): Maximum Threshold for the pool 6. Split the pairs. Display the pair status and the pool status:

C:\HORCM\etc> pairsplit -IBC0 -g snap1 C:\HORCM\etc> pairdisplay -IBC0 -g snap1 Group PairVol(L/R) (Port#,TID, LU-M) ,Seq#,LDEV#.P/S,Status, Seq#,P-LDEV# snap1 pair1(L) snap1 pair1(R)
u8443s d.00

(CL5-A-1, 0, 3-0 ) 45134 276.P-VOL PSUS,45134 (CL5-A-2, 0, 0-0) 45134 1072.S-VOL SSUS,- - - - -

1072 276
Lab 13-9

2009 Hewlett-Packard Development Company, L.P.

HP StorageWorks XP 2: Business Continuity and Availability

snap1 pair2(L) snap1 pair2(R)

(CL5-A-1, 0, 1-0 ) 45134

25.P-VOL PSUS,45134

1073 25

(CL5-A-2, 0, 1-0) 45134 1073.S-VOL SSUS,- - - - -

C:\HORCM\etc> pairdisplay -IBC0 -g snap1 PID POLS U(%) SSCNT Available(MB) Capacity(MB) 001 POLN 0 001 POLN 0 7. 2 2 6040 6040 6040 6040

-v pid Seq# Num LDEV# H(%) 45134 1 45134 1 20 20 80 80

If you have not already done so, extract the genfile.exe file from the GenFile.zip file on the student share to C:\genfile. Open another command prompt window and cd to C:\genfile. Run genfile to create a file in one of your P-VOLs cd c:\genfile genfile 32M x:\file1 (where x=drive letter of P-VOL)

This will create a 1G file in the P-VOL resulting in pool utilization. 8. 9. Display the status of the pool again. Notice the increase in the utilization. Before continuing, open the SNMP trap receiver Start All Programs Trap Receiver Trap Receiver. If you have not already done so, use RWC to configure your XP to forward SNMP traps to your Windows System: Install SNMP IP Security

Lab 13-10

2009 Hewlett-Packard Development Company, L.P.

u8443s d.00

Lab activity: Configuring Snapshot

10. Continue creating files until the pool hits its threshold but do not fill it 100% yet. You should see an SNMP trap in the trap receiver window. Double click to see the message. 11. Display the status of the pairs. Use the -fc option to see the extended status. C:\HORCM\etc> pairdisplay -IBC0 -g snap1 -fc Group PairVol(L/R) (Port#,TID, snap1 pair1(L) snap1 pair1(R) snap1 pair2(L) snap1 pair2(R) LU-M) ,Seq#,LDEV#.P/S,Status, 276.P-VOL PFUS, 25.P-VOL PFUS, (CL5-A-1, 0, 3-0 ) 45134 (CL5-A-1, 0, 1-0 ) 45134

(CL5-A-2, 0, 0-0 ) 45134 1072.S-VOL PFUS, (CL5-A-2, 0, 1-0 ) 45134 1073.S-VOL PFUS,

12. Generate files until the pool is 100% full. You should receive additional SNMP traps. Display the pair status. Display the pool status. Is it still normal (POLN)? C:\HORCM\etc> pairdisplay -IBC0 -g snap1 Group PairVol(L/R) (Port#,TID, snap1 pair1(L) snap1 pair1(R) snap1 pair2(L) snap1 pair2(R) (CL5-A-1, 0, 3-0 ) 45134 (CL5-A-1, 0, 1-0 ) 45134 -fc LU-M) ,Seq#,LDEV#.P/S,Status, 276.P-VOL PFUS, 25.P-VOL PSUE,

(CL5-A-2, 0, 0-0 ) 45134 1072.S-VOL PFUS, (CL5-A-2, 0, 1-0 ) 45134 1073.S-VOL PSUE,

C:\HORCM\etc> pairdisplay -IBC0 -g snap1

-v pid

13. Resync the pair. Display the pair status. Display the pool status. What happened to the pool usage? C:\HORCM\etc> pairresync -IBC0 -g snap1 C:\HORCM\etc> pairdisplay -IBC0 -g snap1 C:\HORCM\etc> pairdisplay -IBC0 -g snap1 14. Split the pair once again. C:\HORCM\etc> pairsplit -IBC0 -g snap1 Delete all but one file from one of your P-VOLs -fc -v pid

u8443s d.00

2009 Hewlett-Packard Development Company, L.P.

Lab 13-11

HP StorageWorks XP 2: Business Continuity and Availability

15. Issue the inqraid command to view the volume id of the P-VOL from which you removed the files C:\HORCM\etc> inqraid $LETALL -CLI -fx DEVICE_FILE D:\Vol5\Dsk4 C:\Vol1\Dsk0 VOLUME PORT CL5-A SERIAL LDEV CTG C/B/12 SSID R:Group PRODUCT_ID 45134 19 s/P/ss 0004 5:01-01 OPEN-V s/s/ss 0007 E:00001 OPEN-V s/P/ss 0005 5:01-02 OPEN-V LOGICAL 45134 320 45134 1 14 E:\Vol1 1\Dsk5 CL5-A F:\Vol12\Dsk7 CL5-A

16. Use umount RAID Manager command to umount the P-VOL from which you removed the files (substitute the drive letter you assigned to your P-VOL): C:\HORCM\etc> raidscan -x umount E: E: <-> HarddiskVolume1 1 17. Use pairresync -restore to restore the entire P-VOL from the snapshot. Display the status of the pair. C:\HORCM\etc> pairresync -IBC0 -g snap1 -restore C:\HORCM\etc> pairdisplay -IBC0 -g snap1 snap1 pair1(L) snap1 pair1(R) snap1 pair2(L) snap1 pair2(R) (CL5-A-1, 0, 3-0 ) 45134 (CL5-A-1, 0, 1-0 ) 45134 -fc 1072 276 1073 25 Group PairVol(L/R) (Port#,TID, LU-M) ,Seq#,LDEV#.P/S,Status, % ,P-LDEV# 276.P-VOL RCPY, 100 25.P-VOL RCPY, 100 (CL5-A-2, 0, 0-0 ) 45134 1072.S-VOL RCPY, 100 (CL5-A-2, 0, 1-0 ) 45134 1073.S-VOL RCPY, 100

18. Once the restore has finished, remount the P-VOL. Use My Computer to explore the P-VOL. The deleted files should be back. In the example below \Vol1 is the 1 volume id previously obtained using inqraid. C:\HORCM\etc> raidscan -x mount E: \Vol11 E: <+> HarddiskVolume1 1 19. Permanently delete the snapshot pairs. C:\HORCM\etc> pairsplit -S -IBC0 -g snap1

Lab 13-12

2009 Hewlett-Packard Development Company, L.P.

u8443s d.00

Lab activity: Configuring Snapshot

20. Use RWC LUN Manager to un-map the V-VOLs and delete the "dummy" hostgroup.

21. Return to Volume Manager V-VOL and delete the V-VOL group

22. Volume Manager Pool. Delete the pool.

u8443s d.00

2009 Hewlett-Packard Development Company, L.P.

Lab 13-13

HP StorageWorks XP 2: Business Continuity and Availability

Lab 13-14

2009 Hewlett-Packard Development Company, L.P.

u8443s d.00

Lab activity: Configure Continuous Access Journal


This lab will require the use of two XPs with Continuous Access Journaling enabled and F/C links connecting them. Choose one XP to act as the local XP and one XP to act as the remote. If time permits, you can also configure replication in the reverse direction. When you have completed the lab please remove all Continuous Access definitions! Feel free to delete any CA configuration left behind by another class before beginning this lab.

u8443s e.000

2010 Hewlett-Packard Development Company, L.P.

Lab 14 -1

HP StorageWorks XP 2: Business Continuity and Availability

Part 1 Planning
Working with another lab team, plan your XP Continuous Access Journal configuration. Determine the following and record the information on the diagram the previous page: Primary Array: XP serial number Initiator port RCU target port P-VOL- Choose one of the 5120MB volumes you created in the first lab. Present the P-VOL to your Windows Server. Record the P-VOL port, hostgroup, and LUN number. Make sure the P-VOL is not a Business Copy S-VOL. Journal Volume(s) (LDEV #s) - These LDEV(s) must have no paths assigned. Choose LDEV(s) so that their combined capacity is at least as big as the P-VOL and is in a RAID 1 parity group. Create volumes if necessary. Secondary Array: XP serial number Initiator port RCU target port S-VOL- Choose on of the 5120MB volumes you created in the first lab. Present the S-VOL to your Windows Server. Record the S-VOL port, hostgroup, and LUN number. Make sure the S-VOL is in SIMPLEX mode for Business Copy Journal Volume(s) (LDEV #s) - These LDEV(s) must have no paths assigned. Choose LDEVs so that their combined capacity is at least as big as the P-VOL and is in a RAID 1 parity group. Create volumes if necessary.

Lab 14 -2

2010 Hewlett-Packard Development Company, L.P.

u8443s e.00

Lab activity: Configure Continuous Access Journal

Part 2 - Configuring CA Journal


1. Both Arrays: Configure the ports a. b. Continuous Access Journal radio button DKC Operation Select the Port

Set the port types to reflect your plan. Note: if you change the port types you must reset the port(s). Since you do not have administrator access to the switch, you can do this by going into LUN Management and changing the port connection type to FC-AL then back to Point-to-Point in two steps.

2.

Both Arrays: Establish the logical connection between the arrays: a. b. c. Continuous Access Journal radio button DKC Operation Select the DKC Add

Right click in the grey area in the right panel. DKC Operation DKC

Use the information you recorded above to complete the Add DKC operation. Controller ID; XP2x000 = 5, XP1x000 = 4, XP128/1024 = 3

3.

Both Arrays: Create the Journal Group a. b. Continuous Access Journal Journal Operation Select a Journal Group number for your new journal group. Right Click on the Journal Group and Select Edit JNL Volumes. Add LDEVs to your journal. Record the journal group id. Note the attribute of your Journal Group (it should be Initial)

c. 4.

Primary Array: Create the pair a. b. c. d. e. Continuous Access Journal your P-VOL Pair Operation Select the port of

Right click on the volume you would like to use as your P-VOL and select Paircreate. Enter the S-VOL port, host group, and LUN number. Select the Master Journal ID, Mirror Unit number, and Restore Journal ID Select the consistency group ID. Business Copy and CA use one pool of consistency group numbers. If you used a consistency group for BC on either array, make sure to select a different number for this lab. Select the remote DKC from the pull down menu. Take defaults for the remaining options.
2010 Hewlett-Packard Development Company, L.P.

f. g.
u8443s e.00

Lab 14 -3

HP StorageWorks XP 2: Business Continuity and Availability

h. i.

Click Set then Apply Refresh the display information until the pair is in PAIR state (Use Refresh, Do not use Refresh All)

5.

Both Arrays: View Status a. b. View the pair status. View the Journal Status

Lab 14 -4

2010 Hewlett-Packard Development Company, L.P.

u8443s e.00

Lab activity: Configure Continuous Access Journal

Part 3 - Turn on Monitoring


6. Both Teams: Enable Performance Monitor Data Collection at 1 minute intervals. RWC AutoLun Monitoring Options. On the XP 24000 make sure the CUs containing your volumes are selected:

7.

Both Teams: Click on the Continuous Access Journal Monitor tab. There are four quadrants you can use to display metrics. Right click in the grey area and choose Display Item. Choose any metrics you wish. The selectable choices will be different on the local and remote arrays. Example:

u8443s e.00

2010 Hewlett-Packard Development Company, L.P.

Lab 14 -5

HP StorageWorks XP 2: Business Continuity and Availability

Part 4 - Configure RAID Manager for Continuous Access


8. Each team: Create a RAID Manager HORCM config file for your volume (the primary team will be creating the file for the P-VOL, the secondary team will be creating the file for the S-VOL).

You can start by copying a sample file from the student share Raid_Manager Sample_HORCMs horcmcajournal30.conf to C:\WINDOWS. Rename the file to horcmn.conf (where n is the instance number). Modify the file to match your environment. a. b. c. d. In the HORCM_MON section update the IP (IP of your system) and service number In the HORCM_CMD section enter the location of your command device In the HORCM_LDEV section update the serial number of your array and the CU:LDEV of your volume In the HORCM_INST section update the IP address (the other systems IP) and service number of the other teams instance

Lab 14 -6

2010 Hewlett-Packard Development Company, L.P.

u8443s e.00

Lab activity: Configure Continuous Access Journal

Example: horcm30.conf (P-Vol): HORCM_MON #ip 192.168.140.175 HORCM_CMD #Command Device \\.\CMD HORCM_LDEV #group dev_name caj #group caj ip 192.168.140.139 caj1 HORCM_INST service 7030 Serial 45134 ldev MU 4:10 0 service 7030 poll(10ms) timeout(10ms) 1000 3000

horcm30.conf (S-VOL) HORCM_MON #ip HORCM_CMD #Command Device \\.\CMD HORCM_LDEV #group dev_name caj HORCM_INST #group ip caj 9. 192.168.140.175 service 7030 caj1 Serial 82641 ldev 3:90 MU 0 service poll(10ms) 1000 timeout(10ms) 3000 192.168.140.139 7030

Each team: Start your RAID Manager instance. If it fails to start, look in the c:\HORCM\logx\culog directory (where x is your instance number): C:\HORCM\etc> horcmstart 30

u8443s e.00

2010 Hewlett-Packard Development Company, L.P.

Lab 14 -7

HP StorageWorks XP 2: Business Continuity and Availability

10. Display the pair status. Display the journal status. Example: C:\HORCM\etc> pairdisplay -ICA30 -g caj -fc -fx C:\HORCM\etc> pairdisplay -ICA30 -g caj -fx -v jnl Output fields: JID: The journal group ID MU: The mirror descriptions on XP Continuous Access Journal Software. CTG: The CT group ID. JNLS: The following status for the journal group. SMPL: The journal volume does not have a pair or the pair has been deleted. P(S)JNN: P-(S-)VOL Journal Normal Normal P(S)JNS: P(S)vol Journal Normal suspend created with nocsus. P(S)JSN: P-(S-)VOL Journal Suspend Normal PJNF: P-(S-)VOL Journal Normal Full P(S)JSF: P-(S-)VOL Journal Suspend Full P(S)JSE: P-(S-)VOL Journal Suspend Error, with link failure P(S)JES: P-(S-)VOL Journal Error suspend created with nocsus. AP: Active path. U(%): The usage rate of the journal data. Q-Marker: The sequence number of the journal group ID, called the Q-marker. For pair status PJNL, Q-Marker shows the latest sequence number on the PJNL volume. For pair status SJNL, Q-Marker shows the latest sequence number on the cache (DFW). Q-CNT: The number of remaining Q-Markers in each journal volume. D-SZ: The capacity of the journal data on the journal volume.

Lab 14 -8

2010 Hewlett-Packard Development Company, L.P.

u8443s e.00

Lab activity: Configure Continuous Access Journal

Part 5 - Run a Workload


This section is performed on the Primary System. 11. On the Windows client of the primary array: If there is already a partition on your P-VOL, remove it by right clicking the partition in Disk Manager and choosing Delete Partition.

12. Start Iometer. In the Disk Targets Screen, select Worker1. Choose your P-VOL. Set the # of Outstanding I/Os to 64 per target.

u8443s e.00

2010 Hewlett-Packard Development Company, L.P.

Lab 14 -9

HP StorageWorks XP 2: Business Continuity and Availability

Click on the Access Specification tab. Click on New to create a new test. Create the new test as follows: Name: cajtest Transfer Request Size: 8K Percent Random/Sequential: 100% Random Percent of Access Specification: 100% Percent Read/Write: 100% Write

Assign the new test to Worker1.

Lab 14 -10

2010 Hewlett-Packard Development Company, L.P.

u8443s e.00

Lab activity: Configure Continuous Access Journal

Click on Results Display. Change the Update Frequency to 1 second. Click on the green flag to start the test.

Allow the test to run for several minutes. Note the average I/O response time will begin to climb. 13. Use RAID Manager to display the journal status. Is the journal usage increasing? Example: C:\HORCM\etc> pairdisplay -ICA30 -g caj -fx -v jnl 14. Stop the Iometer test. Click on Disk Targets. Change the # of Outstanding I/Os to 1. Click on the Results Display. Restart the test. Again allow the test to run for a few minutes. You should see lower latencies. 15. Use RAID Manager to display the journal status. Example: C:\HORCM\etc> pairdisplay -ICA30 -g caj -fx -v jnl What is happening to journal usage? 16. Stop data collection for Performance Advisor. Disable monitoring in RWC AutoLUN Monitoring options. 17. Stop the Iometer test.

u8443s e.00

2010 Hewlett-Packard Development Company, L.P.

Lab 14 -11

HP StorageWorks XP 2: Business Continuity and Availability

Part 6 - Test data replication


18. Primary system: Using Disk Manager, create a partition on the P-VOL. Format the partition with an NTFS. Assign a drive letter. Copy some files to the P-VOL. 19. Using RAID Manager, force the system to flush the P-VOL data to disk. Example (substitute your drive letter): C:\HORCM\etc>raidscan -x sync J: 20. Use RAID Manager to split the pair. Specify read/write for the S-VOL. Verify the pair has been split. Example: C:\HORCM\etc> pairsplit -ICA30 -g caj -rw C:\HORCM\etc> pairdisplay -ICA30 -g caj fx 21. Secondary system: Disk Manager Rescan disks. The S-VOL drive should now show as healthy. Assign the S-VOL a drive letter. Explore the drive. The files you copied to the P-VOL should also appear on the S-VOL. 22. Primary system: Use RAID manager to delete the pair. Verify the pair has been split. Example: C:\HORCM\etc> pairsplit -ICA30 -g caj -S C:\HORCM\etc> pairdisplay -ICA30 -g caj fx

Lab 14 -12

2010 Hewlett-Packard Development Company, L.P.

u8443s e.00

Lab activity: Configure Continuous Access Journal

Part 7 - Cleanup
23. Primary Array: If you have not already done so delete the pair: Continuous Access Journal Pair Operation. Drill down to the P-VOL. Right click and select Pairsplit S. Click Set. Click Apply. 24. Both Arrays: Delete the logical connection between the arrays: a. b. c. d. e. f. Continuous Access Journal radio button Apply changes Continuous Access Journal Apply your changes Journal Operation DKC Operation Select the DKC Delete DKC

Right click on the listed Remote DKC. DKC Operation

25. Both Arrays: Delete the Journal Groups Right Click on your Journal Group and Select Delete JNL.

u8443s e.00

2010 Hewlett-Packard Development Company, L.P.

Lab 14 -13

HP StorageWorks XP 2: Business Continuity and Availability

Lab 14 -14

2010 Hewlett-Packard Development Company, L.P.

u8443s e.00

Você também pode gostar