IMS Plex and Shared Queues


Published on

Published in: Technology
1 Like
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

IMS Plex and Shared Queues

  1. 1. IMS Plex and Shared Queues Jack Pinto David Sosa Marilene Noronha Roder IMS Silicon Valley laboratory San Jose, California IMS Latin America Road Show October, 2009
  2. 2. IMS – High Availability Configurations <ul><li>IMS subsystem has multiple features to eliminate planned outages and minimize the impact of unplanned outages </li></ul><ul><ul><li>Multiple cloned IMSs in Parallel Sysplex </li></ul></ul><ul><ul><li>Data sharing </li></ul></ul><ul><ul><li>Fast database recovery (FDBR) or </li></ul></ul><ul><ul><li>Extended Recovery facility (XRF) – not both </li></ul></ul><ul><ul><li>Automatic Restart Manager (ARM) support </li></ul></ul><ul><ul><li>Shared Queues </li></ul></ul><ul><ul><li>Online change </li></ul></ul><ul><ul><li>Common Service Layer (CSL) </li></ul></ul><ul><ul><li>Dynamic Resource Definition </li></ul></ul>
  3. 3. <ul><li>Cloned IMSs </li></ul><ul><ul><li>All IMSs can use a single system definition </li></ul></ul><ul><ul><li>Definitions which must be unique can be redefined at execution time with runtime parameters </li></ul></ul><ul><ul><ul><li>For example, master and secondary terminal definitions </li></ul></ul></ul><ul><ul><li>With common definitions, all applications can run on any IMS </li></ul></ul><ul><ul><ul><li>Reduces impact of planned or unplanned outage </li></ul></ul></ul><ul><ul><li>Easier to roll maintenance across the IMSplex </li></ul></ul>IMS – High Availability Configuration
  4. 4. IMS – High Availability Configuration <ul><li>Data sharing </li></ul><ul><ul><li>Every database is available from every IMS </li></ul></ul><ul><ul><ul><li>All IMS database types can be shared, except MSDBs </li></ul></ul></ul><ul><ul><li>Fast database recovery (FDBR) </li></ul></ul><ul><ul><ul><li>One per active IMS </li></ul></ul></ul><ul><ul><ul><li>Monitors active IMS data sharing system (reads OLDS) </li></ul></ul></ul><ul><ul><ul><li>In event of IMS or system failure </li></ul></ul></ul><ul><ul><ul><ul><li>Backs out inflight work </li></ul></ul></ul></ul><ul><ul><ul><ul><li>Releases IRLM retained locks </li></ul></ul></ul></ul>IRLM IRLM CF DB FDBR1 OLDS IMS1
  5. 5. <ul><li>Automatic restart management (ARM) </li></ul><ul><ul><li>Automatically restarts IMS after system or IMS failure </li></ul></ul><ul><ul><li>ERE required even with FDBR </li></ul></ul><ul><ul><ul><li>Resolve in-doubts with CICS and DB2 </li></ul></ul></ul><ul><ul><ul><li>Release database authorizations </li></ul></ul></ul><ul><ul><li>Supports all IMS address spaces (IMS, CSL, SQ, FDBR) </li></ul></ul><ul><ul><li>Saves time frequently spent (wasted) thinking about what to do </li></ul></ul><ul><ul><li>Can “group” subsystems to restart on same LPAR in event of system failure </li></ul></ul><ul><ul><ul><li>IMS, CICS, DB2, MQ (with IMS Adapter) </li></ul></ul></ul>IMS – High Availability Configuration
  6. 6. <ul><li>Shared queues </li></ul><ul><ul><li>All IMSs queue input and output messages on shared queue structures in Coupling Facility </li></ul></ul><ul><ul><ul><li>Full function and fast path EMH </li></ul></ul></ul><ul><ul><li>All messages are available to all IMSs </li></ul></ul><ul><ul><ul><li>Some exceptions (e.g., SERIAL transactions) </li></ul></ul></ul><ul><ul><li>Minimizes input queue times for transactions </li></ul></ul><ul><ul><ul><li>If front-end IMS busy, back-end can schedule transaction </li></ul></ul></ul><ul><ul><li>In event of failure (System or IMS) </li></ul></ul><ul><ul><ul><li>Users can reconnect to another IMS and continue work </li></ul></ul></ul><ul><ul><ul><li>High availability connectivity configuration makes reconnecting easy or transparent </li></ul></ul></ul><ul><ul><li>When used with CSL and Resource Manager </li></ul></ul><ul><ul><ul><li>Command and end-user status can follow user to new IMS </li></ul></ul></ul>IMS – High Availability Configuration
  7. 7. IMS Shared Queues Single image to end user!
  8. 8. <ul><li>Common Service Layer (CSL) </li></ul><ul><ul><li>Structured Call Interface (SCI) </li></ul></ul><ul><ul><ul><li>Automatic RECON Loss Notification (ARLN) </li></ul></ul></ul><ul><ul><ul><ul><li>Notifies all DBRCs when any one DBRC reconfigures RECONs </li></ul></ul></ul></ul><ul><ul><ul><ul><li>Each DBRC switches RECONs and deallocates </li></ul></ul></ul></ul><ul><ul><li>Operations Manager </li></ul></ul><ul><ul><ul><li>Single point of control for all IMSs </li></ul></ul></ul><ul><ul><ul><li>Required for Type-2 commands </li></ul></ul></ul><ul><ul><ul><ul><li>INIT OLC, INIT OLREORG </li></ul></ul></ul></ul><ul><ul><ul><ul><li>CREATE and DELETE </li></ul></ul></ul></ul><ul><ul><ul><ul><li>UPDATE resource attributes and status </li></ul></ul></ul></ul><ul><ul><ul><ul><li>QUERY resources and environment </li></ul></ul></ul></ul><ul><ul><ul><li>SCOPE(ALL) command support </li></ul></ul></ul><ul><ul><ul><ul><li>Command processed on all IMSs </li></ul></ul></ul></ul>IMS – High Availability Configuration
  9. 9. <ul><li>Common Service Layer (CSL) ... </li></ul><ul><ul><li>Resource Manager </li></ul></ul><ul><ul><ul><li>Global online change </li></ul></ul></ul><ul><ul><ul><ul><li>Coordinates PREPARE and COMMIT phases across all IMSs </li></ul></ul></ul></ul><ul><ul><ul><ul><li>All succeed or all fail </li></ul></ul></ul></ul><ul><ul><ul><li>Sysplex terminal management (STM) </li></ul></ul></ul><ul><ul><ul><ul><li>Manage resources across IMSplex </li></ul></ul></ul></ul><ul><ul><ul><ul><li>Significant status follows user to another IMS </li></ul></ul></ul></ul><ul><ul><ul><ul><ul><li>Command status </li></ul></ul></ul></ul></ul><ul><ul><ul><ul><ul><li>End-user status (CONV, FP RESP, STSN) </li></ul></ul></ul></ul></ul><ul><ul><ul><li>Global status (V10) </li></ul></ul></ul><ul><ul><ul><ul><li>Status of MODBLKS resources maintained in Resource Structure </li></ul></ul></ul></ul><ul><ul><ul><ul><ul><li>Databases, programs, transactions, routing codes </li></ul></ul></ul></ul></ul><ul><ul><ul><ul><li>Status known to all IMSs </li></ul></ul></ul></ul>IMS – High Availability Configuration
  10. 10. <ul><li>Online change </li></ul><ul><ul><li>Coordinated global online change (requires CSL) </li></ul></ul><ul><ul><ul><li>Add, change, delete resources </li></ul></ul></ul><ul><ul><ul><li>Switch libraries </li></ul></ul></ul><ul><ul><ul><li>All resources quiesced during part of process </li></ul></ul></ul><ul><ul><ul><li>Coordinated across all IMSs </li></ul></ul></ul><ul><ul><li>Member online change for ACBLIB (IMS V10 – requires CSL) </li></ul></ul><ul><ul><ul><li>Add or change individual PSBs and DBDs </li></ul></ul></ul><ul><ul><ul><li>Update made directly to ACBLIB – no switch </li></ul></ul></ul><ul><ul><ul><li>Only affected resources are quiesced </li></ul></ul></ul><ul><ul><ul><li>Coordinated across all IMSs </li></ul></ul></ul>IMS – High Availability Configuration Member OLC is discussed in more detail in Part 2.
  11. 11. <ul><li>Dynamic resource definition (DRD) </li></ul><ul><ul><li>Dynamically create or delete resource definitions using Type-2 commands </li></ul></ul><ul><ul><ul><li>CREATE, DELETE </li></ul></ul></ul><ul><ul><ul><ul><li>Databases (DDIR) </li></ul></ul></ul></ul><ul><ul><ul><ul><li>Programs (PDIR) </li></ul></ul></ul></ul><ul><ul><ul><ul><li>Transactions (SMB) </li></ul></ul></ul></ul><ul><ul><ul><ul><li>Routing Codes (RCTE) </li></ul></ul></ul></ul><ul><ul><li>Dynamically update resource attributes using Type-2 command </li></ul></ul><ul><ul><ul><li>UPDATE </li></ul></ul></ul><ul><ul><ul><ul><li>Same resource types </li></ul></ul></ul></ul><ul><ul><ul><ul><li>MSC definitions </li></ul></ul></ul></ul><ul><ul><li>Online change process not required </li></ul></ul>IMS – High Availability Configuration DRD is discussed in more detail in Part 2.
  12. 12. Rolling Maintenance <ul><li>IMSplex offer opportunity to roll maintenance through sysplex without losing availability </li></ul><ul><ul><li>Notify users of intent to shut down IMS1 (for example) </li></ul></ul><ul><ul><li>VTAM users log off and back on to IMS generic resource name when convenient </li></ul></ul><ul><ul><ul><li>VGR routes logon to IMS2 or IMS3 or .... </li></ul></ul></ul><ul><ul><li>TCP/IP users not affected </li></ul></ul><ul><ul><ul><li>IMS Connect will always select available IMS </li></ul></ul></ul><ul><ul><li>Shutdown IMS1 </li></ul></ul><ul><ul><li>Restart IMS1 with new maintenance and /START DC </li></ul></ul><ul><ul><li>Repeat process for IMS2, IMS3, etc. </li></ul></ul><ul><li>Works for IMS and system maintenance </li></ul><ul><ul><li>May need two step process when migrating to new release of IMS </li></ul></ul><ul><ul><ul><li>Step 1 – roll pre-req maintenance to all IMSs </li></ul></ul></ul><ul><ul><ul><li>Step 2 – roll new IMS libraries through each IMS </li></ul></ul></ul>
  13. 13. The IMSplex Shared-Everything Environment Looks like single image to end users! IMS1 Environment IMS2 Environment IMS4 Environment IMS3 Environment Network DB SMQ Shared Resources Shared Operations I M S
  14. 14. The IMSplex Shared-Everything Environment In case of planned or unplanned outage, user still has access to all the data and applications. IMS1 Environment IMS2 Environment IMS4 /CHE FREEZE IMS3 Environment Network DB SMQ Shared Resources Shared Operations I M S
  15. 15. The Key To High Availability <ul><li>Minimize impact of unplanned outages </li></ul><ul><ul><li>Multiple images (more baskets) </li></ul></ul><ul><ul><li>Less pervasive </li></ul></ul><ul><ul><li>Faster recovery </li></ul></ul><ul><ul><li>BE PREPARED </li></ul></ul><ul><li>Eliminate planned outages </li></ul><ul><ul><li>Rolling maintenance </li></ul></ul><ul><ul><li>Online resource definition changes </li></ul></ul><ul><ul><li>Online database tools </li></ul></ul><ul><ul><li>Faster database tools </li></ul></ul>