76

Click here to load reader

Iasp Enablement

Embed Size (px)

DESCRIPTION

how to enable applications for independent ASP IASP related new features in V6R1 ,

Citation preview

Page 1: Iasp Enablement

IBM STG Lab Services

Enabling Applications for Independent Disk Pools

commonly know as IASPs

®

© IBM Corporation 2009

Page 2: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

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

Page 3: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

1. Introduction to HA (HA Strategies & Planning for 2012 part 1 of 3) - Techtalk

2. Introduction to IBM HA and DR Technologies (HA Strategies & Planning for 2012 part 2 of 3) – Recorded (in Techdocs)

3. IBM Power HA Strategy – Techtalk (Feb 19)

4. Technology Positioning (HA Strategies & Planning for 2012 part 3 of 3) – Techtalk (Feb24)

5. IBM CBU Enhancements – Techtalk ( Feb 25th)

1. IASP Enablement - Techtalk (Feb 26th)

2. iCluster Enhancements – Techtalk (March 3rd)

3. Sizing PowerHA - Techtalk (March 12th)

4. Geographical Mirroring for Native IBM i applications - Recorded

5. Geographical Mirroring for Hosted and VIOS environments - Recorded

6. DS6000/DS8000 Copy Services HA Sizing and Considerations - Techtalk (March 19th(

* * * * * * * * This page for IBM and Business Partners Only * * * * * * * *

Techtalks: SmartZone for Power System Technical Training:oIBM: http://lt.be.ibm.com/smartzone/powertechoPartner: http://www.ibm.com/services/weblectures/smartzone/powertech

Look for email from “STG Sales Education & Events Newsletter” for Techtalk dates

Page 4: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

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)1. Logical Replication software2. Switched IASP - Independent Auxiliary Storage Pool 3. IBM i Geographical Mirroring via OS4. IBM System Storage LUN Level Switching 5. IBM System Storage Copy Services – simple copy 6. 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

Page 5: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

Geographic Mirroring

• IBM i storage mgmt page level replication

• Synchronous

• Any internal or external storage

Cross Site Mirroring (XSM)“HA Switchable Resources” - option 41 – IBM

i

Provides choices in design, implementation and management of IBM i 6.1 and SAN Storage IASP Cluster based replication technologies for HA and DR

* This new support and capability added to IBM i and XSM with PowerHA and 6.1, IBM SAN Only

PowerHA for i (5761-HAS)a.k.a HASM

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

See www.redbooks.ibm.com: Implementing PowerHA for IBM i - SG24-7405-00 (Nov 2008)

Page 6: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

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

Page 7: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

User ASP isolates disk for specific purposes

System ASP

User ASP

Page 8: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

User ASP evolved into two types: Basic ASP and Independent ASP

System ASP

Independent ASP

Basic ASP

Page 9: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

Independent ASP requires explicit “vary on”

System ASP

Independent ASP

System AVary On

Page 10: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

Switchable IASP lets you switch disk between two systems

System ASP

Independent ASP

System A System B

Page 11: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

System A is the primary server

System ASP

Independent ASP

System A System B

Vary On

Page 12: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

A switch first requires a vary off of System A

System ASP

Independent ASP

System A System B

Vary Off

Page 13: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

Then System B can vary on the IASP

System ASP

Independent ASP

System A System B

Vary Off Vary On

Page 14: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

Admin Domains help you manage system objects

System ASP

Independent ASP

System A System B

Vary Off Vary On

System ValuesUsername & password

Page 15: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

Cross site mirroring provides additional redundancy

IASPSystem A

IASPSystem

C

System B

Second IASP is

mirrored copy of first

active but not varied on

Second site can become the primary

Page 16: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

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)

Page 17: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

IBM i Storage Layout

Page 18: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

The IASP will be created on ITCHA4C. Expand its entry under "My Connections", then expand "Configuration and Service" and "Hardware."

System i Navigator: Creating a Disk Pool

Page 19: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

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

Creating a Disk Pool

Page 20: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

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

Creating a Disk Pool

Page 21: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

The New Disk Pool wizard starts. Click "Next."

Creating a Disk Pool

Page 22: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

Creating a Disk Pool

Page 23: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

Creating a Disk Pool

Page 24: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

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.

Creating a Disk Pool

Page 25: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

The new disk pool is selected. Click "Next."

Creating a Disk Pool

Page 26: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

Click "Add Disks..." to add from the list of eligible disk units.

Creating a Disk Pool

Page 27: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

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.)

