© logicalis group introduction to iseries mandy shaw version 0.3, 14 june 2006

126
© Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Post on 15-Jan-2016

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

© Logicalis Group

Introduction to iSeries

Mandy ShawVersion 0.3, 14 June 2006

Page 2: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Agenda

iSeries in context

Architecture

The iSeries environment

Windows, Linux and AIX integration

Security

DB2/400

Disk and tape storage, backup and recovery, data storage

Programming the iSeries

Printing and electronic output

Day-to-day operation, licensed programs, fixes and support, sources of information

Communications

Page 3: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

© Logicalis Group

Introduction to iSeries

iSeries in context

Page 4: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

iSeries: an industry phenomenon

Optimised, integrated business computing for mid-enterprises

Enduring and unique software-based, hardware-independent architecture avoids all costly technology transitions

Easy to manage, secure, highly reliable

Successful in business solutions driven mid market

Far lowest total cost of ownership amongst midrange systems

Page 5: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

IBM midrange systems

System/3 1969-1975 Product of General Systems Division, formed as result of anti-trust legislation. Low -end batch system replacement for unit-record equipment. Used RPG programming language. Disk and terminals soon added. 28-instruction CPU. Over 25,000 sold.

System/32 1975-1977 System/3 follow -on.System/34 1977-1981 System/32 follow -on. Ran SSP OS.System/36 1981-1986 System/34 follow -on. Ran SSP OS.System/38 1978-1988 Pioneering design, revolutionary architecture system, continued in AS/400

and iSeries to date, provides complete insulation for user applications against technology change. Also, f irst system line to include in-built relational database system. Ran CPF OS.

AS/400 1988-2000 Repackaged and improved S/38, hugely successful in medium business markets, using S/38 architecture. By mid-late 1990s, became open, e-business capable server. 200,000th AS/400 sold by 1992. OS/400 OS. From 1995 based on RISC chip (Pow erPC).

iSeries 2000-2002 Repackaged and re-branded AS/400, under eServer strategic initiative.New iSeries

2003-2004 Radically reshaped and extended, repackaged and re-priced iSeries, repositioned as "On Demand" e-business hub platform consolidating Window s/Intel, Linux, AIX, Java and Domino (as w ell as traditional OS/400) w orkloads. Over $500M IBM investment.

i5 2004- Technology convergence w ith pSeries, including AIX in a partition.

Page 6: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

i570

i520

i550

i595Open

VirtualisedAutonomicIntegrated

Page 7: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Some iSeries applications

Feeds from iSeries database to decision support tools such as

Excel

Sametime (iSeries as application

server)

Domino (iSeries as application

server)

Green screen (5250)

application

J2EE applications on Tomcat or WebSphere

.Net fat client or Web application (iSeries as database server and/or

application server)Linux, AIX

and Windows

workloads

Page 8: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

© Logicalis Group

Introduction to iSeries

Architecture

Page 9: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Architecture: agenda

Hierarchy of microprocessors

Layered architecture

Single level storage

Object orientation

Built in database

Logical partitioning

iSeries workloads: traditional, Windows, Linux on Power, Linux on Intel, AIX stand-alone, AIX within OS/400, Java and WebSphere, Domino

WebFacing

i5 models and editions

Page 10: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Disk IOP

Tape IOP

LAN IOP

Pentium IXS(xSeries IOP)

CPU(s)

Control of peripheral devices is not the CPU’s responsibility, being carried out by specialised input/output processors (IOPs).

I/O Adapter (IOA)2-line WANIOP IOA

Hierarchy of microprocessors

Page 11: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

iSeries Hardware 64-bit RISC PowerPC

System Licensed Internal Code - SLIC Microcode

LPARTCP/IPDB2 UDB/400

SecurityJavaVirtual I/O

CommunicationsLinuxAIX

Technology Independent Machine Interface (TIMI)

Applications DevelopmentSystems ManagementOLTP and OLAP

LDAPOpen InterfacesPrinting and eOutput

Complete“Operating

System”

MyPgm

iSeries - an enduring architectureeliminates technology transition costs

Page 12: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Applications access objects by nameOperating system accesses pages by virtual addressMicrocode translates virtual address to physical addressMicrocode handles all paging

