54
Technical Edge 2013 | June 10 – 14 Mandalay Bay, Las Vegas, NV _______________________________________________________________________________ Edge2013 1 © IBM Corp. 2013 Session SV-1554 SVC/Storwize V7000: Real-time Compression and the IBM Comprestimator Sharon P. Wang ERC130522

IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Embed Size (px)

DESCRIPTION

IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Citation preview

Page 1: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Technical Edge 2013 | June 10 – 14 Mandalay Bay, Las Vegas, NV _______________________________________________________________________________

Edge2013 1 © IBM Corp. 2013

Session SV-1554 SVC/Storwize V7000: Real-time Compression and the IBM Comprestimator Sharon P. Wang ERC130522

Page 2: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Technical Edge 2013 | June 10 – 14 Mandalay Bay, Las Vegas, NV _______________________________________________________________________________

Edge2013 2 © IBM Corp. 2013

The following terms are trademarks of International Business Machines Corporation in the United States, other countries, or both: IBM, IBM Logo, on demand business logo, Enterprise Storage Server, xSeries, BladeCenter, eServer, ServeRAID and FlashCopy, System Storage, Tivoli, Easy Tier. The following are trademarks or registered trademarks of other companies. Intel is a trademark of the Intel Corporation in the United States and other countries. Java and all Java-related trademarks and logos are trademarks or registered trademarks of Sun

Microsystems, Inc., in the United States and other countries. Lotus, Notes, and Domino are trademarks or registered trademarks of Lotus Development Corporation. Linux is a registered trademark of Linus Torvalds. Microsoft, Windows and Windows NT are registered trademarks of Microsoft Corporation. SET and Secure Electronic Transaction are trademarks owned by SET Secure Electronic Transaction LLC. UNIX is a registered trademark of The Open Group in the United States and other countries. Storwize is a trademark of Storwize Inc., an IBM company, and used under license by IBM. * All other products may be trademarks or registered trademarks of their respective companies.

Page 3: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Technical Edge 2013 | June 10 – 14 Mandalay Bay, Las Vegas, NV _______________________________________________________________________________

Edge2013 3 © IBM Corp. 2013

Table of Contents LAB 1. REAL-TIME COMPRESSION........................................................................................................................................ 4

INTRODUCTION ................................................................................................................................................................................ 4 OBJECTIVES ..................................................................................................................................................................................... 5 REFERENCE...................................................................................................................................................................................... 5 NOTE ............................................................................................................................................................................................... 5 DIRECTIONS..................................................................................................................................................................................... 6

Explore GUI provided indicators for Real-time Compression .......................................................................................................................6 Create a Compressed Volume......................................................................................................................................................................15

LAB 2. IBM COMPRESTIMATOR AND VOLUME MIRRORING ...................................................................................... 36

INTRODUCTION .............................................................................................................................................................................. 36 OBJECTIVES ................................................................................................................................................................................... 36 DIRECTIONS................................................................................................................................................................................... 37

Determine Candidate Volumes for Compression.........................................................................................................................................37 Convert an Existing Volume to Compressed ...............................................................................................................................................42

Page 4: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 1 – Real-time Compression

Edge2013 4 © IBM Corp. 2013

Lab 1. Real-time Compression

Introduction ompression technologies have existed for many decades and various approaches have been offered for data reduction. However, the Real-time Compression technology embedded in

the IBM SAN Volume Controller (SVC) and Storwize V7000 is designed to be used with active primary data such as production databases and email systems. This solution dramatically expands the range of candidate data types that can benefit from compression and thus increase storage management efficiency. External storage systems virtualized by the SVC and Storwize V7000 can also benefit from the embedded Real-time Compression feature. As its name conveys, Real-time Compression operates as data is written to disk; avoiding the need to manage storing uncompressed data while awaiting post processing compression. In addition to disk capacity optimization and its consequence of prolonging the value of existing storage assets, compressed data also increases the efficiency of external storage cache as well as data transfer bandwidth. The GUI provided Compressed preset supports the creation of compressed volumes. Existing volumes can be converted to compressed using the Volume Mirroring function. In addition, the

