Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introduction to iSeries

Similar presentations


Presentation on theme: "Introduction to iSeries"— Presentation transcript:

1 Introduction to iSeries
Mandy Shaw Version 0.3, 14 June 2006

2 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

3 Introduction to iSeries
iSeries in context

4 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

5 IBM midrange systems

6 i570 i595 Open Virtualised Autonomic Integrated i520 i550

7 Some iSeries applications
Green screen (5250) application Domino (iSeries as application server) .Net fat client or Web application (iSeries as database server and/or application server) Sametime (iSeries as application server) Linux, AIX and Windows workloads J2EE applications on Tomcat or WebSphere Feeds from iSeries database to decision support tools such as Excel

8 Introduction to iSeries
Architecture

9 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

10 Hierarchy of microprocessors
Disk IOP Tape IOP LAN IOP CPU(s) Pentium IXS (xSeries IOP) I/O Adapter (IOA) 2-line WAN IOP IOA Control of peripheral devices is not the CPU’s responsibility, being carried out by specialised input/output processors (IOPs).

11 iSeries - an enduring architecture eliminates technology transition costs
MyPgm Applications Development Systems Management OLTP and OLAP LDAP Open Interfaces Printing and eOutput Complete “Operating System” Technology Independent Machine Interface (TIMI) System Licensed Internal Code - SLIC Microcode LPAR TCP/IP DB2 UDB/400 Security Java Virtual I/O Communications Linux AIX iSeries Hardware 64-bit RISC PowerPC

12 Single level storage Applications access objects by name Operating system accesses pages by virtual address Microcode translates virtual address to physical address Microcode handles all paging

