Presentation is loading. Please wait.

Presentation is loading. Please wait.

Storing and Managing Data in Today’s z/OS Environment Michael E. Friske.

Similar presentations


Presentation on theme: "Storing and Managing Data in Today’s z/OS Environment Michael E. Friske."— Presentation transcript:

1 Storing and Managing Data in Today’s z/OS Environment Michael E. Friske

2 Storage Challenges n Compounded growth n Cost reduction pressure n Changing regulatory and business requirements n Higher availability requirements n Data life cycle management

3 Hardware Solutions That Can Help Address These Challenges n Storage Tiering –IBM DS8870 with EasyTier –EMC VMAX with FAST –HDS VSP with HDS Dynamic Tiering n Virtual Tape –IBM DS7700 –EMC DLm –Oracle VSM –CA-Vtape (software/hardware)

4 Traditional Storage Hierarchy High Performance Low Cost Cache or SSD Enterprise Disk ML1 Disk ML2 Tape

5 Data Life Cycle n Active data –Stored on primary disk n Less active data –Migrate to ML1 disk –Uses MIP’s –Must be recalled to use n Inactive data –Migrate to ML2 tape –Uses MIP’s –Must recall to use Primary Disk ML1 Disk ML2 Tape

6 SMS MGMTCLAS n Number of days on primary disk n Number of days on ML1 volumes n When to expire n Management criteria –Number of days since the create date –Number of days since the last reference date