C

LABORATORY

1 LABORATORY

1

Page 5: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 1 – Real-time Compression

Edge2013 5 © IBM Corp. 2013

IBM Comprestimator host based utility is available to estimate potential compression capacity savings for volumes that contain existing data. The GUI also provides benefit analysis statistics of compression savings at the volume, storage pool, and system levels.

Objectives Create a compressed volume and discern its real capacity

consumption behavior. Compare and contrast the capacity utilization between a thin-

provisioned volume with that of a compressed volume. Examine Real-time Compression indicators and statistics

provided by the GUI.

Reference Not all data types yield high compression ratios. Good candidates include workloads that generate random I/O patterns such as databases, e-mail applications, server virtualization (VMware, Hyper-V, KVM); as well as scientific, engineering CAD/CAM, etc. Already compressed data, such as audio, video, medical imaging, binarys, zip, tgz, or encrypted files yield low compression ratios along with the expense of extensive CPU utilization.

For additional information, refer to the Real-time Compression in SAN Volume Controller and Storwize V7000 (REDP-4859) red paper document at http://www.redbooks.ibm.com.

Note In terms of Real-time Compression, the IBM Storwize V7000, the IBM Storwize V7000 Unified, and the IBM Flex System V7000 Storage Node provide equivalent function. References to the Storwize V7000 in this lab guide apply to all three systems of the Storwize V7000 family.

Page 6: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 1 – Real-time Compression

Edge2013 6 © IBM Corp. 2013

Directions Explore GUI provided indicators for Real-time Compression Your SVC system is known as COLOR_SVC and has a management IP address of 10.6.xx.60, where the value of xx is your team’s subnet and related color value:

NAVY – 76 OLIVE – 77 CHERRY - 78 ORCHID - 79

The SVC management GUI is embedded in the system and is accessible from a Web browser using the system’s IP address as the URL value. ___1. The Mozilla Firefox browser has been opened to your team’s

SVC system IP address. Use the User Name: COLORSVCadmin -- replace COLOR with your team’s assigned color value. The Password: value is password. If you prefer, click the Low graphics mode box to remove the “fish eye” effect of function icons, which can take a toll on browser performance. Click the Login arrow to open the GUI.

Page 7: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 1 – Real-time Compression

Edge2013 7 © IBM Corp. 2013

___2. The browser opens to the Overview panel of the Home function icon. Note the breadcrumbs across the top of the screen identify a navigation path from the system name of COLOR_SVC to the Home menu then to Overview.

___3. Verify that your COLOR_SVC system’s resources match the

screen shot values (with the exception of the Internal Drives value being 0 instead of 4). Alert the instructor if your values differ.

___4. The three system status pods at the bottom of the screen are

available from all GUI views. ___5. Examine the Storage Allocation status pod at the lower left

corner of the screen. The system-wide Allocated and total capacity values are shown.

Page 8: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 1 – Real-time Compression

Edge2013 8 © IBM Corp. 2013

___6. Click the Storage Allocation status pod and the system-wide Virtual and total capacity values are shown. One of the three volumes already allocated is a thin-provisioned volume and its virtual capacity is much greater than its allocated real capacity.

___7. Click the Monitoring function icon in the navigation tree and

select the System view. Then click the system name displayed at the bottom of the system rack. Review the capacity values in the system Info notebook.

___8. Note the code level of this COLOR_SVC system. Real-time

Compression is a licensed feature available with v6.4.0 or higher running with SVC node hardware models CF8, CG8, and Storwize V7000 family of systems.

Page 9: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 1 – Real-time Compression

Edge2013 9 © IBM Corp. 2013

___9. Real-time Compression is activated for an I/O group when the first volume copy with the compressed attribute is allocated in the I/O group. The Compression feature is automatically deactivated when the last compressed volume copy is removed from the I/O group. Presently, up to 200 compressed volumes are supported per I/O group.

___10. Click the io_grp1 enclosure within the system rack and verify

that the current setting for Compression Active has a value of No. We will be using this I/O group to allocate compressed volumes.