Single level storage

Page 13: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Methodsapplicableto object

X

Object orientation

Content ofobject (in thiscase, program

instructionstream)

Everything stored on iSeries is an object. Each object has a fixed object type determining the methods that may be used on it. Examples:*PGM - program*FILE - database or device file*USRPRF - user profile*JOBQ - batch job queueRunDebug

Create

Edit

Delete

Page 14: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

RISC AS/400, 1995iSeries, 2000i5, 2004

MyPgm

MyPgm

System/38, 1978

MyPgm

CISC AS/400, 1988

No need even to recompile,since the program object

encapsulates its own TIMI ‘source code’ which can beautomatically re-translated

by OS/400 as necessary

iSeries - an enduring architectureeliminates technology transition costs

Page 15: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

What can your iSeries do?

OS

/400

OS

/400

Linu

x o

n P

ow

erP

C

Win

dow

s 20

00

/3

AIX

WebSphere

Domino DB2 UDB

Java

AIX app(PASE)

Linux o

n In

tel

One box to house, manage and maintainFlexible use of disk, tape, memory, CPU, …Secure and resilient integrationCapacity Upgrade on Demand for CPU and memory

Page 16: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Logical partitioning (OS/400, Linux on PowerPC, AIX)

OS

/400

V5

R3

PST

OS

/40

0 V

5R

2

OS/4

00

V5

R3

GM

T

OS/400 level (n-1 to n+1, but hardware dependent)Time zonesDevelopment, production, testDMZ separationGigabit virtual LAN availableFractions of a processorDynamic resource allocationLinux and AIX partitions need only CPU and memory

Linu

x o

n P

ow

erP

C

iSeries layeredarchitecturegives highresilience

No additionalsoftware costs

AIX

Page 17: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Windows integration (IXS and IXA)

iSeries Integrated xSeries ServerIntel server within iSeriesProcessor and memory on cardUses OS/400 disk, tape and LAN resourcesHas own monitor, mouse and keyboardWindows 2000 or 2003, or RedHat LinuxFully certified by Microsoft for WindowsUser profile and database integrationGigabit virtual LAN available [Windows only at present]Manage from OS/400

iSeries Integrated xSeries AdapterSeparate xSeries boxIXA card links it to iSeries via HSLLeverage increasing xSeries powerHas own memory, processor, cardsUses xSeries and/or OS/400 tape and LANUses OS/400 diskWindows 2000 or 2003, or Suse or RedHat LinuxOtherwise same as IXS

Win

dow

s 20

00

/3

Linux o

n In

tel

IXA in supported xSeries server

iSeries server

Page 18: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Linux on IXS/IXA

Linux on PowerPC (i.e. in an iSeries partition) is tried and tested, but vendor support for PowerPC Linux can be a problem. Linux on IXS/IXA gets round this.

Seen by some IBMers as a stepping stone to PowerPC Linux, rather than as a solution in its own right.

PowerPC Linux is more flexible: Intel Linux requires IXS/IXA hardware, and processor and memory allocation are not dynamic.

VMWare ESX is not yet supported.

Linux on IXS/IXA has been available only since the autumn of 2004, with no production deployment in the UK as yet.

Logicalis view: great future, but not ready yet.

Page 19: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Examples: Logicalis DMZ server

PASE

Quickplace

External Domino emailprotected by

Norton Anti-Viruswith live update

Win2K

MySQL

PHP

Apache

AS/400 model 170, 1GB memory, V5R2, IXS card

Customer apps –WebSphere

Page 20: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

User

desktop

Hand-held Terminal Message Server and gateway

Services organisation: Before

File and print

Fax

Access database and corporate application

Email server

Telephone

Sage Line 50 No DNS or

DHCP

Page 21: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Internet email gateway

Web server

Proxy server

User Web browser

External email senders and recipients

External Web sites

External Web browser user

Email server

Access database and corporate application

Internet

DMZ

Internal

Internet facing

Page 22: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

After

LPAR 1 - Production LPAR 4 - DMZ

Email: Domino Fax: DominoFax Server

Hand-held terminal gateway:IXS

Corporateapp: IXS