7 Disk Options n Flash Drives (100GB, 200GB, 400GB, 1.6TB, and 3.2TB) n Solid State Drives (400GB) n SAS Drives –10,000 RPM (300GB, 600GB, 900GB, and 1.2TB –15,000 RPM (146GB and 300GB) n Nearline SAS Drives –7,200 RPM (1TB, 2TB, 3TB, and 4TB)

8 Determining What Data Went on Which Drives n Disk subsystems with a mix of different types of disk drives –Analyze RMF and/or SMF reports –Map SMS storage groups to specific disk drives –Monitor for changes in access patterns n A homogenous disk subsystem that works for all types of data

9 Hardware Based Tier Management IBM DS8870EMC VMAXHDS VSP Easy TierFully Automated Storage Tiering (FAST) HDS Dynamic Tiering

10 First Generation Tiering n The Disk subsystem monitored the I/O activity for each extent n Extents were dynamically relocated to different tiers based on internal algorithms

11 Shortcomings of First Generation Tiering n Data is moved at the extent level, not on a data set boundary n Data sets move around due to reorgs, defrags, copying, etc. n Patterns of access change based on the time of day or the day of the week n Data is placed on a storage tier based on access, not SLA’s

12 Addressing the Shortcomings n Hints from the host –z/OS 2.1 Class Transitions –Hitachi Tiered Storage Manager

13 MGMTCLAS - Expiration

14 MGMTCLAS - Migration

15 MGMTCLAS – Class Transition

16 MGMTCLAS – Transition Technique

17 Easy Tier with Class Transition Enterprise $ Nearline ½ $ Class transition after 120 days Migrate after 366 days Recall

18 Transition Copy Technique n FRP - FR PREFERRED n FRR - FR REQUIRED n STD - STANDARD n PMP - FC PRESMIRPREF n PMR - FC PRESMIRREQ

19 Serialization Error Exit n DB2 - Invoke DB2 to close and unallocate the object. If this is successful, the object is serialized and moved and DB2 is invoked to reopen the object. n CICS - Invoke CICS to take the object offline. If this is successful, the object is serialized and moved and CICS is invoked to reopen the object. n ZFS - Invoke zFS to unmount the data set. If this is successful, the data set is serialized and moved and zFS is invoked to remount the data set. n EXIT - Enables users / ISVs to provide an exit that will be invoked before and after transitioning an allocated data set. The data set is only transitioned if serialization is obtained after the first invocation of the exit. n NONE

20 Transition Invokes the ACS Routines n Once DFSMShsm determines that a data set has met the Class Transition criteria specified by the Management Class, it invokes the ACS routines to determine what the transition should be –ACS Routines are invoked with new ACS environment (&ACSENVIR) of SPMGCLTR, for 'space management class transition' –The following routines are invoked (in this order) »Storage Class »Management Class »Storage Group –Any or all can be transitioned n If the classes and storage group returned match the existing classes and storage group, then no transition occurs

21 STORCLAS Routine IF &ACSENVIR = 'SPMGCLTR' THEN SELECT (&STORCLAS) WHEN (‘FLASH') SET &STORCLAS = 'EASYTIER' OTHERWISE SET &STORCLAS = &STORCLAS END ELSE... IBM

22 MGMTCLAS Routine IF &ACSENVIR = 'SPMGCLTR' THEN SELECT (&MGMTCLAS) WHEN ('NOML2') SET &MGMTCLAS = 'ML2OK' WHEN ('DB2NEW') SET &MGMTCLAS = 'DB2AGED' OTHERWISE SET &MGMTCLAS = &MGMTCLAS END ELSE... IBM

23 STORGRP Routine IF &ACSENVIR = 'SPMGCLTR' THEN SELECT (&STORCLAS) WHEN (‘FLASH') SET &STORGRP = 'TIER0' WHEN ('EASYTIER') SET &STORGRP = 'TIER1' OTHERWISE SET &STORGRP = &STORGRP END ELSE... IBM

24 Example – New Data Set n Initial access –Random reads & writes with periods of high access n STORGRP = TIER0 –Flash –Enterprise n MGMTCLAS –No migration –Transition after 60 days Flash Nearline Enterprise TIER1 TIER0

25 Example – Access Drops Off n Access after 3 months –Accessed less –No write activity n STORGRP = TIER1 –Enterprise –Nearline n MGMTCLAS –Migrate after 30 days of inactivity –Expire after 7 years Flash Nearline Enterprise TIER1 TIER0 Transition after 60 days

26 Example - Inactive Flash Nearline Enterprise TIER1 TIER0 Virtual Tape Recall Migrate

27 Cost Savings n Reduce CPU costs by eliminating ML1 –No need to compress or decompress data –Eliminate recalls from ML1 n Reduce CPU costs with Class Transition –May be able to use FlashCopy –May be able to wait longer before migrating to ML2 n Reduce the purchase price for new disk subsystems

28 Virtual Tape Subsystems IBM TS7720 EMC DLm Oracle VSM

29 Cost Reduction with Virtual Tape n Reduces floor space requirements n Reduces the need for tape handlers n Replicate tape data to remote site for disaster recovery n Batch cycle runs faster n Tapeless tape subsystems –Eliminate the need to tape handlers –No need to buy physical tape media

30 zEnterprise Data Compression n zEDC Express is an IO adapter that does high performance industry standard compression n Used by z/OS Operating System components, IBM Middleware, and ISV product n Required z/OS 2.1 and EC12 or BC12

31 SMS Compression with zEDC n Can be used in place of generic or tailored compression for QSAM and BSAM data sets n CPU savings for existing users of SMS compression n Disk savings for users who are not currently using SMS compression

32 Other Features That Can Reduce HSM CPU Consuption n Use RLS to access the HSM CDS’s n Replace Interval Migration with On-Demand Migration n Take advantage of Multiple Address Space HSM (MASH) support n Implement the Common Recall Queue n Implement Fast Subsequent Migration n Avoid reorganizing the HSM CDS’s too frequently n HOLD LOG if log data is not required

33 RLS for HSM CDS’s n Reduces CPU overhead for HSM due to less calls to GRS, less buffer invalidation, and less I/O to disk n Reduces elapse times for long running tasks like Primary Space Management, Secondary Space Management, EXPIREBV, Recycle, and Audit

34 HSM On-Demand Migration n Does not check every volume each hour to see if the volume is over the high threshold n Eliminates the spike in CPU usage for HSM at the top of each hour n Will only process a volume once after it goes over the high threshold

35 HSM MASH n Can be used to run HSM backup and space management functions at a lower priority (different WLM Velocity Goals) n Can be used to spread tasks out to more address spaces and to reduce SYSZTIOT contention

36 HSM Common Recall Queue n Allows multiple hosts to process recalls n Can be used to limit tape processing on certain CPU’s n Helps with workload balancing n Multiple recalls for different data sets on the same tape from different CPU’s can be processed on a single CPU n Allows higher priority requests across the sysplex to get process first over lower priority requests n Keeps recall requests if HSM is shut down or goes down unexpectantly

37 Fast Subsequent Migration n Saves CPU costs associated with re- migrating data sets that were recalled but not updated n Reduces the need to run RECYCLE

38 HSM CDS Reduction n Turn on CA Reclaim for the HSM CDS’s n Do not reorganize the HSM CDS’s just because they have CI and CA splits n Only reorganize the HSM CDS’s to reclaim space

39 Other Cost Avoidance Measures n Clean up the errors HSM finds each night n Analyze MGMTCLAS definitions periodically, and adjust them if necessary n Check for data sets in the wrong MGMTCLAS

40 Data That Can Be Used for Analysis n HSM Logs n HSM FSR records n DCOLLECT data

41 Questions ?


Download ppt "Storing and Managing Data in Today’s z/OS Environment Michael E. Friske."

Similar presentations


Ads by Google