Page 10: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 1 – Real-time Compression

Edge2013 10 © IBM Corp. 2013

___11. Click the NODE3 object within the io_grp1 enclosure to open its properties notebook. Select the Hardware tab. Scroll to see its hardware model, cache memory, and CPU cores. The model for all the SVC nodes in our lab environment is CF8. A CF8 node has 24 GB of cache memory and 4 CPU cores.

___12. The CG8 SVC node model has the same amount of cache

memory as the CF8 but with 6 CPU cores (initial shipments of the CG8, with Intel ® Xeon ® CPU E5630, has 4 instead of 6 CPU cores). As a reference, the Storwize V7000 also supports Real-time Compression. Each of its nodes has 8 GB cache and 4 CPU cores.

___13. Once the first compressed volume is allocated in an I/O group,

three of the four CPU cores in each CF8 node (or Storwize V7000 node), or four of the six CPU cores in each CG8 node are reserved for compression processing. In addition, 2 GB of cache from each node of the I/O group is set aside for compression processing.

Page 11: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 1 – Real-time Compression

Edge2013 11 © IBM Corp. 2013

___14. Stay with the Monitoring function and select Performance from the quick navigation drop down list.

___15. Examine the CPU utilization value. Beginning with v6.4.0, CPU

utilization reporting is segregated into the System % and Compression % categories. Click the check box associated with Compression % to prepare for subsequent viewing of compression statistics.

___16. To maintain application performance, the guideline is to

activate compression only if CPU utilization for the System % is 25% or less for each CF8 node (or Storwize V7000 node); and 50% or less for each CG8 node. If the CPU for System % is higher than this guideline for either node of an I/O group (use the drop down of System Statistics to see data at node level), consider adding another I/O group first.

Page 12: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 1 – Real-time Compression

Edge2013 12 © IBM Corp. 2013

___17. Go to Volumes > Volumes by Pool > COLORDS3K_SASpool and review the volumes and Volume Allocation capacity utilization bar of this pool.

___18. In preparation to view compression statistics, right click in the

column heading area. Scroll through the pop-up list and select Compression Savings to add this column to the display.

Page 13: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 1 – Real-time Compression

Edge2013 13 © IBM Corp. 2013

___19. Click the COLORDS3K_SATApool button in the Pool Filter list. The only volume in this pool is VW_THIN. It has a thin-provisioned icon prefix in its capacity value. The icon serves as a flag to indicate that the 200 GB value is the virtual capacity of the volume; not necessarily its allocated real capacity.

___20. Examine the Volume Allocation capacity utilization bar of this

pool and note its allocated capacity – it is the actual allocated capacity of the VW_THIN volume. Notice the pool’s total virtual capacity displayed beneath the bar is much larger than its physical capacity.

Page 14: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 1 – Real-time Compression

Edge2013 14 © IBM Corp. 2013

___21. Go to Volumes > Volumes by Host > COLORWIN1 to verify that three volumes have been mapped to this host. Review the volume names. The capacity of each volume is purposely unique to facilitate easy correlation from the host system later.

___22. Tailor the columns displayed to include the ID and Caching

I/O group ID columns. ___23. Click the New Volume button from this view to create a

compressed volume for this host.

Page 15: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 1 – Real-time Compression

Edge2013 15 © IBM Corp. 2013

Create a Compressed Volume

___24. Select the Compressed preset from the New Volume pane. ___25. A warning message box is presented when the first

compressed volume is requested. To ensure application performance is maintained, do note that CPU resources must be adequate before activating Real-time Compression.

___26. Compression is supported for all storage pools. For this exercise, select the COLORDS3K_SASpool.

***Note a recent Flash (document ID S1004312) recommends segregating compressed from uncompressed volumes by pool to reduce latency issues on uncompressed volumes. An enhancement will be added in a future release to address these issues.***

Page 16: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 1 – Real-time Compression

Edge2013 16 © IBM Corp. 2013

___27. Double check that the correct pool – COLORDS3K_SASpool – has been selected.

___28. Assign a volume name of VW_COMP and a size of 200 GB.