SMTP:Domino

Web server:Apache,potential forWebSphereapplications

LPAR 3 –LinuxFirewallandProxyServerDB2

Additional apps

LPAR 2 – Linux Guest

File server: Samba

Sage Line 50: IXS

DNS DHCP Telephones:IXS

Page 23: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Web serving and Web enablement

Native

Resilient, high performance Java Virtual Machine

WebSphere Application Server

Apache Web server

Apache Tomcat

WebFacing

Portal

PowerPC Linux

WebSphere Application Server

LAMP (Linux, Apache, mySQL, PHP)

AIX

WebSphere Application Server, Apache Web server

Other Unix Web environments

IXS/IXA

WebSphere Application Server, Apache Web server

Microsoft Web environments

Page 24: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Possible configurations

INTERNET

DMZ

MZ

Firewall

Apache on iSeries, or Apache on xSeries (Windows or Linux)

Firewall

Internal databases and RPG-based applications

Web browser –Extranet or external user

Other external data or transaction sources and targets

Internal 5250 application user

Tomcat or WebSphere Application Server

Apache on iSeries

Web browser – Intranet user

WebFacing, JDBC or WebSphere MQ

Page 25: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

WebFacing

Use of WebFacing removes normal 5250 application cost implications

Page 26: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

i5 models and editions

i570

i520

i550

i595

Enterprise Edition•Allows interactive (5250) workload•BRMS for backup and recovery•Additional IBM software

•e.g. 20 users of Portal

Standard Edition•Only WebFaced interactive workload•Base OS/400 software only

Page 27: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

© Logicalis Group

Introduction to iSeries

The iSeries environment

Page 28: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

The iSeries environment: agenda

Objects and libraries

Integrated Filing System

Work management

Instructing the iSeries

iSeries Navigator

CL commands

Page 29: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006
Page 30: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006
Page 31: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Integrated Filing System

One integrated structure

QSYS.LIB = libraries, objects and members

QDLS = traditional 8.3 folder/document tree

QNTC = Windows Network client – sees contents of your Windows servers

includes file system level view of IXS/IXA

QFILESVR.400 = Remote IFS – sees contents of other iSeries systems

QOPT = your iSeries’ CD drive

QIBM/ProdData and QIBM/UserData used by many IBM products including WebSphere

Qxxx used by other IBM products

Other root folders

use Unix naming conventions, e.g. case-sensitive

Can define shares using NetServer and map them as network drives from Windows

Page 32: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006
Page 33: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Jobs

All work progresses through the machine as a series of jobs. Jobs can have various sources. The most important types of job are:

Page 34: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Interactive Jobs

An interactive job is one which starts when a user signs onto a display station (i.e. a terminal emulation session). It is ended when the user signs off; if he signs on again, another interactive job is initiated.

Page 35: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Server Jobs

A server job runs continuously on the iSeries waiting for requests from clients (typically PCs).

Examples of server jobs are: FTP server; database server (used by ODBC applications).

Typically, server jobs are listening on TCP/IP ports.

Server jobs vary in the way in which they are started.

Page 36: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Batch Jobs

A batch job carries out processing that requires no input from a client or display station (for example, the generation of a report by an application).

A batch job is normally placed on a job queue via the SBMJOB command, which has many parameters, of which the following are the most important:

CMD - the CL command to be executed

JOB - the job name to be used for the batch job

JOBD - the job description to be used for this job

The job description specifies the job queue on which the job is to be placed, together with a lot of detailed information about the job - the default output queue for its spooled output, for example.

Page 37: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Print Writers (Spool Jobs)

These connect physical printers to output queues, and print spooled output as it arrives.

Page 38: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Job tuning depends on job type. IBM ships sensible defaults for traditional workloads.

Page 39: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006
Page 40: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006
Page 41: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006
Page 42: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Control Language, commands and menus