13 X Methods applicable to object Edit Content of object (in this
Object orientation Methods applicable to object 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 queue X Content of object (in this case, program instruction stream) Edit Create Delete Debug Run

14 iSeries - an enduring architecture eliminates technology transition costs
MyPgm System/38, 1978 MyPgm CISC AS/400, 1988 RISC AS/400, 1995 iSeries, 2000 i5, 2004 No need even to recompile, since the program object encapsulates its own TIMI ‘source code’ which can be automatically re-translated by OS/400 as necessary MyPgm

15 What can your iSeries do?
OS/400 OS/400 Linux on PowerPC AIX Windows 2000/3 Linux on Intel Domino DB2 UDB AIX app (PASE) WebSphere Java One box to house, manage and maintain Flexible use of disk, tape, memory, CPU, … Secure and resilient integration Capacity Upgrade on Demand for CPU and memory

16 Logical partitioning (OS/400, Linux on PowerPC, AIX)
V5R3 PST OS/400 OS/400 V5R2 OS/400 V5R3 GMT Linux on PowerPC AIX iSeries layered architecture gives high resilience No additional software costs OS/400 level (n-1 to n+1, but hardware dependent) Time zones Development, production, test DMZ separation Gigabit virtual LAN available Fractions of a processor Dynamic resource allocation Linux and AIX partitions need only CPU and memory

17 Windows integration (IXS and IXA)
iSeries Integrated xSeries Server Intel server within iSeries Processor and memory on card Uses OS/400 disk, tape and LAN resources Has own monitor, mouse and keyboard Windows 2000 or 2003, or RedHat Linux Fully certified by Microsoft for Windows User profile and database integration Gigabit virtual LAN available [Windows only at present] Manage from OS/400 iSeries Integrated xSeries Adapter Separate xSeries box IXA card links it to iSeries via HSL Leverage increasing xSeries power Has own memory, processor, cards Uses xSeries and/or OS/400 tape and LAN Uses OS/400 disk Windows 2000 or 2003, or Suse or RedHat Linux Otherwise same as IXS Windows 2000/3 Linux on Intel iSeries server IXA in supported xSeries server

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

19 Examples: Logicalis DMZ server
Quickplace Win2K MySQL External Domino protected by Norton Anti-Virus with live update PASE PHP Customer apps – WebSphere Apache AS/400 model 170, 1GB memory, V5R2, IXS card

20 Services organisation: Before
Sage Line 50 Access database and corporate application No DNS or DHCP User desktop Hand-held Terminal Message Server and gateway File and print Telephone server Fax

21 Internet facing DMZ Internet Internal External Web browser user
Access database and corporate application Web server Internet gateway External senders and recipients server Proxy server External Web sites User Web browser DMZ Internet Internal

22 Hand-held terminal gateway: IXS
After LPAR 1 - Production LPAR 3 – Linux Firewall and Proxy Server LPAR 4 - DMZ Domino Fax: Domino Fax Server SMTP: Domino Corporate app: IXS Additional apps Web server: Apache, potential for WebSphere applications DB2 Sage Line 50: IXS Hand-held terminal gateway: IXS Telephones: IXS DNS DHCP LPAR 2 – Linux Guest File server: Samba

23 Web serving and Web enablement
Native Resilient, high performance Java Virtual Machine WebSphere Application Server Apache Web server Apache Tomcat WebFacing Portal PowerPC Linux LAMP (Linux, Apache, mySQL, PHP) AIX WebSphere Application Server, Apache Web server Other Unix Web environments IXS/IXA Microsoft Web environments

24 Possible configurations
MZ Web browser – Intranet user Web browser –Extranet or external user Apache on iSeries DMZ Firewall Tomcat or WebSphere Application Server Apache on iSeries, or Apache on xSeries (Windows or Linux) WebFacing, JDBC or WebSphere MQ INTERNET Firewall Internal databases and RPG-based applications Other external data or transaction sources and targets Internal 5250 application user

25 WebFacing Use of WebFacing removes normal 5250 application cost implications

26 i550 i570 i595 i520 i5 models and editions 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 i520

27 Introduction to iSeries
The iSeries environment

28 The iSeries environment: agenda
Objects and libraries Integrated Filing System Work management Instructing the iSeries iSeries Navigator CL commands

29

30

31 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

32

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

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

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

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

37 Print Writers (Spool Jobs)
These connect physical printers to output queues, and print spooled output as it arrives.

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

39

40

41

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

43 iSeries Navigator

44 Introduction to iSeries
Windows, Linux and AIX integration

45 c: drive hot swap Network Storage Space NWSSTG3 d: drive Network
IXS/IXA running Windows 2000/2003 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

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

47 Introduction to iSeries
Security

48

49

50

51

52

53

54

55

56 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

57

58

59

60 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

61 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

62 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

63 Extranet / Internet Nirvana Windows 2000/NT NetServer NDS WebSphere
Linux iSeries intranet User AIX RACF z/OS John Smith's user ID: u:JSmith p:myonepwd

64 OS/400 approach gets you here
Windows NT/98/95 Windows 2000/2003 Server NetServer WebSphere NDS intranet User Linux John Smith's user IDs: iSeries u:John Smith u:JSimth u:John u:Smith1 u:JoSm05 etc.. John Smith's user IDs: u:JohnSmith p:myonepwd u:smithj p:*NONE u:John p:*NONE u:Smith p:*NONE u:JoSm p:*NONE etc.. RACF z/OS AIX

65 OS/400 implementation elements
Kerberos OS/400 can store KDC and do Kerberos authentication Typically, it won’t EIM Identifiers for individuals Maps identifiers to user ids in registries Network Authentication Service Identifies where the Kerberos authentication is done, and for which apps LDAP directory used to store EIM data Applications NetServer, iSeries Navigator, Management Central, PC5250, QFileSvr.400, …

66 Introduction to iSeries
DB2/400

67 DB2/400: agenda DB2 within the iSeries environment
Functionality and programming approaches: SQL traditional Journalling and commitment control Providing high availability Management and administration

68 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

69 Traditional RPG database I/O
... FBIDDETAILSIF E DISK RENAME(BIDDETAILX:BIDS) FCONTRATE UF A E DISK C READ BIDDETAILS C *IN DOWEQ *OFF C MOVE IDOCID W1UNID C ENDDO C WRITE CONTRATER Important concept: externally described file

70

71 Physical file = SQL table Access path = SQL index

72 Logical file = SQL view

73

74

75 High availability via data replication
Source Target Main database tables Mirrored database tables Journal receiver Main application Mirrored journal receiver Copy of application

76 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

77 Introduction to iSeries
Disk and tape storage, backup and recovery, data storage

78 Disk storage options

79 PROD DEV HA TotalStorage ESS ESS attach example 4 fibre connections

80 DEV HA PROD 3494 tape library iSeries tape example LTO with PCI attach
Shared LTO with shared PCI attach LTO with PCI attach Fibre connection Fibre connection Fibre connection 3494 tape library

81 Customer example: commodity trader
Total HA/DR solution for 5 x timezones + test/dev Site A Site B IBM 3494 Tape library 3 x 3590 B1A drives IBM 3494 Tape library 3 x 3590 B1A drives Crossroads 8000 storage routers Crossroads 8000 storage routers SCSI Orion Replication Fiber SCSI Vision Suite BRMS Vision Suite BRMS AS/ with 8 x LPAR’s AS/ with 8 x LPAR’s

82 IFS is saved with the SAV command

83 IFS is restored with the RST command

84 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

85 BRMS Recovery Orderly retrieval of lost or damaged objects
Restore entire system Restore of libraries/objects Restore of control groups Restore of IFS

86 BRMS Recovery Recovery report Step by step guide
BRMS takes responsibility

87 BRMS Media management Tracks all tapes and save files
Tracks tape movement Tracks contents of media

88 BRMS Other functions Spool file saves Save to savefile Network capable
Archive Hierarchical Storage Management

89 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

90 Introduction to iSeries
Programming the iSeries

91 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

92 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) Used for ops programming and where high level languages can’t do what is required. Far more powerful than many people think. You can even write your own commands – very useful in ops programming.

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

