Professional Documents
Culture Documents
H9p97s.a.00 Lab
H9p97s.a.00 Lab
H9p97s.a.00 Lab
StoreServ III
Lab guide
Use of this material to deliver training without prior written permission from HP is prohibited.
H9P97S A.00
Copyright 2015 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 NT® are U.S. registered trademarks of Microsoft Corporation.
UNIX® is a registered trademark of The Open Group.
All other product names mentioned herein may be trademarks of their respective companies.
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
Objective
After completing this lab, you should be able to describe how to access the lab
equipment in the HPVL.
Introduction
In this lab, you are required to look at space, and two students will be accessing one
array simultaneously. Be aware that the space seen will be the cumulative space created
for both students.
Always use a unique name for any objects that you create in the lab.
Please only use the equipment allocated for your lab group.
On the landing page make a note of:
Hosts names and IP address
Array name and IP address
Note
Each team member can use their own Windows host (A or B). Please decide
within your teams.
The lab should be run on a clean array, so please confirm this is the case.
Should there be any objects created, other than the defaults, please remove them before
you start.
The screen shots in the lab guide are for illustration purposes only; do not use any names
or IP addresses displayed.
Always use a unique name for the objects you create; for example, TeamA-FCR1-full-10G
/ TeamAHostA.
Note
Any HPVL access issues are detailed on the right. If you have access
problems, read the HPVL Access Notes carefully.
3. Enter the user name and password assigned to you by your instructor and click
Logon.
4. Note your login information here:
User name ........................................................................................................................
Password ..........................................................................................................................
5. Select HPVL Access – Windows user RDP web client or HPVL Access - Mac/Linux
Java client depending on how you are connecting to the HPVL.
6. A list of available lab groups appears. Select the lab group assigned to you by your
instructor (screen shot is for illustration only).
7. The launch page appears with Team A and Team B assigned equipment.
The left side of the screen displays pictures of the specific equipment assigned to
your team (screen shot is for illustration only).
The right side of the screen displays an explanation of the information, along with
the associated login user name and passwords, detailed as follows:
Team A is the top 3PAR array with its assigned A and B hosts.
Team B is the bottom 3PAR array with its assigned A and B hosts.
Team A is the upper lab as shown in the screen shot.
8. To use a system link, click the drop-down box and select the resolution that you
want for your system RDP window.
Shadowing a user
In some instances, lab equipment will be shared. When this is done, one student may use
the Shadow User Session to “shadow” or observe the work done by another student. To
shadow another student:
1. Scroll down on the equipment page to locate the Shadow User Session information.
2. Click the Shadow User Session link.
3. Locate the session ID for that user. The session ID is located at the top of the Lab
Group page.
Enter the user name of the user to shadow. You will then be prompted to enter the
session ID. Enter the Session ID to complete the shadow operation.
(When you are finished for the day, you can use the EXIT LAB button to close your
lab session.)
Identifying your port WWNs using the QCC GUI from Qlogic
1. Launch the QCC GUI desktop icon and then click Connect.
2. Click the “+” signs next to Port 1 and Port 2. Write down each of their port WWNs.
Configuring MPIO
1. To set up and configure MPIO, open a command prompt window and run the
following commands:
dism /online /enable-feature /featurename:MultipathIo
Note
The “M” and last “I” in “MultipathIo” must be in uppercase.
mpclaim –n –i –a
Note
You might get a message:
Failed to update the registry for MSDSM support for the
device. Exiting…
The system cannot find the file specified.
Success, reboot required.
Disregard this message.
2. Enter mpclaim -e
3. Under the Target H/W Identifier column, you should see any HP 3PAR VLUNs
identified with “3PARdataVV.”
Note
The MPIO-ed column should display NO because a reboot is required to complete the
MPIO setup.
4. Reboot the server from the command prompt using the shutdown –r command.
5. Log on to the system.
6. Open a new command prompt window.
7. Enter the mpclaim –e command and view the results.
Note
The MPIO-ed column should display YES showing that MPIO is set up.
8. To reboot your Windows 2012 host, hover your mouse at the bottom right-hand
side of the screen until the “Cog” settings icon appears.
9. Select the Power icon and select restart to restart the host.
Enter cd /tmp
Enter mkdir newiometer
Enter cd newiometer
Enter cp -pr /depot/iometer/iometer-1.1.0-src.tar.bz2./
Enter bzip2 –d iometer-1.1.0-src.tar.bz2
Note
In the preceding command, “–d” must include a dash. Copying and pasting converts
it incorrectly.
Introduction
This lab coincides with the presentation for the “Space Explained” module. As you go
through the labs, keep the following in mind:
Carefully read all of the steps in the guide to ensure your lab runs correctly.
Concentrate on tasks that will help maximize your experience identifying and
differentiating space utilization.
As two students will be sharing a lab the space seen will be cumulative space.
Objectives
After completing this module, you should be able to:
Install both the 3PAR GUI and CLI
Describe system space
Identify physical disk chunklet space
Differentiate raw and usable space
Use Windows 2012 Unmap
Describe the difference between allocated, failed, and free space
Create volumes and define Adm, Snp, Usr, and Total space
Requirements
The following are the requirements for performing the lab:
HP 3PAR StoreServ Storage Array
HP 3PAR Management Console
CLI or SSH access to 3PAR Array
Approximately one hour for doing lab exercises
HP 3PAR Command Line Interface Reference Guide
Lab procedures
! Important
The files you access on the system during this lab might also be used by other
classes. Please do not alter the information in any way.
If at any time you experience problems, please notify your instructor immediately.
Note:
Each team member can use their own Windows host (A or B) decide between you.
We want to run this Lab on a clean Array so please confirm this is the case.
Should there be any objects created, other than the defaults, please remove them before
you start.
If there are any hardware errors on the array the information displayed will not be
accurate, please let your instructor know.
The screen shots in the Lab guide are for illustration purposes only, do not use names or
IP address displayed.
Always use a unique name for the objects you create. E.g. TeamA-FCR1-full-10G or TeamAHostA
etc.
Note
An alternative method using commands at a command prompt can be found in Lab 1.
This lab uses an F200 3PAR Array with Controller Node 0 and 1.
2. From the GUI, select the Inserv link in the Systems navigation window and the
Capacity tab.
3. From the GUI, select the Inserv link in the Provisioning tab and the Summary tab.
The admin and .srdata volumes are created at initialization of the 3PAR array along
with the default CPGs. This makes up most of the internal capacity along with
preserved and logging LDs.
What is the RAW capacity of the admin volume? ............................................................
What determines the size of the .srdata volume? ..........................................................
6. Select the CPG Space tab; notice that the two volumes space is not indicated
because they are part of the internal system space.
7. Click the Layout Grid button. You can now see the chunklet layout for the admin and
.srdata volumes.
Note: Do not click on the actual VV name or the view will change, select the VV from
under the state column to avoid this.
10. Select the Virtual Volumes tab and the Raw Capacity drop-down to see the total
space consumed by these two volumes.
Notice that the disks are displayed by cage. How many disks of each technology are
in this array, and what are their sizes? ............................................................................
..........................................................................................................................................
2. Select the Chunklet Usage drop-down to see how many 256 MB chunklets exist per
disk.
FC disk chunklets 2234 X 256 = 571GB for a 600 GB FC disk.
How many NL chunklets per disk? ...................................................................................
Notice the “Normal Used OK” column. This indicates the chunklets allocated to
internal space so far.
The following screen shot shows “Normal Unused Uninit.” This indicates that a
volume has been deleted and its associated chunklets are being initialized. This
space does not become available again until the chunklets have been initialized, and
this can take some time.
The following screen shot shows the spare chunklet assignment on the right side of
the screen.
sho
2. From the CLI enter the following commands and note the results.
>showvv
This gives you the name and usable space allocated to your volumes.
>showvv –r
The date on the showvv –d admin output can be used to determine when a
system was first installed.
Note
Rsvd (MB) Usr is usable capacity (.srdata is 60 GB and admin is 10 GB R1 volume).
RawRsvd (MB) Usr is total consumed space. In both cases, this is the total VSize of
the volume. No copy space is reserved.
2. From the GUI, look at the space for this new FPVV.
What is the virtual size of the volume? ...........................................................................
What is the total raw capacity?........................................................................................
Why is there a difference? ...............................................................................................
3. Enter the following CLI commands to view the volume:
>showvv
>showld –vv TeamX-FCR1-full-10G (use your VV name)
>Showvv –r
>Showvv –s
Why does Rsvd MB for Adm and Snp space = 0 MB? .......................................................
..........................................................................................................................................
In the showld command, why is the size displayed as 5120 MB? ................................
..........................................................................................................................................
4. From the CLI enter >showcpg –r
What is the estimated raw total capacity on your system for the FC CPGs?
..........................................................................................................................................
..........................................................................................................................................
5. Let’s look again at the chunklet usage. From the CLI enter >showpd –c
What is the difference in the information displayed for these two commands?
-sag ................................................................................................................................
-sdg ................................................................................................................................
2. From the >showld command, you see the logical disks for the new volume.
What is the Usr RTotal space for your volume and why? ................................................
What is the Snp RTotal space for your volume and why? ...............................................
What is the Adm RTotal space for your volume and why? ..............................................
Hint: Snp (SD) used a R1 ssz 2, and Adm (SA) used a R1 ssz3
2. Again, examine the raw space for your CPG and volumes. From the CLI enter
>showcpg –r
3. Compare the total CPG space with the total VV space from the showvv command.
Notice the showvv –r command shows space for the admin and .srdata volume.
The showcpg –r command only shows space for user-created volumes in the
display.
Notice that Snp Total is 32256 MB of space allocated (16 GB of space per node,
which is the SD R1 default growth increment).
Snp Total also shows 512 MB of “Usr Used” space per VV. This 512 MB is the first
allocation of LDs to the Volumes, comprising two 256 MB LDs, one from each node.
Under Adm Total, you see 8192 MB; this is the default SA space allocated. Of this,
only 128 MB is initially used to hold map pointer indexing information.
3. Go back to the CLI and enter the showvv –s command to identify your volume.
>showvv –s TeamX-FCR1-thin-10G
As soon as you present the VV to a Windows server and format it, notice 54 MB of
space is used by Windows for the file system.
Next, you will copy some data to your thin volume.
4. From the shared drive (Z:) on your host, copy the “Zero” folder to your 10G thin
volume.
This is about 1.9 GB in size, so it is fine for this example.
5. Go back and look at the CLI. From the CLI enter >showcpg FC_r1
Notice the Usr Total increased as the Snp Total decreased. Why? .................................
Hint: Initial allocated SD space .
6. Examine the thin volume. Enter >showvv –s TeamA-FCR1-thin-10G
Windows 2012 Unmap automaticallys unmap the used space from the volume.
Be patient. Reclamation can take some time to reduce the Usr Rsvd capacity
(3584MB), which indicates the space has been reclaimed back to the free pool.
Note
When the Usr Rsvd grows above 4 GB per node, reclaim will not reduce it below this
threshold.
8. Clean up your lab: Unexport and remove any LUNs and volumes you have created.
Introduction
This lab coincides with module 3, “Understanding Adaptive Optimization Region Density
Reports.”
As you go through the labs, keep the following in mind:
This Lab is completed in two separate components, Lab prep and the Analyze.
Read and perform all of the steps that you can in the allowable time.
Concentrate on those tasks that will help maximize your experience with using HP
3PAR Adaptive Optimization.
Objectives
After completing this lab, you should be able to perform the following tasks:
Analyze region density reports to determine which Polices are a good fit for AO, and
which are not
Create and schedule an Adaptive Optimization Configuration based on the region
density report analysis
Requirements
The following are the requirements for performing the lab:
HP 3PAR StoreServ Storage array
Windows 2008 or Windows 2012 server
Python 2.7
Java
HP 3PAR Management Console
CLI or SSH access to 3PAR array
Approximately two hours for doing lab exercises
HP 3PAR Command Line Interface Reference Guide
Lab procedures
! Important
The files you access on the system during this lab might also be used by other
classes. Please do not alter the information in any way.
If at any time you experience problems, please notify your instructor immediately.
Note
To reduce the potential from script failure, this lab is best run on a clean array.
Note
This is only run once, so you need to work with your partner to complete the AO
preparation. One student should share their desktop and one should observe.
5. If you are prompted for a user name and password, speak to your instructor.
You now see the contents of the “Y:” drive. You will use this later to access the
aotraining_final.zip and Python-2.7.amd64.msi.
3. Select Virtual Volumes and confirm there are no volumes other than admin/.srdata.
If any volumes do exist, unmount them from the host and then unexport and
remove them from the GUI.
4. Do not remove your existing host. You will use it in this lab. Make a note of your host
name and confirm that MPIO is installed; if not, set it now.
Note
This is only run once, so you need to work with your partner to complete the AO
preparation. One student should share their desktop and one should observe.
3. Verify the CPGs on your system from either the CLI or GUI. (>showcpg)
Note
Allocated capacity is 0% because no volumes have been created on the array yet.
5. Open the aotraining_final folder on the desktop, and copy and paste the contents
into the “C:\Perf” folder.
6. Open the 3PAR_CLI_CMDS text file from within the \Perf folder.
7. Edit the file and use your Windows host name from your existing host; for example,
set host TeamAHostA
8. Copy all the contents from the 3PAR_CLI_CMDS.txt file and paste this into the CLI.
9. The commands will run and create two CPGs, if they do not already exist. Next, this
process creates five volumes, adding them to five virtual volume (VV) sets. It
creates the VLUNs as it exports the volumes as LUN 10, 12, 15, 16, and 25. It sets
the quality of service (QOS) rules and creates your aocfg “primary.”
You can now use Windows Disk Management to rescan for the new disks on your
host.
10. Right-click the Computer icon on the desktop and select Manage. From Server
Manager, select Tools Computer Management Disk Management.
11. Select the Actions drop-down menu and rescan. You should see your five LUNs.
Do not touch your disks at this time.
Exit Computer Management and Server Manager.
Launching Python
1. Locate the Python 2.7 folder on the Y: drive and copy it to your desktop. Double-
click the install icon.
2. Run the installer, selecting the default directory.
4. Open a command window. Navigate from C:\cd Perf and confirm the ao_training and
LabPerfTool directories exist in the \Perf directory.
Note
When you start a workload, it will verify that all of the expected LUNS are present.
So, even if you miss something here, the tool will check for you.
If a disk is missing, verify it is presented correctly from the array. In some rare cases,
you might have to reboot the Windows server.
Creating a workload
Now you will use Python to start the workload. First you must change directory from the
LabPerfTool directory to the C:\Perf\ao_training directory.
1. From a command prompt, enter >cd c:\perf\ao_training
2. Enter C:\Python27/python C:\Perf\LabPerfTool\aotest
aotraining.txt
If your workload does not start, close the session and try again.
The Current Time stamp is a good indicator that the tool is working correctly.
You can leave this to work the disks, but remember, you do not want to stop this
from running overnight. When you complete the prep, exit the host using the X in
the upper right-hand side of the screen. Do not sign out of your host to exit because
this might stop Python.
6. From the GUI, select Performance and Reports and create a new PD Usage chart for
PDs to verify a workload is running.
8. Confirm the physical disks are all busy; you will come back and look at these again
later.
Looking at an AO configurations region I/O density report, should you see anything
at this point?
Let’s create an AO region density report in the MC GUI and see.
10. Accept the defaults and select your aocfg “primary” from the drop-down list.
Leave this now to produce some region I/O density information to review later.
11. When you finish, do not log off your host. Use the X to close the room, or you might
stop the collection.
5. Using Run Now, you can get the information collected already from the overnight
run. Select the Run Now radio button and the “primary” AO configuration from the
drop-down.
6. Click OK to continue.
This might take some time to run, so you will come back and look at this again later.
7. Next you are going to look at the CLI. Launch a session to the CLI if you have not
done already so.
8. View the current AO configuration on the system.
9. Enter showaocfg
a. You should see your AO Policy called “primary.”
b. The mode should be “Balanced.”
12. The following are some of the input parameters necessary to start an Adaptive
Optimization schedule using the startao command. Enter help startao to
find the answers to the following questions:
a. What is the purpose of the –btsecs option?
..........................................................................................................................................
b. What is the purpose of the –etsecs option?
..........................................................................................................................................
c. What is the purpose of the –maxrun option?
..........................................................................................................................................
d. What is the purpose of the –compact option?
..........................................................................................................................................
e. What is the purpose of the –dryrun option?
..........................................................................................................................................
Notice the volumes that have capacity assigned from more than one CPG.
2. Explore these other CLI commands: srcpgspace, srldspace,and
srvvspace
Use the Help system for additional information.
/ ∗
∗
This allows you to quickly see that this FC_r5 CPG is not working very hard.
7. Use the equation given in the previous step to compute the IOPs for your FC CPG.
..........................................................................................................................................
..........................................................................................................................................
..........................................................................................................................................
8. Use the region density command to create a report for your volumes:
srrgiodensity –withvv primary
9. Identify the VV that you think is putting the highest load on the system.
a. Do you believe the VV would benefit from having an SSD tier?
b. Would database .12 be a good fit for an NL tier or an FC tier?
10. To see how the host is viewing performance, enter srstatvlun –groupby
VV_name -attime
11. Notice this “at time” report shows IOPS and service times for your VLUNs.
Looking at the System reporter output from your array, are the VLUNs being driven
hard?
By default, the steps between the buckets are x4. Using your CLI reference guide,
write down the command you can use to change this.
13. Enter the sraomoves and showaocfg commands to see the mode and what
has moved over the last 24-hour period.
15. What is the total cumulative space for the NL CPGs? Add each bucket below to
confirm.
In the real world, you would want to set the begin time and end time (btsec/etsec) to
meet particularly busy periods of I/O.
1. Use help to create a new AO schedule from the CLI called “primary2_schedule” using
the following information.
Starting every day at 6 pm, start before time=9hr end before time= 1hr, max run
time=4hr, minimum iops=50
Write the syntax on the line provided below.
..........................................................................................................................................
Use help to understand the correct syntax for this command.
2. Display the scheduled information.
You will look at the VV, Cumulative, and Percentage metrics later.
In the graph on the left, you see space in MiB; notice most of the capacity is made up
from NL disks.
On the right, you see the I/O per minute; notice the highest access per minute
buckets serve FC disks.
Note
Your display might not look like this yet. Review this report again later in the course.
Using the information discussed in the “Theory” section, discuss these two charts
with your partner.
4. Create another report, but now select the VV metric.
5. Hover over the graph to display specific VV information. This is the same
information you saw in the CLI with the srrgiodensity –withvv primary
command.
6. Select the Metric check box for Cumulative for your “primary” aocfg. You could also
select to see this in a percentage format.
7. Using the information discussed in the “Theory” section, discuss these two charts
with your partner.
Notice the graphs show this as both cumulative and noncumulative moves.
2. Analyze the movement of data between the two tiers, and compare this to the CLI
output.
3. After AO moves data, look at the physical disks again, and then go back and
compare it with what you saw earlier below.
Over time, as AO moves region data, if you look at the physical disk, you should see
a change in the distribution of the I/O load.
2. Select Provisioning and then Virtual Volume using the CPG Space tab. Notice the
volumes are distributed over two CPGs.
Note
The tp-4-sb-0.0 object is a special “shared base” LD used in AO when creating
additional VV space.
Lab clean-up
Stop all schedules and remove your AO configuration. Unexport and remove any volumes
you have created.
Note
It will take some time for all the used chunklets to be initialized after the volumes
have been deleted.
Answers
-btsecs <secs>
Select the begin time in seconds for the report.
-etsecs <secs>
Select the end time in seconds for the report.
-maxrunh <hours>
Select the approximate maximum run time in hours
-min_iops <min_iops>
Do not execute the region moves if the average IOPS during the measurement interval is
less than <min_iops>.
-compact <mode>
Specify if and how CPGs should be compacted.
dryrun
Do not execute the region moves; only show which moves would be done.
-cmult 2|4|8
Select the step between histogram columns of the report.
Starting every day at 6 pm, start before time=9hr end before time= 1hr, max run
time=4hr, minimum iops=50
“startao -btsecs -9h –etsecs -1h -maxrunh 4 -min_iops 50
primary" "0 18 * * *" primary2_schedule
Introduction
This lab coincides with module 4, “Understanding Performance.”
Objectives
After completing this module, you should be able to:
Use the GUI to create a host and export volumes
Use the GUI to create two volumes to work with IOmeter
Generate a workload and analyze performance.
Requirements
To complete this lab, you will need:
HP 3PAR StoreServ system
Microsoft Windows Host
Management Console and GUI
Requirements
To complete this lab, you will need:
HP 3PAR StoreServ system
Microsoft Windows Host
IOmeter
3. Accept the License agreement and click Next. Accept all the defaults and click
Finish.
4. Click the Start Menu button on the bottom left of your 2012 Windows host.
7. Select Worker 1 and, in the Disk Targets tab, select your first volume and set the #
of Outstanding I/Os to 4.
8. Select the Access Specifications tab and create a new specification called 8KB; 50%
Read; 100% Random with the following settings.
10. Select Worker 2 and, in the Disk Targets tab, select the second volume and set the #
of Outstanding I/Os to 2.
11. Select the Access Specifications tab and create a new specification called 512KB;
75% Read; 100% Random with the following settings.
Requirements
To complete this lab, you need CLI access to the HP 3PAR StoreServ system.
HP 3PAR OS has a wealth of performance monitoring commands available from the CLI.
You can view live data using the stat* and hist* commands.
There are six layers to check:
Host VLUNs
Host ports
Node cache
Node volumes
Disk ports
Disks
Note
Screenshots are for illustration only.
2. Run histport -host -rw -ni –prevto show how many I/Os were within
which service time and size buckets during the sample period.
cli% histport -host -rw -ni -prev
22:07:04 05/27/2014 ----------Time (millisec)----------- ------------Size (bytes)------------
Port D/C r/w 0.50 1 2 4 8 16 32 64 128 256 4k 8k 16k 32k 64k 128k 256k 512k 1m
2:5:1 data r 36 2 26 52 24 3 0 0 0 0 0 83 0 0 0 0 0 60 0
2:5:1 data w 1 0 0 0 35 41 12 0 0 0 0 79 0 0 0 0 0 10 0
2:5:1 data t 37 2 26 52 59 44 12 0 0 0 0 162 0 0 0 0 0 70 0
2:5:2 data r 28 9 29 36 24 8 0 0 0 0 0 86 0 0 0 0 0 48 0
2:5:2 data w 0 0 0 2 29 49 16 0 0 0 0 75 0 0 0 0 0 21 0
2:5:2 data t 28 9 29 38 53 57 16 0 0 0 0 161 0 0 0 0 0 69 0
3:5:1 data r 30 6 24 30 28 6 0 0 0 0 0 80 0 0 0 0 0 44 0
3:5:1 data w 1 0 0 0 25 68 15 0 0 0 0 82 0 0 0 0 0 27 0
3:5:1 data t 31 6 24 30 53 74 15 0 0 0 0 162 0 0 0 0 0 71 0
3:5:2 data r 24 7 17 41 27 5 0 0 0 0 0 71 0 0 0 0 0 50 0
3:5:2 data w 0 0 0 1 39 62 11 0 0 0 0 92 0 0 0 0 0 21 0
3:5:2 data t 24 7 17 42 66 67 11 0 0 0 0 163 0 0 0 0 0 71 0
---------------------------------------------------------------------------------------------
total data r 118 24 96 159 103 22 0 0 0 0 0 320 0 0 0 0 0 202 0
total data w 2 0 0 3 128 220 54 0 0 0 0 328 0 0 0 0 0 79 0
total data t 120 24 96 162 231 242 54 0 0 0 0 648 0 0 0 0 0 281 0
3. The histogram commands can also show percentages instead of I/O counts.
histport -host -metric size -iter 1 –pct
4. Run statvlun -ni -sortcol 1 to show the per path front-end performance.
Queue Statistics
Node Free Clean Write1 WriteNWrtSched Writing DcowPendDcowProcRcpyRev
0 31185 404457 0 0 0 0 0 0 0
1 31139 405195 0 0 0 0 0 0 0
Page Statistics
---------CfcDirty--------- ------------CfcMax------------- -----------DelAck-----------
Node FC_10KRPM FC_15KRPM NL SSD FC_10KRPM FC_15KRPM NL SSD FC_10KRPM FC_15KRPM NL SSD
0 0 0 0 0 0 135064 10389 60259 0 69841 0 0
1 0 0 0 0 0 135064 10389 60259 0 310990 0 53768
Queue Statistics
Node Free Clean Write1 WriteNWrtSched Writing DcowPendDcowProcRcpyRev
0 31189 404457 0 0 0 0 0 0 0
1 31134 405195 0 0 0 0 0 0 0
Page Statistics
---------CfcDirty--------- ------------CfcMax------------- -----------DelAck-----------
Node FC_10KRPM FC_15KRPM NL SSD FC_10KRPM FC_15KRPM NL SSD FC_10KRPM FC_15KRPM NL SSD
0 0 0 0 0 0 135064 10389 60259 0 69841 0 0
1 0 0 0 0 0 135064 10389 60259 0 310990 0 53768
8. Run statld -ni –rw to show the LD performance. Note the difference in the
relationship between the LD and VV performance.
12. Run histpd to show the physical disk performance histogram. Drives with
problems might show as having high service times, such as disk ID 12 in this
example.
histpd -begin -metric time -timecols 7 17
cli% histpd -begin -metric time -timecols 7 17
10:24:43 05/30/2014 ----------------------------------Time (millisec)-----------------------------------
ID Port 1 2 4 8 16 32 64 128 256 512 1024
0 2:0:1 1040219 1392895 4067299 2757178 984548 302443 25925 827 67 6 7
1 3:0:1 1122139 1307977 3423012 2456079 806372 183864 13639 219 95 2 0
2 2:0:1 1007735 1127368 3169929 2366545 946025 233820 19296 868 84 4 0
3 3:0:1 949133 1047523 2838237 2072470 698932 156665 10281 157 82 1 0
4 2:0:1 236377 242713 994700 2069592 2144104 816707 136889 15494 2247 155 1
5 3:0:1 252 1298 2990 3743 3171 237 242 2 0 1 0
6 2:0:1 361107 284493 996177 2064123 2083380 762595 128421 14109 1862 180 1
7 3:0:1 232 1332 2946 3728 3206 262 225 4 0 1 0
8 2:0:2 1051677 1462750 4100316 2701323 923593 257723 18986 456 75 2 0
9 3:0:2 1054873 1306253 3373968 2422335 799063 187682 13787 212 60 1 0
10 2:0:2 1003054 1144904 3168218 2316856 927121 222431 16181 492 55 1 0
11 3:0:2 1018665 1024505 2828151 2073347 737502 178162 12236 167 71 1 0
12 2:0:2 225827 253337 997559 2103759 2295947 1005521 209611 36235 9466 2483 563
13 3:0:2 212 1372 2928 3717 3219 241 245 1 0 1 0
14 2:0:2 207482 261416 989367 2221532 2122266 728582 117343 11850 1503 84 0
15 3:0:2 221 1328 2916 3898 3078 243 248 2 1 1 0
16 2:0:3 930615 1025008 3181826 2065434 1003170 376687 41698 1186 208 34 3
17 3:0:3 969324 1003344 2802503 2090883 882572 235328 17895 623 199 37 1
18 2:0:3 993937 1056112 3241011 2092095 982181 331125 37219 1195 201 15 1
19 3:0:3 902457 969896 2924303 2088651 864549 215436 15621 608 280 36 3
20 2:0:3 246403 245539 979054 2079587 2074647 759260 125239 13960 1868 135 1
21 3:0:3 205 1349 2923 3861 3119 242 234 2 0 1 0
22 2:0:3 256111 258092 938556 2119629 2245540 844884 138018 15201 2155 148 4
23 3:0:3 231 1368 2900 3528 3394 269 241 4 0 1 0
24 2:0:4 1009471 1009702 3223415 2080333 1013668 352243 40046 1227 191 44 1
25 3:0:4 942933 958498 2791930 2085314 887026 251707 20231 667 334 59 6
26 2:0:4 937312 1072750 3206402 2059940 962558 312533 29377 930 126 6 0
27 3:0:4 903262 981929 2854549 2065019 861358 223842 16966 629 295 50 5
28 2:0:4 307156 264668 1016294 2137239 2030865 706681 117186 12954 1875 149 1
29 3:0:4 224 1362 2959 3638 3299 215 235 3 0 1 0
30 2:0:4 230027 268568 985463 2077706 2092737 770056 121769 12578 1690 99 1
--------------------------------------------------------------------------------------------------------
total 17908873 19979649 59112801 52693082 31392210 10417686 1445530 142862 25090 3739 599
3. Run srstatvlun -btsecs -30m -vv XXXX where XXXX is your VLUN name.
Note how the data is an average of all the VLUNs of the VV.
cli% srstatvlun -btsecs -30m -vv fpvv1
-----IOPs/s------ ------KBytes/s------ ---Svctms--- -IOSzKBytes-
Time Secs Rd Wr Tot Rd WrTot RdWr Tot Rd Wr Tot QLenAvgBusy%
2014-05-27 22:15:00 BST 1401225300 160.8 159.9 320.7 1317.7 1309.7 2627.4 4.7 19.9 12.2 8.2 8.2 8.2 0 78.6
2014-05-27 22:20:00 BST 1401225600 160.9161.0 321.9 1318.1 1318.6 2636.7 4.7 19.7 12.2 8.2 8.2 8.2 5.0 78.8
2014-05-27 22:25:00 BST 1401225900 158.6 157.2 315.9 1299.6 1287.9 2587.5 4.8 20.1 12.4 8.2 8.2 8.2 0 78.5
2014-05-27 22:30:00 BST 1401226200 153.0 152.7 305.8 1253.4 1251.3 2504.7 5.0 20.7 12.8 8.2 8.2 8.2 0 78.5
2014-05-27 22:35:00 BST 1401226500 160.0 161.0 321.0 1310.4 1319.1 2629.5 4.7 19.7 12.2 8.2 8.2 8.2 2.0 78.8
2014-05-27 22:40:00 BST 1401226800 156.0 157.4 313.4 1278.0 1289.4 2567.4 4.9 20.1 12.5 8.2 8.2 8.2 0 78.6
-------------------------------------------------------------------------------------------------------------------
6 158.2 158.2 316.4 1296.2 1296.0 2592.2 4.8 20.0 12.4 8.2 8.2 8.2 1.2 78.6
There is no srstatvv command, so how could you compare the VLUN and VV
performance stats in the System Reporter CLI?
Use help to look at the srstatvlun command and see if you can work this out.
7. Run srstatvlun -attime -groupby vv_name
8. Run srstatvlun -attime -groupby lun
Compare the output.
9. Clean up your lab. Stop IOmeter, and unexport and remove any LUNs and volumes.
Introduction
This lab coincides with module 5, “Rebalancing.” In this lab, you create a CPG and VV that will be
used for a simulated scenario where disks are not equally alocated because new drives were
added after existing CPGs and VVs were created. Then you will analyze disk allocation level,
perform a preview of tuning from both interfaces, perform the rebalancing, and look at results.
Objectives
After completing this module, you should be able to:
Prepare an imbalanced CPG and VV
Perform tuning tasks
Analyze the tuning results
3. At the Disk Filter step, press the Filter link and change criteria by setting the Cage
property with Value = 0. Press Add and OK.
You might need to adjust this size depending on number of students and available
space.
The goal is to create a clear imbalance in space allocation between FC disks.
1. Go to Systems <your 3PAR> Physical Disks FC. Check the current state. As
you can see, disks are not equally allocated. The bigger the size of VVs will be, the
bigger the imbalance will be.
2. Open the CLI and use setcpg -p -devtype FC <name of your CPG>.
Then verify with showcpg –sdg <name of your CPG> that the cage filter
(-cg 0) is no longer displayed. This is very important.
*********************************************************
* Phase 2: Performing Intra-node balance checks:
*********************************************************
*
*********************************************************
* Node 0 has 4 underallocated PDs and will be tuned
*********************************************************
*
*********************************************************
* Node 1 has 4 underallocated PDs and will be tuned
*********************************************************
*
*********************************************************
* Dry run - The following ND tunes would be
* performed:
*********************************************************
*
tunenodech -f -nocheck -dr -maxchunk 2 -chunkpct 10 -node 0
tunenodech -f -nocheck -dr -maxchunk 2 -chunkpct 10 -node 1
*
*********************************************************
* Phase 3: LD tuning will not be performed.
* Reason: No LD re-layout tunes needed.
*********************************************************
* Dry Run completed
*********************************************************
2. Go to Tasks & Schedules, switch to the Tasks tab and highlight the System Tuning
task. The task has finished.
As you can see, a tuning task can run one or more subtasks that rebalance different
aspects of the array.
2. The tuning task can take 8 or more hours, so allow it to run over night. When you
come back, go to Systems <your 3PAR> Physical Disks FC. You should see
that the disks are now allocated equally.
Introduction
This lab coincides with module 6, “Upgrading 3PAR.” You will learn how to perform hardware
replacement procedures by watching video tutorials from HP Services Media Library (SML). You
will also verify Service Processor (SP) software level from SPMAINT, verify 3PAR OS version, and
perform an array health check. For technical reasons in the HPVL, and because we are sharing
the array, we will not perform the 3PAR OS update, but we will walk though preparation tasks.
To be able to work in parallel, the first student should do Lab 1, while the second student
should do Labs 2 and 3, and then switch.
Objectives
After completing this module, you should be able to:
Use the HP Customer Self Repair Services Media Library
Verify the Service Processor Software Level from SPMAINT
Verify the HP 3PAR OS Software Level
2. For technical reasons in HPVL, you need to remove and then re-add the array to SP.
To remove it, select 3 ==> StoreServ Configuration Management, 4 ==> Remove
a StoreServ and then select the array to operate on and confirm with y.
SP0001310387
Configured StoreServs
X Exit
3. Wait until the process ends and press Enter. To re-add the array, select 2 ==> Add a
new StoreServ and enter the IP address of your 3PAR, and confirm with Enter.
SP0001310387
4. Give your 3PAR credentials (3paradm: 3pardata), confirm with Enter, and wait.
When it finishes, press Enter again and select X Return to the previous menu.
SP0001310387
3 StoreServ Configs
HP 3PAR Service Processor Menu
5. Now you can start the actual exercise. The SP must be updated to the required SP
software. To verify the level of SP software running on the SP for the system you
are updating, log on to the SPMAINT utility to display the SP level.
SP0001310387
1 SP Main
HP 3PAR Service Processor Menu
1 ==> SP Control/Status
2 ==> Network Configuration
3 ==> StoreServ Configuration Management
4 ==> StoreServ Product Maintenance
5 ==> Local Notification Configuration
6 ==> Site Authentication Key Manipulation
7 ==> Interactive CLI for a StoreServ
X Exit
6. From the SPMAINT main menu, select: 1 ==> SP Control/Status then: 1 ==>
Display SP Version.
SP Software Version
SP-4.2.0.GA-29
SP Base Image Version: Red Hat Enterprise Linux Server release 6.1 (Santiago)
SP Version: 4.2.0.GA-29
SP Patches:
HP 3PAR OS release (3.1.2): 3.1.2.278
HP 3PAR OS release (3.1.3): 3.1.3.230-MU1
More detail is available in the latest SPLOR or spconfig data.
7. Go back to the previous menu with X and select 13 ==> Display SP status.
1 SP CONTROL
[…]
1 ==> Display SP Version
2 ==> Reboot SP
3 ==> Halt SP
4 ==> Stop StoreServ related Processes
5 ==> Start StoreServ related Processes
6 ==> File Transfer Monitor
7 ==> SP File Transfer Trigger
8 ==> Reset Quiesce state in Transfer process
9 ==> Mount a CDROM
10 ==> Unmount a CDROM
11 ==> SP Date/Time/Geographical Location maintenance
12 ==> Manage NTP configuration
13 ==> Display SP status
14 ==> SP User Access Control
15 ==> SP Process Control Parameters
16 ==> Maintain SP Software
17 ==> SP File Maintenance
18 ==> RESERVED
19 ==> Request a SPLOR
20 ==> Request an MSPLOR
21 ==> Run SPCheckhealth
Normally, this output is saved. You will need to compare it with the post-upgrade SP
status after you install the operating system.
Now, the SP software update would be performed (steps 1.16.2 [Update SP
Software Revision]) and then you would compare 1.1 (Display SP Version) and
1.13 (Display SP status) outputs before and after the update.
For an example of the basic list, see the table, “Example of Basic SP Processes” in
the HP 3PAR OS 3.x.x Upgrade Instructions document.
If the basic SP processes are running, you can now install the operating system on
the storage system.
SP0001310387
Confirmation
SP0001310387
Available files
1 ==> /sp/prod/data/files/1310387/status/150328.111324.all
2 ==> /sp/prod/data/files/1310387/status/150328.111324.det
3 ==> /sp/prod/data/files/1310387/status/150328.111324.err
4 ==> /sp/prod/data/files/1310387/status/150328.111324.sum
4. Select 0.
Now an actual 3PAR OS would take place. Refer to your student guide for a step-by-
step description. Please do not try to perform this procedure in HPVL.
Introduction
This lab coincides with module 7, “Alerts.” In this lab you will learn how to work with
different monitoring, alerting, and notification systems available on both HP 3PAR
storage array systems and Service Processor.
This lab can be performed by both students at the same time, but the first student
should do labs 1 through 5, while the second student does Labs 6 through 8, and then
switch. Please ask the other person if they are finished before switching.
Objectives
After completing this module, you should be able to:
View alerts from both the Management Console (MC) and the command line
interface (CLI)
View events from the MC and CLI
Work with internal System Reporter alerts
Configure SNMP and SNMP traps
Configure SMI-S/CIM monitoring
Configure SPOCC email notifications
Tips
If you see no alerts, generate some. For example, you can create a common provisioning
group (CPG) or thinly provisioned virtual volume (TPVV) with a very strict or low space
allocation warning threshold that you can then exceed. Alternatively, you can set raw
space threshold alerts that can be quickly reached.
To set a raw space alert for a storage system with nearline (NL) drives, enter:
setsys RawSpaceAlertNL <threshold>
To set a raw space alert for a storage system with Fibre Channel (FC)drives, enter:
setsys RawSpaceAlertFC <threshold>
To set a raw space alert for a storage system with Solid State Drives (SSDs), enter:
setsys RawSpaceAlertSSD <threshold>
Where <threshold> is an integer from 100 to 100,000 that represents the total
available space on the system in gigabytes.
2. Look at the details and write down the answers to the following questions:
What is the severity of this alert? ....................................................................................
What is the type of this alert? ..........................................................................................
What is the content or message of this alert?.................................................................
What is the component that this alert has been generated for? ....................................
When was it generated?...................................................................................................
3. Right-click this alert and set it as Acknowledged.
Its state at both the list and details sections changed accordingly. When the problem
is solved, you can remove it using the same method.
Id : 14
State : New
Message Code: 0x0270001
Time : 2015-03-27 10:01:41 EDT
Severity : Informational
Type : TP VV allocation size warning
Message : Thin provisioned VV tpvv has reached reserved allocation warning of
2G (20% of 10G)
Id : 9
State : New
Message Code: 0x0150006
Time : 2015-03-28 09:12:55 EDT
Severity : Major
Type : Authentication failure
Message : 16 authentication failures in 120 secs
3 alerts
3. You can perform the same alert-related operations from the CLI as you can from the
MC GUI.
To mark an alert as new, fixed, or acknowledged, use the setalert
new|fixed|ack <alert_ID> command, where <alert_ID> is the alert whose
status you want to change. Do so for one of the alerts you worked with in step 2.
Use showalert again to see the result.
You can also remove an alert. Enter the removealert <alert_ID> command,
where <alert_ID> is the alert you want to remove. Remember to leave some alerts
for other students.
3. Find all the events related to authentication. Use the text filter.
2. Display events only related to a certain component class, for example, ports. If you
do not know how, use the help showeventlog command. Remember to
combine it with cmore.
cli% cmore showeventlog -comp port
Time : 2015-02-02 13:21:25 EST
Severity : Informational
Type : Component state change
Message : Port 0:2:1 Normal (Online)
2. Add a new one. See the help createsralertcrit command output or your
student guide for details.
For example, create an alert criteria that will work when total number of IOPS
generated to a specific VV exceeds 50 (select one of your VVs or create a new one
for that task). The alert should be considered a minor problem. Note that the
following command is a single line:
cli% createsralertcrit vlun -vv tpvv -minor -hires total_iops>50 tpvv_workload_test
4. Use IOmeter to generate a workload to this VV. Use the “all in one” workload
pattern, and allow it to run for about 10 minutes.
Feel free to proceed to the next exercise, but remember to return to this one
after at least 10 minutes.
5. When you get back, go to the Events & Alerts section. You should find an alert
generated because of your previously created SR alert criteria.
cli% showsnmpmgr
HostIP Port SNMPVersion User
192.168.118.182 162 2 --
192.168.118.184 162 2 --
3. This lab uses SNMP v2, but if you wanted to use v3, you would need to perform this
step as well. For learning purposes, create an SNMPv3 user with the
createsnmpuser command. For simplicity, use the same data as for the 3PAR
user. Verify with the showsnmpuser command.
cli% createsnmpuser -p 3pardata 3paradm
SNMP user successfully set.
cli% showsnmpuser
Username AuthProtocol PrivProtocol
3paradm HMAC-SHA-96 CFB128-AES-128
4. Unzip and copy SNMP Trap Watcher from the Depot to your Windows host desktop
and run it.
5. To test communication between SNMP Agent and SNMP Managers, use the
checksnmp command. It generates and sends a test trap to all registered SNMP
Managers.
cli% checksnmp
Trap sent to the following managers:
192.168.118.182:162
192.168.118.184:162
If you do not see any traps, double-check that you configured SNMP correctly. If so,
disable Windows Firewall.
Leave it open, and after you have finished all the labs, check whether you have
received any new traps.
cli% startcim
CIM server will start in about 90 seconds
Now you are ready to add your 3PAR to HP SIM for monitoring.
2. Open Internet Explorer from your HPVL Windows host and browse to
http://mgmtvm:280/
If the MGMT server is not responding, power it up by using the VI client, which is
accessible from the main HPVL screen.
4. Ignore the registration and First Time Wizard. Select Options Discovery... from
the menu.
6. Switch to the Discover a single system option and specify the IP address for your
3PAR.
7. Click the Credentials… button and use your 3paradm: 3pardata login and password.
8. Switch to the SNMP tab and use public for the read community string. 3PAR uses
it by default.
10. Select your discovery task and press the Run Now button.
It will take a few minutes; wait until it completes. If you see no progress, stop it,
cancel, and start again.
11. After the task has finished, browse to your discovered system (Systems Shared
Systems by Type Storage Systems All Storage Systems <IP>)
12. Look at the information gathered from 3PAR on the different tabs and answer the
following questions:
What is the version of 3PAR OS?......................................................................................
How many online FC N-ports do you have? .....................................................................
How many VVs do you have, and which one is the biggest? ...........................................
What is the total capacity?...............................................................................................
13. When you have finished, remove the array from HP SIM so other students can
perform the same lab.
a. From tree menu on the left, click Storage Systems All Storage Systems.
b. Select the checkbox next to your array.
c. Select Delete and confirm with OK.
2. Go to the Setup section and click Enable Local Notification if the current state is
“Disabled.”
4. For IP Address, use your MGMT host IP. For Mailhost Domain Name, use anything
NOT FROM *.local domain. You can use mailserver.somewhere.com for example.
Press Add Mailhost.
5. You are ready to test whether everything has been configured correctly. Press the
Test Mailhost button and use 3par@hp.local for the email address. Press OK.
After a few seconds, you should see a SPOCC Maillog message that is similar to this.
Check Maillog:
Mar 27 11:40:37 inserv036spvm postfix/pickup[16288]: 905A0680B45: uid=48
from=<apache>
Mar 27 11:40:37 inserv036spvm postfix/cleanup[16578]: 905A0680B45: message-
id=<20150327154037.905A0680B45@inserv036spvm>
Mar 27 11:40:37 inserv036spvm postfix/qmgr[16289]: 905A0680B45:
from=<apache@mailserver.somewhere.com>, size=392, nrcpt=1 (queue active)
Mar 27 11:40:38 inserv036spvm postfix/smtp[16586]: 905A0680B45: to=<3par@hp.local>,
relay=192.168.118.184[192.168.118.184]:25, delay=0.94, delays=0.06/0.02/0/0.86,
dsn=2.0.0, status=sent (250 Queued (0.843 seconds))
Mar 27 11:40:38 inserv036spvm postfix/qmgr[16289]: 905A0680B45: removed
6. If you see no errors, log in to the MGMT host and launch Mozilla Thunderbird.
7. You should see a test email in your Inbox. If not, please check to make sure you
performed steps 2 through 4 correctly.
9. Type your name, local email address (3par@hp.local), category (Customer), and
company name, and press the Add User Profiles and Notification Record button.
As you can see below, this Quick Setup wizard added Notification and User Profile
positions. We keep defaults, but normally you might want to customize or add them
manually.
10. Before proceeding to the next step, test that everything has been properly
configured so far. Edit your User Profile.
12. Go to the MGMT host and open the Thunderbird client again. You should see a new
email in the Inbox.
By default, the customer is notified mostly about Thin Provisioning related events.
Experienced SPOCC administrators can change that in Setup [Advanced
Configuration Menu] (next to Disable Local Notification) 3. Predefine
Symptoms
13. Accepting the default TPVV related notifications, now you need to generate such
notification.
Create a new 10 GB TPVV. Set its Allocation Warning for 10%, and then export it to
your Windows host.
14. Copy some files to fill it up and exceed 10% Allocation Warning. Go back to the
Thunderbird email client at the MGMT host and look for a new email.
As you can see, email notification has been successfully generated and delivered.
Return to the still opened SNMP Trap Watcher and check whether you can see any
new traps.
15. Please clean up the SP.
1. Go to the Notify section and select Quick Setup.
2. Go to the Setup section and click Configure Mailhost Remove Mailhost.
3. Sign out from the SP.