Examine the Summary: statement – it indicates that only 4 GB of real capacity will be allocated for the volume.

___29. A compressed volume is actually a type of thin-provisioned

volume. Click the Advanced button for more details.

Page 17: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 1 – Real-time Compression

Edge2013 17 © IBM Corp. 2013

___30. Click the Capacity Management tab of the Advanced Settings – New Volume pane and notice the radio button for Compressed is already selected.

___31. Review the Options box for the Compressed preset. By

default, the initial real capacity allocation is only 2% of the volume’s virtual capacity. The volume’s real capacity is to automatically expand as write requests require more space. And a warning event is generated if real capacity consumption hits 80% of the volume’s virtual capacity.

___32. These parameters and their defaults are almost identical with

those for Thin Provisioned preset. If you clicked the Thin-Provisioned radio button to review parameters, be sure to click the radio button for Compressed afterwards.

___33. Do not click OK yet. At this point we prefer Real-time

Compression to be active only for io_grp1. Therefore, we need to ensure the volume being allocated is owned by this I/O group of our SVC system.

Page 18: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 1 – Real-time Compression

Edge2013 18 © IBM Corp. 2013

___34. Click the Characteristics tab. From the Caching I/O Group drop down list, select io_grp1.

___35. Use the default of letting the system select the preferred node for the volume. Click OK to return to the New Volume view. Then push the Create and Map to Host button to continue.

Page 19: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 1 – Real-time Compression

Edge2013 19 © IBM Corp. 2013

___36. Review the svctask mkvdisk command generated by the GUI to locate the –compressed parameter. It causes the compressed attribute to be assigned to the volume. Verify the volume is being allocated to io_grp1. Note the volume object ID and click Continue.

___37. Verify the volume is being assigned to the COLORWIN1 host. Use the default SCSI ID for the volume. Click the Map Volumes button to assign the VW_COMP volume to the COLORWIN1 host. Review the generated job to verify the volume has been mapped to the host.

Page 20: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 1 – Real-time Compression

Edge2013 20 © IBM Corp. 2013

___38. Go to the Volumes > Volumes by Host view and push the COLORWIN1 button in the Host Filter list. Confirm that the VW_COMP volume has been added to the mapped volumes list for this host.

___39. The GUI uses the compression icon as an eye-catcher prefix

for the volume’s capacity value. Right click the VW_COMP entry and select Properties from the pop-up list to view volume details.

Page 21: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 1 – Real-time Compression

Edge2013 21 © IBM Corp. 2013

___40. Similar to a thin-provisioned volume, a newly allocated compressed volume starts with a very small amount of real capacity allocated (default is 2% of virtual).

___41. Review the values under the Capacity: heading. Notice

capacity before compression as well as compression savings values are being reported by the GUI. Copy and remember the volume’s assigned preferred node name __________ for subsequent use.

___42. Click the Member MDisks tab to view the volume’s extent

distribution. A compressed volume is also a striped volume. Its extents are distributed across the MDisks of the pool.

Page 22: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 1 – Real-time Compression

Edge2013 22 © IBM Corp. 2013

___43. Stay with the Volumes function but move to the Volumes by Pool view and push the COLORDS3K_SASpool button in the Pool Filter list. Review the two capacity bars for this pool.

___44. The Volume Allocation capacity bar has been updated upon the

allocation of the VW_COMP volume. It now includes a virtual capacity for the pool.

___45. The Compression Savings capacity bar will contain more

interesting data once write activity occurs on this volume. Currently it only reflects the capacity used for metadata of the compressed volume.

___46. Note the updated capacity values maintained in the system

Storage Allocation status pod at the lower left corner.

Page 23: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 1 – Real-time Compression

Edge2013 23 © IBM Corp. 2013

___47. Return to the Monitoring > System view and click io_grp1 to examine its details. Because a compressed volume copy has been created in this I/O group, validate that the Compression Active indicator is now set to Yes.

___48. Select the Compression View from the drop down list at the

bottom of the cylindrical capacity column. Then hover the cursor over the column to review various capacity values reported.