Creating a Disk Pool

Page 28: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

*SYSBASi5/OSLicensed ProgramsWork Mgt & User Definitions

Contains Common Application Code

MYCPY1IASPs

Database EUROPE:

CatalogCollections,

Libraries

MYCPY2

Database ASIA:CatalogCollections,

Libraries

MYCPY3

Database US:CatalogCollections,

Libraries

User profiles / Job Descriptions

Multiple Database Support – Setup Example

Page 29: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

IASP Definition

Libraries per IASP DB:

DBGLAPARDBOEDBPRODDBMISC...

Code Libraries in SYSBAS:

PGMGLAPARPGMOEPGMPRODPGMMISC...

System Value QUSRLIBL:

PGMGLAPARPGMOEPGMPRODPGMMISC...

User Profile

Initial Program

Job Description

Job Description, per IASP user(s):

INLASPGRPINLLIBL

Initial Program:Identifies DB libraries to be worked with, uses SETASPGRP

IASP #1 IASP #2 IASP #3

Multiple Database Support – Setup Details

Page 30: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

LibrariesQSYSQSYS2QHLPSYSQUSRSYSQGPLQTEMPChuckLaural SelwynFred

*SYSBAS

LibrariesBarbaraMaliMariaSuzanna

LibrariesBarbaraMaliMariaSuzanna

ORANGE

APPLEName Space

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

Page 31: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

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)

Page 32: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

IFS Directory Structure

/ (root)

QSYS.LIB QIBM APPLEn ( etc.)

locales ProdData UserData ( etc. )

mqm Access CA400 ( etc. )

Path to mqm = ‘/QIBM/UserData/mqm’

XML

GUIPlugin HTTPA

Page 33: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

IFS Objects in IASPs

IFS objects are accessed in an IASP by specifying the IASP directory name first in the path.

/ (root)

QSYS.LIB QIBM APPLEn ( etc.)

QIBM QSYS.LIB ( etc. )

Path to QIBM in APPLEn = ‘/APPLEn/QIBM’

Page 34: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

Supported Objects Types as of i 6.1

*ALRTBL *DTAQ *JRNRCV *PAGDFN *SPLF

*BLKSF *FCT *LIB *PAGSEG *SQLPKG

*BNDDIR *FIFO *LOCALE *PDG *SQLUDT

*CHRSF *FILE *MEDDFN *PGM *SRVPGM

*CHTFMT *FNTRSC *MENU *PNLGRP *STMF

*CLD *FNTTBL *MGTCOL *NODGRP *SVRSTG

*CLS *FORMDF *MODULE *PSFCFG *SYMLNK

*CMD *FTR *MSGF *QMFORM *TBL

*CRQD *GSS *MSGQ *QMQRY *USRIDX

*CSI *IGCDCT *NODGRP *QRYDFN *USRQ

*DIR *JOBD *NODL *SBSD *USRSPC

*DTAARA *JOBQ *OUTQ *SCHIDX *VLDL

*DTADCT *JRN *OVL *SPADCT *WSCST

Page 35: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

Unsupported Object Types as of i 6.1

*AUTHLR *DDIR *IMGCLG *NWSD

*AUTL *DEVD *IPXD *PRDAVL

*CFGL *DOC *JOBSCD *PRDDFN

*CNNL *DSTMF *LIND *PRDLOD

*COSD *EDTD *MODD *SOCKET

*CRG *EXITRG *M36 SSND

*CSPMAP *FLR *M36CFG *S36

*CSPTBL *IGCSRT *NTBD *RCT

*CTLD *IGCTBL *NWID *USRPRF

Page 36: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

Objects that can be Monitored with Admin Domain

Classes (*CLS)

Ethernet line descriptions (*ETHLIN)

Independent disk pools device descriptions (*ASPDEV)

Job descriptions (*JOBD)

Network attributes (*NETA)

Network server configuration for connection security (*NWSCFG)

Network server configuration for remote systems (*NWSCFG)

Network server configurations for service processors (*NWSCFG)

Network server descriptions for iSCSI connections (*NWSD)

Network server descriptions for integrated network servers (*NWSD)

Network server storage spaces (*NWSSTG)

Network server host adapter device descriptions (*NWSHDEV)

Optical device descriptions (*OPTDEV)

Subsystem descriptions (*SBSD)

System environment variables (*ENVVAR)

System values (*SYSVAL)

Tape device descriptions (*TAPDEV)

Token-ring line descriptions (*TRNLIN)TCP/IP attributes (*TCPA)

