Installing Baanerp Applications On Os/390: Kathryn Arrell, Lou Doran, Nicholas Rodoflich, Lee Siegmund, Jeff Wiese
Installing Baanerp Applications On Os/390: Kathryn Arrell, Lou Doran, Nicholas Rodoflich, Lee Siegmund, Jeff Wiese
Kathryn Arrell, Lou Doran, Nicholas Rodoflich, Lee Siegmund, Jeff Wiese
SG24-5440-00
International Technical Support Organization Installing BaanERP Applications on OS/390 August 1999
SG24-5440-00
Take Note! Before using this information and the product it supports, be sure to read the general information in Appendix L, Special Notices on page 177.
Note to U.S. Government Users Documentation related to restricted rights Use, duplication or disclosure is subject to restrictions set forth in GSA ADP Schedule Contract with IBM Corp.
Contents
Figures Tables
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
vii ix xi xi xii 1 1 2 3 3 4 5 6 7 8 8 8 9 10 10 10 11 12 13 15 15 16 17 17 18 18 18 18 18 18 19 20 20 21 23 23 23 29 31 31 32
Chapter 1. Architecture Overview of BaanERP Applications on OS/390 1.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.2 Presentation Layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.3 Database Layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.3.1 Baan Database Drivers . . . . . . . . . . . . . . . . . . . . . . . . 1.4 Application Layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.4.1 The Baan Software Environment (BSE) . . . . . . . . . . . . . . 1.5 Baan Applications That Run on S/390 . . . . . . . . . . . . . . . . . . 1.6 Baan Application Structure - the Company Story . . . . . . . . . . . 1.7 Baan Software Alliances . . . . . . . . . . . . . . . . . . . . . . . . . 1.8 Dynamic Enterprise Modeling (DEM) . . . . . . . . . . . . . . . . . . 1.9 OS/390 UNIX System Services Connection Scaling Kit . . . . . . . . 1.9.1 Connection Manager (CM) . . . . . . . . . . . . . . . . . . . . . . 1.9.2 Process Manager (PM) . . . . . . . . . . . . . . . . . . . . . . . . 1.10 Printing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.11 Connectivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.12 OS/390 Features for Baan Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.13 DB2 Features 1.14 Strengths of RVA and SnapShot for Baan Applications for OS/390 Chapter 2. Installation Overview - Preparing for the Installation . 2.1 BaanERP Installation Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.1.1 Preparing the Environment 2.1.2 Set Up the TSO User IDs . . . . . . . . . . . . . . . . . . . . 2.1.3 DASD Required . . . . . . . . . . . . . . . . . . . . . . . . . 2.1.4 Client Workstation . . . . . . . . . . . . . . . . . . . . . . . . 2.1.5 Customizing DB2 . . . . . . . . . . . . . . . . . . . . . . . . 2.1.6 Customizing CM and PM . . . . . . . . . . . . . . . . . . . . 2.1.7 Setting Up To Load the BaanERP Software from CD-ROM 2.1.8 UNIX System Services File Structures . . . . . . . . . . . . 2.2 Keeping Track of Names Used . . . . . . . . . . . . . . . . . . . 2.3 Disk Space Required . . . . . . . . . . . . . . . . . . . . . . . . . 2.4 BaanERP for OS/390 Release Notes . . . . . . . . . . . . . . . 2.4.1 Release Notes . . . . . . . . . . . . . . . . . . . . . . . . . . 2.4.2 Post Install . . . . . . . . . . . . . . . . . . . . . . . . . . . . Chapter 3. DB2 and BaanERP Applications on OS/390 3.1 Set Up DB2 Databases and Tablespaces . . . . . 3.2 DB2 Parameters . . . . . . . . . . . . . . . . . . . 3.2.1 JCL Used to Create Tablespaces . . . . . . . 3.2.2 Binding the Plan That BaanERP Uses . . . . 3.2.3 DB2 Files BaanERP Uses . . . . . . . . . . . 3.3 Points to Note . . . . . . . . . . . . . . . . . . . . .
Copyright IBM Corp. 1999
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
iii
Chapter 4. Enabling UNIX System Services . . . . . . . . . . . . . . . . 4.1 Customizing Connection Manager (CM) . . . . . . . . . . . . . . . 4.2 JCL Used to BIND the Plan . . . . . . . . . . . . . . . . . . . . . . . 4.3 Set Environment Variables for CM and PM ger . . 4.3.1 Set Environment Variables for OS/390 Connection Scaling Kit 4.4 Using a Second CMXPLAN Name . . . . . . . . . . . . . . . . . . . Chapter 5. BaanERP Applications Installation . . . . . . . . . . . . . . 5.1 Allocation of the HFS Files . . . . . . . . . . . . . . . . . . . . . . . 5.2 Creating the Mount Point . . . . . . . . . . . . . . . . . . . . . . . . 5.2.2 Mounting the HFS Files . . . . . . . . . . . . . . . . . . . . . . . 5.3 Unloading the Baan Code . . . . . . . . . . . . . . . . . . . . . . . . 5.3.1 Setting Up to Load the Baan Software from the CD-ROM . . 5.3.2 Unpacking Files into Install Directories . . . . . . . . . . . . . 5.4 Set Environment Variables . . . . . . . . . . . . . . . . . . . . . . . 5.4.1 Set Environment Variables - OS/390 Connection Scaling Kit 5.4.2 Set Environment Variables - Installation of Baan Applications . . . . . . . . . . . . . . . . . . . . . 5.5 Executing the install6.2 Script 5.5.1 Answering the Questions in the install6.2 Script . . . . . . . . 5.5.2 Using the db2install6.2 Script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.5.3 Listing Environment Variables 5.5.4 Storage Group Creation . . . . . . . . . . . . . . . . . . . . . . 5.5.5 Creating DB2 Reference Files for the Baan Script . . . . . . . 5.5.6 Continuing with the install6.2 Script . . . . . . . . . . . . . . . 5.5.7 Changes before Continuing . . . . . . . . . . . . . . . . . . . . 5.5.8 Configure the BW Client . . . . . . . . . . . . . . . . . . . . . . 5.5.9 Completing the Installation . . . . . . . . . . . . . . . . . . . . 5.6 Setting Up the Profile for bsp User ID . . . . . . . . . . . . . . . . . 5.7 Starting the Baan Application Manually . . . . . . . . . . . . . . . Chapter 6. Client Connection Configurations . . . . . . . . . . . . 6.1 Setting Up the BW Baan Client Code on a Windows 95 Client 6.1.1 Getting the Baan Client from the FTP Site . . . . . . . . 6.2 Configuring the Baan Client . . . . . . . . . . . . . . . . . . . 6.3 Connecting as bsp . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
33 33 34 34 35 36 37 37 38 39 40 40 41 41 42 42 43 44 49 51 51 52 54 55 56 60 62 62 65 65 66 67 67 71 71 71 72 72 77 78 79 79 80 80 80 81 83 83 84 84 86
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 7. Install the bi Client and Set Up the Webserver on S/390 7.1 Set Up a S/390 WebServer . . . . . . . . . . . . . . . . . . . . . 7.2 Set Up the BI HTTP Server . . . . . . . . . . . . . . . . . . . . . 7.2.1 Profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.2.2 HTTP Server Installation . . . . . . . . . . . . . . . . . . . . 7.2.3 HTTP Server Configuration . . . . . . . . . . . . . . . . . . 7.2.4 Starting the BI HTTP Server . . . . . . . . . . . . . . . . . . 7.3 Client Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.3.1 Using Netscape . . . . . . . . . . . . . . . . . . . . . . . . . 7.4 Starting the Webserver and Baan Internet Client . . . . . . . . 7.5 Started Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . 7.5.1 Started Procedure for BI HTTP Server . . . . . . . . . . . . 7.5.2 Started Procedure for Webserver . . . . . . . . . . . . . . Chapter 8. Cloning/Customizing the HTTP Server for OS/390 8.1 Setting Up Server Configuration Files . . . . . . . . . . . 8.2 Setting Up a Single Server . . . . . . . . . . . . . . . . . 8.2.1 Basic Single Server Configuration . . . . . . . . . . 8.2.2 Locating Your Web Content . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
iv
8.2.3 Customizing Your Web Server . . . . . . . . . . . . . . . 8.2.4 Create a Default Home Page for Your Web Server . . . 8.2.5 Create/Update a Started Procedure for Your Web Server Chapter 9. Post-Installation Tasks . . . . . . . . . . 9.1 JCL to Create Company 813 . . . . . . . . . . . 9.2 JCL to Create Company 900 . . . . . . . . . . . 9.2.1 db2_storage file for Companies 813 and 900
. . . . . . . . . . . . . . . . . . . . . . .
88 90 90 91 91 92 92 93 93 93 94 97
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 10. Enabling Process Manager on UNIX System Services . . . . . . . . . . . . . . 10.1 Process Manager (PM) Installation 10.2 Customizing the Process Manager . . . . . . . . . . . . . . . 10.2.1 Process Manager Parameters . . . . . . . . . . . . . . . 10.2.2 Starting and Stopping the Process Manager . . . . . .
Chapter 11. Administration of DB2 for Baan Applications on OS/390 11.1 DB2/BaanERP Introduction . . . . . . . . . . . . . . . . . . . . . 11.1.1 DB2/BaanERP Indexes . . . . . . . . . . . . . . . . . . . . . 11.1.2 DB2/BaanERP User-Written Queries . . . . . . . . . . . . . 11.1.3 Baan's Use of SQL . . . . . . . . . . . . . . . . . . . . . . . 11.2 DB2/BaanERP Operational Observations . . . . . . . . . . . . . 11.3 DB2/BaanERP Database and Table Space Recommendations 11.4 DB2/BaanERP DSNZPARM Recommendation . . . . . . . . . . 11.5 DB2/BaanERP Buffer Pool, Free Space, and Space Allocation 11.5.1 DB2/BaanERP Buffer Pool Recommendations . . . . . . . 11.5.2 DB2/BaanERP Free Space Recommendations . . . . . . . 11.5.3 DB2/BaanERP Primary/Secondary Allocations . . . . . . . 11.6 DB2/BaanERP Reorganization and Runstats Recommendations 11.7 DB2/BaanERP Index Usage . . . . . . . . . . . . . . . . . . . . . 11.8 DB2/BaanERP Point-in-Time Recovery Recommendations . . . . . . . . . 11.8.1 Point-in-Time Recovery Preventive Measures . . . . . . . . . . . . . 11.8.2 Point-in-Time Recovery Techniques 11.8.3 Point-in-Time Recovery Recommendations . . . . . . . . . Appendix A. BPX Parameters
99 99 . 99 . 99 . 99 100 100 101 102 102 103 104 104 105 106 106 106 108 111 115 115 116 119 119 119 121 122 123 123 124 126 128 129 131 131
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Appendix B. The vi Editor and Common UNIX Commands B.1 Using the vi Editor . . . . . . . . . . . . . . . . . . . . . B.2 Common UNIX Commands . . . . . . . . . . . . . . . . Appendix C. The hostname Command . . . . . . C.1 Using the hostname Command . . . . . . . . C.1.1 Source Code for the hostname Command
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Appendix D. Executing the db2_install6.2 Script . . . . D.1.1 Listing Environment Variables . . . . . . . . . D.1.2 Storage Group Creation . . . . . . . . . . . . . D.1.3 Database Creation . . . . . . . . . . . . . . . . D.1.4 Tablespace Creation . . . . . . . . . . . . . . . D.1.5 Creating DB2 Reference Files for Baan Script D.1.6 Files Baan Will Use to Define the Database . D.1.7 Adding More Users and Data Later . . . . . . Appendix E. RAMAC Virtual Array (RVA) E.1 Overview of RAMAC Virtual Array .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents
E.2 Log Structured File . . . . . . . . . . E.3 Data Compression and Compaction E.3.1 Effect of Data Compression . . Appendix F. SnapShot . . . . . . . . F.1 How SnapShot Works . . . . . . F.2 What Is Virtual Concurrent Copy F.2.1 DFSMSdss SnapShot . . . . F.2.2 Virtual Concurrent Copy . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
131 132 133 135 135 136 136 136 139 139 141 142 144 146 149 149 156 161 161 162 163 164 164
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Appendix G. Installation Problems We Encountered G.1 Problems and Workarounds . . . . . . . . . . . G.2 Restarting after Encountering Problems . . . . G.2.1 Restarting the install6.2 Script . . . . . . . G.2.2 Restarting install6.2 from the Beginning . G.3 Using Baan Log Files . . . . . . . . . . . . . . . Appendix H. Alternate DB2 Layout . H.1 JCL Used to Create Tablespaces H.2 DB2 Files BaanERP Uses . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Appendix I. Set the Environment Variables for Baan . . . . . . . . . . . . I.1.1 Setting Environment Variables for OS/390 Connection Scaling Kit I.1.2 Set Environment Variables-Installation of Baan Applications . . I.2 Setting Up the Profile for the bsp User ID . . . . . . . . . . . . . . . . . I.3 Restarting the install6.2 Script . . . . . . . . . . . . . . . . . . . . . . . I.4 Default Profile Before Starting the install6.2 Script . . . . . . . . . . .
Appendix J. Using UNIX System Services for UNIX-Trained Baan Specialist 169 J.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169 J.2 Interface Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169 Appendix K. DDF Customization . . K.1 Installing and Customizing DRDA Appendix L. Special Notices
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
173 173 177 179 179 179 179 180 180 181 182 183 185 187
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Appendix M. Related Publications . . . . . . . . . . . . . . . . . M.1 International Technical Support Organization Publications M.2 Redbooks on CD-ROMs . . . . . . . . . . . . . . . . . . . . M.3 Other IBM Publications . . . . . . . . . . . . . . . . . . . . . M.4 Baan Publications . . . . . . . . . . . . . . . . . . . . . . . . M.5 Other Publications . . . . . . . . . . . . . . . . . . . . . . . . How to Get ITSO Redbooks . IBM Redbook Fax Order Form List of Abbreviations Index
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
vi
Figures
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. 31. 32. 33. 34. 35. 36. 37. 38. 39. 40. 41. 42. 43. 44. 45. 46. 47. 48. 49. 50. 51.
Copyright IBM Corp. 1999
BaanERP architecture for OS/390 . . . . . . . . . . . . . . . . . Baan's Logical Three-Tier Architecture . . . . . . . . . . . . . . Baan Application Environment . . . . . . . . . . . . . . . . . . . Connection Manager and Process Manager . . . . . . . . . . . User IDs in Uppercase and Lowercase . . . . . . . . . . . . . . DB2 Parameters Used . . . . . . . . . . . . . . . . . . . . . . . . JCL to Create Tablespaces with Company 000, Detailed Setup Simple db2_storage File . . . . . . . . . . . . . . . . . . . . . . . Customizing the Connection Manager . . . . . . . . . . . . . . JCL to BIND the Plan . . . . . . . . . . . . . . . . . . . . . . . . . Allocation HFS Files . . . . . . . . . . . . . . . . . . . . . . . . . Mount Production HFS File . . . . . . . . . . . . . . . . . . . . . Mount Installation HFS File . . . . . . . . . . . . . . . . . . . . . Mount Storage HFS File . . . . . . . . . . . . . . . . . . . . . . . Package Combinations to Create . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . BaanERP Configuration Panel Baan Logon Panel . . . . . . . . . . . . . . . . . . . . . . . . . . Baan Initialization Panel . . . . . . . . . . . . . . . . . . . . . . . Importing Data Dictionary . . . . . . . . . . . . . . . . . . . . . . Creating New Tables . . . . . . . . . . . . . . . . . . . . . . . . . Starting Baan Module ottadv5211 . . . . . . . . . . . . . . . . . Creating Table Definitions . . . . . . . . . . . . . . . . . . . . . . Message about User ROOT . . . . . . . . . . . . . . . . . . . . . Message about User BSP . . . . . . . . . . . . . . . . . . . . . . Installation Has Completed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Baan Message to Return to Window Environment Variables for bsp User . . . . . . . . . . . . . . . . Starting the Baan Applications Manually . . . . . . . . . . . . . Successful Installation of Baan Client . . . . . . . . . . . . . . . Baan Environment and Configuration Selector Window . . . . Configuring the Baan Client . . . . . . . . . . . . . . . . . . . . . Connecting to the Baan Client . . . . . . . . . . . . . . . . . . . Client Connection Completed to Baan . . . . . . . . . . . . . . Graphical Window Displayed while Setting Up BI HTTP Server Instructions for Sett Up of BI HTTP Server . . . . . . . . . . . . Location for BI HTTP Server Program . . . . . . . . . . . . . . . Completion of Setting Up BI HTTP Server . . . . . . . . . . . . Changing the bi.html File . . . . . . . . . . . . . . . . . . . . . . Choice of Microsoft SDK for APF 10 . . . . . . . . . . . . . . . . Web Server Administration Protection Directives . . . . . . . . SSL Directives in IBM-Supplied Configuration File (httpd.conf) Standard Web Content Setup Directives . . . . . . . . . . . . . HTML Example - frntpage.html . . . . . . . . . . . . . . . . . . . Single Server - Logging and Reporting Changes to httpd.conf Single Server - Modified Web Content Setup Directives . . . . Single Server - HTML Example for a Home Page (index.html) db2_storage File for Companies 813 and 900 . . . . . . . . . . Adding Port Number to /windows/services . . . . . . . . . . . . Adding the IP Address to /bpares.cfg . . . . . . . . . . . . . . . Parameters for Process Manager . . . . . . . . . . . . . . . . . Virtual Disk Operation . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2 2 . 5 . 9 . 17 . 24 . 30 . 32 . 33 . 34 . 38 . 39 . 40 . 40 . 48 . 56 . 56 . 57 . 57 . 58 . 58 . 59 . 59 . 59 . 60 . 60 . 62 . 63 . 66 . 67 . 68 . 69 . 69 . 74 . 75 . 75 . 76 . 78 . 79 . 85 . 85 . 86 . 87 . 89 . 89 . 90 . 92 . 93 . 94 . 95 132
vii
52. 53. 54. 55. 56. 57. 58. 59. 60. 61. 62. 63. 64.
SnapShot Operation . . . . . . . . . . . . . . . . . . . . . . . . Virtual Concurrent Copy Operation . . . . . . . . . . . . . . . Result of ipcs Command . . . . . . . . . . . . . . . . . . . . . . Dropping the DB2 Database . . . . . . . . . . . . . . . . . . . . Baan Llogs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . JCL to Create Tablespaces with Company 000 Detailed Setup Sample db2_storage File . . . . . . . . . . . . . . . . . . . . . Environment Variables for bsp User . . . . . . . . . . . . . . . Profile in /etc/profile . . . . . . . . . . . . . . . . . . . . . . . . Accessing S/390 . . . . . . . . . . . . . . . . . . . . . . . . . . . DDF Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . APPL Entries in SYS1.LOCAL.VTAMLST . . . . . . . . . . . . PORT Definitions for DRDA . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
135 137 142 146 146 150 158 164 165 170 173 174 175
viii
Tables
1. 2. Names Used in the BaanERP Installation Disk Space Required for BaanERP . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
18 19
ix
Preface
This redbook is based on the installation experiences gained while installing BaanERP Applications with DB2 V5.1 for use with OS/390 V2R6 at the ITSO in Poughkeepsie. This redbook will help you install and customize BaanERP Applications for OS/390 with DB2. It is based on using the CD-ROM from the April 1999 release of the BaanERP Applications for S/390. It contains an introduction to the architecture of the BaanERP Applications for OS/390 Solution. It also describes the customization needed for OS/390 and DB2 V5.1 and the BaanERP installation process to install the applications and to set up Company 000 and the demo companies. It includes guidelines for setting up and administering DB2 for BaanERP. We recommend that BaanERP Applications be installed by a person trained in performing such installations. This redbook is not meant to replace having a trained consultant to do the installation. Instead, it provides S/390 System Programmers with detailed information about the installation process, particularly how it relates to OS/390.
xi
Paolo Bruni Alison Pate International Technical Support Organization, San Jose Center Richard Conway Bob Haimowitz Vasilis Karras Ella Buslovich International Technical Support Organization, Poughkeepsie Center Erik de Jeu IBM Baan International Competency Center Vicky Pollien Steve Henkels Richard Ko Brad Forrest Mythili Venkatakrishnan IBM S/390 Division, Poughkeepsie Yvon-Marie Avril Herve Sabrie Jean-Jacques Noguera Laurence Nicolas IBM Parallel Solution Support Center, Montpellier Jos Odijk Renze Klammer Baan Val Chavez Frank Snyder Chris Sutter Lawson Products, USA
Comments Welcome
Your comments are important to us! We want our redbooks to be as helpful as possible. Please send us your comments about this or other redbooks in one of the following ways: Fax the evaluation form found in ITSO Redbook Evaluation on page 187 to the fax number shown on the form. Use the online evaluation form found at http://www.redbooks.ibm.com/ Send your comments in an Internet note to [email protected]
xii
1.1 Introduction
ERP solutions have gained market share and mind share as an enterprise solution to both business problems, such as reengineering business processes, and technical problems, such as the Year 2000 problem. ERP solutions provide run your business information technology for enterprises that have chosen to purchase solutions rather than develop them. As the ERP industry is maturing, these solutions are becoming the foundation for organizations expanding their front office solutions, such as supply chain management and customer relationship management, as well as integrating into e-business and Business Intelligence/Data Warehousing. Baan is a major ERP solution provider, and S/390 is the industrial strength computing platform that can complement such an ERP. BaanERP, for S/390, became available in 2Q/99. BaanERP is part of the Baan Series Product. BaanERP applications include: Manufacturing Finance Project Distribution Service BaanERP for the S/390 is implemented using Baan's Client/Server mode, that is, all functions are usually implemented on two hardware platforms. The application layer and the database layer reside on the S/390 Server as shown in Figure 1 on page 2.
Figure 1. BaanERP architecture for OS/390. The network connection can be Token-Ring, Ethernet, Fast Ethernet, FDDI, Escon or ATM.
Note that while the term host has historically been used to describe the mainframes (for example, the S/390), you should not confuse this with Baan's term Host Mode where all components of the three layers (including the presentation or client layer) reside on one machine. Logically, it is a three-tier mode from a functional point of view as shown in Figure 2.
______________ _____________ _____________ | | | | | | | | | | | | | Presentation |____| Application |____| Database | | Layer | | Layer | | Layer | | | | | | | |______________| |_____________| |_____________|
Figure 2. Baan's Logical Three-Tier Architecture
normal mode, BaanERP provides for an expert mode, which waits until all appropriate fields are filled in and then sends the entire screen. This option reduces network load at the cost of field-by-field verification. The BI Client uses a Java-capable browser. Both Netscape and Internet Explorer, at the appropriate release levels, with the appropriate Java Class libraries, can be used. There is no special Web server required, and the Baan Internet HTTP Server can reside on UNIX, NT, or S/390 as well.
The level 2 driver does not transform Baan SQL and relies on the RDBMS to perform any table joins. The resulting rows returned by the RDBMS are simply passed on to the application. The primary purpose of the level 2 driver (versus the level 1 driver) is to reduce data traffic between database and application servers. Driver usage is of no consequence to the end user, but understanding this architecture may be important for administrators. Currently, only the level 1 driver is implemented in the S/390 - DB2 solution for BaanERP. A S/390 DB2 level 2 driver is planned for late 1999. The design of level 2 drivers facilitates access through a more direct means, such as DB2 Connect, as special hashing indices and all their associated aspects are eliminated.
/baanerp/tables /baanerp/test
Note: The Baan Transportation and Process modules from BaanIV are not included in BaanERP. Other common abbreviations and terms used by Baan are: aad adv iex ba bi BW Application Administration (part of Tools). Application Development (part of Tools). Import/Export (part of Tools). Baan ASCII Client. Baan Internet (Web) Client. Baan Windows Client.
BX BSE bshell
Baan X-Windows Client. Baan Software Environment. A virtual machine; there is one for every user. It is the connection between the user and the Baan application and the connection between the application and the database. It is where the application code runs. Combination of package and tables. The Baan data entry interface. Customer-specific information such as language currency and so on. The Baan user interface. A set of related software components. The runtime object created by program and report scripts and executed by the BShell. A series of related modules. Output from Baan sessions. The action being performed.
Software Component Menus, sessions, forms, and so on. Table vrc Baan data storage. Version Release customer extension. This is a package set of Baan modules and data definitions.
In addition to Company 000, there are demo companies such as Company 813 and Company 900. New companies will be created for production use based on how you want to organize your environment. For example, you might have: Company Company Company Company 100 110 200 210 for for for for your your your your manufacturing production users manufacturing test users finance production users finance test users
The company numbers are the user's choice. These other companies generally have about 2700+ tables and 9000+ indexes, depending on the number of installed modules. A end user attaches to a company, which is a combination of a package and versions of database tables.
http://www.baan.com
Some are porting their applications to S/390; some are able to integrate to Baan Applications independent of the database and application server platform.
As shown in Figure 4 on page 9, the Connection Manager and the Process Manager are both part of UNIX System Services.
No change to DB2 authorization exits when using the Process Manager component of OS/390 UNIX System Services Connection Scaling Kit. OS/390 Logger customization. RRS to be a separately started OS/390 subsystem.
It supports: Retry on lock timeout or deadlock. Distributed transaction semantics (currently not used by BAAN IV).
Call Attach Facility (CAF) It requires: No special customization to install. Changes to the authorization exit when used with the Process Manager component of OS/390 UNIX System Services Connection Scaling Kit.
1.10 Printing
The OS/390 Print Server nicely facilitates printing as it handles IP and SNA-attached printers. After proper configuration, printing is done as with any typical Windows client. After triggering a print, a menu is presented to select a (configured) printer, whether on the network, JES, to the display and so forth. Baan generates two kinds of printer data streams: text (ascii) and Printer Control Language (PCL). For PCL data streams, there may be conversion issues. If, for example, the targeted printer is an Advanced Function Printing (AFP) printer, a PCL-to-AFP conversion is necessary. Note that the current version of the OS/390 Print Server does such conversion.
1.11 Connectivity
The installation client and the Baan user clients can be connected to the S/390 via TCP/IP on any transport capable of connecting to the S/390, such as Token-Ring, Ethernet, Fast Ethernet, FDDI or ATM.
10
11
These features are particularly beneficial for an enterprise using Baan Applications for OS/390.
12
1.14 Strengths of RVA and SnapShot for Baan Applications for OS/390
The RAMAC Virtual Array (RVA) provides a high availability, scalable, easy-to-manage storage subsystem that complements the strengths of S/390. The virtual disk architecture of the RVA spreads all data across all the available disks, reducing the requirement for data placement to avoid hot-spots. Only data that is actually written is stored on the RVA, which allows you to allocate data sets for peak production use without penalty. Additional physical storage capacity can be added non-disruptively. The RVA's architecture also enables SnapShot. SnapShot is an data duplicator that manipulates pointers in the RVA to make instant copies of data at the data set and volume level. SnapShot is integrated in the DB2 utilities using the concurrent copy interface. This can significantly increase application availability when making point-in-time copies. An overview of RVA and SnapShot is provided in Appendix E, RAMAC Virtual Array (RVA) on page 131 and Appendix F, SnapShot on page 135. A discussion of RVA and SnapShot for point-in-time recovery is provided in Chapter 11, Administration of DB2 for Baan Applications on OS/390 on page 99.
13
14
BaanERP - Installation Guide for BaanERP on OS/390 UNIX System Services, available from Baan BaanERP - DB2 Installation Guide for BaanERP, available from Baan UNIX System Services Connection Scaling Reference, SA22-7305, available from IBM
These publications, available from Baan, are also relevant as further information sources. Contact Baan or the IBM Baan International Competency Center for the latest information on any PTFs that are required. For information on how to contact Baan go to: http://www.baan.com.
2. Run the installation script to install the BaanERP applications and Company 000 (using install6.2 script). 3. Run the DB2 script (db2_install6.2) to create DB2 files needed for the installation, or use JCL and sample DB2 files 4. Set up the BaanERP Client (BW). 5. Execute the post-installation tasks 6. Install demo companies using BaanERP tools on the BW Client. 7. Set up the Process Manager. 8. Set up printers.
Copyright IBM Corp. 1999
15
9. Set up BaanERP applications to run in the Link Pack Area (LPA). 10. Set up the localization customization. Loading Company 000 takes about 10 to 15 hours, depending on your hardware configuration.
2.1.1.1 Hostname
A hostname command is used by the db2_install6.2 script to retrieve the host name. This command is not part of UNIX System Services. See Appendix C, The hostname Command on page 119 for the source code. The hostname executable should be placed in a directory such as /bin that the BaanERP Applications can use. The hostname program can be obtained at:
http//www.s390.ibm.com/products/oe/bpxa1toy.html
The host name is stored in the following files; /etc/resolv.conf TCPIPDATA (where ever you point to in your TCP/IP started task) /etc/host The host name is used to generate the BaanERP license. We found that the host name must be stored in same case (upper or lower case) in all these places. It is stored in the file /$BSE/lib/licence6.2. For example, you must ensure that all these files have the host name in lower case and that you request the BaanERP license using lower case. You can test to see that you have /etc/resolv.conf set correctly by issuing the command onslookup in UNIX System Services. If you are using two TCP/IP stacks you can also issue the command nslookup as a TSO command. This will return the host name as the system has it.
16
File Edit Confirm Menu Utilities Compilers Test Help ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss EDIT /etc/alias Columns 00001 Command ===> Scroll === ****** ***************************** Top of Data *********************** 000001 :UserIDs 000002 ROOT root 000003 BSP bsp 000004 OMVSKERN root 000005 :Groups 000006 BSPGRP bsp ****** **************************** Bottom of Data *********************
setomvs useridaliastable='/etc/alias'
This activates the table until the next IPL. To permanently activate it, add it to BPX parms, as shown in Appendix A, BPX Parameters on page 111. Note: If you try to issue this command through TSO, it is translated to uppercase and does not work correctly. To verify the ID that owns the files, issue the command id. This shows you who the owner is for the root user ID file. A typical output of the id command is:
uid=0(OMVSKERN) gid=125(BSPGRP)
In our case there were several userids with the uid of 0. As OMVSKERN was the first in the stack (before ROOT) that is what appears as the owner id. OMVSKERN is shown to be the owner when the ls -l command is issued. As the BaanERP installation manual stated, the owner that is shown in the id command must be entered in the /etc/alias table pointing to root. For BaanERP users, create user IDs such as BAAN01 and BAAN02 in the group bspgrp. These require unique uids (not 125). User IDs for those using NT or OS/2 workstations should be in uppercase. To enable access to BaanERP applications, user IDs are created both as a OMVS user in RACF and also in BaanERP using Baan Tools.
17
18
If you have the DASD available or are using an RVA, it is recommended that you allocate an entire 3390 - 003 for each of the three HFS files. After the installation phase is complete, you can release two of the packs. If you are short of DASD, use the space recommendation in BaanERP - Installation Guide for BaanERP on OS/390 UNIX System Services. In our initial installation, we used one tablespace per company. This meant we had the same primary and secondary extent for each index and table. Further testing in IBM and Baan showed that to optimize the layout, it was better to set up a customized allocation. This customized layout is in the sample db2_storage file that is shown in detail in Appendix H, Alternate DB2 Layout on page 149. For Company 000, it puts approximately 34 indexes and 50 tables in their own tablespaces.
19
2.4.1.1 Pre-Install
The OS/390 setup must be complete. For instance, the file command must work as designed. In our case, it happened a couple of times that /samples/magic was not copied to /etc , so file did not work. This causes the install process to fail.
2.4.1.2 Install
We shipped an IBM file with our Baan Portingset. After paxing the portingset, issue the command
rm ln.0000/bse/bin/cmxdll
from your installation directory before starting the install script. The file ipc_info which is in /$BSE/lib must be changed during the installation process. The shell server (sh_server) does not communicate with sockets, but just pipes. Change the s to a p in the fifth column on the sh_server line. There is an error in the fd6.2.Install file. Change the $BSE/lib/user/uROOT (or uroot, if you are able to logon with a lowercase userid) file. The PACC: line must point to the package combination specified during the install (default b50b, check $BSE/lib/fd*). Both of these changes must be made just before starting the BW to perform the second part of the installation. The BaanWindows client should not be converted from ASCII to EBCDIC during installation time, but it is. Therefore, before copying its files to your workstation, you need to convert them back. To do this, first make a directory (BSE/mswindows/ascii) and issue a command such as:
20
During the second part of the installation, a message box about user ROOT will pop up. Press OK to continue. This might happen for user bsp as well. Press OK again. This will happen approximately one hour after starting the BW (on a slow machine, this might take longer).
21
22
For our first installation, we used JCL to create a simple layout with one database and one tablespace for Company 000. Create the DB2 files that the Baan DB2 driver requires, as shown in 3.2.3, DB2 Files BaanERP Uses on page 31 and Appendix D, Executing the db2_install6.2 Script on page 121. We used the db2_install6.2 script during the installation process to create files in /BSE/lib/db2 that the Baan db2 driver requires. Grant privileges to user ID bsp. Bind the plan with the DB2 system as shown in 4.2, JCL Used to BIND the Plan on page 34. Note: For our installation, we choose to store the BaanERP data in ASCII format, which is the recommended format.
23
//ZPARMS JOB (999,POK),'DB2V510D',CLASS=A,MSGCLASS=T, 00000001 // NOTIFY=&SYSUID,TIME=1440,REGION=4M 00000002 /*JOBPARM L=999,SYSAFF=SC55 00000003 //*********************************************************************/00010000 //* JOB NAME = DSNTIJUZ */00020000 //* */00030000 //* CHANGES: 8/11/98 UPDATES PARMS FOR BAAN */00050000 //* 8/20/98 CREATED SDSNEXIT.SC55 FOR BAAN ONLY */00090000 //* */00090000 //* */00090000 //* STATUS = VERSION 5.1 */00100000 //* */00110000 //* FUNCTION = DSNZPARM AND DSNHDECP UPDATES */00120000 //* */00130000 //* PSEUDOCODE = */00140000 //* DSNTIZA STEP ASSEMBLE DSN6.... MACROS, CREATE DSNZPARM */00150000 //* DSNTIZL STEP LINK EDIT DSNZPARM */00160000 //* DSNTLOG STEP UPDATE PASSWORDS */00170000 //* DSNTIZP STEP ASSEMBLE DSNHDECP DATA-ONLY LOAD MODULE */00180000 //* DSNTIZQ STEP LINK EDIT DSNHDECP LOAD MODULE */00190000 //* DSNTIMQ STEP SMP/E PROCESSING FOR DSNHDECP */00200000 //* */00201990 //* NOTES = STEP DSNTIMQ MUST BE CUSTOMIZED FOR SMP. SEE THE NOTES */00203980 //* NOTES PRECEDING STEP DSNTIMQ BEFORE RUNNING THIS JOB. */00205970 //* */00210000 //*********************************************************************/00220000 //DSNTIZA EXEC PGM=ASMA90,PARM='OBJECT,NODECK' 00230000 //SYSLIB DD DISP=SHR, 00240000 // DSN=DB2V510.SDSNMACS 00250000 // DD DISP=SHR, 00260000 // DSN=SYS1.MACLIB 00270000 //SYSLIN DD DSN=&&LOADSET(DSNTILMD),DISP=(NEW,PASS), 00280000 // UNIT=SYSALLDA, 00290000 // SPACE=(800,(50,50,2)),DCB=(BLKSIZE=800) 00300000 //SYSPRINT DD SYSOUT=* 00310000 //SYSUDUMP DD SYSOUT=* 00320000 //SYSUT1 DD UNIT=SYSALLDA,SPACE=(800,(50,50),,,ROUND) 00330000 //SYSUT2 DD UNIT=SYSALLDA,SPACE=(800,(50,50),,,ROUND) 00340000 //SYSUT3 DD UNIT=SYSALLDA,SPACE=(800,(50,50),,,ROUND) 00350000 //SYSIN DD * 00360000 DSN6ENV MVS=XA 00370000 DSN6SPRM RESTART, X00370001 ALL, X00370002 ABEXP=YES, X00370003 ABIND=YES, X00370004 AUTH=YES, X00370005 AUTHCACH=1024, X00370006 BINDNV=BINDADD, X00370007 BMPTOUT=0, X00370008 CACHEDYN=YES, X00370009 CACHEPAC=32768, X00370010
Figure 6 (Part 1 of 6). DB2 Parameters Used
24
DSN6ARVP
CATALOG=DB2V510D, CDSSRDEF=1, CHGDC=NO, CONTSTOR=YES, Needed with PTF UQ19012 DECDIV3=NO, DEFIXTP=2, DEFLTID=IBMUSER, DESCSTAT=NO, DLITOUT=0, DSMAX=3000, EDMPOOL=100000, changed for BaanERP from 1368 EDPROP=NO, HOPAUTH=YES, IRLMAUT=YES, IRLMPRC=IRLDPROC, IRLMSID=IRLD, IRLMRWT=60, IRLMSWT=300, MAXRBLK=4384, MAXKEEPD=65535, changed for BaanERP from 5000 NUMLKTS=1000, NUMLKUS=10000, RECALL=YES, RECALLD=120, RELCURHL=NO, RETLWAIT=NO, RETVLCFK=NO, RGFCOLID=DSNRGCOL, RGFDBNAM=DSNRGFDB, RGFDEDPL=NO, RGFDEFLT=ACCEPT, RGFESCP=, RGFFULLQ=YES, RGFINSTL=NO, RGFNMORT=DSN_REGISTER_OBJT, RGFNMPRT=DSN_REGISTER_APPL, RRULOCK=NO, SEQCACH=BYPASS, SEQPRES=NO, SITETYP=LOCALSITE, SRTPOOL=876, SYSADM=BAARES1, SYSADM2=HAIMO, SYSOPR1=SYSOPR, SYSOPR2=SYSOPR, TRKRSITE=NO, UTIMOUT=6 ALCUNIT=BLK, ARCWRTC=(1,3,4), ARCWTOR=YES,
X00370011 X00370012 X00370013 X00370013 X00370014 X00370015 X00370016 X00370017 X00370018 X00370019 X00370020 X00370021 X00370022 X00370023 X00370024 X00370025 X00370026 X00370027 X00370028 X00370029 X00370030 X00370031 X00370032 X00370033 X00370034 X00370035 X00370036 X00370037 X00370038 X00370039 X00370040 X00370041 X00370042 X00370043 X00370044 X00370045 X00370046 X00370047 X00370048 X00370049 X00370050 X00370051 X00370052 X00370053 X00370054 X00370055 00370056 X00370057 X00370058 X00370059
25
DSN6LOGP
DSN6SYSP
ARCPFX1=DB2V510D.ARCHLOG1, ARCPFX2=DB2V510D.ARCHLOG2, ARCRETN=9999, BLKSIZE=28672, CATALOG=NO, COMPACT=NO, PRIQTY=1234, PROTECT=NO, QUIESCE=5, SECQTY=154, TSTAMP=NO, UNIT=SYSALLDA, UNIT2=SYSALLDA DEALLCT=(0), INBUFF=28, MAXARCH=1000, MAXRTU=2, OUTBUFF=400, TWOACTV=YES, TWOARCH=YES, WRTHRSH=20 AUDITST=NO, CONDBAT=64, CTHREAD=2000, changed for BaanERP from 70 DLDFREQ=5, IDBACK=2000, changed for BaanERP from 20 IDFORE=40, LOGLOAD=50000, MAXDBAT=64, MON=NO, MONSIZE=8192, RLF=NO, RLFTBL=01, RLFERR=NOLIMIT, RLFAUTH=SYSIBM, ROUTCDE=(1), EXTSEC=NO, SMFACCT=(1), SMFSTAT=YES, STATIME=30, STORMXAB=0, STORPROC=DB2DSPAS, STORTIME=60, changed for BaanERP from 180 TRACSTR=NO, TRACTBL=16, URCHKTH=0
X00370060 X00370061 X00370062 X00370063 X00370064 X00370065 X00370066 X00370067 X00370068 X00370069 X00370070 X00370071 00370072 X00370073 X00370074 X00370075 X00370076 X00370077 X00370078 X00370079 00370080 X00370081 X00370082 X00370083 X00370084 X00370085 X00370086 X00370087 X00370088 X00370089 X00370090 X00370091 X00370092 X00370093 X00370094 X00370095 X00370096 X00370097 X00370098 X00370099 X00370100 X00370101 X00370102 X00370103 X00370104 00370105
26
X00370106 X00370107 X00370108 X00370109 X00370110 00370111 DSN6GRP X00370112 X00370113 X00370114 X00370115 00370116 END 01370000 //********************************************************************* 01380000 //* LINK EDIT THE NEW DSNZPARM MEMBER. PUT LOAD MODULE IN SDSNEXIT. * 01390000 //********************************************************************* 01400000 //DSNTIZL EXEC PGM=IEWL,PARM='LIST,XREF,LET,RENT', 01410000 // COND=(4,LT) 01420000 //ADSNLOAD DD DISP=SHR, 01430000 // DSN=DB2V510.SDSNLOAD 01440000 // DD DISP=SHR, 01450000 // DSN=DB2V510.ADSNLOAD 01460000 //SYSPUNCH DD DSN=&&LOADSET(DSNTILMD),DISP=(OLD,DELETE) 01470000 //SYSLMOD DD DISP=SHR, 01480000 // DSN=DB2V510.SDSNEXIT.SC55 01490000 //SYSPRINT DD SYSOUT=* 01500000 //SYSUDUMP DD SYSOUT=* 01510000 //SYSUT1 DD UNIT=SYSALLDA,SPACE=(1024,(50,50)) 01520000 //SYSLIN DD * 01530000 INCLUDE SYSPUNCH(DSNTILMD) 01540000 INCLUDE ADSNLOAD(DSNZPARM) 01550000 ORDER DSNAA 01560000 INCLUDE ADSNLOAD(DSNAA) 01570000 INCLUDE ADSNLOAD(DSNFSYSP) 01580000 INCLUDE ADSNLOAD(DSNJARVP) 01590000 INCLUDE ADSNLOAD(DSNJLOGP) 01600000 INCLUDE ADSNLOAD(DSNTSPRM) 01610000 INCLUDE ADSNLOAD(DSNVDIR1) 01620000 INCLUDE ADSNLOAD(DSNZMSTR) 01630000 INCLUDE ADSNLOAD(DSN3DIR1) 01640000 INCLUDE ADSNLOAD(DSN7GRP) 01650000 ENTRY DSNZMSTR 01660000 NAME DSNZDB2D(R) 01670000 //* 01680000 //* CHANGE LOG INVENTORY: 01690000 //* UPDATE BSDS WITH PASSWORDS, 01700000 //* UPDATE BSDS WITH DISTRIBUTED VALUES 01710000 //* 01720000 //DSNTLOG EXEC PGM=DSNJU003,COND=(4,LT) 01730000 //STEPLIB DD DISP=SHR,DSN=DB2V510.SDSNLOAD 01740000 //SYSUT1 DD DISP=OLD,DSN=DB2V510D.BSDS01 01750000 //SYSUT2 DD DISP=OLD,DSN=DB2V510D.BSDS02 01760000 //SYSPRINT DD SYSOUT=* 01770000 //SYSUDUMP DD SYSOUT=* 01780000 //SYSIN DD * 01790000 DDF LOCATION=DB2D,LUNAME=SCPDB2D, 01790001 NOPASSWD,RESPORT=33305,PORT=33304 01790002 //* 02630000
Figure 6 (Part 4 of 6). DB2 Parameters Used
DSN6FAC
DDF=AUTO, CMTSTAT=ACTIVE, IDTHTOIN=0, RESYNC=2, RLFERRD=NOLIMIT, TCPALVER=NO DSHARE=NO, GRPNAME=DSNCAT, MEMBNAME=DB2D, COORDNTR=NO, ASSIST=NO
27
//********************************************************************* 02640000 //* ASSEMBLE AND LINK EDIT DATA-ONLY LOAD MODULE DSNHDECP. 02650000 //* THE FOLLOWING STEPS ARE NEEDED ONLY IF THE 02660000 //* VALUES ARE CHANGED FROM THOSE WHICH ARE SHIPPED. 02670000 //********************************************************************* 02680000 //DSNTIZP EXEC PGM=ASMA90,PARM='OBJECT,NODECK',COND=(4,LT) 02690000 //SYSLIB DD DISP=SHR, 02700000 // DSN=DB2V510.SDSNMACS 02710000 //SYSLIN DD DSN=&&LOADSET(DSNHDECA),DISP=(NEW,PASS),UNIT=SYSALLDA, 02720000 // SPACE=(80,(50,50,2)),DCB=(BLKSIZE=80) 02730000 //SYSPRINT DD SYSOUT=* 02740000 //SYSUDUMP DD SYSOUT=* 02750000 //SYSUT1 DD UNIT=SYSALLDA,SPACE=(800,(50,50),,,ROUND) 02760000 //SYSUT2 DD UNIT=SYSALLDA,SPACE=(800,(50,50),,,ROUND) 02770000 //SYSUT3 DD UNIT=SYSALLDA,SPACE=(800,(50,50),,,ROUND) 02780000 //SYSIN DD * 02790000 DSNHDECM CHARSET=ALPHANUM, X02790001 ASCCSID=819, changed for BaanERP from 2 X02790002 AMCCSID=65534, X02790003 AGCCSID=65534, X02790004 SCCSID=37, changed for BaanERP from 1 X02790005 MCCSID=65534, X02790006 GCCSID=65534, X02790007 ENSCHEME=ASCII, changed for BaanERP from EBCDIC X02790008 DATE=ISO, You must have this for BaanERP X02790009 DATELEN=0, X02790010 DECARTH=DEC15, X02790011 DECIMAL=PERIOD, X02790012 DEFLANG=IBMCOB, X02790013 DELIM=DEFAULT, X02790014 MIXED=NO, X02790015 SQLDELI=DEFAULT, X02790016 DSQLDELI=APOST, X02790017 SSID=DB2D, X02790018 STDSQL=NO, X02790019 TIME=ISO, X02790020 TIMELEN=0 02790021 END 02970000 //* 02980000
Figure 6 (Part 5 of 6). DB2 Parameters Used
28
//********************************************************************* //* LINK EDIT DSNHDECP. * //* DSNHDECP IS A DATA-ONLY LOAD MODULE CONTAINING DEFAULT VALUES * //* REQUIRED BY DB2 AND APPLICATION PROGRAMS. * //* THIS STEP IS CREATED ONLY WHEN THE DEFAULTS SUPPLIED IN * //* DSNHDECP ARE NOT SUITABLE. * //********************************************************************* //DSNTIZQ EXEC PGM=IEWL,PARM='LIST,XREF,LET,RENT', // COND=(4,LT) //ADSNLOAD DD DISP=SHR, // DSN=DB2V510.SDSNEXIT // DD DISP=SHR, // DSN=DB2V510.ADSNLOAD //SYSPUNCH DD DSN=&&LOADSET(DSNHDECA),DISP=(OLD,DELETE) //SYSLMOD DD DISP=SHR, // DSN=DB2V510.SDSNEXIT.SC55 //SYSPRINT DD SYSOUT=* //SYSUDUMP DD SYSOUT=* //SYSUT1 DD UNIT=SYSALLDA,SPACE=(1024,(50,50)) //SYSLIN DD * INCLUDE SYSPUNCH(DSNHDECA) ORDER DSNAA INCLUDE ADSNLOAD(DSNAA) INCLUDE ADSNLOAD(DSNARIB) INCLUDE ADSNLOAD(DSNHDECP) ENTRY DSNHDECP MODE AMODE(24),RMODE(24) NAME DSNHDECP(R)
Figure 6 (Part 6 of 6). DB2 Parameters Used
02990000 03000000 03010000 03020000 03030000 03040000 03050000 03060000 03070000 03080000 03090000 03100000 03110000 03120000 03130000 03140000 03150000 03160000 03170000 03180000 03190000 03200000 03210000 03220000 03230000 03240000 03250000 03260000
The BaanERP load process will produce many archive logs as each SQL insert causes the image of the row to be logged. Ensure there are procedures in place to handle the heavy logging of data during the installation.
29
//BAANDB2 JOB (999,POK),'BAAN INSTALL',NOTIFY=&SYSUID, 00010023 //*********************************************************************/ //* NAME = BAANDDL */ //* */ //* DESCRIPTIVE NAME = SAMPLE DDL TO CREATE DATABASES & TABLESPACES */ //* FOR BAAN IV INSTALLATION */ //* */ //* STATUS = VERSION 1 */ //* */ //* FUNCTION = THIS JCL PERFORMS THE NECESSARY DDL TO BUILD THE */ //* BAAN IV DB2 DATABASE. THE FOLLOWING DDL MATCHES THE */ //* SETUP SUPPLIED IN THE $BSE/lib/db2/db2_storage FILE. */ //* */ //* ANY CHANGES TO STOGROUP, DATABASE AND/OR TABLESPACE */ //* NAMES REQUIRES THE CORRESPONDING CHANGE IN THE */ //* $BSE/lib/db2/db2_storage FILE. */ //* */ //* YOU MUST UPDATE THE hlq IN THE JOBLIB. */ //* */ //* CHANGE ACTIVITY = */ //*********************************************************************/ //JOBLIB DD DSN=DB2V510D.RUNLOAD,DISP=SHR // DD DSN=DB2V510.SDSNLOAD,DISP=SHR //CREATDDL EXEC PGM=IKJEFT01,DYNAMNBR=20 //SYSPRINT DD SYSOUT=* //SYSTSPRT DD SYSOUT=* //SYSOUT DD SYSOUT=* //SYSTSIN DD * DSN S(DB2D) RUN PROG(DSNTIAD) PLAN(DSNTIA51) END //SYSIN DD * DROP DATABASE BERP000; DROP STOGROUP BERPGRP; COMMIT; CREATE STOGROUP BERPGRP VOLUMES (BAAPK5,BAAPK6,BAAPK7) VCAT DB2V510D; COMMIT; CREATE DATABASE BERP000 STOGROUP BERPGRP BUFFERPOOL BP2; COMMIT; CREATE TABLESPACE TS000 IN BERP000 BUFFERPOOL BP4 USING STOGROUP BERPGRP PRIQTY 1440000 SECQTY 144000 LOCKSIZE ROW SEGSIZE 32 CLOSE NO;
Figure 7 (Part 1 of 2). JCL to Create Tablespaces with Company 000, Detailed Setup
30
DBADM ON DATABASE BERP000 DBADM ON DATABASE BERP000 USE OF STOGROUP BERPGRP USE OF STOGROUP BERPGRP
TO TO TO TO
BSPGRP WITH GRANT OPTION; BSP WITH GRANT OPTION; BSPGRP; BSP;
The following shows db2_groups. The group name db2berp becomes the owner ID or create ID.
db2berp:qZ.m7rcL}G3WW"t6L{79r$,<[email protected]
The following shows db2_users; these unintelligible character strings are encrypted passwords that are not used for OS/390, but are used in the UNIX implementation. These files are the same as used in the UNIX implementation.
31
*:*:I::01::STOGROUP BERPGRP PRIQTY 64 SECQTY 960 BUFFERPOOL BP3 *:*:T:group:01:5: ARR_SIZE 1 OPT_ROWS 5 T_SPACE BERP000.TS000 .
Figure 8. Simple db2_storage File
32
cp /usr/lpp/cmx/samples/cmx.conf /etc/cmx/cmx.conf
We used the vi editor from a Telnet screen to customize the Connection Manager, as shown in Figure 9. These entries must match the entries in DNSZPARM and DNSDECHP parameters. See Figure 6 on page 24 for our DB2 parameter files.
// Connection Manager Resources [NAMES] DB2SubSystem=DB2D DB2PlanName=CMXPLNE DB2Attach=CAF [CCSID] DB2ccsid=819 [TRACE] Trace=0 TraceWrap=0 TraceUser=ALL [ERROR] DB2ErrorLog=1
Figure 9. Customizing the Connection Manager
33
Note: You should run the installation process with the entry for D2ErrorLog=0. This is to prevent you from creating a large file of messages about unique indexes that may be ignored and that do not affect the installation process. You could have two customization files, or your could change the file after you have completed the installation. There are two DB2Attach options: CAF or RRS. To use RRS, see the information in UNIX System Services Connection Scaling Reference, SA22-7305.
//BIND JOB (999,POK),'BAAN INSTALL',NOTIFY=&SYSUID, // CLASS=A,MSGCLASS=T,TIME=1439, // REGION=5000K,MSGLEVEL=(1,1) //DBBIND EXEC PGM=IKJEFT01 //STEPLIB DD DISP=SHR,DSN=DB2V510D.RUNLIB.LOAD // DD DISP=SHR,DSN=DB2V510.SDSNLOAD //SYSPRINT DD SYSOUT=* //SYSTSPRT DD SYSOUT=* //SYSTSIN DD * DSN SYSTEM(DB2D) BIND PLAN(CMXPLNE) MEMBER(CMXSQ1,CMXSQ2,CMXSQT) LIBRARY('CMX.SCMXDBRM') ACTION(REPLACE) ISOLATION(UR) DYNAMICRULES(RUN) ACQUIRE(USE) RELEASE(COMMIT) CURRENTDATA(NO) KEEPDYNAMIC(YES) RUN PROG(DSNTIAD) PLAN(DSNTIA51) END /* //SYSIN DD * GRANT EXECUTE ON PLAN CMXPLNE TO PUBLIC; COMMIT; /* //
Figure 10. JCL to BIND the Plan
34
During the installation of the OS/390 UNIX System Services Connection Scaling Kit, the following strings should have been added to /etc/profile: Variable Value to be included
Note: C and N must be capitalized. Sometimes these may be shown as % L where the variable L has the value of C in the profile. If these values are not set, you need to set them at this time by modifying the profile in the /etc directory. To verify the setting, issue the following commands:
3. Find the line: export _C89_LIBDIRS= "/lib /usr/lib ", then add /usr/lpp/cmx/lib to it so it reads: export _C89_LIBDIRS= "/lib /usr/lib /usr/lpp/cmx/lib " Note: The separators between the library directories (/lib, /usr/lib, and /usr/lpp/cmx/lib) are space characters. Again, this change is seen systemwide, so you need to check with the installation systems programmer first before modifying the profile.
35
36
BaanERP - Installation Guide for BaanERP on OS/390 UNIX System Services BaanERP - DB2 Installation Guide for BaanERP
Verify that DB2 is up and running before you start these steps. If you have to restart the installation, review the instructions in G.2.2, Restarting install6.2 from the Beginning on page 144.
37
Installation Library File system name Primary Cylinders Secondary cylinders Storage Class Management Class Data Class Production Library File system name Primary Cylinders Secondary cylinders Storage Class Management Class Data Class Storage Library File system name Primary Cylinders Secondary cylinders Storage Class Management Class Data Class
BAANERP.APPL.BSE 2700 0 SCBAAN Standard DCPDSE BAANERP.CDROM 1000 500 SCCOMP Standard DCPDSE
Note: The storage class, management class and data class are the ones we set up for our system. Check with your OS/390 systems programmer for the proper storage class, management class, and data class to use.
To put this session into OS/390 UNIX System Services, again logon as ROOT, select option 6, and type omvs. Then create directories for the mount points, using the following commands:
38
5.2.1.1 Creating the Directory for the Installation Mount Point cd / mkdir baanerpinstall 5.2.1.2 Creating the Directory for the Production Mount Point cd / mkdir baanerp 5.2.1.3 Creating the Directory for the Storage Mount Point cd / mkdir baanerpcdrom
At this point, issue the exit command at the prompt and press Enter.
39
ftp 9.12.14.207
User:
ROOT
Password: (use the RACF password for ROOT)
xxxx
At the FTP prompt, enter:
bin
This tells the FTP to send the file in binary mode:
40
cd /baanerpcdrom
This sets the TARGET directory (that is,the HFS directory the files from the CD-ROM are stored into):
41
echo $_CEE_RUNOPTS
Note: The HEAP value of 24M in the _CEE_RUNOPTS was used for our installation without any problems. If the HEAP value is not set correctly, the install6.2 script will abort the installation due to shared memory problems. Various problems arose during our execution of the install6.2 script (could not find modules) which were corrected by setting the values of $PATH and $LIBPATH to contain new directory entries. Before running the install6.2 script, the following commands were used:
Check that at this point that BSE and BSE_TMP are not set. To verify all variables are set correctly, enter the following command:
env
Following is our list of environment variables before we ran install6.2:
42
root @ SC55:/>env _CXX_LIBDIRS=/lib /usr/lib /usr/lpp/cmx/lib MAIL=/usr/mail/root HOSTNAME=SC55 PATH=/bin:/usr/lpp/tcpip/sbin:/usr/lpp/tcpip/bin:.:/usr/lpp/bpa/bin:/usr/lpp /cmx/bin:/baanerp/bse/bin _CXX_INCDIRS=/usr/include /usr/lpp/cmx/include /usr/lpp/bpa/include SHELL=/bin/sh _CC_LIBDIRS=/lib /usr/lib /usr/lpp/cmx/lib _CC_INCDIRS=/usr/include /usr/lpp/cmx/include /usr/lpp/bpa/include PS1=$LOGNAME @ $HOSTNAME:$PWD> _CEE_RUNOPTS=$_CEE_RUNOPTS' HEAP(24M)',STACK(131072,131072,ANYWHERE,KEEP), ALL31(ON),TERMTHDACT(USDUMP)' _=/bin/env _BPXK_SETIBMOPT_TRANSPORT=TCPIPOE LOGNAME=root STEPLIB=none LANG=C LIBPATH=/lib:/usr/lib:.:/usr/lpp/bpa/lib:/baanerpinstall/install/bse/bin :/baanerp/bse/bin _C89_LIBDIRS=/lib /usr/lib /usr/lpp/cmx/lib TERM=vt100 _BPX_SHAREAS=YES _BPX_SPAWN_SCRIPT=YES DB2_MVS_SYNTAX=1 _C89_INCDIRS=/usr/include /usr/lpp/cmx/include /usr/lpp/bpa/include HOME=/ TZ=EST5EDT MANPATH=/usr/man/%L NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lpp/bpa/nls/msg/C/%N: /usr/lpp/cmx/nls/msg/C/%N CMX_THREAD_WAIT=0
cd /baanerpinstall
Then again check the environment variables TERM, _CEE_RUNOPTS, PATH, and LIBPATH. Issue the env command to check the environment settings.
43
. ./install6.2
Note: There is a blank between the two periods. At this point the script will ask you many questions; 5.5.1, Answering the Questions in the install6.2 Script describes the questions and our responses.
Installation Program Select file system to install the BSE directory on Please enter the full pathname:/baanerp/bse
Note: If you do not get to this point successfully the first time because of setup problems, remove the files in baanerpinstall and re-issue the pax commands to start over.
Installation Program Select file system to install the BSE directory on Please enter the full pathname:/baanerp/bse The environment variable 'BSE_TMP' has been set to $BSE/tmp ok? Yes Directory not present, create ? Yes Continue? Yes Press <ctrl Z> to display file system
The default that is displayed first is /usr/bse. Change this to the BSE path you plan to use; in our case, it is /baanerp/bse.
44
Note: The message Press <ctrl Z> to display file system at the bottom of the screen does not work in OS/390 at this time. The create directory message displays at the bottom of the screen if you have not already created this directory. 4. Path names (This is shown in three screens.)
THIS IS A FIRST INSTALLATION BSE variables set to: BSE=/baanerp/bse BSE_TMP=/baanerp/bse/tmp PATH=$BSE/bin:$PATH Write BSE variables to /etc/profile ? No Write BSE variable to profiles of user ? No Continue? Yes
At this point, you should answer no or else ASCII information will be added to existing EBCDIC profile files. 5. Host name
Enter 'hosts' for which license is required (e.g. sys1,sys2, etc) Hosts: wtsc55oe Continue? Yes (example)
The host name should be the same as the one in the /etc/resolv.conf and /etc/host files. Note: We found that we had to ensure that the hostname was in lowercase in all files including the file $BSE/lib/licence6.2 after the installation. 6. Database driver
Present database drivers: 1 db2 2 db2400 Which database driver do you want to use for: Company 000 1
Enter the value of environment variable DB2INSTANCE (your SSID) Give instance: DB2D
You are asked the same question for each company. We have not showed each screen. After answering the question several times, the following screen is displayed.
45
Selected drivers: Comp 000 813 900 Driver db2(DB2INSTANCE=DB2D) db2(DB2INSTANCE=DB2D) db2(DB2INSTANCE=DB2D)
Continue? Yes
Select file system to install the DICTIONARY table definition Please enter the full pathname:/baanerp/dict Press <Ctrl> Z to display filesystem Directory not present, create Yes
Again the message Press <Ctrl Z> does not work for OS/390. 8. Operational table and dump table paths These questions are repeated for tables and dumps.
Select file system to install the DICTIONARY table definitions Please enter the full pathname:/baanerp/dict Select file system to install the dumps of the demo tables Please enter the full pathname:/baanerp/test Directory not present, create Yes
Continue? Yes
We were asked to confirm (answer Yes) that we wanted to create each of these directories. Note: These files are not in the $BSE path. This is to make it easier to move these to a different file system later if required. 9. Choice of vrc
46
Release b b
Customer stnd
Continue? Yes
This question will show the highest version that is available. You should check with the Baan Consultant to decide what version you should choose. We were told to choose the highest version VRC for the version you are installing. In this case, the version number is u and the release number is 2. This question was repeated for packages cf, ci, cp, dc, ec, ed, qm, tc, td, tf, tg, ti, tp, ts, tu, and wh. 10. Package combination After answering this question for all packages you will have the list of packages that will be installed, as shown in Figure 15 on page 48.
47
Give package combination to create Package Combination : b50b Description : BaanERP_B50b Following package(s) will be installed: ttB50_b_____Tools_B50_b bcB50_b_____Conversion bcB50Ub_stndConversion cfB50_b_____Configurator cfB50Ub_stndConfigurator ciB50_b_____Central_Invoicing ciB50Ub_stndInvoicing cpB50_b_____Constraint_Planning cpB50Ub_stndConstr._Planning dcB50_b_____Development_Control dcB50Ub_stndDev.Contrl ecB50_b_____Electr._Commerce ecB50Ub_stndElec._Commerce edB50_b_____Enterprise_Mod.Data edB50Ub_stndDEM_data qmB50_b_____Quality_Management qmB50Ub_stndQuality tcB50_b_____Common tcB50Ub_stndCommon tdB50_b_____Distribution tdB50Ub_stndDistribution tfB50_b_____Finance tfB50Ub_stndFinance tgB50_b_____Orgware tgB50Ub_stndOrgware tiB50_b_____Manufacturing tiB50Ub_stndManufacturing tpB50_b_____Project tpB50Ub_stndProject tsB50_b_____Service tsB50Ub_stndService tuB50_b_____Utilities tuB50Ub_stndUtilities whB50_b_____Warehousing WhB50Ub_stndWarehousing Continue? Yes
Do you want to run multiple bshells to speed up the installation? No (You MUST say NO for S/390) Continue? Yes
Note: This is not supported on S/390. 12. Choice for Multi Byte:
48
Are you ready for installation? Yes Installation started... Moving files...
This change takes several minutes. The yes may be displayed in only two characters, first ye and then es. Press Enter to continue. 14. Ready to set up DB2 files:
Initialize your db2 parameters by using db2_install6.2. Initializing for environment variables: DB2INSTANCE=DB2D After initializing type 'exit' to return. Go to shell? Yes
15. Answering the go to shell question: At this point you can answer yes to go to the shell to execute the db2_install6.2 script or you can start another telnet session to execute the db2_install6.2 script to set up DB2 files, as described in Appendix D, Executing the db2_install6.2 Script on page 121. If you go to another session, you must reset BSE and BSE_TMP. Before proceeding, we used JCL to do the following: Create a STOGROUP, database and tablespace for Company 000 Grant access to all three We were advised not just to copy our Baan db2 files from BaanIVc in case the format had changed, so we used the the db2_install.2 to create the db2_user, db2_group and db2_storage files.
49
The script db2_install6.2 is designed to assist you in creation of the DB2 environment to: Perform DB2 system administration tasks such as: Create the DB2 databases Create tablespaces in the database Grant dbadm authority to the user IDs We did not use these features. Create the control files required by Baan to load the data for Company 000 and the Demo companies db2_group db2_users db2_storage We used the script to create these three files. The following screens show the questions and answers we used to create the db2_(files). We took the defaults whenever we could. Attention Be patient in replying to the questions, as generally the script will provide a default answer after a few seconds. Also, do not type Yes and then press Enter as the enter will be taken as the answer to the following question. Instead, just type Y or N.
Before invoking this script, a DB2 subsystem must have been defined This script will do following things for the DB2 subsystem. Create storage group and grant privileges to use the storage group. Create database and grant privileges on database. Create tablespace and grant privileges to use the tablespace Create group and user files. Add initial group to group file. Add users root, bsp, ROOT, and BSP to group. Create storage file. Add default entries for table & index to storage file. Check db2_inst.log in the current directory for any error Read Installation Document Carefully regarding specification of DB2 for OS/390. O.K to continue ? Y
Note:
50
Environment Variables *** db2_install6.2 Started *** - HOST - LOGNAME - BSE Press any key . wtsc55oe root /baanerp/bse
Note: If you have not installed the hostname command as described in Appendix C, The hostname Command on page 119, you will get the following error message but it will not cause any problem:
51
Group File Creation Initial Group : db2berp Group Password : db2berp Is above data correct (Y/N) ? Y Add group db2berp (Y/N) ? Y Adding group db2berp Group added. Press any key .
User File Creation Add users "root", "bsp", "ROOT", "BSP" (Y /N) ? Y
52
User File Creation dd Baan user root to Group db2berp (Y/N) ? Y DB User : root
Adding user root to group db2berp User added to group. Press any key
This is repeated four times, once for each user: bsp, BSP, root, and ROOT.
Do you want to specify Company Data ? Y Update Index Parameters Company: * Table spec: *
Current Index parameters: STOGROUP BERPGRP PRIQTY 12 SECQTY 960 BUFFERPOOL BP0 Do you wish to modify ? N '/baanerp/bse/lib/db2/db2_storage' updated successful Company: * , Table: *
53
This is db2_storage:
*:*:I::01::STOGROUP BERPGRP PRIQTY 12 SECQTY 960 BUFFERPOOL BP0 *:*:T:group:01:5: ARR_SIZE 1 OPT_ROWS 5 T_SPACE BERP000.TS000 . .
This is db2_groups:
db2berp:qZ.m7rcL}G3WW"t6L{79r$,<[email protected]
This is db2_users:
Starting Bshell Just before the load starts,you will get the following messages:
54
Stop shared memory for temporary environment... Running rc.start for BSE environment
BUFSZ 4194304, MAXATTCH 30, START 0x18000000, STEP 0x400000 Start /baanerp/bse/bin/shmtimer6.2: Starting successful
Continuing with the BW Client Check that the profile for root reflects the correct values. The following screen will ask you to go to the BW Client:
Installation interrupted: Fri Apr 23 08:53:53 EDT 1999 You can use BI or BW to continue the installation When using BI: ------------------------------------------------------------------------------ install BI on your HTTP server - copy the HTML page '/baanerpinstall/install.html' to the BI subdirectory 'client' - start your internet browser and select page 'install.html' -----------------------------------------------------------------------------When using BW: ------------------------------------------------------------------------------ install BW on your workstation (from /baanerp/bse/mswindows) - start BW using the following configuration: Hostname: wtsc55oe Connect As: root BSE: /baanerp/bse Bshell name: bshell.inst Command: -- ottiex1287 /baanerpinstall -----------------------------------------------------------------------------When BI or BW has finished executing, you can continue this installation Continue? (y/n):
Change a field in uROOT file. Edit the file $BSE/lib/user/uROOT and change the field from
pacc:Install to pacc:b50b.
We found it was easier to edit these files by using the ish menus rather than using the vi editor.
55
56
57
58
Messages during the Load Phase: In our system, after one hour and a half we had the following message:
As instructed in the release notes, we pressed OK and received the following message:
59
You can monitor the process of the load phase by checking the entries in the file /baanerp/bse/log/log.oiex1288. There are 32 programs to run that start with ln.00xx. If you find that the load is going very slowly, check to make sure you have used the OPT_ROWS 5 option for the tables in the db2_storage file. If you have to log off the ROOT user ID and restart the install6.2 script, you must execute the following steps: 1. export BSE=/baanerp/bse. 2. export BSE_TMP=/baanerp/bse/tmp. 3. export DB_AS=bshell.inst. 4. Change the pacc option in the uROOT file from install to b50b.
60
The number of CPs allocated to your LPAR At this point, return to the ASCII window and reply yes. The install6.2 script will finish.
Installation interrupted: Fri Apr 23 08:53:53 EDT 1999 You can use BI or BW to continue the installation When using BI: ------------------------------------------------------------------------- install BI on your HTTP server - copy the HTML page '/baanerpinstall/install.html' to the BI subdirectory 'client' - start your internet browser and select page 'install.html' ------------------------------------------------------------------------When using BW: ------------------------------------------------------------------------- install BW on your workstation (from /baanerp/bse/mswindows) - start BW using the following configuration: Hostname: wtsc55oe Connect As: root BSE: /baanerp/bse Bshell name: bshell.inst Command: -- ottiex1287 /baanerpinstall ------------------------------------------------------------------------When BI or BW has finished executing, you can continue this installation Continue? (y/n): Yes
After entering Yes, you will get the following messages:
Installation continued: Tue May 4 08:49:42 EDT 1999 pdaemon6.2: Lpcmd /baanerp/bse/bin/lp6.2 changed to mode 0755 pdaemon6.2: /baanerp/bse/bin/pdaemon6.2 started. Installation Completed
At this point you are ready to load the demo database. The steps are: 1. First make a backup copy of the DB2 database. 2. Set up the profile for bsp. 3. Logon to Baan using the BW Client and user ID bsp. 4. Load the demo companies. 5. Run RUNSTATS on Company 000. You can log off from ROOT and logon on to the bsp user ID as long as you have set up the correct profile for bsp as described in 5.6, Setting Up the Profile for bsp User ID on page 62.
61
_CXX_LIBDIRS=/lib /usr/lib /usr/lpp/cmx/lib MAIL=/usr/mail/bsp HOSTNAME=SC55 PATH=/bin:/usr/lpp/tcpip/sbin:/usr/lpp/tcpip/bin:.:/usr/lpp/bpa/bin:/usr/lpp/cmx /bin _CXX_INCDIRS=/usr/include /usr/lpp/cmx/include SHELL=/bin/sh _CC_LIBDIRS=/lib /usr/lib /usr/lpp/cmx/lib _CC_INCDIRS=/usr/include /usr/lpp/cmx/include PS1=$LOGNAME @ $HOSTNAME:$PWD> _CEE_RUNOPTS=HEAP(24M) AL(ON) ENVAR("_BPXK_SETIBMOPT_TRANSPORT=TCPIPOE") POS(ON) _=/bin/env _BPXK_SETIBMOPT_TRANSPORT=TCPIPOE LOGNAME=bsp STEPLIB=none LANG=C LIBPATH=/lib:/usr/lib:.:/usr/lpp/bpa/lib _C89_LIBDIRS=/lib /usr/lib /usr/lpp/cmx/lib TERM=vt100 _BPX_SHAREAS=YES _C89_INCDIRS=/usr/include /usr/lpp/cmx/include HOME=/baanerp/bse TZ=EST5EDT MANPATH=/usr/man/%L NLSPATH=/usr/lib/nls/msg/C/%N:/usr/lpp/bpa/nls/msg/C/%N export _CEE_RUNOPTS="HEAP(24M,1M,ANYWHERE,KEEP),STACK(131072,131072,ANYWHERE, KEEP),ALL31(ON),LIBSTACK(8),TERMTHDACT(UADUMP)" export TERM=vt100 export DB2_MVS_SYNTAX=1 export _BPX_SHAREAS=YES export _BPX_SPAWN_SCRIPT=YES export export export export PATH=$PATH:/baanerp/bse/bin LIBPATH=$LIBPATH:/baanerp/bse/bin BSE=/baanerp/bse BSE_TMP=$BSE/tmp
62
root @ SC55:/baanerp/bse/etc>rc.start Initializing... Initialize Shared Memory Shared Memory still running Initializing Licence Daemon... Initialize Printer Daemon Printer Daemon Initialized
63
64
We used the BW and BI Clients for our installation. The setup for the BW Client is described in Chapter 7, Install the bi Client and Set Up the Webserver on S/390 on page 71.
The steps to follow are: 1. FTP the code to the Baan client (a PC running Windows 95). 2. Store the file in a directory, for example c:\baanbw. 3. Issue the command setup to explode the file into 12 files. 4. In this directory, issue the setup command. When the client code is successfully installed, a message appears to say the bw software installation is complete, as shown in Figure 29 on page 66. Next, follow the steps in 6.2, Configuring the Baan Client on page 67.
65
ftp://support.baan.com/updates/B50/bw50/
2. Select the latest appropriate version; we chose: bw5intel113 3. Store the file in a directory, for example c:\baanbw. 4. Execute this (self-exploding) file. 5. Issue the setup command (created in step 4). This will create the Baan Environment and Configuration Selector window, as shown in Figure 30 on page 67. Next, follow the steps in 6.2, Configuring the Baan Client on page 67. A window is opened to display the Baan Configuration Screen: Figure 30 on page 67.
66
To configure the connection from the client to the S/390, follow the steps in 6.2, Configuring the Baan Client.
67
6. Input the password: xxxxxx 7. Input the BSE: /baanerp/bse 8. Choose Save. 9. Choose Close to close the configuration.
Now click the Baan application icon to access the Baan applications, or click RUN. This takes a few moments. If this step is not successful, you should check the following: Telnet for OMVS is running (the INETD process). The user IDs are in RACF. Try the user ID in uppercase. The permissions of the /baanerp files are bsp:bsp. After selecting Run!, the following screen will appear for about 10 seconds:
68
After this, the Baan Application screen appears; refer to Figure 33.
69
To navigate through the Baan file folders: Double-click down through the file folders until you get to the application you want to execute. Double-click on the executable icon. Note: Users have to be created in Baan in lowercase for BaanERP.
70
______________ ___________________________________________________ | | | Web Server . BI HTTP Server . Baan Application | | Browser | | . . | | |____| listening . listening . | | SDKAFC10 code| | on port 80 . on port 1180 . | | | | . . | | | | . rexec logon to .-----> bshell | |______________| |___________________________________________________| Client S/390 UNIX System Services
71
Change the name of the bi.html file to bi.html.ascii. Choose port numbers (our Webserver was listening on 9.12.2.10:80 and our BI HTTP server was listening on 9.12.2.10:1180). Edit bi.html.ascii to point to the Baan bshell. Move files to the /web/baan/pub directory. Note: The Baan applet is signed, so it will work in this configuration.
7.2.1 Profile
In our case, we created a user ID BAANWEB to install the Baan BI HTTP server. Following are the entries we added to the .profile in the home directory /u/baanweb.
# ==================================================== # Java section # ==================================================== export PATH=/usr/lpp/java/J1.1/bin:$PATH:. export CLASSPATH=/usr/lpp/java/J1.1/lib/classes.zip:. export LIBPATH=/usr/lpp/java/J1.1/lib/mvs/native_threads::$LIBPATH # ==================================================== # Java servlet support # ==================================================== export JAVA_HOME=/usr/lpp/java/J1.1 # umask 022 # End of Java section # ==================================================== # ==================================================== # Your personal settings # ==================================================== export CLASSPATH=/u/baanweb:$CLASSPATH # ==================================================== echo PATH : $PATH echo LIBPATH : $LIBPATH echo CLASSPATH : $CLASSPATH echo LD_LIBRARY_PATH: $LD_LIBRARY_PATH echo STEPLIB : $STEPLIB # ====================================================
export DISPLAY=9.12.14.80:0
Note: To obtain the IP address of our workstation, we first issued the command netstat -a to get the host name (which was syslab02), and then
72
we issued the command ping syslab02, which gave us the IP address (in our case 9.12.14.80). Start Java. Check that Java is installed on your system and then start Java by issuing the following commands:
cd /usr/lpp/java/J1.1/bin BAANWEB:/u/baanweb: >java -fullversion (or ./.java -fullversion) java -fullversion "JDK 1.1.6 IBM build m116-19981201 R04 (JIT enabled: ji
cd /u/baanweb
Note: Ensure that /u/baanweb is part of the Classpath or you will get the message: Can't find class bisetup. You should not get the message if you have the following statement in your .profile: export CLASSPATH=$CLASSPATH:/u/baanweb Check that you have an XWindows session running, then issue the following command to set up the BI Server:
BAANWEB:/u/baanweb: >java bisetup
Initially we did not have the XWindows interface, so we received these messages:
InstallShield JavaTM Edition Extracting installation code...............................done Sorry, could not extract this archive java.lang.InternalError: Can't connect to X11 window server using ':0.0' value of the DISPLAY variable. at sun.awt.motif.MToolkit.<init>(Compiled Code) at java.awt.Toolkit.getDefaultToolkit(Compiled Code) at java.awt.Font.initializeFont(Compiled Code) at java.awt.Font.<init>(Compiled Code) at installshield.jshield.runtime.InfoContainer.load(Compiled Code at installshield.jshield.runtime.InfoContainer.equals(Compiled Co at bisetup.initiateGUI(Compiled Code) at bisetup.<init>(Compiled Code) at bisetup.main(Compiled Code)
73
After installing and starting the Xwindows interface and reissuing the command java bisetup, the graphical interface will display the following screens as it creates the BI Server. You may have to go to the XWindows window manually to see the screen shown in Figure 34 It will be hidden in another window.
Continue by clicking Next, and you will see the screen shown in Figure 35 on page 75.
74
On this display, enter the path where you want the BI Server to be installed. In our case, it was /u/baanweb, as shown in Figure 36.
75
When you receive this screen, the graphical interface part of the installation is complete. Click Finish to return to the telnet session.
This has put one file (uninstall.class) and three directories (install.idb, client, and server) into /u/baanweb. Customize the html file. Go to the client directory by issuing the command: Attention You need ASCII version of some the files in the client directory. These files are found originally in the $BSE/internet directory. They are converted to EBCDIC as part of the installation process. but need to be in ASCII. You can create an ASCII copy of the Baan files, by issuing the pax command without the conversion options that are shown in 5.3.2, Unpacking Files into Install Directories on page 41. Alternatively, if your bi.html file is in EBCDIC after the installation, and needs to be in ASCII, you can issue the commands: iconv -f IBM-1047 -t ISO8859-1 < b i . h t m l bi.html.ascii > iconv -f IBM-1047 -t ISO8859-1 <bi.help bi.help.ascii > iconv -f IBM-1047 -t ISO8859-1 <bi.graphics32.html graphics32.html.ascii > iconv -f IBM-1047 -t ISO8859-1 <readme.txt readme.txt.ascii > iconv -f IBM-1047 -t ISO8859-1 <BIautomatio.html BIautomation.html.ascii > Edit the bi.html file. Use either the oedit bi.html.ascii command or the viascii bi.html command.
cd /u/baanweb/client
76
Note: Since bi.html is in ASCII, we found it easier to logon through a telnet session and use viascii to edit bi.html. The command viascii can be downloaded from the Web. See Appendix B, The vi Editor and Common UNIX Commands on page 115 for more information. Change the path to /baanerp/bse and the port to 1180. File to save the new config file as bi.html.ascii. Copy the files to the pub directory:
cp cp cp cp cp /u/baanweb/client/bi.html.ascii /web/baan/pub/bi.html.ascii /u/baanweb/client/netscape/bi.jar /web/baan/pub/netscpae/bi.jar /u/baanweb/client/ie4/bi.cab /web/baan/pub/ie4/bi.cab /u/baanweb/client/ie4/grid.cab /web/baan/pub/ie4/grid.cab /u/baanweb/client/ie4/ssl.cab /web/baan/pub/ie4/ssl.cab
77
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <TITLE> Bi Startup Page </TITLE> <style type="text/css"><!-BODY { color: #000; margin-left: 7%; font-family: verdana, helvetica, sans-serif; } SPAN.date { font-size: 0.8em } SPAN.attribution { font-weight: bold } #s1 { color: #DD0); font: 70px Impact, sans-serif; }
#p1 { margin-top: -10px; text-align: left;} #s2 { #p2 { color: green;font: italic 40px Georgia, serif ; } margin-top: -50px; margin-left: 5%; }
--></style> </head> <body bgcolor="#FFFFFF"> <p id="p1"><span id="s1">BI Server</span> </p> <p id="p2"><span id="s2">Enter your configuration here</span> </p> <hr noshade size="2"> <applet code="BiLogon.class" archive="netscape/bi.jar" width="559" height="360"> <PARAM <PARAM <PARAM <PARAM <PARAM <PARAM <PARAM <PARAM <PARAM <PARAM NAME=cabinets VALUE="ie4/bi.cab, ie4/grid.cab,ie4/ssl.cab"> NAME=BSE VALUE=/baanerp/bse> NAME=BSHELL VALUE=bshell> NAME=COMMAND VALUE=""> NAME=SECURITY VALUE=NONE> NAME=HOSTNAME VALUE=""> NAME=PORT VALUE=1180> NAME=CONFIG VALUE=BI> NAME=AUTOMATION VALUE=true> NAME=DEBUG VALUE="-window-connection-messages-events-objects"> </applet> <HR noshade size="2"> </BODY> </HTML>
78
Port 1180 is the port number where the BI Server is listening. This will tie up the telnet session, so you may want to start the BI HTTP Server as a started task as shown in 7.5, Started Procedures on page 80.
Download this file to a directory on your PC (such as c:\msoft). Execute the file SDKAFC10.exe Without this code, the Logon button will not activate.
Check that you have Java 1.1.5 on your browser by searching the top line of the Netscape browser and clicking communicator, then tools and java console.
79
To start the Netscape browser, do the following: At the URL line, enter the following address, where 9.12.2.10 is the IP address of the Webserver and the bi.html.ascii file points to the BI HTTP server:
http://9.12.2.10:80/bi.html.ascii
When prompted by Type Logon, enter a valid Baan user ID such as baan0. When prompted by Type Password, enter the RACF password for baan0. Note: When using Netscape on the client, you will get the following pop-up window message:
The application ottstpoledaemon (pid=1) is using a feature (Automation not available - Must run on MS Windows with MS VM) that is not supported by BI. Application will be killed.
However, the menu browser is then displayed and you can work with the application. Now you should be able to work with the Baan Internet client.
9.12.2.10:80/bi.html.ascii
A Baan user ID and password
//* To start Baan Web Server //BAANWEB EXEC PGM=BPXBATCH,TIME=NOLIMIT,REGION=0M, // PARM='SH /u/baanweb/java -Dfile.encoding=8859_1 BiServer -l x // bi.log -c -t 3 -p 1180 -a wtsc55oe' //STDERR DD PATH='/tmp/baanweb.stderr', // PATHOPTS=(OWRONLY,OCREAT,OTRUNC), // PATHMODE=(SIRWXU) //STDOUT DD PATH='/tmp/baanweb.stdout', // PATHOPTS=(OWRONLY,OCREAT,OTRUNC), // PATHMODE=(SIRWXU)
80
These started tasks must be RACF-authorized and associated with the current user ID.
//WEBBAAN PROC P1='-p 80', // P2='-r /web/baan/httpd.conf', // P3='-B -vv', // LEPARM='ENVAR("_CEE_ENVFILE=/web/baan/httpd.envvars")' //********************************************************************* //* //* LEPARM ==> LE runtime opts //* LEPARM='ENVAR("_CEE_ENVFILE=/etc/httpd.envvars")' //* //* ICSPARM ==> Internet Connection Server parameters //* # Standalone HTTPD //* ICSPARM='-p 8080 -r /etc2/httpd.conf' //* # WLM Queue Manager //* ICSPARM='-SN WEBSN1 -p 8080 -r /etc/httpd.conf' //* # WLM ApplEnv Queue Server //* ICSPARM='-SN WEBSN1 -AE WEBHTML' //* //* Internet Connection Server Parameters: //* -SN # WLM - subsystem name //* -AE # WLM - Application Environment //* -fscp nnn # File system codepage - EBCDIC //* -netcp nnn # net code page - ASCII //* -gc_only # clean cache & exit (garbage collect) //* -normalmode //* -p nnnn # use port nnn (default 80) //* -sslmode //* -sslport nnnn # use port nnn (default 443) //* -nosec # no security //* -nosmf # no smf processing on //* -smf # smf processing on //* -r /etc/httpd.conf # use rule file xxxx //* -restart //* -v # trace to stderr //* -vv # trace all to stderr //* -vc # cache trace to stderr //* -version # show version and exit //* xxxxxxx # ServerRoot xxxxxxx; Pass /* //* //********************************************************************* //WEBSRV EXEC PGM=IMWHTTPD,REGION=0K,TIME=NOLIMIT, // PARM=('&LEPARM/&P1 &P2 &P3') //STEPLIB DD DSN=IMW.SIMWMOD1,DISP=SHR //********************************************************************* //SYSIN DD DUMMY //OUTDSC OUTPUT DEST=* //SYSPRINT DD SYSOUT=* //SYSERR DD SYSOUT=* //STDOUT DD SYSOUT=* //STDERR DD SYSOUT=* //SYSOUT DD SYSOUT=* //CEEDUMP DD SYSOUT=* **************************** Bottom of Data ****************************
81
82
http://www.s390.ibm.com/java
4. Edit /usr/lpp/internet/sbin/setup.sh, and point JAVA_HOME to where you have the JDK installed. For example: JAVA_HOME=${JAVA_HOME:-</usr/lpp/java/J1.1>} 5. Run /usr/lpp/internet/sbin/setup.sh. This will create httpd.conf and httpd.envvars files in the /etc directory. Once the installation tasks for the default HTTP server for OS/390 have been completed and some basic configuration done, you should clone this environment before doing any more customization. We discuss how to clone in 8.2.2.2, Web Content Setup Recommendations on page 87.
83
There are a number of IBM-supplied configuration file samples in the /usr/lpp/internet/samples/config directory: httpd.conf is the main Web server configuration file. httpd.envvars are the Web server environment variable definitions. lgw_fcgi.conf is the fast CGI configuration file. mvsds.conf is the MVS data set (MVSDS) DLL configuration file. ics_pics.conf is the platform for the Internet Connection Selection (PICS) configuration file. javelin.conf is the proxy server or Web Traffic Express configuration file. socks.conf is the Socks clients configuration file. After installation, your server has one authorized user ID that can be used to access the Configuration and Administration forms. By default, the authorized user ID is WEBADM. If you selected a different user ID during HTTP Server for OS/390 installation, you should edit the httpd.conf file and change all occurrences of WEBADM,webadm to the user ID you selected.
84
Protection IMW_Admin { ServerId IMWEBSRV_Administration AuthType Basic PasswdFile %%SAF%% Mask WEBADM,webadm } Protect /admin-bin/* IMW_Admin WEBADM Protect /reports/* IMW_Admin WEBADM Protect /Usage* IMW_Admin WEBADM
Figure 40. Web Server Administration Protection Directives
There is no requirement to change these parameters. Note: If you leave these parameters as they are, you will get the following error message, which can be seen in the httpd.errors log when starting the server:
+0500 SSL support initialization failed, server will run only in non-secure mode without listening on ssl port
85
This message indicates that no setup has been done for SSL. However, the Web server can still be used as a normal non-secure server. You can avoid getting this error by commenting out the directives shown in Figure 41 on page 85. If you want to set up SSL, see Enterprise Web Serving with the Lotus Domino Go Webserver for OS/390, SG24-2074 for more information.
# These are the pass rules for server administration # Pass /icons/* /usr/lpp/internet/server_root/icons/* Pass /Admin/*.jpg /usr/lpp/internet/server_root/Admin/*.jpg Pass /Admin/*.gif /usr/lpp/internet/server_root/Admin/*.gif Pass /Admin/*.html /usr/lpp/internet/server_root/Admin/*.html Pass /Docs/* /usr/lpp/internet/server_root/Docs/* Pass /reports/javelin/* /usr/lpp/internet/server_root/pub/reports/javelin/* Pass /reports/java/* /usr/lpp/internet/server_root/pub/reports/java/* Pass /reports/* /usr/lpp/internet/server_root/pub/reports/* Pass /img-bin/* /usr/lpp/internet/server_root/img-bin/* # *** ADD NEW PASS RULES HERE *** Pass /* /usr/lpp/internet/server_root/pub/*
Figure 42. Standard Web Content Setup Directives
These Exec and Pass statements force the Web server to search for content at particular locations in the HFS. This approach also has the effect of hiding the structure of your file system from users of Web browsers. The following HTML example can be used to show how the Web server resolves the requests. Assume that a Web browser makes a request for the home page of a particular site, (that home page is shown in Figure 43 on page 87).
86
<html> <head> <TITLE>IBM HTTP Server</TITLE> </head> <body bgcolor="#FFFFFF"> <img src="/Admin/lgmast.gif" alt="IBM HTTP Server"> . . <hr> <DL> <DT> <a href="/admin-bin/webexec/cfgstart.html">CONFIGURATION AND ADMINISTRATION FORMS</a> <DD>To set up, configure, and administer the IBM HTTP Server. <br> <font size="-1"><A HREF="tunetips.html"><b>Tune your browser first.</b></A></font> <P> <DT> <A HREF="http://www.ics.raleigh.ibm.com/lotusgowebserver/">LOTUS DOMINO GO WEBSERVER WEB SITE</a> <DD> To find useful information.<P> <DT> <A HREF="http://www.software.ibm.com/webservers/httpservers/doc51.html">INFORMATION TO HELP</A> . . . .
Figure 43. HTML Example - frntpage.html
This HTML file is found by the Web server and is sent to the client. The client browser reads the file and finds the first reference statement in this HTML file (line . . in Figure 43). This causes another GET request to be made to the server. The request would look like this:
Pass /Admin/*.gif
/usr/lpp/internet/server_root/Admin/*.gif
/usr/lpp/internet/server_root/Admin/lgmast.gif
It is important that you understand how this example was mapped by the Web server to actual file system locations. Each request is mapped according to the HTTP rules and to the configuration directives (in a top-to-bottom, first match approach).
/Docs/admin-bin/
87
Used to address server icons for tree views and other purposes. Used for remote administration purposes. Used for the standard documents provided with the Web server. Used for clickable icons. Used to access reports generated by service tasks from the log files. Used to access reports generated by Web Traffic Express. Used to access reports generated by Java.
4. Use a separate HFS data set for your own Web content, mounted at a different mount point than the /usr/lpp/internet/server_root path.
cp /etc/httpd.* /web/baan/
6. Edit the /web/baan/httpd.conf file and change the ServerRoot statement to /web/baan. 7. Change UserID
%%CLIENT%% to UserID
PUBLIC.
This assumes that you are using an OS/390 (RACF) user ID of PUBLIC as your default access user ID. 8. Change the PidFile statement to /web/baan/httpd-pid. 9. Change the logging and reporting statements to the appropriate directories, as shown in Figure 44 on page 89.
88
10. Edit the httpd.conf file and modify the Exec and Pass statements as shown in Figure 45.
# Exec Exec Exec Exec # # Pass Pass Pass Pass Pass Pass Pass Pass Pass #Pass Pass #Pass Pass Pass
/our-cgi/* /web/baan/our-cgi/* /cgi-bin/* /usr/lpp/internet/server_root/cgi-bin/* /admin-bin/* /usr/lpp/internet/server_root/admin-bin/* /Docs/admin-bin/* /usr/lpp/internet/server_root/admin-bin/* These are the pass rules for server administration /icons/* /usr/lpp/internet/server_root/icons/* /Admin/*.jpg /usr/lpp/internet/server_root/Admin/*.jpg /Admin/*.gif /usr/lpp/internet/server_root/Admin/*.gif /Admin/*.html /usr/lpp/internet/server_root/Admin/*.html /Docs/* /usr/lpp/internet/server_root/Docs/* /img-bin/* /usr/lpp/internet/server_root/img-bin/* /images/* /web/baan/pub/images/* /reports/javelin/* /usr/lpp/internet/server_root/pub/reports/javelin/* /reports/java/* /usr/lpp/internet/server_root/pub/reports/java/* /reports/* /usr/lpp/internet/server_root/pub/reports/* /reports/* /web/baan/reports/* /* /usr/lpp/internet/server_root/pub/* /Server/* /usr/lpp/internet/server_root/pub/* /* /web/baan/pub/*
This modification will force the Web server to search in your /web/baan/pub directory for everything but the IBM-provided default content. Other configuration file changes depend on the purpose and content of your Web server. You may also need to change some parameters in order to tune the server. For more detailed information on all valid configuration file directives see HTTP Server, Planning, Install and Use, SC31-8690.
89
<html><head> <title>BAANWEB and the HTTP Server for OS/390</title> </head><body bgcolor="#FFFFFF"> <img src="/images/thiswher.gif" align=left> <h1>Welcome to my home page </h1> This is the HTTP Server for OS/390 serving BAANWEB pages and applets. <hr> Follow this link to access the <a href="/web/baan/pub/bi.html.ascii"> Baan Applet</a> </html>
Figure 46. Single Server - HTML Example for a Home Page (index.html)
//WEBBAAN PROC P1='-B', // P2='-r /web/baan/httpd.conf', // P3='-p 99 ', // LEPARM='ENVAR("_CEE_ENVFILE=/web/baan/httpd.envvars")' //* //WEBSRV EXEC PGM=IMWHTTPD,REGION=0K,TIME=NOLIMIT, // PARM=('&LEPARM/&P1 &P2 &P3') //SYSIN DD DUMMY //OUTDSC DD SYSOUT=* //SYSPRINT DD SYSOUT=* //SYSERR DD SYSOUT=* //STDOUT DD SYSOUT=* //STDERR DD SYSOUT=* //SYSOUT DD SYSOUT=* //CEEDUMP DD SYSOUT=*
2. Define a RACF STARTED profile for this Web server, setting the associated user ID to WEBSRV. 3. Start the Web server. You should see the following message when your Web server is ready:
90
(DONE)
91
//BERP900 JOB (999,POK),'BERP 900 ALLOCATE',NOTIFY=&SYSUID, // CLASS=A,MSGCLASS=T,TIME=1439, // MSGLEVEL=(1,1) //*** //*** //*** /*JOBPARM SYSAFF=SC55 //JOBLIB DD DSN=DB2V510D.RUNLIB.LOAD,DISP=SHR // DD DSN=DB2V510.SDSNLOAD,DISP=SHR //CREATETS EXEC PGM=IKJEFT01,DYNAMNBR=20 //SYSPRINT DD SYSOUT=* //SYSTSPRT DD SYSOUT=* //SYSOUT DD SYSOUT=* //SYSUDUMP DD SYSOUT=* //SYSTSIN DD * DSN S(DB2D) RUN PROG(DSNTIAD) PLAN(DSNTIA51) END //SYSIN DD * CREATE DATABASE BERP900 STOGROUP BERPGRP BUFFERPOOL BP3; COMMIT; CREATE TABLESPACE TS900 IN BERP900 BUFFERPOOL BP3 USING STOGROUP BERPGRP PRIQTY 96000 SECQTY 96000 LOCKSIZE ROW SEGSIZE 32 CLOSE NO; COMMIT; GRANT DBADM GRANT DBADM // ON DATABASE BERP900 TO BSPGRP WITH GRANT OPTION; ON DATABASE BERP900 TO BSP WITH GRANT OPTION;
*:813:T:group:01:5: ARR_SIZE 1 OPT_R OWS 5 T_SPACE BERP813.TS813 *:900:T:group:01:5: ARR_SIZE 1 OPT_R OWS 5 T_SPACE BERP900.TS900 *:*:I::01::STOGROUP BERPGRP PRIQTY 64 SECQTY 960 BUFFERPOOL BP3 *:*:T:group:01:5: ARR_SIZE 1 OPT_ROWS 5 T_SPACE BERP000A.TS000 . .
Figure 47. db2_storage File for Companies 813 and 900
92
cp /usr/lpp/bpa/samples/bpares.cfg /etc/bpa/bpares.cfg.conf
To enable Process Manager with a basic customization, we added the statements describing the port number to two files: 1. The services file of the client workstation The port number has to be put in the services file of the client workstation. In our case, this was a Windows 95 PC. We had to add this to the /windows/services file on the client, as shown in Figure 48 Note: We first made the error of adding the port number to the /etc/services file of UNIX System Services on the S/390.
BaanRexec
6000/tcp
93
2. Using vi, we added the following to the /etc/bpa/bpares.cfg file in UNIX System Services of OS/390, as shown in Figure 49 on page 94.
IP_Address=9.12.2.14 Port=6000
Note: These key words are case sensitive. For example, we received an error when we entered PORT instead of Port. We checked that our environment variable LIBPATH included the following value: /usr/lpp/bpa/lib We checked that our environment variable PATH included the following values: /usr/lpp/bpa/bin /usr/lpp/cmx/bin We also checked that NLSPATH included: /usr/lpp/bpa/nls/msg/%L/%N /usr/lpp/cmx/nls/msg/%L/%N
94
//-----------------------------------------------------------------------------// Process Manager Configuration Template File // // Note: you must at least set the following parameters // ( see Process Manager Installation and Tuning Guide for details ) : // DAEMON PORT // DAEMON IP-Address //-----------------------------------------------------------------------------[BASE] //-----------------------------------------------------------------------------// The base path is used as prefix for any other path definitions used // by Process Manager components. It has to be specified as an absolute path. //-----------------------------------------------------------------------------BasePath=/var/bpa //-----------------------------------------------------------------------------// Errorlog determines the pathname of the error log file used by the // Process Manager for Baan //-----------------------------------------------------------------------------ErrorLog=/var/bpa/bpaerr.log [SYSTEM] //-----------------------------------------------------------------------------// MaxTCBPerAS determines the maximum of TCB's kept running in one address // space. If there are more TCB's to spawn then they are started // into a foreign address space. //-----------------------------------------------------------------------------MaxTCBPerAS=50 [DAEMON] //-----------------------------------------------------------------------------// RestartToShutdownThreshold determines the number of restarts tried for the // TCP/IP communication threads of the Process Manager Daemon. //-----------------------------------------------------------------------------RestartToShutdownThreshold=10 //-----------------------------------------------------------------------------// RestartDelayTime determines the delay time in seconds used before // restarting a thread of the Process Manager daemon. See parameter // RestartToShutdownThreshold for more information. //-----------------------------------------------------------------------------RestartDelayTime=60 //-----------------------------------------------------------------------------// IP-Address determines the host address used by the listener. This is the IP // Address of the machine this daemon is running. // It has to be specified standard dotted-decimal notation. // // Values specified in standard dotted-decimal notation take one of the // following forms: // // a.b.c.d // a.b.c // a.b // a //
Figure 50 (Part 1 of 3). Parameters for Process Manager
95
// Note: // If you specify "IP-Address=0" then the daemon will listen bound to all // network interfaces on the host. //-----------------------------------------------------------------------------IP-Address=<the ip-address of your system> //-----------------------------------------------------------------------------//Port (TCP) determines the port to which the Listener must bind. //-----------------------------------------------------------------------------Port=<any valid port number of TCP on your system> //-----------------------------------------------------------------------------// LITQueueLength determines the maximum length for the queue (eg. the // number of pending connections) for the Listener thread of // Process Manager Daemon. //-----------------------------------------------------------------------------LITQueueLength=500 //-----------------------------------------------------------------------------// MaxThreadTasks determines the softlimit of the maximum TCBs available to // the process for concurrently running threads. //-----------------------------------------------------------------------------MaxThreadTasks=1000 //-----------------------------------------------------------------------------// MaxThreads is the softlimit of the maximum number of threads a // process can run concurrently at a time. //-----------------------------------------------------------------------------MaxThreads=1000 //-----------------------------------------------------------------------------// ThreadStacksize determines the initial thread stack size // as a multiple of 1K (1024) bytes. Other stack characteristics, // like stack increment size, are inherited from the STACK runtime option. //-----------------------------------------------------------------------------ThreadStackSize=10 [SSPT] //-----------------------------------------------------------------------------// Value specifies the maximum wait time of the login handler thread // to get a SSP returned. (Should be greater than TrimmTime) //-----------------------------------------------------------------------------SSPWaitTime=600 //-----------------------------------------------------------------------------// Time to wait for a SSP in state STARTTING or INUSE. // The value has to be specified in seconds. //-----------------------------------------------------------------------------TrimmTime=300 //-----------------------------------------------------------------------------// Max number of terminating SSPM with bad return code. If more SSPMs // failed in execution this case will be logged and no retry will be made // to restart the SSPM. //-----------------------------------------------------------------------------MaxRestartSSPM=10 //-----------------------------------------------------------------------------// PrestartedAS is the number of prestarted AS (each controlled by a SSPM) // after startup of the Process Manager Daemon. Each Address Space is // controlled by an SSPM process. // PrestartedSSPPerAS is the number of SSPs, which are prestarted by any new // SSPM in the same Address Space. // MaxSSPPerAS is the maximum number of SSPs controlled by an SSPM.
Figure 50 (Part 2 of 3). Parameters for Process Manager
96
// // MinFreeSSP is the minimum number of all SSPs controlled by the // Process Manager which have to be available to get new work assigned. // When this threshold is reached, a number of "StartAddSSP" new SSPs // will be started. // MaxFreeSSP is the maximum number of free SSPs controlled by the // Process Manager. When this threshold is reached for longer than // "TrimmTime", a number of "TermAddSSP" free SSPs will be stopped. // StartAddSSP is the number of SSPs to be started when MinFreeSSP // threshold was reached. // TermAddSSP is the number of SSPs to be stopped when MaxFreeSSP // threshold was reached for longer than "TrimmTime" seconds. // // MaxMemBelowPerUser is the typical max. amount of storage which is allocated // by each user below the 16Meg line. (in KByte) // MinFreeMemBelowPerAS is the percentage amount of memory below the 16Meg line // which should be left free for exceptional reasons. // (in %) //-----------------------------------------------------------------------------PrestartedAS=1 // Numbers per Adress Space (AS) PrestartedSSPPerAS=2 MaxSSPPerAS=15 // Total numbers MinFreeSSP=1 MaxFreeSSP=4 StartAddSSP=2 TermAddSSP=2 // Storage usage below the line MaxMemBelowPerUser=350 MinFreeMemBelowPerAS=40 [TRACE] Level=0 BufferSize=3000 // size of trace string buffer FileRecords=500000 // maximum number of trace records in file BufRecords=1000 // threshold of trace records the buffer should hold KeyFileName=/var/bpa/bpalogd.key // request the key to create msg queue LogFileName=/var/bpa/bpatrace.log // trace log file name ToStdout=0 // trace strings will be dumped to stdout use // this for debugging purpose only (tail -f file)
97
These tasks are described in greater detail in UNIX System Services Connection Scaling Reference, SA22-7305.
98
11.1.1
DB2/BaanERP Indexes
Indexes in BaanERP systems are on columns named HASH1, HASH2, ..., HASHn. Two indexes (one ascending and one descending) are defined on each HASH column. Baan primes the HASH columns under program control. The Baan user does not know what is in the HASH columns. None of the BaanERP indexes are explicitly defined as clustering. This has a profound effect on our recommendations regarding the Reorg utility. All of the BaanERP-defined indexes are explicitly declared unique. This has a profound effect on our recommendations regarding the Runstats utility.
11.1.2
11.1.3
99
to see the major share of resource consumption in the BaanERP environment come from components outside of DB2.
100
You will have to query the DB2 catalog to determine which tables are smaller. To determine tables that are primarily read-only, you will have to analyze the instrumentation reports produced by DB2PM (or your functionally equivalent DB2 performance reporting tool). We did not attempt to identify those tables during this effort. These smaller primarily read-only tables can then be assigned to a separate DB2 buffer pool. You will want to evaluate a higher hiperpool allocation for this buffer pool. DB2 will not cache to the hiperpool changed data pages, but will attempt to cache unchanged read-only data pages. 3. It is recommended that you allocate highly volatile frequently updated tables to a separate table space. You will have to determine these highly volatile and frequently updated tables in your environment by an analysis of the DB2 instrumentation data. These tables tend to be a function of the application and the requirements placed upon the application by the user. Highly volatile table spaces can be assigned to one or more separate DB2 buffer pools. You then can evaluate the setting of the DB2 buffer pool thresholds, the Deferred Write Threshold (DWQT) and the Vertical Deferred Write Threshold (VDWQT), to values other than the defaults of 50% and 10%, respectively. If the virtual buffer pool is large, it is unlikely that the default values of VWQT and DVWQT will be reached. In this case there tends to be a surge of write I/O as writes are triggered by DB2 checkpoints. Lowering the DWQT and VDWQT could improve performance by distributing the write I/Os more evenly over time. For more information on tuning DB2 buffer pools, see Buffer Pool Thresholds in DB2 for OS/390 Version 5 Administration Guide, Volume II, SC26-8957. 4. It is recommended that you segregate, into one or more separate table spaces, tables against which you will run the Reorg and Runstats utilities. The BaanERP architecture makes it unlikely that you will want to run Reorg or Runstats once your application is in production. (These utilities are addressed more completely in 11.6, DB2/BaanERP Reorganization and Runstats Recommendations on page 104.) If you intend to run user-developed queries against BaanERP tables, you should put those tables in one or more separate table spaces. The reason is that the Reorg and Runstats utilities are invoked at the table space level.
101
go back one checkpoint and then process to the end of the log. A lower LOGLOAD means less log to process at restart, and consequently a faster restart in general. Of course, a long-running unit of recovery that takes few or no commits could cause a greater amount of log processing at restart. DB2 writes from buffer pools to DASD When DB2 takes its internal checkpoint (a function of LOGLOAD), it schedules I/O for updated pages in the buffer pools to DASD. As LOGLOAD increases, the number of pages to be written tends to increase. With large buffer pools and a large LOGLOAD, the write activity can be significant (this activity is sometimes noticeable by users who perceive periods of slower than normal performance). You can control the write load with the DWQT and VDWQT threshold parameters discussed earlier, or as an alternative, you can minimize exposure to an excessive write load with a smaller value for LOGLOAD.
102
BP1 - 10%. BP1 is to support large Baan tables. The large tables will generally have a low buffer reuse. Consequently, 10% is moderate relative to the other Baan buffer pool assignments. BP2 - 35%. BP2 is dedicated to Baan indexes. Indexes tend to have a high buffer reuse. Consequently, we recommend a high buffer allocation. BP3 - 23%. BP3 is dedicated to the smaller Baan tables. Code tables are usually smaller and tend to experience high access. This large buffer pool allocation facilitates data-in-memory processing of the frequently accessed smaller tables. BP4 - 20%. BP4 is dedicated to other Baan tables. This is to provide for exceptions that do not fit neatly into the previously presented scheme. BP7 - 2%. BP7 is to support DB2 temporary storage (DSNDB07). We have not seen extensive use of the DB2 sort work files running the Baan applications. 2% is considered a minimum safe allocation of buffers to support the use of DSNDB07. You will want to track DB2 instrumentation statistics regarding this buffer pool. You may add some query workload or use parts of the Baan applications that we did not test. Either of these could cause you to increase the buffers allocated to DSNDB07. BP32 - minimum. This is support for any 32 K buffer pool requirement. Except for BP0, a specific buffer pool number is arbitrary. Note, however, that DB2 requires BP0 for the catalog and directory table spaces. Obviously you may, for example, use BP2 to support DSNDB07. The key is the concept centering on differentiating large tables, small tables, and indexes.
103
BaanERP/DB2 indexes For indexes, the default of 10% for PCTFREE should be maintained. An index has the characteristics of a sequential data set. DB2 can more efficiently maintain an index's sequence with free space. We do not have a specific recommendation for FREEPAGE. In general, you should consider free pages when insert activity is high against a table. You will have to track insert activity in your environment.
104
sequence of the clustering index. If sequence has meaning in your user-developed query environment, then Reorg has value in re-sequencing data periodically. c. Evaluate the use of the online Reorg feature of DB2 V5 when you determine that the running of Reorg can benefit your environment. There would be benefit if you defined a clustering index to support user-written queries. Online Reorg significantly reduces the impact of this planned outage. The online Reorg utility copies the table space to one or more shadow data sets where the actual reorganization is done. The DB2 log is applied in an iterative fashion to the shadow copy of the data to synchronize it with the actual online table space. After the log is applied, the shadow data replaces the unorganized data when the Reorg utility changes data set names. The outage is now limited to read-only during the final application of the DB2 log to the shadow copy of the table space, and no readers or writers are allowed during the changing of the shadow data set names to the active table space data set names. d. Reorg DB2 indexes on a periodic basis. Since indexes have the characteristics of sequential data, there is benefit to Reorging or Re-sequencing them. There are many indexes defined in the BaanERP applications; however, it is not necessary to Reorg them all. We recommend that as a starting point you Reorg, on a monthly basis, indexes that are in multiple extents. You can then refine your index Reorg strategy based upon your experience with the BaanERP applications. 2. Runstats strategy a. Run Runstats on the Baan/DB2 objects one time prior to going into production. Since all BaanERP indexes are defined as unique, the one-to-one relation of index key to row will not change. Therefore, one execution of Runstats will provide DB2 index cardinality data that cannot change over time (that is, the one-to-one mapping cannot change). b. Run periodic Runstats on the Baan/DB2 objects on which you have defined a clustering index. Based upon the characteristics of the indexes you define ( to support user-written query activity perhaps), Runstats can provide DB2 important data distribution statistics.
105
106
107
108
Data which has not been corrupted will be available to the user. However, the user may see erroneous data prior to the recovery. There is no loss of data entered between the time the data contamination was introduced into the system and the time the contaminated data was corrected. Required processor resources are likely to be far less than using either of the other techniques. Do not forget that this is an ideal and not a rigorous scenario that can be documented and tested. You must be prepared to reset your system by doing the point-in-time recovery when a programming fix is not possible or practical. 2. Point-in-time recovery not using DB2 utilities The issue regarding this and the following scenario is the number of table spaces and indexes that must be recovered to an established point of consistency. As the number of tables and indexes to be recovered grows, the dump-restore scenario becomes the practical alternative. Dumping packs and restoring data is clearly faster than a recovery-based scenario. The major disadvantage to this scenario is that the dumping of the data is disruptive to the user. The BaanERP system must be stopped to dump data that is consistent. An additional disadvantage inherent in any point-in-time recovery scenario is that work is lost when data is reset to a prior point of consistency. It is recommended that you seriously consider implementing this scenario using SnapShot on the RAMAC Virtual Array. The advantages and considerations of using SnapShot on the RAMAC Virtual Array are: You must stop BaanERP in the DB2 environment to establish a point of consistency. This is necessary in any point-in-time recovery scenario. You may SnapShot the data at the volume level quickly. Tests show that a volume can be snapped in 3 to 5 seconds. When the snapshot is complete, the data can be made available to the user. Once the snapshot is complete, the data can be copied to tape as a background task. This DASD-to-tape process does not interfere with user access to BaanERP data. When a point-in-time recovery is required, the data can be quickly restored from the tape backup. For more information on SnapShot on the RAMAC Virtual Array, see Implementing SnapShot, SG24-2241. 3. Point-in-time recovery using DB2 utilities This scenario is preferred over the point-in-time recovery not using DB2 utilities scenario when few table spaces and indexes are to be recovered. The benefit of this scenario is minimal-to-no disruption to the user during the daily QUIESCE/COPY step. However, as long as there is the potential to recover a large number of table spaces and indexes, this scenario may not be usable.
Chapter 11. Administration of DB2 for Baan Applications on OS/390
109
110
/* System will allow at most 200 00740008 processes to be active 00750000 concurrently. Was 300 RC */ 00760008 00770000 MAXPROCUSER(30000) /* Allow each user (same UID) to 00940008 have at most 200 concurrent 00950000 processes active. Was 10125 */ 00960008 00970000 MAXUIDS(2000) /* Allow at most 50 OpenEdition MVS 01110008 users to be active concurrently 01120008 Was 50 RC */ 01130008 MAXFILEPROC(65535) /* Allow at most 65535 open files 01320000 per user (the max) */ 01330000 01340000 MAXPTYS(256) /* Allow up to 256 pseudo-terminal 01480000 sessions */ 01490000 01500000 MAXRTYS(256) /* Allow up to 256 remote-terminal 01640000 sessions */ 01650000 01660000 CTRACE(CTIBPX00) /* Parmlib member 'CTIBPX00' will 01810000 contain the initial tracing 01820000 options to be used */ 01830000 01840000 USERIDALIASTABLE('/etc/alias') /* HFS file /tablename will 02220003 contain the list of MVS userids 02230000 and their corresponding XPG4 02240000 compliant alias names. */ 02250000 02260000 FILESYSTYPE TYPE(HFS) /* Type of file system to start */ 02600000 ENTRYPOINT(GFUAINIT) /* Entry Point of load module */ 02610000 PARM(' ') /* Null PARM for physical file 02620000 system */ 02630000 /* ASNAME(adrspc01) */ /* Name of address space for 02640000 physical file system */ 02650000 02660000 /* files */ 03040000 ROOT FILESYSTEM('OMVS.OS390R6.&SYSNAME..&SYSR1..ROOT') 03050000 TYPE(HFS) /* TYPE OF FILE SYSTEM */ 03060000 MODE(RDWR) /* (OPTIONAL) CAN BE READ OR RDWR. 03070000 DEFAULT = RDWR */ 03080000 03090000 MOUNT FILESYSTEM('OMVS.&SYSNAME..ETC') 03100000 MOUNTPOINT('/etc') 03110000 TYPE(HFS) MODE(RDWR) 03120000 03130000 MOUNT FILESYSTEM('OMVS.&SYSNAME..USERS') 03140000 MOUNTPOINT('/u') 03150000 TYPE(HFS) MODE(RDWR) 03160000 03170000 MOUNT FILESYSTEM('OMVS.&SYSNAME..VAR') 03180002 MOUNTPOINT('/var') 03190002 TYPE(HFS) MODE(RDWR) 03200002 03210002
Copyright IBM Corp. 1999
MAXPROCSYS(30000)
111
FILESYSTYPE TYPE(TFS) ENTRYPOINT(BPXTFS) MOUNT FILESYSTEM('/TMP') TYPE(TFS) MODE(RDWR) MOUNTPOINT('/tmp') PARM('-s 500') FILESYSTYPE TYPE(UDS) ENTRYPOINT(BPXTUINT) NETWORK DOMAINNAME(AF_UNIX) DOMAINNUMBER(1) MAXSOCKETS(32000) TYPE(UDS) FILESYSTYPE TYPE(CINET) ENTRYPOINT(BPXTCINT) NETWORK DOMAINNAME(AF_INET) DOMAINNUMBER(2) MAXSOCKETS(32000) TYPE(CINET) INADDRANYPORT(10000) INADDRANYCOUNT(2000) SUBFILESYSTYPE NAME(TCPIPOE) TYPE(CINET) ENTRYPOINT(EZBPFINI) DEFAULT SUBFILESYSTYPE NAME(TCPIPMVS) TYPE(CINET) ENTRYPOINT(EZBPFINI) SUBFILESYSTYPE NAME(TCPKMT) TYPE(CINET) ENTRYPOINT(EZBPFINI) SUBFILESYSTYPE NAME(OESTACK) TYPE(CINET) ENTRYPOINT(BPXUIINT) FILESYSTYPE TYPE(NFS) ENTRYPOINT(GFSCINIT) ASNAME(MVSNFSC6) MAXTHREADTASKS(1000) /* System will allow at most 10000 threads tasks to be active concurrently in a single process */ /* System will allow at most 10000 threads to be active concurrently in a single process */
MAXTHREADS(1000)
03700000 03710000 03720000 03730000 03740000 03750000 05100000 05110000 05120000 05130008 05140000 05150000 05160000 05170000 05180000 05190000 05200008 05210000 05220000 05230000 05240000 05250000 05260000 05270000 05280000 05290000 05300000 05310000 05320000 05330000 05340000 05350000 05360000 05370000 05380000 05390000 05400000 05490000 05500000 05510001 05520000 06330000 06340000 06350000 06360000 06370000 06520000 06530000 06540000 06550000 06560000 07400000 07410000 07420000 07430000 07440000 07450000 07460000 07470000
IPCSEMNSEMS IPCSEMNOPS
(32767) (32767)
MAXMMAPAREA(4096)
FORKCOPY(COPY)
07480000 07490000 07500000 /* System will allow at most 4096 07660000 pages to be used for memory 07670000 mapping. 07680000 */ 07690000 07700000 08210000 08220000 08470000 08480000 08790000 08800000 /* System will allow at most MAX 09110000 pages of shared storage to be 09120000 concurrently in use */ 09130000 09140000 /* System will use copy-on-write 09400000 for fork system calls if the 09410000 suppression-on-protection 09420000 hardware feature is available 09430000 */ 09440000 09450000 09560000 09570000 09720000 09730000 09810000 09820000 10000000
If you want to have your Baan HFS mounted at IPL you should add the following lines with the other mount commands: MOUNT FILESYSTEM('BAANERP.CDROM') MOUNTPOINT('/baanerpcdrom') TYPE(HFS) MODE(RDWR) MOUNT FILESYSTEM('BAANERP.INSTALL') MOUNTPOINT('/baanerpinstall') TYPE(HFS) MODE(RDWR) MOUNT FILESYSTEM('BAANERP.APPL.BSE') MOUNTPOINT('/baanerp') TYPE(HFS) MODE(RDWR)
113
114
:http//www.s390.ibm.com/products/oe/bpxaltoy.html
The viascii editor should be placed in the /bin directory. The viascii editor uses iconv and vi to edit a file with ASCII characters; the file is temporarily stored in the /tmp directory. Many permission checks are in place and this script will not update the time stamp of your file if you make no changes. The commands are the same as for the vi editor. The vi commands and common UNIX commands are included in B.1, Using the vi Editor for those not familiar with UNIX. There are several reference books on the commands, such as Learning the vi Editor , Linda Lamb, O'Reilly & Associates, February 1986. You may also wish to consult UNIX for Dummies , John R. Levine and Margaret Levine Young, IDG Books Worldwide, 1997.
115
h i I j J k l n N p P r R s S u U :w :w! x X yy Y
Move cursor back (left) 1 character (cursor movement key) Insert text before cursor (ended by escape key) Insert text at beginning of current line (ended by escape key) Move cursor down (forward) 1 line (cursor movement key) Join two lines Move cursor up (backward) 1 line (cursor movement key) Move cursor forward (right) 1 character (cursor movement key) Repeat previous search (same direction) Repeat previous search (opposite direction) Put yanked or deleted text before current line Put yanked or deleted text before current line Replace a character Replace characters (ended by the escape key) Delete character and substitute text (ended by escape key) Delete current line and substitute text (ended by escape key) Undo last edit Undo last edit Write (save) the file Write (save) the file (overriding protection) Delete character Delete character before cursor Yank (copy to buffer) a line (usually followed by P) Yank (copy to buffer) a line (usually followed by P)
116
cp df env find grep kill ls mkdir mv ps pwd rm rmdir tar touch who more head tail wc
Copy a file or directory (makes a new copy) Show the status and capacity of file systems List the environment variables Find the path to a file in the filesystem Select lines from a file Send a signal to a process (kill -9 terminates a process ) List the contents of a directory Create a directory Move a file or directory (re-locates, no new copy) Show processes in a system Display the name of the current directory Remove a file (may remove a directory with an appropriate flag) Remove a directory Creates or restores an archived version of a directory Create an empty file or change the last changed date of a file Display logged in users Display a file, stopping at each logical page (screen) Displays the first few (default 10) lines of a file Displays the last few (default 10) lines of a file Counts the number of lines, words, and bytes in a file
117
118
119
#include <stdio.h> #include <string.h> #include <unistd.h> int main(int argc,char **argv) { char *dotpos; char hostname[2000 ]; int dontPrintDomain = 0, rc = 0; if (argc == 2 && !strcmp(argv[1],"-s")) dontPrintDomain = 1; else if (argc != 1) { fprintf(stderr, "Usage: %s [-s]\n" "Specify \"-s\" to print the host name without\n" "the domain name.\n", argv[0]); rc = 1; } if (!rc) { rc = gethostname(hostname,sizeof(hostname)); if (rc) { perror("gethostname"); rc = 1; } else { if (dontPrintDomain) { dotpos = strchr(hostname,'.'); if (dotpos) *dotpos = '\0'; } printf("%s\n",hostname); } } return rc; }
120
The * means use the default table The following screens show the questions and answers we used to create our database, tablespace and files. We took the defaults whenever we could. Attention Be patient in replying to the questions, because the script will generally take a few seconds to provide a default answer. Also, do not type Yes and press Enter, because the enter will be taken as the answer to the following question. Just type y or n.
121
Before invoking this script, a DB2 subsystem must have been defined This script will do following things for the DB2 subsystem. Create storage group and grant privileges to use the storage group. Create database and grant privileges on database. Create tablespace and grant privileges to use the tablespace Create group and user files. Add initial group to group file. Add users root, bsp, ROOT, and BSP to group. Create storage file. Add default entries for table & index to storage file. Check db2_inst.log in the current directory for any error Read Installation Document Carefully regarding specification of DB2 for OS/390. O.K to continue ? Y
Note:
Environment Variables *** db2_install6.2 Started *** - HOST - LOGNAME - BSE Press any key . wtsc55oe root /baanerp/bse
Note: If you have not installed the hostname command as described in Appendix C, The hostname Command on page 119, you will get the following error message but it will not cause any problem:
122
Storage Group Creation Grant Use Of STOGROUP Enter storage group name : BERPGRP Enter Authorization name : PUBLIC Granting use of storage group 'BERPGRP' .... Granted use of storage group 'BERPGRP' Create another storage group (Y/N) ? N
123
Storage Group Name (Not Mandatory-Default) : BERPGRP Buffer Pool (Not Mandatory-Default) : BP3..... Want to specify CCSID (Y/N) ? N Create database 'BERP000' (Y/N) ? Y Creating database 'BERP000' .... Database 'BERP000' is created Want to grant database privileges (Y/N) ? Y
We specified the value of CCSID in the DB2 parameters, so we did not have to specify it here again.
Database Creation Grant Database Privileges Enter Privileges : DBADM Database name : BERP000 Enter Authorization name : PUBLIC Granting privileges to Database 'BERP000' .... Privileges granted on database 'BERP000'
124
Tablespace Creation Tablespace Name : baan Database Name (Not Mandatory-Default) : XXX Do you want to create tablespace? Tablespace Name:TS000 Database Name: BERP000 Specify using-block
Using VCAT or STOGROUP ? : STOGROUP Storage Group Name : BERPGRP Want to specify space allocations (Y/N) ? Y Primary Space Quantity : 1440000 Secondary Space Quantity : 144000.. Want to specify gbpcache-block (Y/N) ? N Will this table space be segmented (Y/N) ? Y Segment size (SEGSIZE) ? : 32 Want to specify BUFFERPOOL (Y/N) ? Y Buffer Pool Name : BP3 Want to specify LOCKSIZE (Y/N) ? Y Lock Size (ANY/TABLESPACE/TABLE/PAGE/ROW) : ROW......... Want to specify MAXROWS (Y/N) ? N Create Tablespace 'TS0000' (Y/N) ? Y Creating Tablespace 'TS0000' .... Tablespace 'TS0000' was created successfully Want to grant use of tablespace (Y/N) ? Y
125
Tablespace Creation Grant Use Of Tablespace Enter database-name.tablespace-name : BERP000.TS0000 Enter Authorization name : PUBLIC Granting use of tablespace 'BERP000.TS0000' .... Granted use of tablespace 'BERP000.TS0000' Want to create another tablespace (Y/N) ? N
Group File Creation Initial Group : db2berp Group Password : db2berp Is above data correct (Y/N) ? Y Add group db2berp (Y/N) ? Y Adding group db2berp Group added. Press any key .
126
User File Creation Add users root, bsp , ROOT, BSP (Y/N) ? Y
User File Creation Add Baan user root to Group db2berp (Y/N) ? Y DB User : root
Adding user root to group db2berp User added to group. Press any key
This is repeated four times, once for each user: bsp, BSP, root, and ROOT.
127
Do you want to specify Company Data ? N Update Index Parameters Company: * Table spec: *
Current Index parameters: STOGROUP BERPGRP PRIQTY 12 SECQTY 960 BUFFERPOOL BP3 Do you wish to modify ? N '/baanerp/bse/lib/db2/db2_storage' updated successful Company: * , Table: *
*:*:I::01::STOGROUP BERPGRP PRIQTY 12 SECQTY 960 BUFFERPOOL BP3 *:*:T:group:01:5:ARR_SIZE 1 OPT_ROWS 5 T_SPACE BERP000.TS0000
This is db2_storage:
*:*:I::01::STOGROUP BERPGRP PRIQTY 12 SECQTY 960 BUFFERPOOL BP3 *:*:T:group:01:5: ARR_SIZE 1 OPT_ROWS 5 T_SPACE BERP000.TS000 . .
This is db2_groups:
db2berp:qZ.m7rcL}G3WW"t6L{79r$,<[email protected]
This is db2_users:
128
129
130
131
Functional track directory The functional track directory (FTD) is the collective name for two tables that together map each functional track to an area in the RVA's physical storage: Functional track table The functional track table (FTT) contains the host-related, that is, the functional device-related track pointers of the FTD. Track number table The track number table (TNT) contains the back-end data pointers of the FTD. A reference counter is also part of this table. Although the FTD consists of two tables, we discuss it as one entity. In fact, each functional track has an entry in the FTD. If a functional track contains data, its associated FTD entry has a pointer to the FBA block where the data starts. The data of a functional track may fit on one or more FBA blocks. If the data of a functional track is updated, the RVA puts the new data in a new place in the log structured file, and the FTD entry points to the new data location. There is no update in place. Figure 51 shows the virtual disk architecture.
Figure 51. Virtual Disk Operation. In the first FDT box, 100 33903 stands for Volume 100 of a 3390 model 3. In the FTT box, CC is cylinder 5, HH is head 4, T is track 3452.
132
133
134
Appendix F. SnapShot
The RVA's virtual disk architecture enables you to produce almost instantaneous copies of data sets and volumes. We call this function SnapShot. Snapshot produces copies without data movement. We call making a copy with SnapShot snapping the data. The term snap also refers to the resulting copy of the data. Conventional methods of copying data on DASD consist of making a physical copy of the data on either DASD or tape. Host processors, channels, tape, and DASD controllers are involved in these conventional copy processes. Copying may take a lot of time, depending on the availability of system resources. With SnapShot, copying is achieved with no data movement. Snapping can take just seconds rather than minutes or hours, because data is not moved and the host processor and channels are not involved in data transfer. Furthermore, additional physical disk space is not required to accommodate the snap until either the source or the target is updated. As far as the operating system is concerned, the snap is a real copy of the data; as far as the RVA hardware is concerned, it is a virtual copy of the data.
Only when either the original or the copied track is updated is its associated FTD pointer changed to point to the new data location. The other FTD pointer remains unchanged. Additional space is needed in this case. As long as there
Copyright IBM Corp. 1999
135
is a pointer to a data block in the physical disk storage, the block cannot become free for the freespace collection process. A reference counter in the Track Number Table (TNT) prevents the block from becoming free. On the RVA side, the execution of the SnapShot function is quite simple; on the OS/390 side, some additional operations are necessary. If a data set is snapped, a new data set name is required and given in the snap command. After the RVA performs the snap, OS/390 must update the catalog and VTOC (as well as the VVDS, if the snap is performed on a VSAM data set). Although the creation of the copy is a logical manipulation of pointers, the data exists on disk, so in this sense it is not a logical copy. As far as the operating system is concerned, the two copies are completely independent of each other. When you make a copy with SnapShot, both the source and the target must be within the same RVA. For further information about SnapShot, see Implementing SnapShot, SG24-2241.
136
The physical completion occurs when the data is moved by DFSMSdss to the target tape or disk data set. Once the copy is logically complete, the data can be made available for application updates. Figure 53 on page 137 shows the virtual concurrent copy operation.
Figure 53. Virtual Concurrent Copy Operation. One target is a copy to disk and the other target is a copy to a tape cartridge.
If you are already using concurrent copy, you do not have to make changes to your JCL to use virtual concurrent copy. For further information on virtual concurrent copy, see Implementing DFSMSdss SnapShot and Virtual Concurrent Copy , SG24-5268.
Appendix F. SnapShot
137
138
139
Problem We had a problem with ASCII mode and DB2 (we had DB2 return code 1332). Workaround We had to change the SSCID parameter from 1 to 37. Problem We had several PATH problems because $PATH and $LIBPATH were not set correctly. Workaround If you correctly set your environment variables you should not encounter this situation. The first time it could not find db2srv61. Although the message referred to shared memory, we had to set LIBPATH to /baanerp/bse/bin, where db2srv61 resides. Problem We had a problem when the script spawned another process while it was setting permissions. Workaround We did not have the entry BMP_SPAWN=Yes. This is now set by the install6.2 script. Problem The database was locked. Workaround We had to create a different database and tablespace for Company 550. When we did this we used the db2_install6.2 script, but this adds the new entry at the bottom of the file. Because the first entry is *, the specific entry for 550 will never be reached. Therefore, we had to manually reorder the entries. Problem The group name db2baan was not authorized. Workaround We had to grant dbadm privileges to db2baan. Problem We received the message: installation aborted: could not find module
globlvar.
Workaround We had to follow the installation instructions and modify the install6.2 script to copy the module to the correct directory.
140
Problem The DB2 load library was not found. Workaround We had to set the value of the STEPLIB variable before starting the install6.2 script by issuing the command:
export STEPLIB=DB2V510.SDSNLOAD
Problem We could not log on as bsp using the BW Client. Workaround We had to copy the file ubsp to uBSP in the directory /baanerp/bse/lib/user. You should also verify that the bsp profile is correct. To do this, telnet to OMVS, logon as bsp, then issue the env |more command to check that the settings are correct. In addition, if you are using the latest version of TCP/IP, you must add the letter s to the end of the following line in the /etc/inetd.conf file:
exec
Installation restarted: Sun Sep 20 16:51:25 EDT 1998 >INSTALLATION ABORTED!! Cannot initialize Shared Memory Manager for temporary environment: Sun Sep 20 16:51:27 EDT 1998
Stop shared memory for temporary environment... >INSTALLATION ABORTED!! Couldn't start bshell with object ottiex1289: Mon 13:44:44 EDT 1998
Therefore you must first execute the steps, described in G.2.1, Restarting the install6.2 Script on page 142, before restarting.
141
If shared memory or semaphore allocations exist, then issue the ipcrm command to stop them, as follows. For shared memory, issue:
ipcrm -m (task ID number)
MODE
OWNER ALEX ALEX ALEX ALEX ALEX OWNER ALEX OWNER ALEX
GROUP SYS1 SYS1 SYS1 SYS1 SYS1 GROUP bsp GROUP bsp
q 7 0x00000000 ----------q 8 0x00000000 ----------Shared Memory: T ID KEY MODE m 3513412 0x01101fd0 --rw-rw-rwSemaphores: T ID KEY MODE s 151076 0x00000000 --ra-ra-ra-
142
To check that these tasks are no longer there, issue the ipcs command again, as follows:
root @ SC55:/baanerpinstall/install>ipcs Message Queues: T ID KEY MODE q 4 0x00000000 ----------q 5 0x00000000 q 6 0x00000000 q 7 0x00000000 q 8 0x00000000 Shared Memory: Semaphores: -----------------------------------------
Sometimes the ID number for the memory still appears after you have issued the command. This does not cause a problem. 3. Check that all the following variables are set. They allow the script to restart. (This is needed because the script expects these to be set. If you have been disconnected from your telnet session, these settings will have been lost.)
You may want to verify all your env values at this point. Attention A special variable needs to be set as follows when the script aborts before completion:
export DS_AS=bshell.inst
This should only be set during a restart, after you have started moving files to your temporary $BSE directories. If you issue this by mistake, you must disconnect your telnet session and re-establish a new one to remove the variable from the system. Using the unset command is not sufficient.
143
If shared memory or semaphore allocations exist, then issue the ipcrm command to stop them. For shared memory, issue:
ipcrm -m (task ID number)
MODE
OWNER ALEX ALEX ALEX ALEX ALEX OWNER ALEX OWNER ALEX
GROUP SYS1 SYS1 SYS1 SYS1 SYS1 GROUP bsp GROUP bsp
q 7 0x00000000 ----------q 8 0x00000000 ----------Shared Memory: T ID KEY MODE m 3513412 0x01101fd0 --rw-rw-rwSemaphores: T ID KEY MODE s 151076 0x00000000 --ra-ra-ra-
144
To check that these tasks are no longer there, issue the ipcs command again:
root @ SC55:/baanerpinstall/install>ipcs Message Queues: T ID KEY MODE q 4 0x00000000 ----------q 5 0x00000000 q 6 0x00000000 q 7 0x00000000 q 8 0x00000000 Shared Memory: Semaphores: -----------------------------------------
3. To remove existing information in the target file and source directories, execute the following commands:
cd / rm -fr /baanerp/bse rm -fr /baanerpinstall/install
Note: The rm command with the -r flag will remove all the data under the directory specified. Use this command carefully. You will receive the following message:
root @ SC55:/baanerpinstall/install>rm -fr /baanerp/bse rm: FSUM9196 cannot remove directory "/baanerp/bse": EDC5114I root @ SC55:/baanerpinstall/install>rm -fr /baanerp/install rm: FSUM9196 cannot remove directory "/baanerpinstall/install": EDC5114I root @ SC55:/baanerpinstall/install>
This is correct as the file systems are still mounted. 4. Drop the DB2 database as shown in this sample JCL in Figure 55 on page 146:
145
//BAAN JOB (999,POK),'BAAN INSTALL',NOTIFY=&SYSUID, // CLASS=A,MSGCLASS=T,TIME=1439, // REGION=5000K,MSGLEVEL=(1,1) //*** //*** //*** /*JOBPARM SYSAFF=SC55 //JOBLIB DD DSN=DB2V510D.RUNLIB.LOAD,DISP=SHR // DD DSN=DB2V510.SDSNLOAD,DISP=SHR //CREATETS EXEC PGM=IKJEFT01,DYNAMNBR=20 //SYSPRINT DD SYSOUT=* //SYSTSPRT DD SYSOUT=* //SYSOUT DD SYSOUT=* //SYSUDUMP DD SYSOUT=* //SYSTSIN DD * DSN S(DB2D) RUN PROG(DSNTIAD) PLAN(DSNTIA51) END //SYSIN DD * DROP DATABASE BERP000A; DROP STOGROUP BAANGRP; COMMIT;
Figure 55. Dropping the DB2 Database
0 0 0
At this point go back to the step where you tar the files, as shown in 5.3.2, Unpacking Files into Install Directories on page 41.
root @ SC55:/baanerp/bse/log>ls -l total 456 -rw-rw-rw- 1 bsp bsp -rw-rw-rw-rw-rw-rw-rw-rw-rw-rw-rw-rw-rw-rw-rw-rw-rw----rw-rw----rw-rw-rw-rw-rw-rw-rw-rw-rw-rw-rw-rw-rw-rw-rw-rw-rw-rw1 bsp 1 bsp 1 bsp 1 1 1 1 bsp bsp bsp bsp bsp bsp bsp bsp bsp bsp bsp bsp bsp bsp bsp bsp bsp
0 Sep 24 14:05 log.ba6.2 7170 Sep 25 06:19 log.bdbreconfig6.2 6634 Sep 25 07:17 log.bshell.inst 0 Sep 24 15:12 log.compress6.2 0 0 218 76431 Sep Sep Sep Sep 24 24 25 25 15:15 16:36 07:24 08:00 log.db2 log.db2.mesg log.oiex1287 log.oiex1288
543 Sep 24 16:41 log.pdaemon6.2 2754 Sep 25 08:00 log.sh_server 2282 Sep 24 14:10 log.shmmanager6.2 1528 Sep 25 07:17 log.shmtimer6.2 0 Sep 24 13:50 log.shmvalues6.2 0 Sep 24 15:15 log.sort6.2
146
When a problem occurs, go to this log directory and edit the log that has the most recent date and time.
Install Runtime Data Dictionary /baanerpinstall/install/line.0023 092598104845 Install objects /baanerpinstall/install/line.0023 092598104845 Install Data Dictionary /baanerpinstall/install/line.0024 092598104845 Repair cpac vrc structure 092598104845 Install Data Dictionary forms /baanerpinstall/install/line.0024 092598104859 Install Data Dictionary reports /baanerpinstall/install/line.0024 092598104859 Install Data Dictionary scripts /baanerpinstall/install/line.0024 092598104859 Install Data Dictionary libraries /baanerpinstall/install/line.0024 092598104859 Install Runtime Data Dictionary /baanerpinstall/install/line.0024 092598104859 Install objects /baanerpinstall/install/line.0024 092598104859 Install Data Dictionary /baanerpinstall/install/line.0025 092598104859 Repair cpac vrc structure 092598104859
Other logs can be found in: /baanerpinstall/install /tmp /etc
147
148
If you choose to use the supplied db2_install6.2 script to create the database, you do not have to run this job.
149
//BAANDB2 JOB (999,POK),'BAAN INSTALL',NOTIFY=&SYSUID, 00010023 //*********************************************************************/ //* NAME = BAANDDL */ //* */ //* DESCRIPTIVE NAME = SAMPLE DDL TO CREATE DATABASES & TABLESPACES */ //* FOR BAAN ERP INSTALLATION */ //* */ //* STATUS = VERSION 1 */ //* */ //* FUNCTION = THIS JCL PERFORMS THE NECESSARY DDL TO BUILD THE */ //* BAAN ERP DB2 DATABASE. THE FOLLOWING DDL MATCHES THE */ //* SETUP SUPPLIED IN THE $BSE/lib/db2/db2_storage FILE. */ //* */ //* ANY CHANGES TO STOGROUP, DATABASE AND/OR TABLESPACE */ //* NAMES REQUIRES THE CORRESPONDING CHANGE IN THE */ //* $BSE/lib/db2/db2_storage FILE. */ //* */ //* YOU MUST UPDATE THE hlq IN THE JOBLIB. */ //* */ //* CHANGE ACTIVITY = */ //*********************************************************************/ //JOBLIB DD DSN=DB2V510.SDSNLOAD,DISP=SHR //CREATDDL EXEC PGM=IKJEFT01,DYNAMNBR=20 //SYSPRINT DD SYSOUT=* //SYSTSPRT DD SYSOUT=* //SYSOUT DD SYSOUT=* //SYSTSIN DD * DSN S(DB2D) RUN PROG(DSNTIAD) PLAN(DSNTIA51) END //SYSIN DD * CREATE STOGROUP BERPGRP VOLUMES (BAAPK5,BAAPK6,BAAPK7) VCAT DB2V510D; COMMIT; CREATE DATABASE BERP000A STOGROUP BERPGRP BUFFERPOOL BP2; CREATE DATABASE BERP000B STOGROUP BERPGRP BUFFERPOOL BP2; CREATE DATABASE BERP9999 STOGROUP BERPGRP BUFFERPOOL BP2; COMMIT;
Figure 57 (Part 1 of 6). JCL to Create Tablespaces with Company 000 Detailed Setup
150
CREATE TABLESPACE TAAD050 IN BERP000A USING STOGROUP BERPGRP PRIQTY 12 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE CREATE TABLESPACE TAAD100 IN BERP000A USING STOGROUP BERPGRP PRIQTY 12 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE CREATE TABLESPACE TAAD106 IN BERP000A USING STOGROUP BERPGRP PRIQTY 12 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE CREATE TABLESPACE TAAD110 IN BERP000A USING STOGROUP BERPGRP PRIQTY 12 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE CREATE TABLESPACE TAAD200 IN BERP000A USING STOGROUP BERPGRP PRIQTY 12 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE CREATE TABLESPACE TAAD201 IN BERP000A USING STOGROUP BERPGRP PRIQTY 12 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE CREATE TABLESPACE TAAD300 IN BERP000A USING STOGROUP BERPGRP PRIQTY 12 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE CREATE TABLESPACE TAAD305 IN BERP000A USING STOGROUP BERPGRP PRIQTY 12 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE CREATE TABLESPACE TAAD306 IN BERP000A USING STOGROUP BERPGRP PRIQTY 12 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE CREATE TABLESPACE TAAD311 IN BERP000A USING STOGROUP BERPGRP PRIQTY 12 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE CREATE TABLESPACE TAAD320 IN BERP000A USING STOGROUP BERPGRP PRIQTY 12 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE CREATE TABLESPACE TADV002 IN BERP000A USING STOGROUP BERPGRP PRIQTY 12 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE CREATE TABLESPACE TADV010 IN BERP000A USING STOGROUP BERPGRP PRIQTY 12 SECQTY 9600 LOCKSIZE ROW SEGSIZE 32 CLOSE CREATE TABLESPACE TADV112 IN BERP000A USING STOGROUP BERPGRP PRIQTY 12 SECQTY 9600 LOCKSIZE ROW SEGSIZE 32 CLOSE
BUFFERPOOL BP4 NO; BUFFERPOOL BP4 NO; BUFFERPOOL BP4 NO; BUFFERPOOL BP4 NO; BUFFERPOOL BP4 NO; BUFFERPOOL BP4 NO; BUFFERPOOL BP4 NO; BUFFERPOOL BP4 NO; BUFFERPOOL BP4 NO; BUFFERPOOL BP4 NO; BUFFERPOOL BP4 NO; BUFFERPOOL BP4 NO; BUFFERPOOL BP4 NO; BUFFERPOOL BP4 NO;
Figure 57 (Part 2 of 6). JCL to Create Tablespaces with Company 000 Detailed Setup
151
CREATE TABLESPACE TADV130 IN BERP000A BUFFERPOOL USING STOGROUP BERPGRP PRIQTY 10500 SECQTY 1050 LOCKSIZE ROW SEGSIZE 32 CLOSE NO; CREATE TABLESPACE TADV140 IN BERP000A BUFFERPOOL USING STOGROUP BERPGRP PRIQTY 30000 SECQTY 3000 LOCKSIZE ROW SEGSIZE 32 CLOSE NO; CREATE TABLESPACE TADV200 IN BERP000A BUFFERPOOL USING STOGROUP BERPGRP PRIQTY 8000 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE NO; CREATE TABLESPACE TADV301 IN BERP000A BUFFERPOOL USING STOGROUP BERPGRP PRIQTY 150000 SECQTY 9600 LOCKSIZE ROW SEGSIZE 32 CLOSE NO; CREATE TABLESPACE TADV330 IN BERP000A BUFFERPOOL USING STOGROUP BERPGRP PRIQTY 4000 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE NO; CREATE TABLESPACE TADV334 IN BERP000A BUFFERPOOL USING STOGROUP BERPGRP PRIQTY 120000 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE NO; CREATE TABLESPACE TADV420 IN BERP000A BUFFERPOOL USING STOGROUP BERPGRP PRIQTY 1000 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE NO; CREATE TABLESPACE TADV422 IN BERP000A BUFFERPOOL USING STOGROUP BERPGRP PRIQTY 44000 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE NO; CREATE TABLESPACE TADV450 IN BERP000A BUFFERPOOL USING STOGROUP BERPGRP PRIQTY 12000 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE NO; CREATE TABLESPACE TADV460 IN BERP000A BUFFERPOOL USING STOGROUP BERPGRP PRIQTY 400 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE NO; CREATE TABLESPACE TADV461 IN BERP000A BUFFERPOOL USING STOGROUP BERPGRP PRIQTY 600 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE NO; CREATE TABLESPACE TADV990 IN BERP000A BUFFERPOOL USING STOGROUP BERPGRP PRIQTY 12 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE NO; CREATE TABLESPACE TADV991 IN BERP000A BUFFERPOOL USING STOGROUP BERPGRP PRIQTY 12 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE NO; CREATE TABLESPACE TADV996 IN BERP000A BUFFERPOOL USING STOGROUP BERPGRP PRIQTY 320000 SECQTY 32000 LOCKSIZE ROW SEGSIZE 32 CLOSE NO;
BP4
BP4
BP4
BP4
BP4
BP4
BP4
BP4
BP4
BP4
BP4
BP4
BP4
BP4
Figure 57 (Part 3 of 6). JCL to Create Tablespaces with Company 000 Detailed Setup
152
CREATE TABLESPACE TADV997 IN BERP000A USING STOGROUP BERPGRP PRIQTY 12 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE CREATE TABLESPACE TADV998 IN BERP000A USING STOGROUP BERPGRP PRIQTY 12 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE CREATE TABLESPACE TADV999 IN BERP000A USING STOGROUP BERPGRP PRIQTY 10000 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE CREATE TABLESPACE TTXT001 IN BERP000A USING STOGROUP BERPGRP PRIQTY 12000 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE CREATE TABLESPACE TTXT002 IN BERP000A USING STOGROUP BERPGRP PRIQTY 30000 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE CREATE TABLESPACE TTXT010 IN BERP000A USING STOGROUP BERPGRP PRIQTY 80000 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE COMMIT; CREATE TABLESPACE TTADV IN BERP000B USING STOGROUP BERPGRP PRIQTY 240000 SECQTY 24000 LOCKSIZE ROW SEGSIZE 32 CLOSE CREATE TABLESPACE TTAAD IN BERP000B USING STOGROUP BERPGRP PRIQTY 9600 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE CREATE TABLESPACE TTCHM IN BERP000B USING STOGROUP BERPGRP PRIQTY 9600 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE CREATE TABLESPACE TTCMT IN BERP000B USING STOGROUP BERPGRP PRIQTY 9600 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE CREATE TABLESPACE TTCON IN BERP000B USING STOGROUP BERPGRP PRIQTY 9600 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE CREATE TABLESPACE TTDBA IN BERP000B USING STOGROUP BERPGRP PRIQTY 9600 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE
BUFFERPOOL BP4 NO; BUFFERPOOL BP4 NO; BUFFERPOOL BP4 NO; BUFFERPOOL BP4 NO; BUFFERPOOL BP4 NO; BUFFERPOOL BP4 NO;
BUFFERPOOL BP4 NO; BUFFERPOOL BP4 NO; BUFFERPOOL BP4 NO; BUFFERPOOL BP4 NO; BUFFERPOOL BP4 NO; BUFFERPOOL BP4 NO;
Figure 57 (Part 4 of 6). JCL to Create Tablespaces with Company 000 Detailed Setup
153
CREATE TABLESPACE TTDBT IN BERP000B USING STOGROUP BERPGRP PRIQTY 9600 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE CREATE TABLESPACE TTDDI IN BERP000B USING STOGROUP BERPGRP PRIQTY 9600 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE CREATE TABLESPACE TTDLL IN BERP000B USING STOGROUP BERPGRP PRIQTY 9600 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE CREATE TABLESPACE TTDSK IN BERP000B USING STOGROUP BERPGRP PRIQTY 9600 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE CREATE TABLESPACE TTGFD IN BERP000B USING STOGROUP BERPGRP PRIQTY 9600 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE CREATE TABLESPACE TTGUI IN BERP000B USING STOGROUP BERPGRP PRIQTY 9600 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE CREATE TABLESPACE TTIEX IN BERP000B USING STOGROUP BERPGRP PRIQTY 9600 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE CREATE TABLESPACE TTPCM IN BERP000B USING STOGROUP BERPGRP PRIQTY 9600 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE CREATE TABLESPACE TTPTP IN BERP000B USING STOGROUP BERPGRP PRIQTY 9600 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE CREATE TABLESPACE TTSEM IN BERP000B USING STOGROUP BERPGRP PRIQTY 9600 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE CREATE TABLESPACE TTSQL IN BERP000B USING STOGROUP BERPGRP PRIQTY 9600 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE CREATE TABLESPACE TTSTP IN BERP000B USING STOGROUP BERPGRP PRIQTY 9600 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE CREATE TABLESPACE TTTBS IN BERP000B USING STOGROUP BERPGRP PRIQTY 9600 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE CREATE TABLESPACE TTTLD IN BERP000B USING STOGROUP BERPGRP PRIQTY 9600 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE
BUFFERPOOL BP4 NO; BUFFERPOOL BP4 NO; BUFFERPOOL BP4 NO; BUFFERPOOL BP4 NO; BUFFERPOOL BP4 NO; BUFFERPOOL BP4 NO; BUFFERPOOL BP4 NO; BUFFERPOOL BP4 NO; BUFFERPOOL BP4 NO; BUFFERPOOL BP4 NO; BUFFERPOOL BP4 NO; BUFFERPOOL BP4 NO; BUFFERPOOL BP4 NO; BUFFERPOOL BP4 NO;
Figure 57 (Part 5 of 6). JCL to Create Tablespaces with Company 000 Detailed Setup
154
CREATE TABLESPACE TTTLS IN BERP000B USING STOGROUP BERPGRP PRIQTY 9600 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE CREATE TABLESPACE TTTSS IN BERP000B USING STOGROUP BERPGRP PRIQTY 9600 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE CREATE TABLESPACE TTTST IN BERP000B USING STOGROUP BERPGRP PRIQTY 9600 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE CREATE TABLESPACE TTTTD IN BERP000B USING STOGROUP BERPGRP PRIQTY 9600 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE CREATE TABLESPACE TTTXT IN BERP000B USING STOGROUP BERPGRP PRIQTY 240000 SECQTY 24000 LOCKSIZE ROW SEGSIZE 32 CLOSE CREATE TABLESPACE TTUID IN BERP000B USING STOGROUP BERPGRP PRIQTY 9600 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE CREATE TABLESPACE TOTHER IN BERP000B USING STOGROUP BERPGRP PRIQTY 9600 SECQTY 960 LOCKSIZE ROW SEGSIZE 32 CLOSE COMMIT;
BUFFERPOOL BP4 NO; BUFFERPOOL BP4 NO; BUFFERPOOL BP4 NO; BUFFERPOOL BP4 NO; BUFFERPOOL BP4 NO; BUFFERPOOL BP4 NO; BUFFERPOOL BP5 NO;
CREATE TABLESPACE T813000 IN BERP813 BUFFERPOOL BP6 USING STOGROUP BERPGRP PRIQTY 1440000 SECQTY 144000 LOCKSIZE ROW SEGSIZE 32 CLOSE NO; CREATE TABLESPACE T900000 IN BERP900 BUFFERPOOL BP8 USING STOGROUP BERPGRP PRIQTY 1440000 SECQTY 144000 LOCKSIZE ROW SEGSIZE 32 CLOSE NO; CREATE TABLESPACE TS999 IN BERP9999 BUFFERPOOL BP10 USING STOGROUP BERPGRP PRIQTY 9600 SECQTY 9600 LOCKSIZE ROW SEGSIZE 32 CLOSE NO; COMMIT; GRANT DBADM ON DATABASE BERP000A TO BSPGRP WITH GRANT OPTION; GRANT DBADM ON DATABASE BERP000B TO BSPGRP WITH GRANT OPTION; GRANT DBADM ON DATABASE BERP9999 TO BSPGRP WITH GRANT OPTION; GRANT USE OF STOGROUP BERPGRP TO BSPGRP; GRANT USE OF ALL BUFFERPOOLS TO PUBLIC; /* //
Figure 57 (Part 6 of 6). JCL to Create Tablespaces with Company 000 Detailed Setup
Note: If you have not set up DB2 secondary authid, you will have to add these grant statements for BSP.
155
DBADM ON DATABASE BERP000A TO BSP WITH GRANT OPTION; DBADM ON DATABASE BERP000B TO BSP WITH GRANT OPTION; DBADM ON DATABASE BERP813 TO BSP WITH GRANT OPTION; DBADM ON DATABASE BERP900 TO BSP WITH GRANT OPTION; DBADM ON DATABASE BERP9999 TO BSP WITH GRANT OPTION; USE OF STOGROUP BERPGRP TO BSP;
The following shows db2_groups: The group name becomes the owner ID or create ID and must have dbadm or sysadm privileges:
db2berp:qZ.m7rcL}G3WW"t6L{79r$,<[email protected]
The following shows db2_users; these unintelligible character strings are encrypted passwords that are not used for OS/390, but are used in the UNIX implementation. These files are the same as those used in the UNIX implementation.
*:*:I::01::STOGROUP BERPGRP PRIQTY 64 SECQTY 960 BUFFERPOOL BP3 *:*:T:group:01:5: ARR_SIZE 1 OPT_ROWS 5 T_SPACE BERP9999.TS999 . .
156
Figure 58 on page 158, is a sample db2_storage file that we used. It puts 34 of the larger indexes and 60 tables of Company 000 in their own tablespaces. Attention The entries must be in ascending sequence with the *.* last. If you use the db2_install6.2 script, it puts the new entries at the end. Therefore, you must manually insert them into the correct sequence.
157
ttaad050:000:I::01::STOGROUP BERPGRP PRIQTY 12 SECQTY 960 ttaad050:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000A.TAAD050 ttaad100:000:I::01::STOGROUP BERPGRP PRIQTY 12 SECQTY 960 ttaad100:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000A.TAAD100 ttaad106:000:I::01::STOGROUP BERPGRP PRIQTY 12 SECQTY 960 ttaad106:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000A.TAAD106 ttaad110:000:I::01::STOGROUP BERPGRP PRIQTY 12 SECQTY 960 ttaad110:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000A.TAAD110 ttaad200:000:I::01::STOGROUP BERPGRP PRIQTY 12 SECQTY 960 ttaad200:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000A.TAAD200 ttaad201:000:I::01::STOGROUP BERPGRP PRIQTY 12 SECQTY 960 ttaad201:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000A.TAAD201 ttaad300:000:I::01::STOGROUP BERPGRP PRIQTY 12 SECQTY 960 ttaad300:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000A.TAAD300 ttaad305:000:I::01::STOGROUP BERPGRP PRIQTY 12 SECQTY 960 ttaad305:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000A.TAAD305 ttaad306:000:I::01::STOGROUP BERPGRP PRIQTY 12 SECQTY 960 ttaad306:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000A.TAAD306 ttaad311:000:I::01::STOGROUP BERPGRP PRIQTY 12 SECQTY 960 ttaad311:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000A.TAAD311 ttaad320:000:I::01::STOGROUP BERPGRP PRIQTY 12 SECQTY 960 ttaad320:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000A.TAAD320 ttadv002:000:I::01::STOGROUP BERPGRP PRIQTY 12 SECQTY 960 ttadv002:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000A.TADV002 ttadv010:000:I::01::STOGROUP BERPGRP PRIQTY 12 SECQTY 960 ttadv010:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000A.TADV010 ttadv112:000:I::01::STOGROUP BERPGRP PRIQTY 12 SECQTY 960 ttadv112:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000A.TADV112 ttadv130:000:I::01::STOGROUP BERPGRP PRIQTY 5000 SECQTY 960 ttadv130:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000A.TADV130 ttadv140:000:I::01::STOGROUP BERPGRP PRIQTY 3500 SECQTY 960 ttadv140:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000A.TADV140 ttadv200:000:I::01::STOGROUP BERPGRP PRIQTY 4000 SECQTY 960 ttadv200:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000A.TADV200 ttadv301:000:I::01::STOGROUP BERPGRP PRIQTY 14400 SECQTY 960 ttadv301:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000A.TADV301 ttadv330:000:I::01::STOGROUP BERPGRP PRIQTY 2000 SECQTY 960 ttadv330:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000A.TADV330 ttadv334:000:I::01::STOGROUP BERPGRP PRIQTY 10000 SECQTY 960 ttadv334:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000A.TADV334 ttadv420:000:I::01::STOGROUP BERPGRP PRIQTY 1000 SECQTY 960 ttadv420:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000A.TADV420 ttadv422:000:I::01::STOGROUP BERPGRP PRIQTY 2500 SECQTY 960 ttadv422:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000A.TADV422 ttadv450:000:I::01::STOGROUP BERPGRP PRIQTY 6000 SECQTY 960 ttadv450:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000A.TADV450 ttadv460:000:I::01::STOGROUP BERPGRP PRIQTY 200 SECQTY 960 ttadv460:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000A.TADV460 ttadv461:000:I::01::STOGROUP BERPGRP PRIQTY 300 SECQTY 960 ttadv461:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000A.TADV461 ttadv990:000:I::01::STOGROUP BERPGRP PRIQTY 12 SECQTY 960 ttadv990:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000A.TADV990
Figure 58 (Part 1 of 2). Sample db2_storage File
BUFFERPOOL BP3 BUFFERPOOL BP3 BUFFERPOOL BP3 BUFFERPOOL BP3 BUFFERPOOL BP3 BUFFERPOOL BP3 BUFFERPOOL BP3 BUFFERPOOL BP3 BUFFERPOOL BP3 BUFFERPOOL BP3 BUFFERPOOL BP3 BUFFERPOOL BP3 BUFFERPOOL BP3 BUFFERPOOL BP3 BUFFERPOOL BP3 BUFFERPOOL BP3 BUFFERPOOL BP3 BUFFERPOOL BP3 BUFFERPOOL BP3 BUFFERPOOL BP3 BUFFERPOOL BP3 BUFFERPOOL BP3 BUFFERPOOL BP3 BUFFERPOOL BP3 BUFFERPOOL BP3 BUFFERPOOL BP3
158
ttadv991:000:I::01::STOGROUP BERPGRP PRIQTY 12 SECQTY 960 BUFFERPOOL ttadv991:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000A.TADV991 ttadv996:000:I::01::STOGROUP BERPGRP PRIQTY 100000 SECQTY 9600 BUFFERPOOL ttadv996:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000A.TADV996 ttadv997:000:I::01::STOGROUP BERPGRP PRIQTY 12 SECQTY 960 BUFFERPOOL ttadv997:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000A.TADV997 ttadv998:000:I::01::STOGROUP BERPGRP PRIQTY 12 SECQTY 960 BUFFERPOOL ttadv998:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000A.TADV998 ttadv999:000:I::01::STOGROUP BERPGRP PRIQTY 5000 SECQTY 960 BUFFERPOOL ttadv999:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000A.TADV999 tttxt001:000:I::01::STOGROUP BERPGRP PRIQTY 6000 SECQTY 960 BUFFERPOOL tttxt001:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000A.TTXT001 tttxt002:000:I::01::STOGROUP BERPGRP PRIQTY 2200 SECQTY 960 BUFFERPOOL tttxt002:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000A.TTXT002 tttxt010:000:I::01::STOGROUP BERPGRP PRIQTY 3000 SECQTY 960 BUFFERPOOL tttxt010:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000A.TTXT010 *:000:I::01::STOGROUP BERPGRP PRIQTY 12 SECQTY 960 BUFFERPOOL BP3 ttadv:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000B.TTADV ttaad:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000B.TTAAD ttchm:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000B.TTCHM ttcmt:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000B.TTCMT ttcon:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000B.TTCON ttdba:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000B.TTDBA ttdbt:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000B.TTDBT ttddi:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000B.TTDDI ttdll:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000B.TTDLL ttdsk:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000B.TTDSK ttgfd:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000B.TTGFD ttgui:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000B.TTGUI ttiex:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000B.TTIEX ttpcm:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000B.TTPCM ttptp:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000B.TTPTP ttsem:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000B.TTSEM ttsql:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000B.TTSQL ttstp:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000B.TTSTP tttbs:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000B.TTTBS tttld:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000B.TTTLD tttls:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000B.TTTLS tttss:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000B.TTTSS tttst:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000B.TTTST ttttd:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000B.TTTTD tttxt:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000B.TTTXT ttuid:000:T:group:01:5: OPT_ROWS 5 T_SPACE BERP000B.TTUID *:*:I::01::STOGROUP BERPGRP PRIQTY 64 SECQTY 960 BUFFERPOOL BP3 *:*:T:group:01:5: ARR_SIZE 1 OPT_ROWS 5 T_SPACE BERP9999.TS999
Figure 58 (Part 2 of 2). Sample db2_storage File
159
160
During the installation of the OS/390 UNIX System Services Connection Scaling Kit, the following strings should have been added in /etc/profile.
Variable
String to be included
/usr/lpp/bpa/bin /usr/lpp/cmx/bin /usr/lpp/bpa/lib /usr/lpp/cmx/lib - new for the April/99 porting set /usr/lpp/bpa/nls/msg/C/%N /usr/lpp/cmx/nls/msg/C/%N
Note: IN the NLSPATH entriese, C and N must be capitalized. To verify the setting, issue the following commands:
export _C89_INCDIRS="/usr/include" Then add /usr/lpp/cmx/include to this line: export _C89_INCDIRS="/usr/include /usr/lpp/cmx/include"
Note: The separator between the include directories is a space character. If the following lines are commented out in the /etc/profile, you need to uncomment them.
eval "export $(typeset -x | grep "_C89_" | awk '{sub("_C89_","_CC_");printf "%s ",$0}')" eval "export $(typeset -x | grep "_C89_" | awk '{sub("_C89_","_CXX_");printf "%s ",$0}')"
161
If the following lines are commented out in the /etc/profile, you need to uncomment them. Again, this change is seen system-wide so you need to check with the installation system programmer before modifying the profile.
Note: The HEAP value of 24M in the _CEE_RUNOPTS was used for our installation without any problems. If the HEAP value is not set correctly, the install6.2 script will abort the installation with shared memory problems. Various problems arose during our execution of the install6.2 script (it could not find modules) which were corrected by setting the values of $PATH and $LIBPATH with new directory paths. Review the bug notes in the installation manual and modify the install6.2 script as directed. Note: The DSNAME for STEPLIB is installation-dependent. In our case we had to export STEPLIB=DB2V510.SDSNLOAD. This was not the case in other installations. To verify all variables are set correctly, enter the following command:
env
162
root @ SC55:/>env _CXX_LIBDIRS=/lib /usr/lib /usr/lpp/cmx/lib MAIL=/usr/mail/root HOSTNAME=SC55 PATH=/bin:/usr/lpp/tcpip/sbin:/usr/lpp/tcpip/bin:.:/usr/lpp/bpa/bin:/usr/lpp /cmx/bin:/baanerp/bse/bin _CXX_INCDIRS=/usr/include /usr/lpp/cmx/include /usr/lpp/bpa/include SHELL=/bin/sh _CC_LIBDIRS=/lib /usr/lib /usr/lpp/cmx/lib _CC_INCDIRS=/usr/include /usr/lpp/cmx/include /usr/lpp/bpa/include PS1=$LOGNAME @ $HOSTNAME:$PWD> _CEE_RUNOPTS=$_CEE_RUNOPTS' HEAP(24M)',STACK(131072,131072,ANYWHERE, KEEP),ALL31(ON),TERMTHDACT(USDUMP)' _=/bin/env _BPXK_SETIBMOPT_TRANSPORT=TCPIPOE LOGNAME=root STEPLIB=none LANG=C LIBPATH=/lib:/usr/lib:.:/usr/lpp/bpa/lib:/baanerpinstall/install/bse/bin :/baanerp/bse/bin _C89_LIBDIRS=/lib /usr/lib /usr/lpp/cmx/lib TERM=vt100 _BPX_SHAREAS=YES _BPX_SPAWN_SCRIPT=YES _DB2_MVS_SYNTAX=1 _C89_INCDIRS=/usr/include /usr/lpp/cmx/include /usr/lpp/bpa/include HOME=/ TZ=EST5EDT MANPATH=/usr/man/%L NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lpp/bpa/nls/msg/C/%N: /usr/lpp/cmx/nls/msg/C/%N
163
_CXX_LIBDIRS=/lib /usr/lib /usr/lpp/cmx/lib MAIL=/usr/mail/bsp HOSTNAME=SC55 PATH=/bin:/usr/lpp/tcpip/sbin:/usr/lpp/tcpip/bin:.:/usr/lpp/bpa/bin :/usr/lpp/cmx /bin _CXX_INCDIRS=/usr/include /usr/lpp/cmx/include SHELL=/bin/sh _CC_LIBDIRS=/lib /usr/lib /usr/lpp/cmx/lib _CC_INCDIRS=/usr/include /usr/lpp/cmx/include PS1=$LOGNAME @ $HOSTNAME:$PWD> _=/bin/env _BPXK_SETIBMOPT_TRANSPORT=TCPIPOE LOGNAME=bsp STEPLIB=none LANG=C LIBPATH=/lib:/usr/lib:.:/usr/lpp/bpa/lib _C89_LIBDIRS=/lib /usr/lib /usr/lpp/cmx/lib _C89_INCDIRS=/usr/include /usr/lpp/cmx/include HOME=/baan/bse TZ=EST5EDT MANPATH=/usr/man/%L NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lpp/bpa/nls/msg/C/%N:/usr/lpp/cmx/nls/msg/C/%N export _CEE_RUNOPTS="HEAP(24M,1M,ANYWHERE,KEEP),STACK(131072,131072,ANYWHERE,KEEP), ALL31(ON),LIBSTACK(8),TERMTHDACT(UADUMP)" export TERM=vt100 export DB2_MVS_SYNTAX=1 export _BPX_SHAREAS=YES export _BPX_SPAWN_SCRIPT=YES export PATH=$PATH:/baanerp/bse/bin export LIBPATH=$LIBPATH:/baanerp/bse/bin export BSE=/baanerp/bse export BSE_TMP=$BSE/tmp
Figure 59. Environment Variables for bsp User
164
# This is a sample profile defining system wide parameters. The # variables set here may be overridden by a user's personal .profile in # their $HOME directory. # This may be tailored to your own enterprise, and should be copied into # /etc/profile. More information on this profile may be found in the # OS/390 OpenEdition Planning Guide and the OpenEdition User's Guide. # # To enable and disable lines in this profile you may remove or add '#' # to uncomment or comment the desired lines. # Improve the shell's performance for users from ISPF or with # STEPLIB data sets allocated. This performance improvement is not # applicable to non-interactive shells, for example those started with # the BPXBATCH and OSHELL utilities. if -z "$STEPLIB" && tty -s; then echo " - - - - - - - - - - - - - - - - - - - - - - - - - - - " echo " - Improve performance by preventing the propagation - " echo " - of TSO/E or ISPF STEPLIBs - " echo " - - - - - - - - - - - - - - - - - - - - - - - - - - - " export STEPLIB=none exec sh -L fi # Set the time zone as appropriate. TZ=EST5EDT # This sets a default command path, including your current working # directory (CWD).
PATH=/bin:/usr/lpp/tcpip/sbin:/usr/lpp/tcpip/bin:.:/usr/lpp/bpa/bin :/usr/lpp/cmx/bin
# Specifies the directory to search for a DLL (Dynamic Link Library) # filename. If not set, the working directory is searched. LIBPATH=/lib:/usr/lib:.:/usr/lpp/bpa/lib # Sets the path for NLS files (message catalogs).
NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lpp/bpa/nls/msg/C/%N :/usr/lpp/cmx/nls/msg/C/%N
#C/%Nts the path for man pages (help files). MANPATH=/usr/man/%L # Sets the language # For Japanese: LANG=Ja_JP LANG=C # Sets the name of the system mail file and enables mail notification. MAIL=/usr/mail/$LOGNAME # Export the values so the system will have access to them. export TZ PATH NLSPATH MAIL LANG LIBPATH MANPATH # Set the default file creation mask - reference umask in the OpenEdition # Commands Reference umask 022 # Set the LOGNAME variable readonly so it is not accidentally modified. readonly LOGNAME
Figure 60 (Part 1 of 3). Profile in /etc/profile
165
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
====================================== Start of c89/cc/c++ customization section ====================================== The following environment variables are used to provide information to the c89/cc/c++ utilities, such as (parts of) dataset names which are dynamically allocated. If installation of the compiler and/or runtime library products use different values, then the appropriate "export" lines should be set to the correct value (and uncommented). Note that since a VOL=SER= paramater is not supported by c89/cc/c++, all named data sets used by c89/cc/c++ must be cataloged. It may be necessary to override the default esoteric unit for (unnamed) work data sets, if the c89/cc/c++ default (SYSDA) is not defined for the installed system. A NULL ("") value may be specified in order to allow c89/cc/c++ to use an installation defined default. Only the c89 command variables are explicitly shown. The cc and c++ variables are set by the command line beginning with "eval" at the end of this c89/cc/c++ section. Note that this is not an exhaustive list of the environment variables that affect the behavior of c89/cc/c++. It is however all those that will normally might require customization by the system programmer. For ease of migration, it is recommended that of these only the variables necessary for correct operation of cc/c89/c++ be set. Consult the "Environment Variables" section of the c89/cc/c++ command in the OS/390 OpenEdition Command Reference for complete information about these environment variables. High-Level Qualifier "prefixes" for data sets used by c89/cc/c++: ====================================== C/C++ Compiler: ---------------------------------------export _C89_CLIB_PREFIX="CBC" Prelinker and runtime library: ---------------------------------------export _C89_PLIB_PREFIX="CEE" OS/390 system data sets: ---------------------------------------export _C89_SLIB_PREFIX="SYS1"
166
# # Compile and link-edit search paths: # =================================== # # Compiler include file directories: # ---------------------------------export _C89_INCDIRS="/usr/include /usr/lpp/cmx/include /usr/lpp/bpa/include" # # Link-edit archive library directories: # -------------------------------------export _C89_LIBDIRS="/lib /usr/lib /usr/lpp/cmx/lib" # # Esoteric unit for data sets: # ============================ # # Unit for (unnamed) work data sets: # ---------------------------------------# export _C89_WORK_UNIT="SYSDA" # # Commands to propogate c89 environment variables for cc and c++: # ====================================== #
eval "export $(typeset -x | grep "_C89_" | awk '{sub("_C89_","_CC_");printf "%s ",$0}')" eval "export $(typeset -x | grep "_C89_" | awk '{sub("_C89_","_CXX_");printf "%s ",$0}')"
# # ====================================== # End of c89/cc/c++ customization section # ====================================== # added PS1 to know where you are, who you are, and what your # current directory is export PS1='$LOGNAME @ $HOSTNAME:$PWD>'
Figure 60 (Part 3 of 3). Profile in /etc/profile
167
168
J.1 Overview
OS/390 is the descendant of the MVS operating system. In addition to being MVS, it is a UNIX-branded system. That is to say, the XOPEN organization, which holds UNIX branding authority, has certified that OS/390 has implemented the APIs and functions that define a UNIX system. That being said, many UNIX-literate people, when they first encounter OS/390 UNIX Systems Services, do not feel OS/390 is truly a UNIX system, and the users that do acknowledge it is a UNIX operating system often refer to themselves as being on the MVS side or on the UNIX side. Both situations have a lot to do with which interfaces the user uses to work with the system, and what commands and functions are available to them at a particular interface.
169
Figure 61 portrays the entry into OS/390 by either TSO (the MVS side), or RLOGIN, (the UNIX side). What really happens is that a program is invoked (after all, TSO is just a program) which accesses system functions on behalf of the user. From an operating system point of view, all functions (MVS and USS) are available to all programs. As shown in Figure 61, if a person is logged onto TSO, access to function 1 and 3 are available, (that is to say, one has the key to that function (API)). Similarly, if one has RLOGINed into the UNIX shell, functions 1 and 2 are available. Using a very simple scenario, if function 1 is printing, function 2 is the VI editor and function 3 is the ISPF editor, both sides can print, but TSO has not enabled the VI editor and the UNIX shell has not enabled ISPF. You use the vi editor while logged into the UNIX shell, and you use ISPF when logged into TSO. Of course, if you were logged onto TSO and wanted to use the vi editor, you would have to RLOGIN to the UNIX shell, which to most people is going to the other side. The point is that one could write a terminal monitor program that would have all 3 keys and thus print, VI edit or ISPF under one login. You would never need to change logins, and your sense of the system is that of a single entity. Thus the inability to access both sides us not a result of the limitations of OS/390 (including UNIX System Services) but of the constructs of the program, perhaps limitations of the complier used and of course, the level of security allowed. For example, one may not be able to access MVS data sets (files) from the UNIX side because of a lack of authorization, not because it is
170
technically impossible. Some compliers may not provide verbs for all functions, hence they may be a cause of this either/or view. Presuming a complier that has all the appropriate verbs is chosen then, whether a program uses a particular function, is up to the designer of that program. This is the case for both TSO and the UNIX shell; not all functions are accessible by either program, hence the need to bounce between these two terminal monitors. While this explanation will not eliminate your need to do multiple logins, it is hoped that understanding why this is necessary, will eliminate the misconception that there are sides to OS/390 One last point: OS/390 is often dismissed as not being a true UNIX system because it is missing a favorite shell script or command. In reality, not everyone's favorite command or shell script is necessarily there, but it could be, it just was not ported.
171
172
//DSNTLOG EXEC PGM=DSNJU003,COND=(4,LT) //STEPLIB DD DISP=SHR,DSN=DSN510.SDSNLOAD //SYSUT1 DD DISP=OLD,DSN=DSN510.BSDS01 //SYSUT2 DD DISP=OLD,DSN=DSN510.BSDS02 //SYSPRINT DD SYSOUT=* //SYSUDUMP DD SYSOUT=* //SYSIN DD * DDF LOCATION=DB2D,LUNAME=SCPDBA1, NOPASSWD,RESPORT=33000,PORT=446 //*
Figure 62. DDF Parameters
2. Define DB2 DDF to VTAM in SYS1.LOCAL.VTAMLST. To enable TCP/IP support, you must also define an APPL in VTAM. The place to do this is in SYS1.LOCAL.VTAMLST. The LUNAME keyword must be defined in BSDS and the LU must be active, prior to starting DDF communications. Figure 63 on page 174 shows the APPL definitions in SYS1.LOCAL.VTAMLST.
173
** ** ** * SCPDBA1
DB2 V5 LU DEFINITION FOR DRDA VBUILD TYPE=APPL APPL ACBNAME=SCPDBA1, APPC=YES, ATNLOSS=ALL, AUTH=(ACQ), AUTOSES=10, DMINWNL=25, DMINWNR=25, DSESLIM=50, EAS=509, ENCR=NONE, MODETAB=ISTINCLM, PARSESS=YES, SECACPT=ALREADYV, SONSCIP=NO, SYNCLVL=SYNCPT, VERIFY=NONE, VPACING=2, VTAMFRR=NO
** ** ** X X X X X X X X X X X X X X X X X
3. Define DB2 DDF to RACF. DDF uses UNIX System Services to perform TCP/IP services. Some of the UNIX System Services functions that DDF executes require an authorized user with certain privileges. To execute the authorized functions, the user ID associated with the DDF started task must be defined for UNIX System Services as a superuser. To define a user ID as a superuser, you must set the User Identifier (UID) parameter of the RACF user profile to zero. To set the UID parameter for your DDF user, you can issue one of the following RACF commands:
174
Part of the DDF customization process is to select port numbers when updating the BSDS. The DDF statement of the change log inventory has been enhanced with PORT and RESPORT values. If PORT and RESPORT are defined, DDF accepts TCP/IP connections from any client that provides valid security information. DB2 also allows outbound connections to other DRDA servers using TCP/IP. To define the port numbers in TCP/IP, you must update the TCP/IP PROFILE data set. In our case, we used SYS1.TCPPARMS member PROFILE. You must register the TCP/IP port numbers you have specified during DB2 installation or when using the change log inventory utility. We defined two port numbers required by our DB2 subsystem, DB2D. In the PORT statement you must use TCP as the protocol, and the name of the UNIX System Services started procedure (in our case, OMVS). Because DB2 uses UNIX System Services to connect to TCP/IP, the DB2 ports are reserved for the UNIX System Services address space, and not for the DDF address space, xxxxDIST. The PORT definitions are shown in Figure 64.
SYS1.TCPPARMS(PROFILE) PORT 23 TCP INTCLIEN 446 TCP OMVS 33000 TCP OMVS 33001 TCP OMVS
; ; DRDA SQL PORT for DB2D ; DRDA SQKL resync port for DB2D ; DRDA SQKL resync port for DB2D
For more detailed information on customizing DDF, refer to WOW! DRDA Supports TCP/IP: DB2 Server for OS/390 and DB2, SG24-2212. Note: For the latest information on DRDA, refer to DB2 for OS/390 V5 Installation Guide , GC26-8970.
175
176
177
are fictitious and any similarity to the names and addresses used by an actual business enterprise is entirely coincidental. Reference to PTF numbers that have not been released through the normal distribution process does not imply general availability. The purpose of including these reference numbers is to alert IBM customers to specific information relative to the implementation of the PTF when it becomes available to each customer according to the normal IBM PTF distribution process. The following terms are trademarks of the International Business Machines Corporation in the United States and/or other countries:
DataJoiner DFSMS IBM OS/390 S/390 System/390 DB2 DFSMSdss OpenEdition RAMAC SNAP/SHOT S/390 Parallel Enterprise Server
The following terms are trademarks of other companies: C-bus is a trademark of Corollary, Inc. Java and HotJava are trademarks of Sun Microsystems, Incorporated. Microsoft, Windows, Windows NT, and the Windows 95 logo are trademarks or registered trademarks of Microsoft Corporation. PC Direct is a trademark of Ziff Communications Company and is used by IBM Corporation under license. Pentium, MMX, ProShare, LANDesk, and ActionMedia are trademarks or registered trademarks of Intel Corporation in the U.S. and other countries. UNIX is a registered trademark in the United States and other countries licensed exclusively through X/Open Company Limited. SET and the SET logo are trademarks owned by SET Secure Electronic Transaction LLC. Other company, product, and service names may be trademarks or service marks of others.
178
Installing Baan IV Applications on OS/390, SG24-5334 Implementing DFSMSdss SnapShot and Virtual Concurrent Copy , SG24-5268 Implementing SnapShot, SG24-2241 IBM RAMAC Virtual Array , SG24-4951 DB2 for OS/390 and Data Compression , SG24-5261 WOW! DRDA Supports TCP/IP: DB2 Server for OS/390 and DB2, SG24-2212 Enterprise Web Serving with the Lotus Domino Go Webserver for OS/390, SG24-2074
UNIX System Services Connection Scaling Reference, SA22-7305 SnapShot for MVS/ESA Using SnapShot Version 1 Release 2, SC26-7173 SnapShot for MVS/ESA Installating and Using Version 1 Release 2, SC26-7174 SnapShot Installation Notes for MVS Version 1 Release 2, SC26-7175 UNIX System Services Planning , SC28-1890 IBM HTTP Server for OS/390: Planning, Install and Use, SC31-8690 SnapShot for MVS/ESA Implementing SnapShot for Version 1 Release 2, SC26-7176
Copyright IBM Corp. 1999
179
DB2 for OS/390 V5 Administration Guide, Volumes I and II, SC26-8957 DB2 for OS/390 V5 Application Programming and SQL Guide , SC26-8958 DB2 for OS/390 V5 Call Level Interface Guide and Reference, SC26-8959 DB2 for OS/390 V5 Command Reference, SC26-8960 DB2 for OS/390 V5 Data Sharing: Planning and Administration , SC26-8961 DB2 for OS/390 V5 Installation Guide , GC26-8970 DB2 for OS/390 V5 SQL Reference, SC26-8966 DB2 for OS/390 V5 Utility Guide and Reference, SC26-8967 OS/390 eNetwork Communications Server: IP Configuration , SC31-8513
BaanERP - Installation Guide for BaanERP on OS/390 UNIX System Services BaanERP - DB2 Installation Guide for BaanERP BaanERP Internet Server Installation and Configuration Guide
Learning the vi Editor , Linda Lamb, O'Reilly & Associates, February 1986. UNIX for Dummies , John R. Levine and Margaret Levine Young, IDG Books Worldwide, 1997.
180
Telephone Orders
United States (toll free) Canada (toll free) Outside North America 1-800-879-2755 1-800-IBM-4YOU Country coordinator phone number is in the "How to Order" section at this site: http://www.elink.ibmlink.ibm.com/pbl/pbl/
Fax Orders
United States (toll free) Canada Outside North America 1-800-445-9269 1-403-267-4455 Fax phone number is in the "How to Order" section at this site: http://www.elink.ibmlink.ibm.com/pbl/pbl/
This information was current at the time of publication, but is continually subject to change. The latest information may be found at the redbooks Web site. IBM Intranet for Employees IBM employees may register for information on workshops, residencies, and redbooks by accessing the IBM Intranet Web site at http://w3.itso.ibm.com/ and clicking the ITSO Mailing List button. Look in the Materials repository for workshops, presentations, papers, and Web pages developed and written by the ITSO technical professionals; click the Additional Materials button. Employees may access MyNews at http://w3.ibm.com/ for redbook, residency, and workshop announcements.
181
First name Company Address City Telephone number Invoice to customer number Credit card number
Last name
Card issued to
Signature
We accept American Express, Diners, Eurocard, Master Card, and Visa. Payment by credit card not available in all countries. Signature mandatory for credit card payment.
182
List of Abbreviations
4GL AFP API ASCII
fourth generation language advanced function printing application program interface American National Standard Code for Information Interchange asynchronous transfer mode Baan ASCII Client Conversion Baan Internet Client Baan Windows Client Baan Xwindows Client buffer prefix Baan Software Environment call attach facility Configuration Central Invoicing call level interface (X-Open, SQL interface) Connection Manager Constraint Planning (Baan Application Package) database DATABASE 2 (an IBM relational database management system) Dynamic Enterprise Modeling Development Control Electronic Commerce Enterprise Model Data extended binary coded decimal interchange code enterprise resource planning enterprise systems connection (architecture, IBM System/390) fiber distributed data interface (100 Mbit/s fiber optic LAN) File Transfer Program hierarchical file system International Business Machines Corporation Interactive System Productivity Facility
ITSO LPA OS/390 PC PCL PM ps qm RAMAC RDBMS RRS RS/6000 RVA S/390 SNA SQL tc td tf tg ti tp tr ts tt tu TCP/IP USS
International Technical Support Organization link pack area Operating System (for the) IBM System/390 personal computer printer control language Process Manager Process (Baan Application) Quality Management Raid Architecture with Multi-Level Adaptive Cache relational database management system resource recovery services IBM RISC System 6000 RAMAC Virtual Array IBM System/390 Systems Network Architecture Structured Query Language Common (Baan Application Common Package) Distribution (Baan Application Package) Finance (Baan Application Package) Orgware (Baan Application Package) Manufacturing (Baan Application Package) Project (Baan Application Package) Transportation (Baan Application Package) Services (Baan Application Package) Tools (Baan Application Tools Utilities (Baan Application Utilities) Transmission Control Protocol/Internet Protocol UNIX System Services (of OS/390)
FDDI
183
UNIX
An operating system developed at Bell Laboratories (trademark of UNIX System Laboratories, licensed exclusively by X/Open Company, Ltd.)
vrc wh WINNT
184
D
data compression 132 database drivers 3 database layer 3 database server 3, 11 db2_groups 54, 128 db2_storage 54, 128, 157 db2_users 54, 128 DDF 173 DDF and RACF 174 DFSMSdss SnapShot 136 directives See configuration directives Dynamic Enterprise Modeling (DEM)
A
abbreviations 183 acronyms 183 alias 17 application layer 4 application server 4 architecture 1 ASCII 3
B
Baan applications that run on S/390 6 Baan HTTP server 71 Baan internet client 71 Baan Software Alliances 8 Baan Software Environment (BSE) 5 BaanERP installation steps 15 BAANERP.APPL.BSE 38 BI Client 3, 65 bibliography 179 BSDS changes 173 BShell 4 buffer pool recommendations 102 BW Client 3, 65
E
EBCDIC 3 env variables 43, 143 ERP 1 Exec 86, 89 executing DB2 script 49, 120 expert mode 3
F
functional device table 131 functional track directory 132 functional track table 132
C
Call Attach Facility (CAF) 10 common vi commands 115 configuration directives Exec 86, 89 keyfile 85 normalmode 85 Pass 86, 89 Protect 85 Protection IMW_Admin 85 SSLClientAuth 85 sslmode 85 sslport 85 User ID 85 Configuration files httpd.conf 84, 85 setting up 83 Single server 84 configure client connection 67 connection manager 9, 33 Content placement 86 content setup recommendations
H
HFS 37 HFS file systems 3 HTTP server 71
I
index usage 105 install6.2 script 43, 44, 163 internet client 3, 71 ipcs 142
L
load the BaanERP software from CD-ROM log files 146 log to track progress 147 18
M
87 management disciplines multibshell 48 multibyte 48 106
185
O
OS/390 11
vrc
46
W
Web client 3 Windows client 3
P
Pass 86, 89 porting set 4 presentation client 2 presentation layer 2 problems ASCII mode 140 globlvar not found 140 logging on as bsp 141 problems encountered 139 setting permissions 140 short on storage 139 STEPLIB not found 141 VSAM extents 139 VTOC space 139 Process Manager (PM) 10, 93 Protect 85 PUBLIC 85, 88
Y
Year 2000 1
R
RDBMS 3 reference manuals 15 reorganization and runstats recommendations Resource Recovery Services (RRS) 9 restarting scripts 141 restarting the install6.2 script 144, 164 RVA 131 104
S
scripts db2_install6.2 49, 120 install6.2 43 restarting 141 semaphores 143 shared memory problem 42, 142, 162 shared memory problems 141 Single server httpd.conf 84 setting up 84 SnapShot 135 starting the Baan application 62 SYS1.LOCAL.VTAMLST 173
U
unload the Baan software from CD-ROM User ID 85 using Baan log files 146 40
V
virtual concurrent copy 136
186
__IBM employee
Please rate your overall satisfaction with this book using the scale: (1 = very good, 2 = good, 3 = average, 4 = poor, 5 = very poor) Overall Satisfaction ____________
What other redbooks would you like to see published? _____________________________________________________________________________________________________ _____________________________________________________________________________________________________ _____________________________________________________________________________________________________
Comments/Suggestions: (THANK YOU FOR YOUR FEEDBACK!) _____________________________________________________________________________________________________ _____________________________________________________________________________________________________ _____________________________________________________________________________________________________ _____________________________________________________________________________________________________ _____________________________________________________________________________________________________
187
SG24-5440-00