___49. Focus on the system Storage Allocation status pod at the

lower left hand corner. Click the pod to display statistics related to compression.

Page 24: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 1 – Real-time Compression

Edge2013 24 © IBM Corp. 2013

___50. Go to the COLORWIN1 server Remote Desktop session that is already opened on the ADMIN desktop.

___51. If the newly assigned VW_COMP volume has not been

discovered by Windows automatically, then from the Computer Management pane click the Action drop down list and select Rescan Disks.

Page 25: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 1 – Real-time Compression

Edge2013 25 © IBM Corp. 2013

___52. Scroll if necessary to locate the new disk entry. It should have a capacity of 200 GB. Right-click the area under the disk number and select Initialize Disk

___53. Click the OK button in the Initialize Disk pop-up pane.

Page 26: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 1 – Real-time Compression

Edge2013 26 © IBM Corp. 2013

___54. Right click in the disk space area of the new disk entry and select New Partition…. Then perform the following:

o From the Welcome to the New Partition Wizard window, click the Next> button.

o From the Select Partition Type pane, accept the defaults and click the Next> button.

o From the Specify Partition Size pane use the full partition size, click the Next> button.

o From the Assign Drive Letter or Path pane, accept the defaults and click the Next> button.

Page 27: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 1 – Real-time Compression

Edge2013 27 © IBM Corp. 2013

___55. From the Format Partition pane, perform the following o Select NTFS for File system to use. o Select Default for Allocation unit size. o Enter the Volume label – VW_COMP. o Make sure to check the Perform a quick format box. o Click the Next> button. o Click the Finish button to proceed.

Page 28: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 1 – Real-time Compression

Edge2013 28 © IBM Corp. 2013

___56. Review the list of user disks on the COLORWIN1 host. You should have four disk entries whose volume labels match the four volume names from the SVC.

___57. Right click in the VW_COMP disk entry and select Explore to

open Windows Explorer.

Page 29: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 1 – Real-time Compression

Edge2013 29 © IBM Corp. 2013

___58. Locate the drive letter for the VW_THIN volume. Notice its volume capacity is the same as the VW_COMP volume.

___59. From Windows Explorer select both the FolderA and FolderA1

folders from the VW_THIN volume and copy them to the VW_COMP volume. We want the consumed capacity of these two 200 GB volumes to be identical.

___60. Do not wait for the copy to complete. Return to the SVC GUI

and move quickly to the next step.

Page 30: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 1 – Real-time Compression

Edge2013 30 © IBM Corp. 2013

___61. Go to Monitoring > Performance to view CPU utilization for Compression %. Compression is performed by the preferred node of the volume. Use the System Statistics drop down to select the node that is the preferred node of the VW_COMP volume.

___62. Due to cache destaging, you should still see some activity

associated with Compression CPU utilization even after the copy activity has completed on the COLORWIN1 host.

Page 31: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 1 – Real-time Compression

Edge2013 31 © IBM Corp. 2013

___63. Return to the COLORWIN1 server to confirm that both FolderA and FolderA1 have been copied to the VW_COMP volume.

___64. Right click in the Windows Explorer view of the VW_COMP

volume to open its properties notebook. Review the volume’s used versus free space values as tracked by Windows.

___65. Also display and examine the volume properties for the

VW_THIN volume. Its used and free space capacities should match those of the VW_COMP volume.

Page 32: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 1 – Real-time Compression

Edge2013 32 © IBM Corp. 2013

___66. Return to the Volumes > Volumes by Pool view to examine the COLORDS3K_SASpool updated capacity usage details. Take a closer look at the Compression Savings capacity bar for the pool. Atop of the bar is the total amount of capacity consumed, beneath the bar is the total capacity saved. The consumed percentage of 57% within the bar is a ratio of consumed capacity divided by total write capacity (1.47/(1.47+1.08)).

___67. Examine the VW_COMP volume entry. The Compression

Savings of 42% is the percentage of capacity saved due to compression. Since there is only one compressed volume in the pool at the moment, the 42% capacity savings at the volume level matches the savings percentage reported at the pool level Compression Savings capacity bar.