...DCL &INPUTFILE *CHAR 30...MONMSG (CPF0001 CPF0006) EXEC(GOTO VALID)...CHGVAR &INPFILLIB %SST(&INPUTFILE 11 10)...OVRDBF FILE(INPUT) TOFILE(&INPFILLIB/&INPFILOBJ) + MBR(&INPFILMBR)...FTP RMTSYS(&HOST)OVRPRTF FILE(QSYSPRT) SPLFNAME(FTPBATCH)CPYF FROMFILE(&OUTFILLIB/&OUTFILOBJ) + TOFILE(QSYSPRT) FROMMBR(&OUTFILMBR)DLTOVR FILE(*ALL)RETURN/************************************************************/VALID: RCVMSG MSGTYPE(*DIAG) MSGDTA(&LMSGDTA) MSGID(&LMSGID) + MSGF(&LMSGF) SNDMSGFLIB(&LMSGFLIB)...

Page 43: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

iSeries Navigator

Page 44: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

© Logicalis Group

Introduction to iSeries

Windows, Linux and AIX integration

Page 45: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

c: driveNetworkStorageSpace

NWSSTG1

IXS/IXArunningWindows

2000/2003

d: driveNetworkStorageSpace

NWSSTG2

c: drive hot swapNetworkStorageSpace

NWSSTG3

•Network storage spaces allocated from iSeries single level storage•Easy creation and linking from iSeries Navigator•Then manage like normal Windows volumes•Linux and AIX: network storage space for each filesystem•Major performance and availability advantages

Page 46: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

RMVLNK OBJLNK('/mysqlbackup/notabilitydb.sql') MONMSG CPFA0A9 /* File not present - ignore */ SBMNWSCMD CMD('net use y: \\cat34\root') SERVER(WWW1) AUTDMN(*LOCAL)SBMNWSCMD CMD('c:\mysql\bin\mysqldump -uroot notabilitydb + >y:\mysqlbackup\notabilitydb.sql') + SERVER(WWW1) AUTDMN(*LOCAL) SBMNWSCMD CMD('net use y: /delete') SERVER(WWW1) AUTDMN(*LOCAL) /* Check success by making sure file now exists */ DSPLNK OBJ('/mysqlbackup/notabilitydb.sql') OUTPUT(*PRINT) SNDDST TYPE(*LMSG) TOUSRID((SHAWM CATALYST)) + DSTD('MySQL dump successfully created') + LONGMSG('MySQL dump successfully + created') SUBJECT('MySQL dump + successfully created')

Virtual LANPerformance, resilienceN.B. not yet supported for Linux on Intel

User profile/password synchronisationeasy management, resilience

Instruct server from iSeries (e.g. from WRKJOBSCDE)easy management, resilience

Page 47: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

© Logicalis Group

Introduction to iSeries

Security

Page 48: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006
Page 49: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006
Page 50: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006
Page 51: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006
Page 52: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006
Page 53: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006
Page 54: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006
Page 55: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006
Page 56: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Special authorities

Differentiate job functions:

Security officer (root or superuser)

Service engineer

Security administrator

Operator

Programmer

User

*SECADM *SAVSYS *JOBCTL *IOSYSCFG *SPLCTL *AUDIT: required in addition to relevant resource access

*ALLOBJ gives *ALL access to all objects

Page 57: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006
Page 58: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006
Page 59: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006
Page 60: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Simplify your infrastructure: single level signon

What Every Enterprise Wants

Protect access to enterprise resources at lowest possible cost

What Every User Wants

Highest possible convenience and productivity

Not to have to remember or change passwords

Page 61: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

SSO Definition

What we mean by SSO

The ability of an end user to sign in to the enterprise network and run multi-tier applications without being prompted again for authentication data, and without requiring the end user to have the same user ID and/or password on every system.

What we don’t mean by SSO

Same user id everywhere

Same password everywhere

Centralized storing/caching of passwords

LDAP authentication

Page 62: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Kerberos and Enterprise Identity Mapping

Kerberos involves the acceptance of a single authentication by ‘Kerberised’ applications, avoiding the need for passwords

EIM links user ids for different servers, at individual or group level

Traffic cop

EIM can be used without Kerberos; Kerberos can be used without EIM

Page 63: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

John Smith's user ID:

u:JSmith p:myonepwd

z/OSRACF

iSeries

WebSphere

NetServer

intranet User

AIX

Windows 2000/NT

Linux

NDS

Nirvana

Extranet / Internet

Page 64: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