User profiles (*USRPRF

Page 37: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

Operations Navigator - IFS

Example: DSPLIB *ALL *ALLAVL

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

IBM i commands have ASP parameter

CRTLIB LIB(JIMCDLB1) ASP(*ASPDEV) ASPDEV(DLB1)

WRKLIB/DSPLIB LIB(*ALL) ASPDEV(*ALLAVL , ASPname, *SYSBAS, *ASPGRP, ........)

SAVLIB, RSTLIB, ...

IASP Library Management

Page 38: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

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 > ‘

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 > ‘

Page 39: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

Customer Usage Scenarios

Page 40: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

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

Page 41: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

Building Blocks: IBM i IASPs

IASP – Application -1

IASP – Application -2

IASP – JournalingReduce archive costswith lower cost storage in IASP

ASP1 (SYSBAS)

User ASP

* IBM sometimes refers to IASPs as Independent ‘Disk Pools’

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

Page 42: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

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

IASPs in a Single System Environment

Page 43: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

Isolating applications / Multiple versionsof application

*SYSBASMfg Data

Appl P Data

Archive Data

Appl Z V1 Appl Z V2 Appl Q Data

Page 44: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

DS6000

DS8000IBM External System Storage Copy Software

FlashCopy

For backups and snapshots

Poin

t In

Tim

e Co

py

Metro Mirror (synchronous)

For local availability

Peer

To

Peer

Rem

ote

Copy

(con

tinuo

us c

opy)

SAN = Storage Area Network

Global Mirror (asynchronous)

For DR

Consistency Group

Building Blocks: IBM System Storage Copy Services

Additional copies for remote backup, queries, etc.

Page 45: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

Considerations for Migrating to an IASP-Based HA Solution

Page 46: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

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

IASPs in a High Availability Environment

Replication

Or

Switched

Disk

Page 47: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

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.

Page 48: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

How do you get there?

Common Changes and Application Considerations for IASPs

Page 49: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

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.

Page 50: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

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

Page 51: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

Location of Application Objects

*SYSBAS

Objects not supported in IASP

Exit programs, etc. that must be found in *SYSBAS

Operational version of job control objects (SBSD, etc)

Temporary objects

System libraries

Application program objects ?

ASP Group

Permanent application data objects

Spool files (maybe)

Journals & journal receivers

Definitional version of job control objects (SBSD, etc)

Application program objects ?

Page 52: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

IASP Set-Up Considerations

Decide whether program objects will be in *SYSBAS or in IASP

Evaluate IFS directories and files to move to IASP– Create symbolic links in old *SYSBAS IFS location, pointing to

new location in IASP

Populating IASPs with data– Use ASPDEV since RSTLIB default will put objects in

*SYSBAS– Permanent SQL objects cannot span IASP boundaries– Cannot create files, tables, etc. into QSYS2nnnnn– Journal objects must be in same ASP group as objects being

journaled

Create new companion libraries for library content to be split between *SYSBAS and IASP

Modify startup program to vary on IASP

Page 53: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

IASP Work Management Considerations

Determine how application will access specific IASP (name space):

– Job descriptions INLASPGRP – most transparent to users

– SETASPGRP– SQL Connect, etc

Modify JOBDs for USRPRFs– Set initial ASP Group for user profiles associated with

the application

Library list processing

Evaluate SBSDs for changes or attachment to IASP– AJEs, PJEs, JOBQs, Routing programs

Page 54: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

IASP Database Considerations

Views, tables cannot span IASP boundary

– No join logicals over physicals in different ASPs or ASP and SYSBAS

Commit block cannot span IASP boundary

– If connected to IASP RDB, cannot commit changes against both IASP and *SYSBAS (except QTEMP)

Decide on RDB name for IASP

– Single IASP on system, may want to give the old *LOCAL RDB name to the IASP instead.

DDM files

– Configure to use *RDB for connectivity

New permanent libraries or collections for application:

– CRTLIB LIB(library-name) ASP(*ASPDEV) ASPDEV(asp-device-name)– Create collection – default for INASP is the current library name space

JDBC, ODBC, FTP connectivity

– Use JOBD of USRPRF to set INLASPGRP where possible

Page 55: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

IASP Application Considerations

Switching name spaces (SETASPGRP):– Typically avoid from within application– If use, release locks and pointer references first

IASP offline – if program objects remain in SYSBAS:– Application time out may need to increase for vary on processing– Application must handle object not available (as result of vary off,

etc.)

Evaluate use of SBMJOB and any commands with ASPDEV parameter to ensure desired behavior

Can use Vary on/off exit programs for IASP to perform application startup and shutdown processing

Page 56: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

New Function added in i6.1

Page 57: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

New i6.1 IASP Related Enhancements Support of job queues in IASP

– Allows applications to run with IASP with fewer changes– Job queue entries not persistant

Support for associating an IASP with a subsystem description– Parameter added to subsystem description object– IASP must be available for subsystem to be active

Quiesce function

– i Suspends transactions & operations to ensure that as much in-flight data as possible is written to disk

Support for pure SYSBAS transaction under commitment control

– Can open commit transactions against SYSBASE in a job with an IASP in the namespace

– Commit transactions still cannot cross SYSBASE/IASP boundaries

Avoiding IPL in previous cases where IASP could not be varied on

Encrypted IASPs

– 5761-SS1 Option 45 - Encrypted ASP Enablement required

Page 58: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

Support for Job Queues in IASP

Job queue object can be created in IASP– Allows applications to run with IASP with fewer changes

Operationally, identical to JOBQ in SYSBAS:– User can manipulate jobs (submit, hold, release, etc.) on JOBQ– User can manipulate JOBQ (clear, hold, release delete, etc.)

Behavioral differences exist:– Jobs on JOBQ in IASP will not persist across vary off / vary on– Jobs on JOBQ in IASP will not be available on backup system after

switchover or failover

Page 59: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

IASPFlashCopy

Quiesce Function Suspends transactions & operations to ensure that as much in-flight data as

possible is written to disk– Places transactions at database boundaries if possible

►Use commitment control for maximum effectiveness

Operates against individual IASPs or *SYSBAS

Useful prior to FlashCopy of SYSBAS, FlashCopy of IASP, detaching of mirror copy, switching of mirror copy

Command or API support– CHGASPACT *SUSPEND, *RESUME, *FRCWRT– QYASPCHGAA API – Change ASP Activity

Main Storage

Pinned pageswillremain

“i5/OS Quiesce”

Performing a FlashCopyhttp://publib.boulder.ibm.com/infocenter/systems/scope/i5os/index.jsp?topic=/rzaig/rzaigmanageiasp.htm

ASP-1

IASP

IASP copy ready for

backup use

Page 60: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

Encryption for ASP

Protects data transmission to and from the disk drive (important in a SAN environment).

Protects data transmission in the cross site mirroring environment (only when the data being mirrored is on an encrypted independent disk pool).

Protects data in the case of theft of the disk drive.

Protects data in the case of return or resale of a disk drive (reduces the need to sanitize the disk drive).

Must be specified at IASP creation time – cannot be applied to existing IASPs.

5761-SS1 Option 45 - Encrypted ASP Enablement required

Page 61: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

Cluster Administrative Domain Enhancements

New commands / interfaces– Start / end admin domain– Add / remove admin domain monitored resource entries– Display admin domain monitored resource entries via WRKCLU

i5.4 Monitored Resources enhanced in i6.1– User profiles (*USRPRF)– System values (*SYSVAL)

New Monitored Resources in i6.1– Subsystem Descriptions (*SBSD)– Network Server Descriptions (*NWSD) of types *WINDOWSNT,

*IXSVR, and *ISCSI– NWS Configurations (*NWSCFG)– NWSH Device Descriptions (*NWSHDEV)– NWS Storage Spaces (*NWSSTG)– Tape Device Descriptions (*TAPDEV)– Optical Device Descriptions (*OPTDEV)– Ethernet Line Descriptions (*ETHLIN)– Token-ring Line Descriptions (*TRNLIN)

Page 62: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

IASP Adoption in the Market

Page 63: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

Sample ISVs with announced IASP Support

Oracle – JD Edwards World and Enterprise One

SAP

Lawson M3

SPSS

Soft Landing

Vision Solutions

Manhattan

Many others have been implemented in clients

Page 64: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

Steps to Enable Oracle’s JD Edwards World A.73 in an IASP Environment

1) Create the IASP by indicating in iSeries Navigator the unconfigured disk drives that should be in the IASP.