___68. These compression statistics are maintained dynamically by

the GUI. Right click the VW_COMP volume entry and select Properties to obtain more details about the 42% value.

Page 33: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 1 – Real-time Compression

Edge2013 33 © IBM Corp. 2013

___69. From the Volume Details pane for the VW_COMP volume, focus on the Capacity: section beneath the volume capacity bar.

___70. Review the Used and Before Compression capacity values.

The GUI calculated 42% compression savings is derived by taking the (‘before compression capacity’ minus the ‘used capacity’) divided by the ‘before compression capacity’; or 42% = ((2.55 – 1.47) / 2.55).

Page 34: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 1 – Real-time Compression

Edge2013 34 © IBM Corp. 2013

___71. Recall that the same amount of user data is contained in both the VW_COMP and VW_THIN volumes. Return to a volume list to open the Volume Details pane for the VW_THIN volume.

___72. Examine the capacity consumption data for this thin-

provisioned volume, compare it with that of the VW_COMP volume, and describe similarities and differences.

Page 35: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 1 – Real-time Compression

Edge2013 35 © IBM Corp. 2013

___73. Go to the Monitoring > System view and hover over the cylindrical capacity column to review updated capacity values for compression.

___74. Click the system name at the bottom of the rack to open its

Info notebook. Scroll all the way down to see compression statistics maintained by the GUI at the system level.

___75. Click the Storage Allocation status pod and review the three

different capacity utilization views provided.

You have completed this lab. Continue to the next lab on the IBM Comprestimator.

Page 36: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 2 – The IBM Comprestimator and Volume Mirroring

Edge2013 36 © IBM Corp. 2013

Lab 2. IBM Comprestimator and Volume Mirroring

Introduction ot all data types are suitable for compression. The IBM Comprestimator utility is available to estimate expected compression rates for volumes that contain existing data.

This host based command line utility and its documentation can be downloaded from the Web (google IBM Comprestimator). It supports the AIX v6.1, v7.1, ESXi 4.0, 5.0, HP-UX 11i v3, Red Hat Enterprise Linux v5 (64-bit), Solaris 10 (SPARC), and Windows 2003/2008 server (32/64-bit) host environments. This utility has been copied to the COLORWIN1 host in our lab environment. The Volume Mirroring function (a standard feature in both the SVC and the Storwize V7000 family of systems) is used to convert existing volumes to compressed.

Objectives Use the IBM Comprestimator utility to identify candidate

volumes for compression. Convert an existing volume to a compressed copy to reduce

volume capacity utilization and storage resource consumption.

N

LABORATORY

2

Page 37: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 2 – The IBM Comprestimator and Volume Mirroring

Edge2013 37 © IBM Corp. 2013

Directions Determine Candidate Volumes for Compression The VW_PHOTOS and VW_DB volumes of COLORWIN1 contain existing data. We will use the Comprestimator utility to assess if these volumes are good candidates for Real-time Compression. The utility performs read-only statistical sampling and analysis on block devices accessible from the host where the utility is installed.

___1. Given the Comprestimator is sampling existing data volumes; the estimated compression ratio becomes more accurate or meaningful on volumes that contain as much relevant active application data as possible. Previously deleted old data on the volume or empty volumes not initialized with zeros are subject to sampling and will affect the compression ratio.

___2. Go to COLORWIN1 > Computer Management > Disk

Management > Action > Refresh to view the current capacity utilization and free space of the VW_PHOTOS and VW_DB volumes.

Page 38: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 2 – The IBM Comprestimator and Volume Mirroring

Edge2013 38 © IBM Corp. 2013

___3. Open the Command Prompt on COLORWIN1 (Start > Programs > Accessories > Command Prompt) and enter the following commands:

cd \Comp* comprestimator_win32 –l <-----lowercase L

___4. The –l parameter lists available disk numbers in Windows. The Comprestimator analyzes any block device accessible from the host where it is executing. Those entries with 2145 represent SVC (or Storwize V7000) volumes.

Page 39: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 2 – The IBM Comprestimator and Volume Mirroring