John Smith's user IDs:

z/OSRACF

iSeries

WebSphere

NetServer

intranet User

AIX

Windows 2000/2003 Server

Linux

NDS

Windows NT/98/95

u:JohnSmith p:myonepwdu:smithj p:*NONEu:John p:*NONEu:Smith1 p:*NONEu:JoSm05 p:*NONEetc..

John Smith's user IDs:

u:John Smithu:JSimthu:Johnu:Smith1u:JoSm05etc..

OS/400 approach gets you here

Page 65: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

OS/400 implementation elements

LDAP directory•used to store EIM data

EIM•Identifiers for individuals•Maps identifiers to user ids in registries

Kerberos•OS/400 can store KDC and do Kerberos authentication•Typically, it won’t

Network Authentication Service•Identifies where the Kerberos authentication is done, and for which apps

Applications•NetServer, iSeries Navigator, Management Central, PC5250, QFileSvr.400, …

Page 66: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

© Logicalis Group

Introduction to iSeries

DB2/400

Page 67: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

DB2/400: agenda

DB2 within the iSeries environment

Functionality and programming approaches:

SQL

traditional

Journalling and commitment control

Providing high availability

Management and administration

Page 68: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

DB2 within the iSeries environment

Database is built in to the operating system

Database components can exist in any library; they can be managed and accessed via SQL or via traditional OS/400 commands and programming techniques, interchangeably

SQL functionality well up there with the competition

Page 69: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Traditional RPG database I/O

...FBIDDETAILSIF E DISK RENAME(BIDDETAILX:BIDS)FCONTRATE UF A E DISK...C READ BIDDETAILS 90C *IN90 DOWEQ *OFFC MOVE IDOCID W1UNID 32...C READ BIDDETAILS 90C ENDDO...C WRITE CONTRATER

Important concept: externally described file

Page 70: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006
Page 71: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Physical file = SQL tableAccess path = SQL index

Page 72: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Logical file = SQL view

Page 73: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006
Page 74: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006
Page 75: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

High availability via data replication

TargetSource

Copy ofapplication

Mirroreddatabase

tables Mirroredjournalreceiver

Mainapplication

Maindatabase

tablesJournalreceiver

Page 76: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Management and administration

Interactive SQL (green screen)

CL commands

CRTPF

DSPDBR

DSPFD

RGZPFM

iSeries Navigator

SQL command execution

Performance advice and monitoring

Graphical representation of entities and relationships

WebSphere Development Studio Client

Data definition view

Page 77: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

© Logicalis Group

Introduction to iSeries

Disk and tape storage, backup and recovery, data storage

Page 78: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Disk storage options

Page 79: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

DEV HA

PROD

TotalStorage ESS

4 fibre connections4 fibre connections 4 fibre connections

ESS attach example

Page 80: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

DEV HA PROD

3494 tape library

Fibre connection

Shared LTOwith sharedPCI attach

LTO withPCI attach

Fibre connection Fibre connection

iSeries tape example

Page 81: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Customer example: commodity trader

AS/400 730 with 8 x LPAR’s AS/400 730 with 8 x LPAR’s

VisionSuite

VisionSuite

BRMS BRMS

IBM 3494 Tape library3 x 3590 B1A drives

IBM 3494 Tape library3 x 3590 B1A drives

Crossroads 8000 storage routers

Crossroads 8000 storage routers

Orion Replication

Site A Site B

SCSI

SCSI

Fiber

Total HA/DR solution for 5 x timezones + test/dev

Page 82: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

IFS is saved with the SAV command

Page 83: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

IFS is restored with the RST command

Page 84: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

BRMS

Backup, Recovery and Media Services

Manages your backups

Process, report, monitor backups

All data is backed up

Control groups

Parallel save

Lists unsaved objects

Restricted state saves

Page 85: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

BRMS

Recovery

Orderly retrieval of lost or damaged objects

Restore entire system

Restore of libraries/objects

Restore of control groups

Restore of IFS

Page 86: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

BRMS

Recovery

Recovery report

Step by step guide

BRMS takes responsibility

Page 87: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

BRMS

Media management

Tracks all tapes and save files

Tracks tape movement

Tracks contents of media