2) Identify the JD Edwards application libraries to be moved into the IASP. Eg JDFDATA, JDFOBJ, JDFSRC, CLTCOM, CLTDTA, CTLSEC. JDFINS library was left in *SYSBAS because it contains JOBQ objects which weren’t supported in IASPs at time of publication of article.

3) Move the libraries to the IASP by saving the libraries to tape or Savefile(*SAVF), deleting them, and restoring them to the IASP by specifying the ASPDEV parameter on RSTLIB command.

4) Modify the JOBDs that JD Edwards uses to point to the IASP group created in step 1 eg CHGJOBD JOBD(<libname>/<jobdname>) INLASPGRP(<IASPname>) INLLIBL(QGPL, TEMP, rest of libraries)

http://www-03.ibm.com/support/techdocs/atsmastr.nsf/WebIndex/WP100811

Page 65: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

SAP Applications and iASPs

SAP has supported iASPs since V5R2 (2002)

SAP in Geographic Mirror whitepaper published (2004)

SAP iASP toolset rolled out and configuration improved (2005)

Direct install of SAP NetWeaver Applications into an iASP (2007)

Leveraging PowerHA for i in an SAP Environment whitepaper published (2008)

Page 66: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

Enabling SAP Applications for iASP

Separated iASP supported and non-iASP supported objects