Edge2013 39 © IBM Corp. 2013

___5. Return to Computer Management > Disk Management and note that, for each disk, the Comprestimator drive number matches its Windows Disk number.

___6. For example VW_PHOTOS is Windows Disk 2 and VW_DB is

Windows Disk 4. If these volumes have different Windows disk numbers on your system, note them for the next step ________________.

Page 40: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 2 – The IBM Comprestimator and Volume Mirroring

Edge2013 40 © IBM Corp. 2013

___7. To run the Comprestimator for the VW_PHOTOS volume, enter the following command:

comprestimator_win32 –n 2 –P

___8. The –n 2 identifies the Windows disk number for VW_PHOTOS and –P requests the output to be in easier to read paragraph format.

___9. Wait for a few seconds and then examine the output for

compressed size _____as well as savings percentages for both compression _____ and thin provisioning _____. Note also that the compression accuracy range is 5%. Do not be alarmed if your output data does not match exactly to the lab guide.

___10. The data content of this volume is primarily photos or pre-

compressed data. The Comprestimator results indicate that this volume’s content is not a good candidate for further compression.

Page 41: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 2 – The IBM Comprestimator and Volume Mirroring

Edge2013 41 © IBM Corp. 2013

___11. Use the up arrow to recall the previous Comprestimator command and replace the –n value with the disk number for VW_DB:

comprestimator_win32 –n 4 –P

___12. Again wait for a few seconds and then examine the output for

compressed size _____ as well as savings percentages for both compression _____ and thin provisioning _____ of this volume.

___13. The data content of this volume is data base oriented;

generally ideal for compression. The Comprestimator output for this volume suggests as such. A compression savings of 45% or more is the guideline to compress the volume.

___14. Leave the Comprestimator command prompt window open.

Page 42: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 2 – The IBM Comprestimator and Volume Mirroring

Edge2013 42 © IBM Corp. 2013

Convert an Existing Volume to Compressed The Volume Mirroring function of SVC and Storwize V7000 can be deployed to convert an existing volume to compressed. And as to be expected, this conversion is totally transparent and nondisruptive to host processing. ___15. Go to Volumes > Volumes by Pool > COLORDS3K_SASpool.

Examine the Volume Allocation capacity bar and jot down the current allocated capacity of the pool __________.

___16. Right click the VW_DB entry, then select Volume Copy

Actions > Add Mirrored Copy to add a volume copy to this volume.

Page 43: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 2 – The IBM Comprestimator and Volume Mirroring

Edge2013 43 © IBM Corp. 2013

___17. Click the radio button for Compressed in the Volume Type box. Place this copy in the same pool as copy 0 by selecting the COLORDS3K_SASpool.

___18. Right click the column headings area to include the storage

pool ID column in the display. Then click the Add Copy button.

___19. Verify the –compressed parameter is coded with the

svctask addvdiskcopy command to add a volume copy to the VW_DB volume in the correct storage pool. Click Close.

Page 44: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 2 – The IBM Comprestimator and Volume Mirroring

Edge2013 44 © IBM Corp. 2013

___20. Open the volume details pane for the VW_DB volume to verify the attributes of Copy 1 of the volume. Confirm it has an attribute of compressed. We’ve purposely created both copies of the volume in the same pool. After synchronization, the fully allocated copy 0 is to be deleted.

___21. Jot down the volume’s preferred node __________ for a

subsequent step in this lab. ___22. Increase the volume copy synchronization rate by clicking the

Edit button.

Page 45: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 2 – The IBM Comprestimator and Volume Mirroring

Edge2013 45 © IBM Corp. 2013

___23. In the Mirror Sync Rate box, change its value from 50 to 100 then click the Save button.

___24. Review the svctask chvdisk -syncrate command to verify

the rate change. The background synchronization rate is being increased from 2 MBps to 64 MBps.

Page 46: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 2 – The IBM Comprestimator and Volume Mirroring

Edge2013 46 © IBM Corp. 2013

___25. Return to the Volume by Pool view for the COLORDS3K_SASpool. Verify Copy 1 for VW_DB has been created as a compressed copy.

