1 / 77

IBM STG Lab Services

IBM STG Lab Services . ®. Enabling Applications for Independent Disk Pools commonly know as IASPs. Fred Robinson - fdrobin@us.ibm.com Consulting Educator IBM i Technology Center – . © IBM Corporation 2009. Objectives. At the end of this session you should:

theo
Télécharger la présentation

IBM STG Lab Services

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. IBM STG Lab Services ® Enabling Applications for Independent Disk Pools commonly know as IASPs Fred Robinson - fdrobin@us.ibm.com Consulting Educator IBM i Technology Center – © IBM Corporation 2009

  2. Objectives At the end of this session you should: Understand Independent Auxiliary Storage Pool (IASP) concepts and value • Gain a perspective on customer usage scenarios for IASPs • High Availability solutions • Server Consolidation • Workload Isolation • Understand, at a high level, what application and work management changes are needed to exploit IASP technology • Identify other considerations related to common uses of IASPs • Learn what’s new for IASPs in IBM i 6.1 • Know where to go for more information and detailed assistance

  3. * * * * * * * * This page for IBM and Business Partners Only * * * * * * * * • Introduction to HA (HA Strategies & Planning for 2012 part 1 of 3) - Techtalk • Introduction to IBM HA and DR Technologies (HA Strategies & Planning for 2012 part 2 of 3) – Recorded (in Techdocs) • IBM Power HA Strategy – Techtalk (Feb 19) • Technology Positioning (HA Strategies & Planning for 2012 part 3 of 3) – Techtalk (Feb24) • IBM CBU Enhancements – Techtalk ( Feb 25th) • IASP Enablement - Techtalk (Feb 26th) • iCluster Enhancements – Techtalk (March 3rd) • Sizing PowerHA - Techtalk (March 12th) • Geographical Mirroring for Native IBM i applications - Recorded • Geographical Mirroring for Hosted and VIOS environments - Recorded • DS6000/DS8000 Copy Services HA Sizing and Considerations - Techtalk (March 19th( • Look for email from “STG Sales Education & Events Newsletter” for Techtalk dates • Techtalks: SmartZone for Power System Technical Training: • IBM: http://lt.be.ibm.com/smartzone/powertech • Partner: http://www.ibm.com/services/weblectures/smartzone/powertech

  4. Recap of Part 1 and Part 2 • IBM offers a growing number of single system and multi-system availability solutions, including software, OS and storage based technologies • Assess your use of single server availability options • All sizes of businesses should assess their business resiliency requirements • Use methodologies such as Business Impact Analysis (BIA) to better understand exposures and what should be done about them • IBM i and Power Systems offer 6 fundament technologies for business resiliency (native attached storage) • Logical Replication software • Switched IASP - Independent Auxiliary Storage Pool • IBM i Geographical Mirroring via OS • IBM System Storage LUN Level Switching • IBM System Storage Copy Services – simple copy • IBM System Storage Copy Services with IBM i • Some HA and DR technologies are unique to the IBM i Virtual Environments • Understand how application HA / DR requirements interact with design efforts for a virtualized solution environment • IBM i 6.1 in conjunction with PowerHA offers dramatic HA/DR enhancements

  5. Cross Site Mirroring (XSM) “HA Switchable Resources” - option 41 – IBM i Geographic Mirroring • IBM i storage mgmt page level replication • Synchronous • Any internal or external storage Metro Mirror (SAN)* • SAN hardware replication • Synchronous • IBM SAN storage only Global Mirror (SAN)* • SAN hardware replication • Asynchronous • IBM SAN storage only FlashCopy (SAN)* • SAN hardware replication • Point in time • IBM SAN storage only IBM i 6.1 PowerHA • Provides choices in design, implementation and management of IBM i 6.1 and SAN Storage IASP Cluster based replication technologies for HA and DR PowerHA for i (5761-HAS) a.k.a HASM * This new support and capability added to IBM i and XSM with PowerHA and 6.1, IBM SAN Only See www.redbooks.ibm.com: Implementing PowerHA for IBM i - SG24-7405-00 (Nov 2008)

  6. IASPs (Independent Auxiliary Storage Pools) • IASPs - a building block of IBM i availability • Required for: • IBM PowerHA for IBM i (i 6.1) • Geographic Mirroring • Advanced Copy Services for DS6000, DS8000 • FlashCopy, Metro Mirror and Global Mirror • IASP Data Encryption (i 6.1) • Switched Disk • IBM System Storage Copy Services Toolkit • IASP - an enabler for some server consolidations • IASP feasibility studies available • Enabling Applications for IASPs is usually easier than you think

  7. User ASP isolates disk for specific purposes System ASP User ASP

  8. User ASP evolved into two types: Basic ASP and Independent ASP Basic ASP System ASP Independent ASP

  9. System A Vary On Independent ASP requires explicit “vary on” System ASP Independent ASP

  10. System A Switchable IASP lets you switch disk between two systems System B System ASP Independent ASP

  11. System A System A is the primary server System B Vary On System ASP Independent ASP

  12. System A A switch first requires a vary off of System A System B Vary Off System ASP Independent ASP

  13. System A Then System B can vary on the IASP System B Vary On Vary Off System ASP Independent ASP

  14. System A Admin Domains help you manage system objects Username & password System Values System B Vary On Vary Off System ASP Independent ASP

  15. System A Cross site mirroring provides additional redundancy IASP System B System C Second IASP is mirrored copy of first active but not varied on Second site can become the primary IASP

  16. An Independent ASP is a method of configuring multiple disk storage units into one group. The group can be … Non-switchable • Any or all units in the system tower, except the load source • Any one or more disks anywhere on the system Switchable • All disk units in a tower other than the system tower • All the units in one tower • A subset of the disk units in a tower • Multiple IASPs in a tower • Disk units from two or more I/O towers • Note: All contents of tower are switched. Hardware replicated • Geographic/Cross site mirroring (XSM) V5R3, i 5.4 • IBM System Storage Copy Services (FlashCopy, Metro Mirror, Global Mirror) i5.4, i 6.1 • PowerHA for i (i 6.1)

  17. IBM i Storage Layout

  18. System i Navigator: Creating a Disk Pool The IASP will be created on ITCHA4C. Expand its entry under "My Connections", then expand "Configuration and Service" and "Hardware."

  19. Creating a Disk Pool Expand "Disk Units." Sign on with a Service Tools profile authorized to work with disk units.

  20. Creating a Disk Pool Click on "Disk Pools." Only the System ASP is present. Right-click on "Disk Pools", and select "New Disk Pool."

  21. Creating a Disk Pool The New Disk Pool wizard starts. Click "Next."

  22. Creating a Disk Pool

  23. Creating a Disk Pool

  24. Creating a Disk Pool To create a disk pool that can contain both library and IFS objects, select "Primary" for "Type of disk pool." Enter an arbitrary name for the disk pool, leaving "Database" as "Generated by the system". This will generate a database of the same name.

  25. Creating a Disk Pool The new disk pool is selected. Click "Next."

  26. Creating a Disk Pool Click "Add Disks..." to add from the list of eligible disk units.

  27. Creating a Disk Pool Click on the disk units to be added to the new disk pool (Ctrl-click for multiple disk units, Shift-click for a block of units.)

  28. User profiles / Job Descriptions *SYSBAS • i5/OS • Licensed Programs • Work Mgt & User Definitions Contains Common Application Code IASPs MYCPY1 MYCPY2 MYCPY3 Database EUROPE: • Catalog • Collections, Libraries Database ASIA: • Catalog • Collections, Libraries Database US: • Catalog • Collections, Libraries Multiple Database Support – Setup Example

  29. Multiple Database Support – Setup Details Initial Program: • Identifies DB libraries to be worked with, uses SETASPGRP User Profile • Initial Program • Job Description Job Description, per IASP user(s): • INLASPGRP • INLLIBL IASP #1 IASP #2 IASP #3 IASP Definition Libraries per IASP DB: • DBGLAPAR • DBOE • DBPROD • DBMISC • ... Code Libraries in SYSBAS: • PGMGLAPAR • PGMOE • PGMPROD • PGMMISC • ... System Value QUSRLIBL: • PGMGLAPAR • PGMOE • PGMPROD • PGMMISC • ...

  30. APPLE *SYSBAS Name Space Libraries Libraries Barbara QSYS Mali An ASP group consists of a primary IASP and zero or more secondary IASPs linked to it, referenced by the name of the primary. Only one ASP group can be associated with a thread (job) at one time, so in this example, a thread could have a name space of: • *SYSBAS only • *SYSBAS + APPLE • *SYSBAS + ORANGE QSYS2 Maria QHLPSYS Suzanna QUSRSYS QGPL QTEMP ORANGE Chuck Laural Selwyn Libraries Fred Barbara Mali Maria Suzanna

  31. Additional Characteristics of IASPs • Each ASP Group is represented as a separate DB2 database instance. • Duplicate library names are allowed within different ASP groups on the same system. • Each job or thread always has visibility to objects in ASPs 1-32 (System ASP + all Basic User ASPs), but is “attached” to, at most, one ASP group at a time. • Can be replicated or switched between multiple systems (requires additional software)

  32. IFS Directory Structure / (root) APPLEn QSYS.LIB QIBM ( etc.) locales ProdData UserData XML ( etc. ) mqm Access CA400 GUIPlugin HTTPA ( etc. ) Path to mqm = ‘/QIBM/UserData/mqm’

  33. IFS Objects in IASPs IFS objects are accessed in an IASP by specifying the IASP directory name first in the path. / (root) APPLEn QSYS.LIB QIBM ( etc.) QIBM QSYS.LIB ( etc. ) Path to QIBM in APPLEn = ‘/APPLEn/QIBM’

  34. Supported Objects Types as of i 6.1 New!

  35. Unsupported Object Types as of i 6.1

  36. Objects that can be Monitored with Admin Domain

  37. Operations Navigator - IFS Display Libraries Libraries: *ALL ASP Opt Library Type Device _ DBLIB PROD DLB1 _ JIMCDLB1 PROD DLB1 _ QRCL00033 PROD DLB1 _ QRCY00033 PROD DLB1 _ QRPL00033 PROD DLB1 _ QSYS00033 PROD DLB1 _ QSYS200033 PROD DLB1 _ SYSIB00033 PROD DLB1 _ #LIBRARY PROD _ #RPGLIB PROD IASP Library Management IBM i commands have ASP parameter • CRTLIB LIB(JIMCDLB1) ASP(*ASPDEV) ASPDEV(DLB1) • WRKLIB/DSPLIB LIB(*ALL) ASPDEV(*ALLAVL , ASPname, *SYSBAS, *ASPGRP, ........) • SAVLIB, RSTLIB, ... Example: DSPLIB *ALL *ALLAVL

  38. IFS Objects in IASPs IFS objects can be placed in an IASP using the rst (Restore Object) command, usually from a save file. Restore Object (RST) Type choices, press Enter. Device . . . . . . . ‘/QSYS.LIB/QGPL.LIB/SAVF2.FILE’ Objects: Name . . . . . . . ‘ < path on save media > ‘ Include or omit . *INCLUDE New object name . ‘/APPLEn/ < path in IASP > ‘

  39. Customer Usage Scenarios

  40. Why use IASPs? • Single System Environment – isolate and consolidate • Multiple Applications • Multiple versions of same application • Server consolidation • Data archive • Multiple System Environment • Fundamental building block of hardware and OS-based High Availability and Disaster Recovery solutions • Off-line backups from replicated copy • Replicated copies for testing or development • Common (general) • Isolation of data associated with specific applications • Increased granularity of management scope

  41. ASP1 (SYSBAS) User ASP IASP – Application -1 IASP – Application -2 Reduce archive costswith lower cost storage in IASP IASP – Journaling Building Blocks: IBM i IASPs • Independent ASPs (IASPs) * • Uptime • Shorter IPL – leave non-critical IASPs offline till after IPL • RCLSTG by asp • Archive • Storage performance and cost by IASP • Consolidation • Consolidate with IASPs • Meet compliance needs for isolation • Reduce software licensing fees • Reduce number of OS upgrades • Clusters • Building block for HA/DR storage replication based clustering * IBM sometimes refers to IASPs as Independent ‘Disk Pools’

  42. IASPs in a Single System Environment • Can be any server that supports V5R3 • Isolate low-use data - bring online only when needed • Reduce system start time • Manage save/restore by IASP • Reclaim storage by IASP • Divide data between multiple databases • Isolate data • Isolate affects of disk failures • Application maintenance does not affect entire system

  43. Isolating applications / Multiple versionsof application

  44. For local availability Metro Mirror (synchronous) For DR Peer To Peer Remote Copy (continuous copy) Global Mirror (asynchronous) Consistency Group Building Blocks: IBM System Storage Copy Services IBM External System Storage Copy Software DS8000 DS6000 For backups and snapshots Point In Time Copy FlashCopy Additional copies for remote backup, queries, etc. SAN = Storage Area Network

  45. Considerations for Migrating to an IASP-Based HA Solution

  46. IASPs in a High Availability Environment • In addition to single-system benefits…. • Facilitates hardware or OS-based replication solutions for HA, DR and off-line backups. • The only level of granularity available for IBM i switched disk and Geographic Mirroring HA solutions • The only level of granularity available besides full-system replication on hardware-based external storage replication solutions for i • Remove risk of damaged system objects associated with replicating entire system • Faster switchover/failover times • Eliminate manual reconfiguration necessary for switchover/failover Replication Or Switched Disk

  47. IASP HA Solution Considerations • IBM’s HA solutions and technologies for i are continuing to center around IASPs. • HA system/partition is available while in the “Contingency” role. • Is a unique system, not a complete replica of the source system • Unique instance of i operating system, LPPs, PTFs, etc • System is available, but IASPs replicated or shared from a “primary” system are NOT available unless switching or failing to contingency system. • If using OS or Hardware Based replication of IASP, processes will need to be in place for synchronizing necessary SYSBAS objects and settings • May need changes to processes such as change management, user and security management, system monitoring, etc.

  48. How do you get there? Common Changes and Application Considerations for IASPs

  49. Typical IASP Migration Project Outline • Determine how IASPs fit into your HA/DR/Server Consolidation/Off-line backup strategy. • Perform initial proof-of-concept on subset of applications. • Educate administration and programming staff on IASP enablement considerations. • Set up test environment where application and work management changes for IASP enablement will be performed and tested. • Devise plan for synchronizing SYSBAS between primary and secondary systems, if applicable. • Test all process, application and work management changes. • Determine production migration strategy based on available hardware and replication options. • Test migration process on sandbox environment, if possible • Perform any necessary education to support personnel and users on process change, etc. • Execute production migration and implement revised HA strategy based on IASPs, if applicable.

  50. IASP Enablement Considerations • Most changes to support IASPs are typically work-management oriented. IASP migration can generally be transparent to most end-users. • Location of application objects • data, journals, journal receivers • programs and environment definition objects • considerations for object types not supported in IASPs • Setup considerations • Loading of IASPs • Work management considerations • Name space, library list, job initiation, etc. • Application run time considerations • Database connectivity – DDM, JDBC, ODBC • Commitment control scope, join logical files • Additional considerations for multiple IASPs on a system

More Related