Modified job descriptions, configuration files, and initialization programs

Modified SAP kernel to run in iASP – Code changes required to call ILE programs using IFS style convention

i.e. /IASP/QSYS.LIB/SAP.LIB/…

Developed lightweight install process for backup host

Configure SAP application to use virtual hosts

Configure exit programs to automate restart of SAP applications after switchover or failover

For more information see http://www.ibm.com/support/techdocs/atsmastr.nsf/WebIndex/WP101325

Page 67: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

Steps to implement PowerHA for i solution for Lawson M3

1. Use PowerHA for i Solution Based GUI to:– Pick the HA solution you want to implement– Create iASP(s) and setup the HA environment– Migrate Lawson M3 Business Engine and Life Cyle Manager

► User Profiles, IFS Directories, and Databases

2. Modify M3 Business Engine to run under iASP

3. Installing Lawson M3 WorkPlace Application into iASP– Includes installing WebSphere 6.1 into iASP– Modifying M3 WorkPlace to run under iASP

4. Create startup and shutdown exit programs

For more details see “Lawson M3 on IBM PowerHA for I” Whitepaper– http://www-03.ibm.com/support/techdocs/atsmastr.nsf/WebIndex/

WP101232

Page 68: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

Customer’s Using IASPs

Many, many successful IASP implementations world-wide– Most for HA solutions– Most have single ASP group per system / partition

Wide variety of industries and sizes– Major financial institutions world wide– Various international government holdings– Telecommunications corporations world wide– Major transportation and shipping companies– Infrastructure and facilities providers– ……. <insert your industry segment here> ……

IASP migrations can take days or months – depends on complexity of applications and environment

Page 69: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

External Storage Copy Services Network Requirements

IASP based SAN copy solutions require less network bandwidth than full system SAN copy

Only IASP data is replicated

► Examples show significant ongoing network cost savings using IASPs with asynchronous SAN copy services

– Previous experience suggests that a 300Mbs network between sites for full system replication can be reduced to 90Mbs by using IASPs

– IASP based cluster solutions provide the best RTO and RPO, with lower network costs

5250 Interactive Application

SAP Application

www.systeminetwork.comBusiness Continuity with External Storage-Article ID: 20782

Page 70: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

References and Additional Material

Page 71: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

IASPs Resources Publications - www.redbooks.ibm.com

– iSeries Independent ASPs: A Guide to Moving Applications to IASPs – V5R3, SG24-6802-00– IASP Performance Study on the iSeries Server, REDP-3771-00– Clustering and IASPs for Higher Availability on the iSeries Server, SG24-5194-01

Websites– i5/OS HA website:

► Ibm.com/systems/i/ha

– InfoCenter► http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp

Education & Workshops - http://www.ibm.com/servers/eserver/iseries/service/itc

– AS540 – IBM Power HA and IASP Implementation

– IASP for ISV Workshop

IBM Lab Services IASP Feasibility Studies.

Page 72: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

AS541 PowerHA & IASP Class Description AS541 PowerHA and IASP Enablement Rochester MN Cost $2500 per

student– Learn about PowerHA from a series of presentations and gain practical

experience through hands-on lab exercises. Learn to: ►Create disk pools (IASP) and place highly available objects into them ·►Use the methods that allow users to access information in a disk pool ►Manage an environment with multiple disk pools (server consolidation) ►Define an availability Environment using 5761-HAS IBM PowerHA►Compare and contrast the different options available for implementation under 5761-

HAS- Geographic Mirroring using IBM i IASP Mirroring Technologies- Metro Mirror using IBM System Storage Copy Services, IBM i IASP and

