IBM DB2 9 Planning Manual

Manual is about: Planning And Preparation Guide For SAP NetWeave 7.0: z/OS Implementation

Summary of DB2 9

  • Page 1

    Planning and preparation guide for sap netweaver 7.0: z/os implementation: db2 v8 db2 9 albert d. Rodi consulting it specialist ibm solution technical sales international business machines corporation 1503 lbj freeway dallas, tx 75234 (972) 280-4791 or tieline 8-542-4791 e-mail: adrodi@us.Ibm.Com co...

  • Page 2

    Trademarks the following are trademarks of the international business machines corporation in the united states and/or other countries aix* on demand business logo cics* pr/sm db2* parallel sysplex* db2 universal database pseries* e-business logo system z9 enterprise storage server* system z gdps* t...

  • Page 3

    Contents i general preparation steps ii z/os hardware preparation iii aix hardware preparation iv z/os software preparation v db2 and db2 connect preparation vi db2 related oss notes vii aix software preparation viii windows nt hardware/software preparation ix sap installation preparation x sample b...

  • Page 4

    What is new with sap web application server 7.0 ? • the z/os uss application server is no longer supported. However you can install the central services on uss as part of a high availability solution. • rfcoscol is replaced by sapccmsr and sapcl transaction st04 allows monitoring of remote db2 subsy...

  • Page 5

    1. Identify the technical implementation team members: z/os system programmer zlinux administrator security administrator unix system services administrator storage administrator network administrator aix/windows administrator db2 dba db2 systems programmer r/3 administrator z/os capacity planning &...

  • Page 6

    - installation of sap solution manager - configuration of sap solution manager - front end installation - homogeneous and heterogeneous system copy for sap systems based on netweaver 2004s 3. Available documentation (ibm): - high availability for sap on zseries using autonomic computing technologies...

  • Page 7

    (ibm sg24- 6287) - db2 udb for z/os v8: through the looking glass and what sap found there (ibm sg24- 7088) - disaster recovery with db2 udb for z/os (sg24- 6370) - db2 performance expert for z/os (sg24- 6867) - db2 udb for z/os version 8 technical preview (sg24- 6871) - distributed functions of db2...

  • Page 8

    5. Important oss notes: (service.Sap.Com/notes) 660528: requirements to run sap netweaver on zseries 661260: transports and support pac kages for 6.40 728743: zseries: release of db2 v8 for sap components 746924: planning information for customers with sap on zseries 606682: high availability and au...

  • Page 9

    797084: suse linux enterprise server 9: installation note 892818: application servers on linux for zseries: settings 821904: separating scs instances for abap and j2ee 686905: db2 for z/os: ddic corrections (6.40, 7.0) 818291: zseries: windows 64 bit app server 144864: sap remote services: technical...

  • Page 10

    Ii z/os hardware preparation 1. Review checklist in installation manual and at service.Sap.Com/platforms for supported z/os server models. 2. Determine hardware configuration by completing the sap sizing questionnaire for r/3. Review the sizing deliverable document prepared by the ibm isv techline s...

  • Page 11

    1.2 gb (temporary installation disk space) 2 x zlinux guest memory (swap space) 4.3 gb (temporary disk space for every installation dvd to be copied locally for installation) 13gb (disk space for the sap filesystems) 8-12gb (linux) 200mb (cms and the linux boot disk) 4. Define a (400) track vtoc for...

  • Page 12

    Iii aix hardware preparation 1. Review checklist in thecomponent installation guide : sap erp 2005 abap+java on aix: ibm db2 udb for z/os for base hardware requirements . 2. Determine hardware configuration by completing the sap sizing questionnaire for r/3. Review the sizing deliverable document pr...

  • Page 13

    Iv z/os software preparation 1. Review software checklist in installation manual. Required •z/os 1.6* or higher with the following components installed: unix system services, dfsms, tcp/ip, le370, dfsort •jes2 or jes3 •z/os security server (racf v 2.2 or higher) or a similar security function •z/os ...

  • Page 14

    **documentation and sample scripts for tsa are available from ibm. If the customer chooses an equivalent product they take full responsibility for configuring and testing that product with mysap. High availability solutions are available from a number of providers, the customer is responsible for ch...

  • Page 15

    4. Define the necessary users via racf definitions (review the sap security guide for ibm db2 udb for z/os): - define z/os groupid as this will be the creator of all db2 objects (default = sapr3) - define r/3 installation userid (superuser) for z/os (zlinux uses linux root user) - define userid adm ...

  • Page 16

    9. Configure the tcp/ip protocol for gb ethernet: a. Define the z/os i/o configuration for the osa-expresscard: - define channel path id for osa-express channel with type=osa - define osa-express control unit with type=osa - define 2 osa-express devices - define unit addresses for the control unit (...

  • Page 17

    Sapcl as per chapter 4 of the sap planning guide for sap netweaver for ibm db2 udb for z/os. These processes run under unix system services (uss). 17. For z/os v1.7 and z/ose v1.7: if the sap implementation will exploit the ibm system z9 integrated information processor(ziip), this requires the "ibm...

  • Page 18

    V db2 preparation 1. Install db2 subsystem. A separate icf catalog is recommended for each db2 subsystem based on the high level qualifier for db2 datasets. The icf catalog should contain only the catalogued objects for a single db2 subsystem. However, with db2 v8 and db2 9 the recommendation is to ...

  • Page 19

    - recommended production initial definitions for dsndb07 for an initial installation (each should be on a separate volume) : (4) 4k tablespaces @ 200 cylinders each (2) 32k tablespaces @ 200 cylinders each , total = 1200 cylinders 5. Define archive log environment. If archiving to dasd, create a sms...

  • Page 20

    10. Install the control center stored procedures required by sap as described in described in chapter 3 of the sap database administration guide for sap netweaver on ibm db2 udb for z/os. The procedures are used for database administration and replace the ftp submission of jcl streams used in previo...

  • Page 21

    15. Establish and test db2 backup/recovery procedures. These procedures should include a combination of db2 and non-db2 utilities in order to handle various recovery scenarios. In addition, db2 v8 provides two new utilities for providing db2 controlled system wide backup and a point in time recovery...

  • Page 22

    16. The recommendation is to develop a db2 system libraries configuration that allows each db2 subsystem to be migrated to a new level of db2, or db2 maintenance, individually. For instance, if this is a db2 data sharing group, you want to migrate members one at a time. The system libraries include ...

  • Page 23

    Vi db2 related oss notes 1043951: release of db2 9 for sap components 1072066: dba cockpit: new function for db monitoring 1027452: db2 z/os ccms: dba cockpit 746299: recommended settings for linux for zseries jvm 1022334: db2 z/os load ing a table with compression dictionary 1032273: db2 z/os: conf...

  • Page 24

    509529 db2 changing the db host 513750 db2 data sharing topology 390016 db2/390 bw: db settings and performance 758550 db2 system parameter check (db16) 686905 history of statement cache statistics in st04 956517 db2 for z/os: load of alert router fails 846145 db2 for z/os: saving space when you loa...

  • Page 25

    Vii aix software preparation 1. Review checklist in the installation guide: sap erp 2005 abab+java on aix: ibm db2 udb for z/os for base software requirements. Highly recommended for aix application servers •aix performance toolbox and performance aide for power version 3.0 2. Apply all recommended ...

  • Page 26

    Viii windows hardware/software preparation 1. Review checklist in component installation guide: sap erp 2005 sr1 abap+java on windows:ibm db2 udb for z/os for base software requirements. 2. Certified hardware is required for application servers. Current certified ibm models are: ibm eserver xseries ...

  • Page 27

    Ix sap installation preparation 1. Order sap installation kit. 2. Build project plan for installation. 3. Setup oss connection to sap and test ftp capability to sapserv. * pre-install check* 4. Obtain all necessary oss notes. 5. Gather the information necessary to respond to the sapinst system param...

  • Page 28

    X sample bpxprmxx member maxprocsys(4096) maxprocuser(200) maxthreadtasks(1000) maxthreads(1000) maxuids(200) maxfileproc(2000) maxfilesize (omit) maxptys(256) ctrace(ctibpx00) ipcmsgqmnum(20000) ipcmsgqbytes(1048576) ipcshmspages(786432) ipcshmmpages(524287) ipcshmnsegs(100) ipcsemnids(4096) ipcshm...

  • Page 29

    Filesystype type(hfs) entrypoint(gfuainit) root filesystem('omvs.Root') type(hfs) mode(rdwr) parm('') mount filesystem('omvs.Sap.') type(hfs) mode(rdwr) mountpoint('/sap/') mount filesystem('omvs.Tmp') type(hfs) mode(rdwr) mountpoint('/tmp') filesystype type(ibmuds) entrypoint(bpxtuint) network doma...

  • Page 30

    Xi sample db2 dsnzparms db2 v8 * = required/recommended value for sap dsn6env mvs=xa dsn6sprm restart, all, abexp=yes, abind=yes, auth=yes, authcach=4096, bindnv=bindadd, bmptout=0, * cachedyn=yes, * cachedyn_freelocal=1, (apar pk21861) cachepac=1048576, catalog=dnx1sys, * cdssref=1, chgdc=no, * con...

  • Page 31

    Recall=yes, recalld=120, * relcurhl=yes, * retlwait=1, (data sharing only) rgfcolid=dsnrgcol, * retvlcfk=no, rgfdbnam=dsnrgfdb, rgfdedpl=no, rgfdeflt=accept, rgfescp=, rgffullq=yes, rgfinstl=no, rgfnmort=dsn_register_objt, rgfnmprt=dsn_register_appl, * rrulock=no, * seqcach=seq, seqpres=yes, sitetyp...

  • Page 32

    Dsn6logp deallct=(1440), maxarch=500, maxrtu=2, * outbuff=4000, * twoactv=yes, * twoarch=yes dsn6sysp auditst=no, * accumacc=5, * chkfreq=10, condbat=64, (>= maxdbat) * cthread=1900, (sum of tso users + idback) dldfreq=5, * idback=1800, 1.3 * (number of all sap work processes+ rfcoscol alert threads...

  • Page 33

    * idthtoin=0, resync=2, rlferrd=nolimit, tcpalver=yes dsn6grp dshare=no, grpname=s4a, membname=dnx1, coordntr=no, assist=no end dsnhdecm charset=alphanum, * asccsid=819, amccsid=65534, agccsid=65534, * appensch=ebcdic, * sccsid=37, ( or any value where db2 supports translation between sccsid and asc...

  • Page 34

    Db2 9 * = required/recommended value for sap dsn6env mvs=xa dsn6sprm restart, all, abexp=yes, abind=yes, auth=yes, authcach=4096, bindnv=bindadd, bmptout=0, * cachedyn=yes, * cachedyn_freelocal=1, cachepac=1048576, catalog=dnx1sys, * cdssref=1, chgdc=no, * contstor=yes, decdiv3=no, defltid=ibmuser, ...

  • Page 35

    * partkeyu=yes, recall=yes, recalld=120, * retlwait=1, (data sharing only) rgfcolid=dsnrgcol, * retvlcfk=no, rgfdbnam=dsnrgfdb, rgfdedpl=no, rgfdeflt=accept, rgfescp=, rgffullq=yes, rgfinstl=no, rgfnmort=dsn_register_objt, rgfnmprt=dsn_register_appl, * rrulock=no, * seqcach=seq, seqpres=yes, sitetyp...

  • Page 36

    Tstamp=yes, unit=cart, unit2=cart dsn6logp deallct=(1440), maxarch=500, maxrtu=2, * outbuff=4000, * twoactv=yes, * twoarch=yes dsn6sysp auditst=no, * accumacc=5, * accumuid=11, * chkfreq=2, condbat=64, (>= maxdbat) * cthread=200, (sum of tso users + idback) dldfreq=5, * idback=50, (>=20 and at least...

  • Page 37

    Statime=30, stormxab=5, stortime=180, * syncval=30, tracstr=no, tractbl=16, * tbsbpool=bp2, * tbsbplob=bp40, * tsqty=720, * urlgwth=100, * urchkth=1 dsn6fac * ddf=auto, * cmtstat=inactive, * idthtoin=0, * prgstrin=disable, (apar pk46079) resync=2, rlferrd=nolimit, tcpalver=yes dsn6grp dshare=no, grp...

  • Page 38

    Timelen=0 end copyright 2006 ibm solutions technical sales (sts) 12/18/2007page 38 of 51 12/18/2007 planning and preparation guide for sap netweaver version 6.40: z/os implementation.

  • Page 39

    Xii tcp/ip connectivity - required for sap netweaver - strategic communications protocol - any hw supporting standard tcp/ip can be used - ongoing enhancements are planned - take advantage of standard tcp/ip functions: acknowledgement management re-transmission keep alive support in order delivery -...

  • Page 40

    Xiii naming conventions 1. The following elements should be part of an overall naming convention plan: sap sid dr1 db2 started task names for mstr, dbm1,dist, irlm dr11mstr dr11dbm1 dr11irlm dr11dist db2 member/subsystem name dr11 db2 sysadm userid sapinst db2 group attach name dr1 rrs started task ...

  • Page 41

    Xiv application server on z/os considerations * note that only the sap central services ascs and scs are now supported on unix system services under z/os * 1. The following oss notes should be reviewed: 595331 - z/os enhanced ascii support & ftp updates 1009521 - central services does not start 2. I...

  • Page 42

    Xv sample osa-express gb configuration sys1.Vtamlst(xxtrl) xxtrl vbuild type=trl * trlegbf8 trle lnctl=mpc, read=600,write=601, datapath=602, portname=portgbf8, mpclevel=qdio tcpip.Profiles(profilxx) ;osa gigabit ethernet chp f8 lg06 device portgbf8 mpcipa nonrouter link gigaf8 ipaqgnet portgbf8 hom...

  • Page 43

    Xvi db2 backup/recovery notes (oss note 83000) note: the procedures described here are applicable to db2 version 8. Version 8 provides two new utilities for backup and point in time recovery that provides a more robust solution that is less prone to errors, and reduces recovery time and labor time. ...

  • Page 44

    Recover to prior point in time - a recovery of all tablespaces, indexspaces, db2 catalog, and db2 directory to a previous log rba (three ways to acomplish this) - conditional restart to recover to any previous point in time using db2 image copies - identify log rba of prior point in time time: with ...

  • Page 45

    - recover to a prior point in time corresponding to the time of flashcopy - reset volumes using flashcopy, including bsds and logs - restart db2 - use transaction sm13 to resolve r/3 units of work - recover to a prior point in time using flashcopy + logs - reset volumes using flashcopy , but use cur...

  • Page 46

    Db2 version 8 enhancements db2 version 8 enhances the sap backup and recovery process by providing two new system utilities for system level backup and a point in time recovery for the entire sap system. These are the backup system and restore system. They provide an efficient and non-dusruptive met...

  • Page 47

    Xvii sap automation and high availability solution 1. The following oss notes should be reviewed: 569996 (redbook updates) 524816 2. Indicate at the time of the sizing that the sap central services instance will run on z/os, since this will affect the processing and memory requirements. 3. The follo...

  • Page 48

    Xviii sap application server on zlinux considerations 1. Review the latest version of oss note 81737 for the supported linux distribution. 2. Hardware requirements: - ibm eserver zseries z800, z900, z990, z890, z9, z9 bc, z9 ec - each linux image requires disk space for boot and swap(20gb) - minimum...

  • Page 49

    7. Recommendations from the j oint ibm/sap platform team: always use the latest z/vm release available , currently z/vm 5.3 apply z/vm 5.1 apar 63636 (ptf um31312) apply all z/vm apars listed in oss note 81737 additional z/vm considerations (these are specific to the customer configuration and the w...

  • Page 50

    Xix sample sms storage group assignments 1. Here is a sample assignment methodology for setting up sms storage groups. One recommendation is to name the storage groups starting with the 3 character sap followed by the type of dataset. Storage group name dataset type sample name (=dr1) log db2 active...

  • Page 51

    Icf catalog names: catalog.Sapdb2.Dr1log catalog.Sapdb2.Dr1usr catalog.Sapdb2.Dr1db2 catalog.Sapdb2.Dr1ic catalog structure: catalog alias acs dataset name dr1usr dr1u dr1u.* dr1ic dr1ic dr1ic.** dr1db2 dr1 dr1.Srclib dr1.Dbrmlib dr1.Runlib.Load dr1.Dsndb*.Dsn*.** dr11 dr11.Dsn* dr1log dr11.Logcopy1...