Page 88: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

BRMS

Other functions

Spool file saves

Save to savefile

Network capable

Archive

Hierarchical Storage Management

Page 89: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Data storage

Compliance requirements demand full control of tape cycles and tape retention

Provided by BRMS

An application’s library structure would normally group objects with similar backup requirements

Page 90: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

© Logicalis Group

Introduction to iSeries

Programming the iSeries

Page 91: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Programming the iSeries

Control Language

Device files and display files

Traditional high level languages

RPG, Cobol, C, C++

Integrated Language Environment

Java

WebSphere Development Studio

iSeries-based compilers

Client-based development environment

CODE/400

WDS Client for HTML, Java, JSPs, EJBs, web services, …

WebFacing development environment

Popular iSeries change control products have interfaces to WDSC

Visual RPG and other pointless byways

Page 92: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Control Language programming

...DCL &INPUTFILE *CHAR 30...MONMSG (CPF0001 CPF0006) EXEC(GOTO VALID)...CHGVAR &INPFILLIB %SST(&INPUTFILE 11 10)...OVRDBF FILE(INPUT) TOFILE(&INPFILLIB/&INPFILOBJ) + MBR(&INPFILMBR)...FTP RMTSYS(&HOST)OVRPRTF FILE(QSYSPRT) SPLFNAME(FTPBATCH)CPYF FROMFILE(&OUTFILLIB/&OUTFILOBJ) + TOFILE(QSYSPRT) FROMMBR(&OUTFILMBR)DLTOVR FILE(*ALL)RETURN/************************************************************/VALID: RCVMSG MSGTYPE(*DIAG) MSGDTA(&LMSGDTA) MSGID(&LMSGID) + MSGF(&LMSGF) SNDMSGFLIB(&LMSGFLIB)...

You can even write your own commands – very useful in ops programming.

Used for ops programming and where high level languages can’t do what is required. Far more powerful than many people think.

Page 93: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Probably the only time you will come across DB2/400 multi-member physical files

Page 94: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006
Page 95: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Externally described files again. WebFacing translates these into JSPs and servlets

Page 96: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Integrated Language Environment

Program

*PGM object. traditional via CRTxxxPGM, ILE via CRTPGM

*PGMs contain 1 or more modules

Module

*MODULE object type

Contains translated but unexecutable code

Must be BOUND into a program to run

Input is a source member

May contain one or more procedures

Procedure

Executable code with entry point

Not an AS/400 object

RPG & Cobol: 1 per compilation, C: many per compilation

Service program

Separate object, works like a Windows DLL

Procedure CRTINVNBR

Procedure LOCKSTOCK

RPGMOD1

Module MOD1

Module MOD3

Program INVMAST

CBLMOD1

Module MOD2

Page 97: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Compile once,run everywhere

Repeat for every platform

Source Code compiler Object Code

Module binderExecutable

Code

versus

Source Code

JAVA compiler

CLASS File

Compile time

Byte Code

Loader

Byte Code

Verifier

Java Interpreter

Run time

Traditional Programming versus Java

Page 98: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Traditional environment

Operating system

Native program codeexecution

Java environment

Operating system

Java program codeexecution

Java Virtual Machine

Java can be invoked efficiently from ILE, and vice versaJava source code and class files are stored in the IFS

How can this be?

Page 99: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Multi-language example

PTSTSOCKET HOST(PACIFIC6) PORT(1352)If successful, a completion message will be returnedConnection successfully obtained to PACIFIC6 on port 1352Otherwise, an appropriate escape message will be returnedHost CAT32 name resolved but no connection was possible on port 1352

Page 100: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

© Logicalis Group

Introduction to iSeries

Printing and electronic output

Page 101: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Printer data streams can be simple (SCS) or complex (AFP)Printer attachment can be LPR/LPD, IPP or Intelligent Printer Data Stream (IPDS)

iSeries Printing and Electronic Output

Page 102: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006
Page 103: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006
Page 104: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006
Page 105: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006
Page 106: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

R BARLOGO2 AFPRSC('WarringtonMap.jpg' *JFIF + 2.0 1.0 (*PATH '/shawm'))

