Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Mandy Shaw
Version 0.3, 14 June 2006
© Logicalis Group
Agenda
iSeries in context
Architecture
Security
DB2/400
Communications
Introduction to iSeries
iSeries in context
© Logicalis Group
iSeries: an industry phenomenon
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, first 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 2003-2004 Radically reshaped and extended, repackaged and re-priced iSeries,
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.
i570
i595
Open
Virtualised
Autonomic
i520
Integrated
i550
Some iSeries applications
Green screen
Domino (iSeries (5250)
as application application
server)
.Net fat client or Web
application (iSeries as
Sametime Linux, AIX database server and/or
(iSeries as and application server)
application Windows
server) workloads
J2EE applications
Feeds from iSeries on Tomcat or
database to decision WebSphere
support tools such as
Excel
Introduction to iSeries
Architecture
© Logicalis Group
Architecture: agenda
Hierarchy of microprocessors
Layered architecture
Object orientation
Built in database
Logical partitioning
WebFacing
Disk IOP
Tape IOP
LAN IOP
CPU(s)
Pentium IXS
(xSeries IOP)
MyPgm
Applications Development
LDAP
Systems Management Open Interfaces
OLTP and OLAP Printing and eOutput
Everything stored
Methods on iSeries is an
applicable object. Each
object has a fixed
to object object type
X
determining the
Edit methods that may
Content of be used on it.
object (in this Examples:
case, program *PGM - program
System/38, 1978
CISC AS/400, 1988
MyPgm
MyPgm
Linux on PowerPC
Windows 2000/3
Domino DB2 UDB
Linux on Intel
OS/400
OS/400
AIX
AIX app
(PASE)
WebSphere Java
Linux on PowerPC
OS/400 V5R2
iSeries layered
V5R3 PST
OS/400
architecture
AIX
gives high
resilience
No additional
software costs
PowerPC Linux is more flexible: Intel Linux requires IXS/IXA hardware, and
processor and memory allocation are not dynamic.
Linux on IXS/IXA has been available only since the autumn of 2004, with
no production deployment in the UK as yet.
Quickplace Win2K
MySQL
External Domino email
protected by
Norton Anti-Virus PASE
with live update PHP
Customer apps –
WebSphere Apache
Sag
e Access
Line database
50 and No DNS or
corporate DHCP
application
User
Hand-held
deskto Terminal
p Message
Server and
gateway
File and
Telephon
print
e
Email Fax
server
Internet facing
External
Web
Access browser
database user
Web server
and
corporate
application
Internet External
email email
gateway senders
Email and
server recipients
Proxy
server
External Web
sites
User Web
browser
DMZ
Internet
Intern
al
After
Native
Apache Tomcat
WebFacing
Portal
PowerPC Linux
AIX
IXS/IXA
Web
browser Apache on
–Extranet
or DMZ iSeries
i550
i570
i595
Enterprise Edition
•Allows interactive (5250) workload
•BRMS for backup and recovery
•Additional IBM software
i520 •e.g. 20 users of Portal
Standard Edition
•Only WebFaced interactive workload
•Base OS/400 software only
Introduction to iSeries
© Logicalis Group
The iSeries environment: agenda
Work management
iSeries Navigator
CL commands
Integrated Filing System
All work progresses through the machine as a series of jobs. Jobs can have
various sources. The most important types of job are:
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.
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).
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:
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.
Print Writers (Spool Jobs)
These connect physical printers to output queues, and print spooled output
as it arrives.
Job tuning depends on job type. IBM ships sensible
defaults for traditional workloads.
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)
...
iSeries Navigator
Introduction to iSeries
© Logicalis Group
c: drive hot swap
d: drive
Network
Network
Storage
Storage
Space
Space
NWSSTG3
NWSSTG2
c: drive
IXS/IXA Network
running Storage
Windows Space
2000/2003 NWSSTG1
Virtual LAN
Performance, resilience
N.B. not yet supported for Linux on Intel
User profile/password synchronisation
easy management, resilience
Instruct server from iSeries (e.g. from WRKJOBSCDE)
easy management, resilience
Introduction to iSeries
Security
© Logicalis Group
Special authorities
Service engineer
Security administrator
Operator
Programmer
User
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.
LDAP authentication
Kerberos and Enterprise Identity Mapping
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
Nirvana
Windows 2000/NT
NetServer
NDS
WebSphere
Extranet /
Linux Internet
iSeries
intranet
User
AIX
RACF z/OS
Windows NT/98/95
Windows
2000/2003 Server
NetServer
WebSphere
NDS
intranet
User John Smith's user IDs: Linux
iSeries u:John Smith
u:JSimth
u:John
John Smith's user IDs: u:Smith1
u:JohnSmith p:myonepwd u:JoSm05
u:smithj p:*NONE etc..
u:John p:*NONE
u:Smith1 p:*NONE RACF z/OS
u:JoSm05 p:*NONE
etc..
AIX
OS/400 implementation elements
Kerberos
•OS/400 can store
EIM
KDC and do Kerberos
•Identifiers for individuals
authentication
•Maps identifiers to user ids
•Typically, it won’t
in registries
Network
LDAP directory Authentication
•used to store EIM data Service
•Identifies where the
Kerberos authentication
Applications is done, and for which
•NetServer, iSeries Navigator, apps
Management Central, PC5250,
QFileSvr.400, …
Introduction to iSeries
DB2/400
© Logicalis Group
DB2/400: agenda
SQL
traditional
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
...
FBIDDETAILSIF E DISK RENAME(BIDDETAILX:BIDS)
FCONTRATE UF A E DISK
...
C READ BIDDETAILS 90
C *IN90 DOWEQ *OFF
C MOVE IDOCID W1UNID 32
...
C READ BIDDETAILS 90
C ENDDO
...
C WRITE CONTRATER
Source
Target Main
database
Mirrored tables
database Journal
tables Mirrored receiver Main
journal application
Copy of receiver
application
Management and administration
CL commands
CRTPF
DSPDBR
DSPFD
RGZPFM
iSeries Navigator
© Logicalis Group
Disk storage options
ESS attach example
PROD
DEV HA
TotalStorage ESS
iSeries tape example
DEV HA PROD
Shared LTO
LTO with
with shared
PCI attach PCI attach
Site A Site B
IBM 3494 Tape library IBM 3494 Tape library
3 x 3590 B1A drives 3 x 3590 B1A drives
SCSI
SCSI
LAN
Control groups
Parallel save
Recovery
Restore of libraries/objects
Restore of IFS
BRMS
Recovery
Recovery report
Media management
Other functions
Save to savefile
Network capable
Archive
Provided by BRMS
© Logicalis Group
Programming the iSeries
Control Language
Java
iSeries-based compilers
...
DCL &INPUTFILE *CHAR 30
... Used for ops
MONMSG (CPF0001 CPF0006) EXEC(GOTO VALID)
... programming
CHGVAR &INPFILLIB %SST(&INPUTFILE 11 10)
... and where high
OVRDBF FILE(INPUT) TOFILE(&INPFILLIB/&INPFILOBJ) +
MBR(&INPFILMBR)
level languages
...
FTP RMTSYS(&HOST)
can’t do what is
OVRPRTF FILE(QSYSPRT) SPLFNAME(FTPBATCH) required. Far
CPYF FROMFILE(&OUTFILLIB/&OUTFILOBJ) +
TOFILE(QSYSPRT) FROMMBR(&OUTFILMBR) more powerful
DLTOVR FILE(*ALL)
RETURN than many
/************************************************************/
VALID: RCVMSG MSGTYPE(*DIAG) MSGDTA(&LMSGDTA) MSGID(&LMSGID) +
people think.
MSGF(&LMSGF) SNDMSGFLIB(&LMSGFLIB)
...
Program
Service program
versus
Compile time Run time
Byte
Source Code
Code Loader
Compile once,
run everywhere JAVA Byte
compiler Code
Verifier
CLASS File
Java
Interpreter
How can this be?
© Logicalis Group
iSeries Printing and Electronic Output
STRTFMMGR RMTLOCNAME('127.0.0.1')
STRPRTWTR PDF USRDFNOBJ(SHAWM/MANDY *PSFCFG)
CALL BARLOGO
© Logicalis Group
Example iSeries Console Provision - Local
V.24 Ops
connection Console
(async)
Ops Console (async)
PROD
DEV HA Physical
control Physical
panel control panel
Ethernet
HMC
LPAR
management
HMC
Example iSeries Console Provision - Remote
10/100
Ethernet
Remote
control panel
LAN
Console
DEV HA PROD
HMC
LPAR
management WebSM
HMC
Remote control panel
Some monitoring tools
WRKACTJOB monitors
running subsystems
and jobs
WRKCFGSTS monitors
comms lines and
IXS/IXA
Spool files
iSeries Support area of IBM Web site (excellent PTF download area and
much other good stuff)
Logicalis IT Forum
Introduction to iSeries
Communications
© Logicalis Group
Communications: agenda
Ethernet options
Virtual LAN
WAN connectivity
iSeries Access
LU6.2 (APPC/APPN)
SNADS
Anynet
Application integration using MQSI
iSeries iSeries
GTS JD Edwards
MQ Adapter
MQ Adapter
JDBC
DB2
JDBC
DB2
pSeries
MQ
MQ
Broker
Windows
Holland
MQ Adapter
iSeries
DB2 MQ Adapter
Windows
COGNOS
iSeries Access
Windows 5250
Will install on
Windows 95 / 98 / Me
iSeries Access for Web
5722-XH2
Shared Sessions
IFS
Send messages
Workstations
Sametime