Escolar Documentos
Profissional Documentos
Cultura Documentos
U8443S E.00
Lab guide
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.
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
u8443s d.00
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.
Lab 1 - 1
u8443s e.00
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: __________
u8443s e.00
Lab 1 - 2
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
u8443s e.00
Lab 2 - 1
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
u8443s e.00
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
Lab 2 - 3
LDEV #
Size
Lab 2 - 4
u8443s e.00
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
Lab 2 - 5
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
u8443s e.00
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
Lab 2 - 7
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
u8443s e.00
u8443s e.00
Lab 4 -1
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
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
Lab 4 -3
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
u8443s e.00
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
Lab 4 -5
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
u8443s e.00
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
u8443s e.00
Lab 5 -1
1.
Click on the Volume Operation tab. Right click on Subsystem and choose Edit Policy
2.
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
u8443s e.00
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
Lab 5 -3
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
u8443s e.00
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
Lab 5 -5
Choose an LDKC and CU. Set the interval to 0. Choose a starting LDEV number. Click OK:
Lab 5 -6
u8443s e.00
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.
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
2.
Lab 5 -8
u8443s e.00
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
Lab 5 -9
Lab 5 -10
u8443s e.00
u8443s e.00
Lab 6 -1
Lab 6 -2
u8443s e.00
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.
u8443s e.00
Lab 6 -3
Lab 6 -4
u8443s e.00
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).
u8443s e.00
Lab 6 -5
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.
Lab 6 -6
u8443s e.00
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
Lab 6 -7
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
u8443s e.00
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
3) f. g. h. 9.
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
u8443s e.00
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
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
u8443s e.00
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
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
u8443s e.00
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
Lab 6 -15
7.
Lab 6 -16
u8443s e.00
2.
3. 4.
Lab 6 -17
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
u8443s e.00
!
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
Lab 6 -19
Lab 6 -20
u8443s e.00
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.
u8443s e.00
Lab 6 -21
Lab 6 -22
u8443s e.00
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
Lab 8 - 1
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
u8443s e.00
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
Lab 8 - 3
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
u8443s e.00
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.
u8443s e.00
Lab 8 - 5
Lab 8 - 6
u8443s e.00
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
Lab 9 - 1
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
u8443s e.00
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
Lab 9 - 3
7.
Lab 9 - 4
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.
u8443s e.00
Lab 9 - 5
Lab 9 - 6
u8443s e.00
2.
u8443s d.00
Lab 10 -1
Toward the top of the screen click the Enable radio button and set your Gathering Interval to 1 minute. Click Apply.
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
u8443s d.00
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
Lab 10 -3
5.
Allow the test to run for several minutes. Note the Total I/Os per Second.
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
u8443s d.00
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.
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
Lab 10 -5
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
u8443s d.00
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
Lab 10 -7
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
u8443s d.00
Initialize will change all ports back to priority and will turn off threshold
u8443s d.00
Lab 10 -9
Make sure to stop all Iometer workloads when you are done with the lab!!!
Lab 10 -10
u8443s d.00
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
Lab 11 -1
Lab 11 -2
u8443s d.00
u8443s d.00
Lab 13-1
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
u8443s d.00
3.
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
Lab 13-3
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
u8443s d.00
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
Lab 13-5
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
u8443s d.00
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
h.
Example:
u8443s d.00
Lab 13-7
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.
Lab 13-8
u8443s d.00
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.
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
25.P-VOL PSUS,45134
1073 25
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
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
u8443s d.00
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,
-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
Lab 13-11
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
u8443s d.00
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
u8443s d.00
Lab 13-13
Lab 13-14
u8443s d.00
u8443s e.000
Lab 14 -1
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
u8443s e.00
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
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
u8443s e.00
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
Lab 14 -5
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
u8443s e.00
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
Lab 14 -7
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
u8443s e.00
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
Lab 14 -9
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
Lab 14 -10
u8443s e.00
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
Lab 14 -11
Lab 14 -12
u8443s e.00
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
25. Both Arrays: Delete the Journal Groups Right Click on your Journal Group and Select Delete JNL.
u8443s e.00
Lab 14 -13
Lab 14 -14
u8443s e.00