CRTPRTF FILE(SHAWM/BARLOGO) DEV(PDF) DEVTYPE(*AFPDS) USRDFNDTA('MAILTAG([email protected])')

CRTDEVPRT DEVD(PDF) DEVCLS(*LAN) TYPE(*IPDS) MODEL(0) LANATTACH(*IP) AFP(*YES) PORT(5101) FONT(011) RMTLOCNAME('127.0.0.1') USRDFNOBJ(SHAWM/MANDY *PSFCFG)

STRTFMMGRSTRPRTWTR PDFCALL BARLOGO

CHGPSFCFG PSFCFG(SHAWM/MANDY) PDFGEN(*MAIL) PDFDEVTYPE(*IP40300) PDFPPRDWR1(*A4) PDFPPRDWR2(*A4)

JPEG and TIFF, but not GIF

Page 107: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

© Logicalis Group

Introduction to iSeries

Day-to-day operation, licensed programs, fixes and support, sources of information

Page 108: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

DEV HA

PROD

HMC

HMC

Ethernet

LPARmanagement

V.24connection

OpsConsole(async)

Ops Console (async)

Physicalcontrol panel

Physicalcontrol panel

Example iSeries Console Provision - Local

Page 109: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

DEV HA PROD

HMC

HMCLPARmanagement

10/100Ethernet

LAN Console

Remotecontrol panel

WebSM

Example iSeries Console Provision - Remote

Page 110: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Remote control panel

Page 111: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Some monitoring tools

WRKACTJOB monitors running subsystems and jobs

WRKCFGSTS monitors comms lines and IXS/IXA

Management Central for performance data collection and performance monitoringWRKSYSSTS to monitor number of jobs in system and auxiliary storage usage

Page 112: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Housekeeping

Spool files

Deleted records in physical files (REUSEDLT(*YES) recommended)

‘Temporary’ objects (savefiles, Queries and outfiles)

It is still good practice to IPL the box occasionally

Page 113: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Management Central manages the distribution

PTF downloads: Fix Central

Page 114: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Sources of information

iSeries Support area of IBM Web site (excellent PTF download area and much other good stuff)

http://www.midrange.com (mailing list and archive)

iSeries Network http://www.iseriesnetwork.com (Web version of iSeries News – you need the ProVIP option - ££ but excellent articles, many code downloads, frequently nothing else will do)

IBM Infocenter (getting much better)

Redbooks on specific technical topics (e.g. single signon)

Logicalis IT Forum

Page 115: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

© Logicalis Group

Introduction to iSeries

Communications

Page 116: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Communications: agenda

Ethernet options

N.B. 10/100 required for SNA and for LAN Console

Virtual LAN

WAN connectivity

TCP/IP and applications

DNS, DHCP, LDAP, SMTP, FTP

SSL and Digital Certificate Management

Apache, WebSphere Application Server, Tomcat, MQ

iSeries Access

SNA and applications

LU6.2 (APPC/APPN)

SNADS

DDM and DRDA

SNA host connectivity

Anynet

Page 117: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

pSeries

iSeriesGTS

DB

2

JDB

C

MQ

Adapte

r

WindowsHolland

MQ

Adapte

r

iSeriesDB2

iSeriesJD Edwards

DB

2

JDB

C

MQ

Adapte

r

WindowsCOGNOS

MQ AdapterM

Q

MQBroker

Application integration using MQSI

Page 118: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

iSeries Access

Windows 5250

Integrated support for 5.7 of Personal Communications

Will install on

Windows NT 4.0 / 2000 / XP Pro / 2003 Server

Will not install on

Windows 95 / 98 / Me

Page 119: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

iSeries Access for Web

5722-XH2

Customise 5250 User Interface

Shared Sessions

Download from iSeries

IFS

Send messages

Workstations

Sametime

Short cuts to sessions

Page 120: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

iSeries Access for Web

Page 121: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Non-IP protocols

Page 122: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Prefer to FTP for object distribution: store and forward, industrial strength error checking

Page 123: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006

Extraordinarily useful and dead easy!

Page 124: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006
Page 125: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006
Page 126: © Logicalis Group Introduction to iSeries Mandy Shaw Version 0.3, 14 June 2006