Clustering- Global Mirror using IBM System Storage Copy Services, IBM i IASP and

Clustering ►Create and manage an IBM i family cluster including problem determination ►Establish and manage an environment with continuously available application objects

using a geographic mirror disk pool ►Maintain consistent copies of key system objects like user profiles through operating

system cluster resource services ►Enroll at: http://ibm.com/services/learning search for AS54

Page 73: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

High Availability Services– IASP Feasibility study– Improved Availability Assessment– Remote Availability Assessment

Performance Review & Optimization SOA Services HATS/Webfacing Services Copy Services for SAN System Storage Security Assessments Voice over IP (VoIP) Services LPAR Toolkit, LPAR Design and

Configuration System Migration Services Server Consolidation

High & Low Level Architecture Reviews

Linux

WebSphere Application Server (WAS)

WebSphere Portal

Lotus Domino

IBM Workplace

Pre-coded & tested software components

System i, System p, System z, System Storage, System x, BladeCenter, Clustered Solutions

Data Center Services

www.ibm.com/systems/services/labservices

Consulting, Design, Skills Transfer, Implementation Services Available:

Resources: IBM Systems Lab ServicesHelping Clients to Design and Deploy IBM Systems and Storage Solutions

Page 74: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

What We’ve Learned Today

Independent Auxiliary Storage Pools are an Availability Building Block - A requirement for PowerHA

Each release brings enhancements to IASP

Help is available to help you access the changes needed to enable your application to IASP

It’s usually easier than you think to enable an application for IASP.

Page 75: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

Thank You !

Page 76: Iasp Enablement

© 2009 IBM Corporation

IBM i

IBM i Technology Center (iTC)

8 IBM Corporation 1994-2008. All rights reserved.References in this document to IBM products or services do not imply that IBM intends to make them available in every country.Trademarks of International Business Machines Corporation in the United States, other countries, or both can be found on the World Wide Web at http://www.ibm.com/legal/copytrade.shtml.

Adobe, Acrobat, PostScript and all Adobe-based trademarks are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States, other countries, or both.Intel, Intel logo, Intel Inside, Intel Inside logo, Intel Centrino, Intel Centrino logo, Celeron, Intel Xeon, Intel SpeedStep, Itanium, and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries.Linux is a registered trademark of Linus Torvalds in the United States, other countries, or both.Microsoft, Windows, Windows NT, and the Windows logo are trademarks of Microsoft Corporation in the United States, other countries, or both.IT Infrastructure Library is a registered trademark of the Central Computer and Telecommunications Agency which is now part of the Office of Government Commerce.ITIL is a registered trademark, and a registered community trademark of the Office of Government Commerce, and is registered in the U.S. Patent and Trademark Office.UNIX is a registered trademark of The Open Group in the United States and other countries.Cell Broadband Engine and Cell/B.E. are trademarks of Sony Computer Entertainment, Inc., in the United States, other countries, or both and are used under license therefrom.Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.Other company, product, or service names may be trademarks or service marks of others.

Information is provided "AS IS" without warranty of any kind.

The customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved. Actual environmental costs and performance characteristics may vary by customer.

Information concerning non-IBM products was obtained from a supplier of these products, published announcement material, or other publicly available sources and does not constitute an endorsement of such products by IBM. Sources for non-IBM list prices and performance numbers are taken from publicly available information, including vendor announcements and vendor worldwide homepages. IBM has not tested these products and cannot confirm the accuracy of performance, capability, or any other claims related to non-IBM products. Questions on the capability of non-IBM products should be addressed to the supplier of those products.

All statements regarding IBM future direction and intent are subject to change or withdrawal without notice, and represent goals and objectives only.

Some information addresses anticipated future capabilities. Such information is not intended as a definitive statement of a commitment to specific levels of performance, function or delivery schedules with respect to any future products. Such commitments are only made in IBM product announcements. The information is presented here to communicate IBM's current investment and development activities as a good faith effort to help with our customers' future planning.

Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment. The actual throughput or performance that any user will experience will vary depending upon considerations such as the amount of multiprogramming in the user's job stream, the I/O configuration, the storage configuration, and the workload processed. Therefore, no assurance can be given that an individual user will achieve throughput or performance improvements equivalent to the ratios stated here.

Prices are suggested U.S. list prices and are subject to change without notice. Contact your IBM representative or Business Partner for the most current pricing in your geography.

Trademarks and Disclaimers