94

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

96 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 RPGMOD1 Module MOD1 CBLMOD1 Module MOD2 Module MOD3 Procedure CRTINVNBR An ILE program is made up of one or more modules. A module object (*MODULE) contains non-executable code (and data items) and is output fom the CRTxxxMOD commands. A program object (*PGM) is output from the CRTPGM command which binds one or more *MODULEs and nominates in which module the procedure to call upon entry (the program’s entry point). Procedure LOCKSTOCK Program INVMAST

97 Traditional Programming versus Java
Repeat for every platform Source Code Object Code Module compiler Executable Code binder versus Compile time Run time Byte Code Loader Source Code Compile once, run everywhere JAVA compiler Byte Code Verifier CLASS File Java Interpreter

98 Java can be invoked efficiently from ILE, and vice versa
How can this be? Traditional environment Java environment Java program code execution Native program code execution Java Virtual Machine Operating system Operating system Java can be invoked efficiently from ILE, and vice versa Java source code and class files are stored in the IFS

99 Multi-language example
PTSTSOCKET HOST(PACIFIC6) PORT(1352) If successful, a completion message will be returned Connection successfully obtained to PACIFIC6 on port 1352 Otherwise, an appropriate escape message will be returned Host CAT32 name resolved but no connection was possible on port 1352

100 Introduction to iSeries
Printing and electronic output

101 iSeries Printing and Electronic Output
Printer data streams can be simple (SCS) or complex (AFP) Printer attachment can be LPR/LPD, IPP or Intelligent Printer Data Stream (IPDS)

102

103

104

105

106 JPEG and TIFF, but not GIF
R BARLOGO AFPRSC('WarringtonMap.jpg' *JFIF + (*PATH '/shawm')) CRTPRTF FILE(SHAWM/BARLOGO) DEV(PDF) DEVTYPE(*AFPDS) CRTDEVPRT DEVD(PDF) DEVCLS(*LAN) TYPE(*IPDS) MODEL(0) LANATTACH(*IP) AFP(*YES) PORT(5101) FONT(011) RMTLOCNAME(' ') USRDFNOBJ(SHAWM/MANDY *PSFCFG) CHGPSFCFG PSFCFG(SHAWM/MANDY) PDFGEN(*MAIL) PDFDEVTYPE(*IP40300) PDFPPRDWR1(*A4) PDFPPRDWR2(*A4) STRTFMMGR STRPRTWTR PDF CALL BARLOGO JPEG and TIFF, but not GIF

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

108 Example iSeries Console Provision - Local
Ops Console (async) V.24 connection Ops Console (async) PROD DEV HA Physical control panel Physical control panel Ethernet HMC LPAR management HMC

109 Example iSeries Console Provision - Remote
10/100 Ethernet Remote control panel LAN Console DEV HA PROD HMC LPAR management WebSM HMC

110 Remote control panel

111 Some monitoring tools WRKACTJOB monitors running subsystems and jobs
WRKCFGSTS monitors comms lines and IXS/IXA Management Central for performance data collection and performance monitoring WRKSYSSTS to monitor number of jobs in system and auxiliary storage usage

112 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

113 PTF downloads: Fix Central
Management Central manages the distribution

114 Sources of information
iSeries Support area of IBM Web site (excellent PTF download area and much other good stuff) (mailing list and archive) iSeries Network (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

115 Introduction to iSeries
Communications

116 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

117 Application integration using MQSI
iSeries GTS iSeries JD Edwards DB2 JDBC MQ Adapter MQ Adapter JDBC DB2 pSeries MQ MQ Broker Windows Holland MQ Adapter iSeries DB2 MQ Adapter Windows COGNOS

118 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

119 iSeries Access for Web 5722-XH2 Customise 5250 User Interface
Shared Sessions Download from iSeries IFS Send messages Workstations Sametime Short cuts to sessions

120 iSeries Access for Web

121 Non-IP protocols

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

123 Extraordinarily useful and dead easy!

124

125

126


Download ppt "Introduction to iSeries"

Similar presentations


Ads by Google