___26. The GUI automatically provides compression statistics. These

compression statistics are dynamically calculated and updated as the GUI refreshes the view.

___27. Hover the cursor over the twistie of the Running Tasks status

pod to confirm that a background synchronization job is in progress.

Page 47: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 2 – The IBM Comprestimator and Volume Mirroring

Edge2013 47 © IBM Corp. 2013

___28. Go to Monitoring > Performance to view CPU utilization generated by the volume copy synchronization. Ensure the check box for Compression % is checked to review the CPU utilization for compression. The default view provides statistics at the system level – that is – for all four nodes of this SVC system.

___29. Use the drop down at the top left corner to change the

reporting from System Statistics to the preferred node of the VW_DB volume. Then change the view to the partner node of the I/O group for comparison. Compression is performed by the volume’s preferred node.

Page 48: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 2 – The IBM Comprestimator and Volume Mirroring

Edge2013 48 © IBM Corp. 2013

___30. Use the Running Tasks status pod to monitor the background synchronization progress. Since no other compression activity is occurring, when the CPU utilization of Compression % goes down to zero, copy 1’s synchronization with copy 0 has completed.

Page 49: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 2 – The IBM Comprestimator and Volume Mirroring

Edge2013 49 © IBM Corp. 2013

___31. Go to the volume details view for the VW_DB volume and compare the capacity utilization values between copy 0 and copy 1. Note the Compression Savings value _______.

___32. Return to the Comprestimator window on COLORWIN1 and

review the output for the VW_DB volume (–n 4) again. Compare the Comprestimator’s estimated compression savings value with the actual value report by the GUI for volume copy 1. It should be within an accuracy range of 5%.

Page 50: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 2 – The IBM Comprestimator and Volume Mirroring

Edge2013 50 © IBM Corp. 2013

___33. Return to the Volumes > Volumes by Pool view for the COLORDS3K_SASpool. Jot down the current allocated capacity shown in the Volume Allocation capacity bar again __________. Compare this value with the previous value you had written down a few steps back.

___34. Right click copy 0 of the VW_DB volume entry and select

Delete this Copy to delete copy 0 of the volume.

Page 51: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 2 – The IBM Comprestimator and Volume Mirroring

Edge2013 51 © IBM Corp. 2013

___35. In the pop-up Warning box, confirm that copy 0 of the VW_DB is to be deleted by clicking the OK button.

___36. Review the svctask rmvdiskcopy command generated by

the GUI to remove copy 0 of the VW_DB volume. Click Close to continue.

Page 52: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 2 – The IBM Comprestimator and Volume Mirroring

Edge2013 52 © IBM Corp. 2013

___37. Copy 0 of the VW_DB volume has been deleted; only copy 1 remains. Review the allocated capacity for this pool again. We have removed the fully allocated copy 0 of the VW_DB volume to return its capacity to the pool. By the way, Volume Mirroring can also be used to switch from compressed to non-compressed.

___38. Obviously we are working with small capacity values in this lab

environment. The IBM Comprestimator is a powerful tool to identify suitable volumes containing existing data for compression. As a consequence, it improves the capacity utilization efficiency across all storage tiers and prolongs the current storage infrastructure investment.

Page 53: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Lab 2 – The IBM Comprestimator and Volume Mirroring

Edge2013 53 © IBM Corp. 2013

___39. Return to Monitoring > System to review the system level compression statistics again. Two compressed volumes have been allocated in our lab environment - rationalize the compression statistics reported by the GUI.

___40. Cycle through the Storage Allocation status pod and view the

various capacity options and values displayed. ___41. If there is time left in the lab period, return to a volumes

display list and delete the two compressed volume copies. Then explore the GUI provided indicators for Real-time Compression again.

You have completed this lab!

Page 54: IBM® Edge2013 - SVC Storwize V7000 Real-time Compression

Technical Edge 2013 | June 10 – 14 Mandalay Bay, Las Vegas, NV _____________________________________________________________________________

Edge2013 54 © 2013 IBM Corporation