The System Administrator S Companion
The System Administrator S Companion
The System Administrator S Companion
SG24-2161-00
IBML
International Technical Support Organization The System Administrators Companion to AS/400 Availability and Recovery August 1998
SG24-2161-00
Take Note! Before using this information and the product it supports, be sure to read the general information in Appendix F, Special Notices on page 411.
Contents
Preface . . . . . . . . . . . . . . . . The Team That Wrote This Redbook . . . . . . . . Comments Welcome
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 1. Introduction to AS/400 Availability and Recovery . . 1.1 A Historical Perspective of AS/400 Availability Enhancements 1.2 Frequently Asked Questions about Availability and Recovery 1.2.1 Disk Management . . . . . . . . . . . . . . . . . . . . . . . 1.2.2 Database Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.2.3 Saving or Restoring the System . . . . . . . . . . . . . . . . . 1.2.4 System Availability Factors 1.2.5 System Management . . . . . . . . . . . . . . . . . . . . . 1.2.6 Communications or Network Issues . . . . . . . . . . . . Chapter 2. Availability and Recovery Concepts . . . . . . . . . 2.1 The Importance of Backup . . . . . . 2.2 Backup and Recovery Planning 2.3 Levels of Availability . . . . . . . . . . . . . 2.4 Types of Unplanned Outages . . . . . . . . . . . . . . . . . . . . . . 2.4.1 Power Failure 2.4.2 Unprotected DASD or Disk Failure . . 2.4.3 System Failure . . . . . . . . . . . . . . 2.4.4 Human Error or Program Failure . . . . . . . . . . . . . . . . . . . . 2.4.5 Site Loss 2.5 Recovery Steps . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 3. Availablility Options Provided by Hardware . . . . . . . . . 3.1 Load Source Protection . . . . . . . . . . . . . . . . . . . . . . . . . 3.1.1 Mirrored Protection . . . . . . . . . . . . . . . . . . . . . . . . . 3.1.2 Standard Mirrored Protection . . . . . . . . . . . . . . . . . . . 3.1.3 Mirrored Load Source Protection Prior to V3R7 . . . . . . . . 3.1.4 Remote Load Source Mirrored Protection on V3R7 and Later . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Systems 3.2 Device Parity Protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.3 Uninterruptible Power Supply 3.4 Battery Backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.5 Continuously Powered Main Storage . . . . . . . . . . . . . . . . . 3.6 Tape Device Options . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.7 Alternate Installation Device . . . . . . . . . . . . . . . . . . . . . . Chapter 4. IPL Improvements for Availability . . . . . . . . . . . . . . . . . . . . . . . . . 4.1 A Basic Understanding of an IPL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.2 IPL Types . . . . . . . . . . . . . . . . . . . . 4.3 Affecting the Time to IPL . . . . . . . . . . 4.4 System Managed Access Path Protection . . . . . . . . . . . . . . . . . . . . . . . . 4.4.1 SMAPP Tasks 4.4.2 Performance Considerations when SMAPP is Activated 4.4.3 Modifying SMAPP . . . . . . . . . . . . . . . . . . . . . . 4.5 Changing IPL Attributes . . . . . . . . . . . . . . . . . . . . . 4.5.1 Restart Type (RESTART) Parameter . . . . . . . . . . . 4.5.2 Hardware Diagnostics (HDWDIAG) Parameter . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
iii
4.5.3 Check Job Tables . . . . . . . . . . . . . . . 4.6 Marking the Progress of an IPL with SRC Codes . . . . . . . . . . . . . . . . . . 4.7 IPL Benchmarks . . . . . . . . . . 4.7.1 Benchmark Configuration
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
44 44 46 47 49 49 50 50 53 53 53 55 55 56 57 57 58 59 61 61 63 63 65 66 67 69 69 69 70 72 73 75 75 77 78 79 80 80 81 83 85 85 86 87 88 88 89 89 89 92 93
Chapter 5. Save and Restore for Availability and Recovery . . . . . . . . . . . 5.1 SAVxxx and RSTxxx and Flexibility 5.1.1 Concurrent Save with Generic OMITLIB Example . . . . . . . . . . 5.2 Save While Active and Object Locks 5.2.1 Save While Active Considerations . . . . . . . . . . . . . . . 5.2.2 Save While Active and Target Release 5.3 Omitting Objects on a SAVSYS Operation . . . . . . . 5.4 Concurrent Save Operations . . . . . . . . . . . . . . . 5.4.1 Concurrent Saves on Libraries . . . . . . . . . . . 5.4.2 Concurrent Saves for DLOs . . . . . . . . . . . . . . . . . . . . . . . . . . 5.5 Concurrent Restore Operations 5.6 Use Optimum Blocking for Save and Restore . . . . . 5.7 Save and Restore Scenario . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.7.1 Save Strategy 5.7.2 Additional Considerations . . . . . . . . . . . . . . . . . . . . . 5.8 Unattended Saves Using the SAVE Menu . . . . . . . . . . . . . . . . . . . . . . . 5.8.1 Start Time . . 5.8.2 V4R2 Availability Options on the SAVE Menu 5.9 ObjectConnect/400 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.9.1 ObjectConnect/400 Command Sets 5.9.2 ObjectConnect/400 Offers Simplicity . . . . . . . . 5.9.3 ObjectConnect/400 Implementation Considerations 5.10 Save and Restore Spooled Files . . . . . . . . . . . . . . . . . . . . 5.10.1 QUSRTOOL to Save Spooled Files 5.10.2 Creating CL Commands to Save Spooled Files . . . . 5.11 Multinational Environments and Object Names . 5.12 Product Preview for Save Restore Enhancements
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 6. Save and Restore Considerations for Mixed Release Environments 6.1 Target Release and Save While Active . . . . . . . . . . . . . . . . . . . . . 6.2 Observability Considerations when Restoring Objects . . . . . . . . . . . . 6.3 USEOPTBLK for Save Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.3.1 USEOPTBLK and TGTRLS Compatibility . . . . . . . . . . . . . . . . . 6.3.2 USEOPTBLK and DTACPR Compatibility 6.3.3 USEOPTBLK and Other Considerations . . . . . . . . . . . . . . . . . . 6.3.4 Correcting a Back Level QUSRSYS and QGPL Library on a CISC to . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . RISC Migration 6.4 Journal Receivers and Previous Release Systems . . . . . . . . . . . . . . Chapter 7. Licensed Program and PRPQ Backup and Recovery . . . 7.1 Licensed Program and PRPQ Considerations . . . . . . . . . . . . 7.2 Saving Licensed Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.3 Restoring Licensed Programs 7.4 Special Considerations to Install and Restore Licensed Programs . . 7.4.1 LICPGM Menu Does Not Manage all Licensed Programs . . . . . . . . 7.4.2 User Profile Authority with Licensed Programs 7.4.3 Multi-National Considerations with Directory Names . . . . . 7.5 Licensed Program Library Names for IBM Supplied Libraries . . 7.6 Restoring Commands from Licensed Program Libraries to QSYS . . . . . . . . . . . . . . . . . . . . . . . . . . 7.7 For More Information
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
iv
Chapter 8. Save, Restore, and System Performance for Availability . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.1 Save and Restore Performance 8.1.1 Data Compaction for Tape . . . . . . . . . . . . . . . . . . . . . . . . 8.1.2 Use Optimum Block Size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.1.3 Data Compression 8.1.4 Save and Restore Tips and Techniques for Better Performance . 8.2 Defective Device or Media Considerations . . . . . . . . . . . . . . . . . 8.3 What a User Can Do to Influence System Performance . . . . . . . . . . 8.3.1 Automatic Performance AdjustmentsIt Is Worth Another Look 8.3.2 Altering Shared Pool and Priority Values with the Automatic Tuner . . . . . . . . . . . . . . . . . . . . . . . . 8.3.3 Tuning the System Tuner 8.3.4 Tuning Parameters for Batch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.3.5 Dynamic Priority and Controlling CPU Intensive Jobs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.4 For More Information Chapter 9. Tools for Automating System Management Functions . . . 9.1 ADSTAR Distributed Storage Manager/400 (ADSM/400) . . . . . . . . . . . . . . . . . . . . . . . . . . 9.1.1 ADSM/400 Customer Scenario 9.1.2 ADSM Elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.1.3 Administrative Client Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.1.4 Server Functions 9.1.5 Total Disaster Recovery with ADSM/400 Version 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.1.6 More ADSM/400 Information 9.2 ADSM/400 and BRMS/400 Interoperability . . . . . . . . . . . . . . . . . . . 9.3 Backup, Recovery, and Media Services for AS/400 (BRMS) . . . . . . . . . . . . . . . . . . . . . . . 9.3.1 BRMS Recovery Report 9.3.2 BRMS User Exits and Message Handling . . . . . . . . . . . . . . . . . . . . . . . 9.3.3 BRMS Maintenance ActivitiesSTRMNTBRM 9.3.4 BRMS BRMLOG . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.3.5 Media ClassesCPYMEDIBRM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.3.6 Network Time Zone Synchronization 9.3.7 Large Tape File Sequence Numbers for Non-Save and Restore Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.3.8 Shorten the Time to Save with USEOPTBLK . . . . . . . . . . . 9.3.9 SAVSYSBRM Command Support for OMIT Parameter . . . . . 9.4 WRKASP Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.4.1 ASP Monitoring 9.4.2 ASP Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.4.3 ASP Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.5 Print System Information Tool 9.6 OS/400 Job Scheduler (Part of the Operating System) . . . . . . . . . . . . . . . . . . . . . . . . . . 9.6.1 Work with Job Schedule Entries 9.7 IBM Job Scheduler for OS/400 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.7.1 Job Scheduling and Availability . . . . . . . . . . . . 9.8 IBM SystemView System Manager for AS/400 . . . . . . 9.9 IBM SystemView Managed System Services for AS/400 . . . . . . . . . . . . . 9.9.1 Scenario of Using SM/400 with MSS/400 . . . . . . . . . . . . . . . . . . 9.10 Automating Message Management . . . . . . . . . . . . . . . . . . . . 9.10.1 QSYSMSG Message Queue . . . . . . . . . 9.10.2 Break Handling Program (User-Exit Program) . . . . . . . . . . . . . . . . . . . . . . . . . . 9.10.3 System Reply List 9.10.4 Operational Assistant . . . . . . . . . . . . . . . . . . . . . . . . 9.11 OS/400 Alert Support . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.12 Automating Security Management . . . . . . . . . . . . . . . . . . . 9.12.1 Audit Journal . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . .
. . . .
95 95 . 95 . 97 . 97 . 98 100 100 100 101 104 104 105 107 109 109 110 110 112 112 112 113 114 114 115 115 116 117 117 117 119 119 119 120 121 121 122 123 125 125 127 127 128 130 131 131 131 132 134 134 135 137 138
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents
Chapter 10. Work Management for System Availability . . 10.1 Work With Active Jobs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10.2 Work Control Block Table 10.2.1 Work Control Block Table Cleanup . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10.3 Display Job Tables 10.3.1 Permanent Job Structures Field . . . . . . . . . . 10.3.2 Temporary Job Structures Field . . . . . . . . . . 10.3.3 Entries Field . . . . . . . . . . . . . . . . . . . . . . 10.4 System Jobs Affecting Availability . . . . . . . . . . . . . . . . . . . . 10.4.1 QSYSARB and QSYSARBn Jobs 10.4.2 QJOBSCDJob Scheduler . . . . . . . . . . . . . 10.5 System Values Affecting Availability . . . . . . . . . . 10.5.1 Auxiliary Storage Lower LimitQSTGLOWLMT . . . . . . . 10.5.2 Auxiliary Storage Lower Limit Action . . . . . . . . . . . . . . 10.5.3 Device Recovery Action 10.6 QSYSOPR Message Queue Wrap When Full . . . . . . . . . . . . . 10.7 When CPM or Dump Processing Hang . . . . . . . . . . . . 10.8 When the System Date is Reset . . . . . . . . . . . . . . . . . . . . 10.9 End Job Abnormal 10.10 Reclaim Storage . . . . . . . . . . . . . . . . . . . . . 10.10.1 The Benefits of Running RCLSTG . . . . . . . . . . . . . . . . . . . . . 10.10.2 Reclaim Storage Options . . . . . . . 10.10.3 Reclaim Storage Status Messages 10.10.4 Reclaim Storage Error Messages . . . . . . . . . . . . . 10.10.5 Completion Time for Reclaim Storage . . . . . . . . . . . . . . . 10.11 Other Reclaim Processes 10.11.1 Reclaim Document Library Object (RCLDLO) . . . . . . 10.11.2 Reclaim Spool Storage (RCLSPLSTG) 10.11.3 Detecting Damage in QSYS Physical Files . . . 10.11.4 Detecting Damage in Physical Files . . . . . . . . . . . . . . . . . . . . . . . . . 10.12 Power Down System 10.12.1 Change Command Default Considerations . . . 10.12.2 End Subsystem Option . . . . . . . . . . . . . . . . . . 10.12.3 Timeout Options for Power Down System 10.12.4 Time to Terminate Improves System Availability . . . . . . . . . . . . . . . . 10.13 Work Management APIs 10.13.1 QUSRJOBI Retrieve Job Information API . . . . 10.13.2 QUSLJOB List Job API . . . . . . . . . . . . . . . 10.13.3 QWTCHGJB Change Job API . . . . . . . . . . . 10.13.4 QUSCHGPA Change Pool Attributes API . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
139 139 141 143 143 144 145 145 146 147 148 148 149 150 150 151 152 152 152 153 154 155 156 157 157 158 158 159 159 160 161 161 162 162 164 164 164 165 165 166 167 167 169 170 171 171 171 175 175 176 177 177 177 178
Chapter 11. Availability and the PTF Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.1 PTF Terminology . . . . . . . . . . . . . . . . . . . . . . . . . 11.2 Preventive Service Planning 11.3 Applying and Removing PTFs and IPLs . . . . . . . . . . . . . . . . . . . 11.3.1 LIC PTF Apply and System Availability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.3.2 Applying PTFs without an IPL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.4 Product Level Support 11.4.1 DB2/400 PTF Strategy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.5 Conditional PTFs . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.6 Cumulative PTF Package 11.6.1 Applying CUM Packages . . . . . . . . . . . . . . . . . . . . . . . . . 11.7 Applying PTFs for the Next Release Prior to Installing the Next Release . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.8 Distributing PTFs . . . . . . . . . 11.9 Requesting PTFs and Cover Letters Using the Internet
vi
11.9.1 Media or PTF Cover Letter Order Scenario . . . . . . . . . . . . . . 11.10 For More Information
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
179 179 181 181 181 182 183 185 185 186 186 187 188 188 188 190 191 191 197 198 198 199 199 200 200 201 202 202 203 204 205 205 206 207 207 208 208 209 209 211 211 212 213 215 217 217 217 218 219 219 220
Chapter 12. Communications Error Recovery and Availability 12.1 What Communications Error Recovery Procedures Are 12.2 Improvements on V4R2 Systems . . . . . . . . . . . . . . 12.2.1 QCMNARB System Value Setting . . . . . . . . . . . 12.2.2 High-Performance Routing . . . . . . . . . . . . . . . 12.2.3 Device Recovery Performance for Display Devices 12.2.4 MAXFRAME Value on LAN Controller Descriptions . . . . . . . . . . . . . . . . . . . . . 12.2.5 Force a Vary Off 12.2.6 LAN Response Timer . . . . . . . . . . . . . . . . . . 12.2.7 Device Allocation Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12.2.8 QAUTOVRT System Value . . . 12.2.9 Removal of Obsolete Messages in QSYSOPR . . . . . . . . . . . . . . . . . . 12.2.10 TCP Error Recovery 12.2.11 Serviceability Improvements . . . . . . . . . . . . . 12.3 Improvements on V4R1 Systems . . . . . . . . . . . . . . 12.3.1 Restructure of 5250 Display Station Pass Through . . . . . . . . . . . . . . . 12.3.2 File Server Job Restructure 12.3.3 Activation of the Operational LAN Manager . . . . . . . . . 12.3.4 Program Start Request Message Threshold 12.3.5 Error Log Filtering . . . . . . . . . . . . . . . . . . . . 12.3.6 Communications Trace Improvements . . . . . . . . . . . . . . . . . . . . 12.4 Configuration Tips and Techniques 12.4.1 Subsystem Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12.4.2 Online at IPL Considerations . . . . . . . . . . . . . . . . . . 12.4.3 Switched Disconnect . . . . . . . . . . . 12.4.4 APPN Minimum Switched Status 12.4.5 Communications Recovery . . . . . . . . . . . . . . . 12.4.6 APPC Controller Description Error Recovery . . . . 12.4.7 Automatic Creation of APPC Controllers . . . . . . . 12.4.8 Automatic Deletion of Controllers and Devices . . . 12.4.9 Prestart Jobs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12.4.10 Client Access Mode Descriptions 12.4.11 Job Log Considerations . . . . . . . . . . . . . . . . 12.5 Testing Error Recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12.5.1 Types of Error Recovery Testing 12.5.2 ERP Testing Tips . . . . . . . . . . . . . . . . . . . . . 12.5.3 Problem Determination . . . . . . . . . . . . . . . . . Chapter 13. Network AvailabilityTCP/IP Considerations 13.1 Saving TCP/IP Configurations . . . . . . . . . . . . . . . . . . . . 13.2 Saving Integrated File System Objects 13.3 TCP/IP Tips . . . . . . . . . . . . . . . . . . . . . . . . 13.3.2 Common TCP/IP Problems . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 14. Availability Options with Hypertext Transfer Protocol 14.1 Backing Up HTTP Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.2 Where to Find HTTP Server Protection Setup 14.3 HTTP Access Control and Management . . . . . . . . . . . . 14.4 HTTP Problem Determination . . . . . . . . . . . . . . . . . . . . . . . . 14.4.1 HTTP Log File Setup Using the DDS Format 14.5 For More Information . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents
vii
Chapter 15. Backup and Restore for Integrated File System Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15.1 The Integrated File System . . . . . . . . . . . . 15.2 Save and Restore for the Integrated File System . . . . . . . . . . . . . . . . . . . 15.2.1 When to Use the SAV Command . . . 15.2.2 Considerations When Saving Across Multiple File Systems 15.2.3 Considerations when Saving Objects from the QSYS.LIB File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . System 15.2.4 Considerations when Restoring across Multiple File Systems . . 15.2.5 Considerations when Restoring Objects from the QSYS.LIB File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . System 15.2.6 Considerations when Restoring Objects to the QDLS File System . . . . . . . . . . . . . . . . . . . . . . . . . . 15.3 User-Defined File System . . . . . . . . . . . . . . . . . 15.3.1 Mounting User-Defined File System 15.3.2 Saving and Restoring an Unmounted UDFS . . . . . . . . . . . . . 15.3.3 Saving an Unmounted UDFS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15.3.4 Restrictions when Saving an Unmounted UDFS 15.3.5 Restoring an Unmounted UDFS . . . . . . . . . . . . . . . . . . . . 15.3.6 Restrictions when Restoring an Unmounted UDFS . . . . . . . . . 15.3.7 Restoring an Individual Object from an Unmounted UDFS . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15.3.8 Saving a Mounted UDFS . . . . . . . . . . . . . . . . . . . . . . 15.3.9 Restoring a Mounted UDFS . . . . . . . . . . . . . . . . . 15.3.10 Integrated File System Commands 15.4 Document Library Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15.4.1 Saving DLOs . . . . . . . . . . . . . . . . . . . . . . . . 15.4.2 SAVDLO Enhancements 15.4.3 Methods of Saving Multiple Documents . . . . . . . . . . . . . . . 15.4.4 DLO(*SEARCH) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15.4.5 Authority for SAVDLO Commands 15.4.6 Saving Office Services Information . . . . . . . . . . . . . . . . . . 15.4.7 Saving Mail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15.4.8 Saving Text Search Services Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15.4.9 Restoring DLOs 15.4.10 Restoring New and Existing DLOs . . . . . . . . . . . . . . . . . . 15.4.11 RSTDLO Enhancements . . . . . . . . . . . . . . . . . . . . . . . . 15.4.12 General Performance Considerations for DLOs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15.4.13 Further Considerations . . . . . . . . . . . . . . . . . . . . . . . . . 15.4.14 Authority for RSTDLO 15.4.15 Restoring Folders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15.4.16 Restoring Mail and Distribution Objects . 15.4.17 Authority and Ownership Issues a During a Restore of DLOs . . . . . 15.4.18 Recovery of Text Index Files for Text Search Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15.5 Domino for AS/400 15.5.1 Why You Should Back Up a Domino for AS/400 Server . . . . . . . . 15.5.2 Libraries and Directories for the Domino for AS/400 Product 15.5.3 Backing Up the Domino for AS/400 Product . . . . . . . . . . . . . . . . . . . . . . . . . . 15.5.4 Backing Up the Domino for AS/400 Server 15.5.5 Backing Up Specific Dynamic Objects From Your Domino Server 15.5.6 Recovery of Domino for AS/400 . . . . . . . . . . . . . . . . . . . . 15.5.7 Recovering Domino Mail . . . . . . . . . . . . . . . . . . . . . . . . 15.5.8 Recovering a Specific Database . . . . . . . . . . . . . . . . . . . . 15.5.9 Restoring Changed Objects to the Domino for AS/400 Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15.6 Windows NT 15.6.1 Directories and Objects for Windows NT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15.6.2 Backing Up System Objects 15.6.3 Backing Up User Objects . . . . . . . . . . . . . . . . . . . . . . . .
. . . . .
221 221 223 224 224 226 228 229 230 231 231 235 236 236 237 237 237 237 240 240 241 241 241 242 242 243 243 244 244 244 245 245 245 246 246 247 247 247 248 248 248 249 249 250 251 254 255 256 256 258 258 259 259
. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . .
viii
15.6.4 Considerations for Back Up when Creating User Spaces . . . . . . . . . . . . . . . . . 15.6.5 Backing Up Specific Objects From Windows NT 15.6.6 Restoring the Windows NT Product . . . . . . . . . . . . . . . . . . . 15.7 Lotus Notes on the Integrated PC Server . . . . . . . . . . . . . . . . . . 15.7.1 Types of Storage Spaces . . . . . . . . . . . . . . . . . . . . . . . . . 15.7.2 Backup and Recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15.7.3 Saving a Network Server Description 15.7.4 Saving the Server Storage Spaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15.7.5 Saving the Network Server Storage Spaces 15.7.6 Restoring a Network Server Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15.7.7 Restoring the Server Storage Spaces 15.7.8 Restoring the Network Server Storage Spaces . . . . . . . . . . . . . . . . . . . . 15.7.9 Saving by Using the ADSM OS/2 Lotus Notes Agent 15.7.10 Backing Up Data Using the Notes Backup Agent . . . . . . . . . . . . . . . . . . . . . . 15.7.11 Restoring Databases Using the Notes Agent 15.7.12 Restoring Individual Documents . . . . . . . . . . . . . . . . . . . . 15.8 NetWare on the Integrated PC Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15.8.1 QNetWare Characteristics 15.8.2 Network Server Storage Spaces and Volumes . . . . . . . . . . . . 15.8.3 Save and Restore Overview . . . . . . . . . . . . . . . . . . . . . . . 15.8.4 Types of Storage Spaces . . . . . . . . . . . . . . . . . . . . . . . . . 15.8.5 Save and Restore Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15.8.6 Saving Everything 15.8.7 Saving Specific Objects . . . . . . . . . . . . . . . . . . . . . . . . . . 15.8.8 Saving the Server Storage Spaces . . . . . . . . . . . . . . . . . . . 15.8.9 Saving the Network Storage Spaces . . . . . . . . . . . . . . . . . . 15.8.10 Restoring Everything . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15.8.11 Restoring Specific Objects 15.8.12 Restoring Server Storage Spaces . . . . . . . . . . . . . . . . . . . 15.8.13 Restoring Network Storage Spaces . . . . . . . . . . . . . . . . . . 15.8.14 Other Tips and Techniques . . . . . . . . . . . . . . . . . . . . . . . 15.9 OS/2 Warp Server for AS/400 (Formerly Known as LAN Server for . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . OS/400) . . . . . . . . . . . . . . . . 15.9.1 OS/2 Warp Server for AS/400 Structure . . . . . . 15.9.2 Backup and Recovery for OS/2 Warp Server for AS/400 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15.9.3 Storage Spaces . . . . . . . . . . . . . . . . . . . 15.9.4 Authority Requirements for Saves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15.9.5 Restricted State 15.9.6 Tips for Saving OS/2 Warp Server for AS/400 on RISC Machines . . 15.9.7 Examples of Saving Specific OS/2 Warp Server for AS/400 Files 15.9.8 Restoring OS/2 Warp Server for AS/400 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15.9.9 PC Client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15.10 Firewall 15.10.1 Saving the Firewall . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15.10.2 Restoring the Firewall . . . . . . . . . . . . . . . . . . . . . . . . . . 15.10.3 Saving and Restoring the Filter Rules Using the COPY Command Chapter 16. Database Protection and Availability . . . . . . 16.1 Saving Database Files for Recovery . . . . . . . . . . . 16.2 Logical and Physical Files in Different Libraries . . . . 16.3 ANZDBF Command . . . . . . . . . . . . . . . . . . . . . 16.4 Referential Integrity Save and Restore Considerations . . . . . 16.5 Save and Restore Tips for Trigger Programs 16.6 Save and Restore Relational Database Directories . . . . . . . . . . . . . . . . . . . . . . . 16.7 Stored Procedures
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
260 260 262 264 264 267 268 268 269 269 269 270 270 271 271 272 272 272 272 273 273 274 275 275 278 279 282 282 284 284 285 287 288 290 290 290 291 291 292 295 297 297 298 300 302 303 303 304 304 306 306 307 310
Contents
ix
16.8 Database Journaling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16.9 Determining Whether to Apply Journal Changes 16.10 Considerations for SAVCHGOBJ when Journaling is Active . . . . . . . . . . . . . . . . . 16.11 Database Journaling Performance 16.11.1 Performance Tips for Journaling . . . . . . . . . . . . . . . . . . . . . . . 16.12 PTFs for CHGJRN performance improvements: 16.13 Elimination of Lock Conflicts Between CHGJRN and RCVJRNE . . . . . 16.14 Considerations for 1TB Maximum Access Path Size . . . . . . . . . . . . . . . . . . . . 16.15 Journaling of Access Paths 16.15.1 Access Path Journals Compared to SMAPP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16.16 Saving Access Paths 16.17 Journal Entries Considerations for V4R2 . . . . . . . . . . . . . 16.18 Journal Receiver Protection . . . . . . . . . . . . . . . . . . . . 16.19 Multi-member Database File Save Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16.20 Database Server Jobs 16.21 DB2 Multisystem . . . . . . . . . . . . . . . . . . . . . . . . . . . 16.22 Restoring Distributed Files . . . . . . . . . . . . . . . . . . . . . 16.22.1 Distributed Files Backup Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . 16.23 Distributed File Back Up Scenario 16.24 Considerations for a Multinational Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16.25 For More Information
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
310 311 312 312 313 314 315 315 316 316 318 320 321 321 322 322 323 323 324 325 325 327 327 329 330 330 330 331 331 331 332 332 333 333 334 334 335 339 350 351 351 352 353 353 353 354 355 356 356 356 357 359 359
Chapter 17. Using Remote Journals to Improve Availability and Recovery . . . . . . . . . . . . . . . . . . . . . . . . . 17.1 Remote Journal Function 17.2 When the Remote Journal Function Can Be Used . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17.3 Remote Journal Transport Protocol . . . . . . . . . . . . . . . . . . . 17.4 Remote Journal Replication Modes 17.4.1 Synchronous Delivery Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17.4.2 Asynchronous Delivery Mode 17.5 Performance Considerations for Remote Journal Implementation . . . . . . . . . . . . . . . . . . . . 17.5.1 Create Journal Receiver ASPs . . . . . . . . . . . . . . . . . . 17.5.2 Remove Internal Journal Entries 17.5.3 Reduce Length of Journal Entries . . . . . . . . . . . . . . . . . . 17.5.4 Check *BASE Main Storage Pool Size on Target Machine . . . . . . . . 17.6 Performance Considerations for Running Remote Journal 17.7 Remote Journal APIs . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17.8 Remote Journal Coding Examples . . . . . . . . . . . . . . . . . . . . 17.8.1 Implementing Remote Journals with C . . . . . . . . . . . . . . . 17.8.2 Implementing Remote Journals with RPG . . . . . . . . . . . . . 17.9 More Information on the Remote Journal Function . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 18. OptiConnect for OS/400 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18.1 What OptiConnect for OS/400 Is 18.2 OptiConnect Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18.3 OptiConnect for OS/400 Software Component Overview . . . . . . . . 18.3.1 OptiConnect for OS/400 . . . . . . . . . . . . . . . . . . . . . . . . . 18.3.2 OptiMover for OS/400 (PRPQ P84291 Product Number 5799-FWQ) 18.4 Bus Technology and the OptiConnect Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18.5 OptiConnect Satellites . . . . . . . . . . . . . . . . . . . . . . . . . 18.6 OptiConnect Hub Selection 18.7 Dual Path OptiConnect Overview . . . . . . . . . . . . . . . . . . . . . . 18.7.1 Satellite Dual Path . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18.7.2 Hub Dual Path 18.8 OptiConnect Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18.9 OptiConnect RPQs
. . . . .
. . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Appendix A. AS/400 Maximum Capacities . . . . . . . . . A.1 Limits for Database and SQL A.2 Limits for Communications . . . . . . . . . A.3 Limits for Work Management and Security A.4 Limits for Save and Restore . . . . . . . . . . . . . . . . . . . . A.5 Miscellaneous Limits Appendix B. Evaluating the Time to IPL
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . .
Appendix C. Save and Restore Rates of IBM Tape Drives for Sample Workloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C.1 Comparing Performance Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C.2 Lower Speed Tape Drives . . . . . . . . . . . . . . . . . . . . . C.3 Medium Speed Tape Drives . . . . . . . . . . . . . . . . . . . . . C.4 Highest Speed Tape Drives . . . . . . . . . . . . . . . . . . . . . . . C.5 Save and Restore Rates C.6 Save and Restore Rates for Optical Device . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
379 380 381 382 382 383 385 387 387 387 387 387 388 388 389 389 391 391 392 392 394 395 395 395 396 396 396 397 397 398 399 399 401 401 401 401 401 402 404 405 405
Appendix D. OptiConnect for OS/400 Terminology and Hardware Overview D.1 OptiConnect for OS/400 Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D.1.1 An OptiConnect Cluster . . . . . . . . . . . . . . . . . . . . . . . D.1.2 Satellite and Hub Systems D.2 Link and Path Redundancy . . . . . . . . . . . . . . . . . . . . . . . . . . D.2.1 Link Redundancy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D.2.2 Path Redundancy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D.3 Hardware Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D.3.1 OptiConnect Adapter Cards and Connecting to the Network Appendix E. High Availability Solutions . . . . . . . . . . . . . . . . . . E.1 A High Availability Customer Scenario . . . . . . . . . . . . . . . . . . . . . . . . . . . E.2 When to Consider a High Availability Solution . . . . . . . . . . . . . . . E.2.1 What a High Availability Solution Is E.3 DataMirror . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E.3.1 DataMirror HA Data . . . . . . . . . . . . . . . . . . . . . . . . . E.3.2 ObjectMirror . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E.3.3 SwitchOver System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E.3.4 OptiConnect and DataMirror . . . . . . . . . . . . . . . . E.3.5 Remote Journals and DataMirror . . . . . . . . . . . . . . . E.3.6 More Information about DataMirror E.4 IBM and High Availability . . . . . . . . . . . . . . . . . . . . . . . . E.4.1 IBM DataPropagator Relational Capture and Apply for AS/400 . . . . . . . . . . . . . . . . . E.4.2 DataPropagator/400 Description E.4.3 DataPropagator/400 Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E.4.4 Data Replication Process E.4.5 OptiConnect and DataPropagator/400 . . . . . . . . . . . . . . E.4.6 Remote Journals and DataPropagator/400 . . . . . . . . . . . E.4.7 DataPropagator/400 Implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . E.4.8 More Information about DataPropagator . . . . . . . . . . . . . . . . . . . . . . . . . . E.5 Lakeview Technology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E.5.1 MIMIX/400 . . . . . . . . . . . . . . . . . . . . . . . . . . . . E.5.2 MIMIX/Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . E.5.3 MIMIX/Switch E.5.4 MIMIX/Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents
xi
E.5.5 MIMIX/Promoter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E.5.6 OptiConnect and MIMIX E.5.7 More Information About Lakeview Technology E.6 Vision Solutions, Inc. . . . . . . . . . . . . . . . . . . . . . . . . E.6.1 OMS/400Object Mirroring System E.6.2 ODS/400Object Distribution System . . . . . . . . . E.6.3 SAM/400System Availability Monitor E.6.4 High Availability Services/400 . . . . . . . . . . E.6.5 More Information About Vision Solutions, Inc. Appendix F. Special Notices
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
406 406 406 406 407 408 408 409 410 411 413 413 413 413 417 417 418 419 421 423 425
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Appendix G. Related Publications . . . . . . . . . . . . . . . . G.1 International Technical Support Organization Publications G.2 Redbooks on CD-ROMs . . . . . . . . . . . . . . . . . . . . G.3 Other Publications . . . . . . . . . . . . . . . . . . . . . . . How to Get ITSO Redbooks . . . . . . . . . . How IBM Employees Can Get ITSO Redbooks How Customers Can Get ITSO Redbooks . . . . . . . . . . . . . IBM Redbook Order Form List of Abbreviations Index
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
xii
Preface
This redbook serves as a companion to other sources of availability and recovery topics that most significantly includes the Backup and Recovery manual, SC41-5304. It offers a collection of tips and techniques from many sources, including professional consultants specializing in availability, recovery, systems management, and performance. Plus, it highlights new availability and recovery features for V4R2 and significant functions from earlier releases. The information in this redbook assumes that you are familiar with AS/400 operating procedures, such as using commands to save your system. It also assumes that you understand basic problem determination techniques, such as where to find error messages and how to report problems. This redbook was written for the AS/400 system administrator. System administrators are responsible for ensuring that the AS/400 system maintains a level of availability to meet business demands. Their responsibility includes:
Ensuring the system is backed up in the event that recovery is needed Enforcing and monitoring the backup and recovery plan Planning for, implementing, and managing the appropriate hardware and software components to ensure a level of availability consistent with business requirements Defining system-wide values that affect save-and-restore operations, data integrity, security, and performance Enabling the techniques and tools to automate save-and-restore procedures Maintaining reliable documentation for changes made to the system
As IBM continues to enhance the availability of the AS/400 system and improve save-and-restore functions, more tools and techniques are readily accessible to maintain your systems availability. This redbook can help you understand the features of the AS/400 system, increase your systems availability, and prevent or reduce the impact of an outage.
xiii
with a special emphasis on performance, ADSM/400, and high availability solutions. Rob Jones is an AS/400 Technical Advisor in Canada. He has 8 years of experience in the information technology field. He has worked at ISM, a Division of IBM Global Services, for 4 years. His areas of expertise include performance management, communications, and systems automation. He holds a degree in business from Ryerson Polytechnical Institute in Toronto. Hubert Lye is a Software Services Specialist in Australia. He has eleven years of experience in the information technology field and has worked at IBM for eight years. His areas of expertise are AS/400 problem determination and resolution in the systems area. He holds a degree in Economics and Computing Science from Manchester Polytechnic in the United Kingdom. Petri Nuutinen is a Systems Support Engineer in Finland. He has fifteen years of experience, starting with the S/38 and has been working with the AS/400 since early 1987. His main areas of expertise are AS/400 problem determination, work management, and performance tuning. He holds a degree from the University of Finland. Thanks to the following people for their invaluable contributions and advice in the production of this document: International Technical Support Organization, Rochester Center Marcela Adan Jim Cook Jarek Miszczyk Suehiro Sakai Fant Steele IBM Rochester Laboratory Bernie Begin Jim Bonalumi Pamela Bowen Mike Denney Mark Diez Jim Flanagan Bob Gintowt John Halda Don Halley Steve Hank Jelan Heidelberg Allan Johnson Paul Koeller Kathy Mack Dawn May Scott Maxson Pundi Madhavan Jerry Miller Craig Nordmoe Dave Novey Dick Odel Ron Peterson Luz Rink Joe Rizzo
xiv
Debbie Saugen Edward Stavana Chuck Stupca Jeff Tenner Marty Thompson R. J. Traff Judy Trousdell Tony Tschida Jeff Vettel Larry Youngren Paul Wolf IBM UK Technical Support Paul Kirkdale IBM Technology Solutions Center Selwyn Dickey Brenda Thompson Endicott Software Development Lab Mark Bullock Joseph Caldwell John Hall Susan Hall Rich Hock John Martz Joseph Miller Frank Paxhia AS/400 Support Line Luis Barajas James Hall Richard Halleen Mike Moiwood Kent Morris Bill Osler Sue St. George Peter Schmitt IBM AS/400 Competency Center Sue Baker Eric Hess Partners in Development Amit Dave Kent Milligan AS/400 Skills Development Olga Saldivar Michael Cameron-Smith Representatives from the Large AS/400 User Group (LUG) Jerry E. Linde, Communications Data Services, Incorporated Rod Flinn, Circuit Cities Stores, Incorporated Don Birch, Nintendo of America
Preface
xv
Robert J. Cargill, Oriental Trading Company, Incorporated Gary S. Lagarde, Reynolds Metals Company Representatives from IBM Business Partner Organizations DataMirror CorporationWayne Nathanson Lakeview Technology Vision Solutions, Inc.Fred Grunewald
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 425 to the fax number shown on the form. Use the electronic evaluation form found on the Redbooks Web sites: For Internet users For IBM Intranet users
http://www.redbooks.ibm.com/ http://w3.itso.ibm.com/
xvi
Hardware availability solutions Procedures to effectively save and restore the AS/400 system Selecting a suitable tape drive for your backup Using remote journals and database protection methods Automating availability Managing a mixed release environment Licensed program considerations Availability and communications facilities PTFs and availability Minimizing the time to IPL Protecting the integrated file system environment OptiConnect for availability High availability solutions Limits to growth
Throughout this redbook, there are many references to the manual Backup and Recovery , SC41-5304. This redbook was designed as a companion to this manual and other related backup and recovery publications. Together, these guides can help you maintain the reliability of your AS/400 system and establish recovery during an unplanned or planned outage. To help you understand availibility and recovery as it is presented in this redbook, the next section offers a brief review of these features since the introduction of the AS/400 in 1988. Following this section is a list of commonly asked questions regarding system availability and recovery.
I B M s Field Data Management System Hardware Service Call Reports for 1996, 1997, and 1998 Customer Survey of AS/400 High Impact Outages, IBM, July 7, 1996 System and availability information reported to IBM by the Large User Group for 1997 and 1998
Version 1 (including V1R1, V1R2, and V1R3): Disk mirroring support was added to protect against DASD failures. Users could protect DASD devices concurrently without bringing down the system. IBM 3490 tape technology was also introduced, which provided increased capacity for archives, saves, and unattended backups. Version 2 (including V2R1, V2R2, V2R3, and V3R05): An integrated battery power unit was introduced on the high-end models to protect against power outages. The new Save While Active function reduced the downtime to perform save operations. Device Parity Protection (RAID) support was added to provide more cost-effective protection against DASD failures. Plus, tape capacities and performance continued to increase. Version 3 (including V3R1, V3R2, V3R6, and V3R7): System Managed Access Path Protection (SMAPP) was introduced to control and reduce initial program load (IPL) time required to rebuild access paths after a failure. Faster IPLs and the elimination of the need to IPL for regenerating temporary addresses appeared in 64-bit RISC machines. The addition of IBM 3590 tape technology, faster I/O busses on RISC machines, and support for a larger tape block size resulted in vastly improved save and restore performance and capacity. Backup Recovery and Media Services (BRMS/400) was added to support automated and policy-driven archive, backup, recovery, and management of tape media. Plus, DASD devices could now be concurrently added on RISC systems without bringing down the system. And, many PTFs could be installed or applied concurrently without requiring an IPL. Version 4 (which includes V4R1 and V4R2): System availability increased, with a reduction of up to 50% in the time needed to complete an IPL. Scheduled dedicated system time for applying cumulative PTF packages was reduced by up to one-third. New support was added on the save commands for generic library names and omit options to provide maximum flexibility for defining which libraries and objects to save. This support made it easier to use multiple tape drives to further reduce the time that the system is unavailable during save operations. Multiple concurrent save or restore operations with two or more tape units could save or restore objects to a single library, or save or restore DLOs into a single ASP. The most common locking conflicts, while an object is saved with the Save While Active function, were eliminated. System and network availability was increased due to enhancements in starting and stopping APPC communications and streamlining the logging and recovery of errors. A remote journal function was added to replicate journal entries from a local system to journals and journal receivers located on a remote system for hot site backup, data replication, and high availability applications.
The following table offers a detailed summary of availability enhancements by release.
V1R3
V2R1
V2R3
1. Save While Active across multiple libraries 2. Automated operations enhanced 3. Save and restore performance improved to allow additional functions in a non-dedicated environment 4. Migration capabilities to RAID without reloading 5. 3490 on 9404 systems 6. Operating system RAID support for 9406 systems 1. Redundant N + 1 power supplies and regulators on RISC hardware 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. SMAPP QDBSRVnn database cross-reference files and jobs Reset and reload of an IOP without an IPL Parallel journal apply System managed change journal support Parallel database IPL recovery Faster small object restore BRMS and SystemView products 3590 tape drive Immediate PTFs
V3R05 V3R1
V3R2
V3R7
V4R2
Disk management Database management Saving or restoring the system System availability factors System management Communications or network issues
You can quickly locate the information you need without scanning the entire redbook. In some cases, one question leads to more than one topic, and many questions point to the same chapter.
I want to implement user ASPs, but they look difficult to manage. Is there a tool I can use? Yes. The WRKASP utility provides a user-friendly menu interface to manage user ASPs. Refer to Section 9.4, WRKASP Utility on page 120.
What options are available to protect the system in the event the load source unit has an unrecoverable error? See Section 3.1, Load Source Protection on page 23.
I heard about SMAPP, but turned it off. Is that a good idea? No. Please look at Section 4.4, System Managed Access Path Protection on page 38, to see what is new for SMAPP.
It takes a long time to rebuild. Is there a way I can speed it up without doing a manual IPL? If you saved the data with the access paths on a tape, the answer is yes. Put the rebuild of access paths on hold and restore the file from tape. See Chapter 16, Database Protection and Availability on page 303, for further considerations about access paths.
How do I obtain a better understanding of my database structure and the location of the physical and logical files? Turn to Section 16.9, Determining Whether to Apply Journal Changes on page 311.
If I have DASD mirroring, do I need journals? Yes. Mirroring is designed to protect from loss of a disk drive by keeping the system operating while the drive is repaired or replaced. Mirroring cannot protect you from data corruption or user error or object damage caused by an abnormal system end. This is what journals are designed for. Refer to Section 16.8, Database Journaling on page 310.
I heard that journals can be located on a system separate from the associated database. Can this help me offload my production system? Where can I find out more? Yes. Remote journal support capabilities within OS/400 provide enablers that allow for data changes to be synchronously recorded on two or more systems. The speed and integrity of the high availability application is enhanced and in-flight data is protected across a failure. Refer to Chapter 17, Using Remote Journals to Improve Availability and Recovery on page 327, and Appendix E, High Availability Solutions on page 391, for information on remote journals and high availability solutions.
I am considering the development of journal replication in my application through the remote journal function to free up some resources on my production machine. How can I test the new APIs to determine what kind of performance I can expect? The APIs used for remote journal function are listed in Section 17.7, Remote Journal APIs on page 334. See Section 17.8, Remote Journal Coding Examples on page 334 to see how to create a program with remote journal interfaces.
How can I make sure that I can restore everything that I saved back to my system? Test your recovery. Refer to Section 5.7.2, Additional Considerations on page 61 for details.
What happens when I do not use the SAV command? If you do not use the SAV command, you only save the root directory (QSYS.LIB) using the SAVSYS command. All other directories, such as QDLS and QLanSrv, are not saved. Refer to Section 15.1, The Integrated File System on page 221, in this redbook for a discussion on this topic.
My SAVSYS operation takes too long. How can I reduce the time that my system is in a restricted state? See Section 5.3, Omitting Objects on a SAVSYS Operation on page 53.
Saving my production database takes too long. How can I reduce the elapsed save time of my production libraries? Through hardware and software enhancements you can run multiple parallel backups. These backups can execute concurrently. You can divide your database to send equal amounts of data to each of your tape drives. For an example of how this can be done, see Section 5.4, Concurrent Save Operations on page 55.
I am worried that I do not save my database in the best way to ensure a fast restore and recovery. Any recommendations? Yes, turn to Appendix C, Save and Restore Rates of IBM Tape Drives for Sample Workloads on page 379, for a description of the various ways to save a database with a fast recovery in mind.
Can I restore an individual object saved with a SAVLIB (*NONSYS, *IBM, or *ALLUSR) command?
Yes. First, display the tape using the Display Tape (DSPTAP) command, and indicate *SAVRST for the data type parameter. Find the object you need to restore and note the file label ID. On the Restore Object (RSTOBJ) command, specify the name of the object and the library from which it was saved. For the RSTOBJ label parameter value, use the file label ID you noted from the DSPTAP command. Refer to Chapter 5, Save and Restore for Availability and Recovery on page 49 for more save and restore considerations.
Can I restore subsystem descriptions, QHST files, job queues, or commands from a SAVSYS tape? Yes. First, display the tape using the Display Tape (DSPTAP) command, and enter *SAVRST for the data type. Find the object that you need to restore, and note the file label ID, which you need for the Restore Object (RSTOBJ) command. On the RSTOBJ command, enter the name of the object and the library from which it was saved. Use the file label ID that you noted from the DSPTAP command for the RSTOBJ label parameter value.
Why are my private authorities gone when I delete a library and restore from backup? Private authorities are not saved with the objects. To recover the private authorities of objects you have already restored, you must restore the user profiles and run the Restore Authority (RSTAUT) command. Refer to Chapter 5, Save and Restore for Availability and Recovery on page 49, for more save and restore considerations.
Do I have to implement BRMS to back up spool files? No. Refer to Section 5.10, Save and Restore Spooled Files on page 69, for some sample programs.
Is there a way to move objects between systems without using a tape drive if my SNADS connection is down? Yes. On your system you have a set of commands ready to be used. Refer to Section 5.9, ObjectConnect/400 on page 65.
How do I save Volume SYS in NetWare? Do I need to vary off the Integrated PC Server? Section 15.8, NetWare on the Integrated PC Server on page 272 describes how to manage the NetWare file system.
What tips can you offer on saving NetWare objects? See Section 15.8.7, Saving Specific Objects on page 275, for more information on tips for saving NetWare objects. Also look at Table 32 on page 273, for a summary of QNetWare objects.
I want to make sure that my PC users data is backed up regularly. How can I do that? See Section 9.1, ADSTAR Distributed Storage Manager/400 (ADSM/400) on page 109.
After I upgraded to V4R2, my first save used more tape storage than previous saves. What happened? For V4R2, database files are converted to lengthen the current header extension area by 512 bytes of storage per file. This conversion takes place when the object is first used. The additional storage affects save media. For
example, 10 000 files saved to tape require an additional 5 120 000 bytes in V4R2. (10 000 X 512 = 5 120 000).
How can I reduce my IPL time? See Sections 4.5, Changing IPL Attributes on page 42 and 4.4, System Managed Access Path Protection on page 38.
How can I automate system tuning? You can let the system do it for you. See how this is done in Section 8.3.1, Automatic Performance AdjustmentsIt Is Worth Another Look on page 100.
Can I affect the way the performance adjuster works? Yes. There are several values that you can alter to affect the performance adjuster. In addition, algorithms for the performance adjuster changed since it was first introduced to make it more efficient. See Section 8.3.3, Tuning the System Tuner on page 104, for more information.
A few hours after an IPL, I sometimes have mysterious slowdowns on my system. Why does this happen? Take a look at Section 10.2, Work Control Block Table on page 141, for a few suggestions.
What levels of availability can I achieve on the AS/400 system? There are several levels of availability for which you can plan. Refer to Section 2.3, Levels of Availability on page 17, Section 5.4, Concurrent Save Operations on page 55, Section 5.7, Save and Restore Scenario on page 58, and Section 5.6, Use Optimum Blocking for Save and Restore on page 57.
I heard that the AS/400 system can be clustered. What does that mean? Clustering is a group of separate computers that behave as if they were a single system. A workstation interacts with a cluster as if it were a single highly reliable server. AS/400 clusters are enabled by database replication and fail over support provided by high availability business partner applications. In the event of a planned or unplanned outage, operations can be quickly restarted on a backup system containing a replicated copy of the system, applications, and data.
I heard that OptiConnect/400 can be used to create a clustered AS/400 solution. How does the Opti/Connect400 software work and how are the machines connected? How does OptiConnect/400 provide a high availability solution? IBMs OptiConnect hardware and software components enable a user to customize a high availability solution. Refer to Chapter 18, OptiConnect for OS/400 on page 351.
What does the expression a high availability solution mean? High availability is the characteristic of a system that delivers an acceptable or agreed-upon level of service during scheduled periods of operation. High
Chapter 1. Introduction to AS/400 Availability and Recovery
availability systems recover from failures of major hardware components without a loss of data or loss of time to restore data. Think of high availability as a tool that allows you to keep your system up and running. Please refer to Appendix E, High Availability Solutions on page 391, for more information on high availability software solutions.
Do I have to purchase a separate product to obtain a high availabity solution? No. High availability solutions can be written by application programmers or you can purchase a separate high availabilty product. See Chapter 18, OptiConnect for OS/400 on page 351, and Appendix E, High Availability Solutions on page 391. OptiConnect/400 hardware and software offer a variety of options in developing clustered systems and hot site backups of your existing environment. To see what hardware is required and how the environments are connected, see Chapter 18, OptiConnect for OS/400 on page 351, and Appendix D, OptiConnect for OS/400 Terminology and Hardware Overview on page 387.
We must maintain continuous operations and never close down the system for planned or unplanned outages. What do you recommend? Look at a high availability solution involving two or more systems. See Appendix E, High Availability Solutions on page 391, for more information.
Can exceeding storage limits affect system availability? Yes. Refer to Appendix A, AS/400 Maximum Capacities on page 361 for a table of maximum capacities for V4R2 AS/400 systems.
Can tapes created using the SAVSYS command be used for installing software? Tapes that are created using SAVSYS are meant for recovery operations. Therefore, you cannot use them for an automatic installation process. SAVSYS tapes do not provide a full backup of your system. See Chapter 5, Save and Restore for Availability and Recovery on page 49 and Section 9.5, Print System Information Tool on page 123.
Can I restore an object to a lower release system? Yes. You must specify the target release on the save command. Refer to Chapter 6, Save and Restore Considerations for Mixed Release Environments on page 75, for more information on saving and restoring objects in a mixed release environment.
I delay upgrading software levels because I am afraid I will lose my configuration. Is there a way to prevent this? Yes. Use the PRTSYSINF command to gather necessary documentation on how your system is configured, both before and after any upgrade. Refer to Section 9.5, Print System Information Tool on page 123 for more information.
I need to save data from my V4R1 system to another system that is running at V3R6. Can I do that? Look at Chapter 6, Save and Restore Considerations for Mixed Release Environments on page 75, for a description of considerations for
10
maintaining a multiple release level environment and for a list of valid parameters on the various save commands.
Can I distribute software packages, install them on my remote systems, and perform an IPL if necessary? Yes, you can. Please refer to Section 9.9, IBM SystemView Managed System Services for AS/400 on page 130, for details.
I want to distribute software packages to my remote AS/400 systems, as well as to non-AS/400 systems. What is the best way to do this? See Section 9.8, IBM SystemView System Manager for AS/400 on page 128, for a solution.
I delay managing PTFs because it is difficult to do and requires a lot of time. Has this process been improved? Actually, that is not required. See Section 11.3, Applying and Removing PTFs and IPLs on page 170, for details.
Can I use my Internet access to read Preventive Service Planning information? Yes. See Section 11.2, Preventive Service Planning on page 169.
Can I download and apply PTFs for a later release before installing the later release? Yes. See Section 11.7, Applying PTFs for the Next Release Prior to Installing the Next Release on page 177, to learn how this is done.
Why were PTFs not applied during last nights IPL using the Job Scheduler? The Job Scheduler can only perform IPLs to the B side. To apply Licensed Internal Code (LIC) PTFs, the system needs to go to the A side. See Section 11.3.1, LIC PTF Apply and System Availability on page 171, for more information.
I loaded and applied a PTF on my system and performed an IPL, but the PTF is still not activated. Can I verify that all required PTFs are on my AS/400 system before performing additional IPLs? Yes. See Section 11.5, Conditional PTFs on page 175, to learn how the PTF process has changed.
Can the SNDPTF command send PTFs to other systems, or do I need the Managed System Services for AS/400 product? Yes. The SNDPTF command sends the PTFs when Managed System Services is not installed on the service requestors system. However, the Extent of Change parameter is not functional. For example, if APY(*TEMP) , the PTF is sent but not applied. See Section 11.8, Distributing PTFs on page 177, for more information on distributing PTFs, and see System Manager Use , SC41-5321-01, for information on distributing PTFs and setup considerations.
I want to automate my batch backup jobs process. How do I start? You can do this with the OS/400 job scheduler as described in Section 9.6, OS/400 Job Scheduler (Part of the Operating System) on page 125.
I want to automate the interdependent batch backup jobs process. Is this possible?
11
Yes, with Job Scheduler/400. Look at Section 9.7, IBM Job Scheduler for OS/400 on page 127.
How can I keep track of what has been backed up from my system and on which media it is stored? See Section 9.3, Backup, Recovery, and Media Services for AS/400 (BRMS) on page 114.
Do I need BRMS/400 to manage my ADSM/400 generated tapes? No, ADSM/400 can do that on its own. Refer to Section 9.1.5, Total Disaster Recovery with ADSM/400 Version 2 on page 112, for an explanation.
I need to perform a reclaim storage on my system, but I am worried that it will take too long. Can I figure out how long it is going to take? You can estimate the time based on a number of factors. See Sections 10.10, Reclaim Storage on page 153, and 10.10.5, Completion Time for Reclaim Storage on page 157.
What does the RCLSTG operation do while it is running? The RCLSTG process issues messages. Refer to Section 10.10.3, Reclaim Storage Status Messages on page 156.
My AS/400 system is sometimes heavily loaded with users running queries and various statistics. Is there a way to offload it? Yes, with a second AS/400 system and a data replication tool, you may let your read-only applications run on a second machine. Interactive users are not affected by large queries or other heavy read-only jobs. See Appendix E, High Availability Solutions on page 391, for details.
Is there a way to audit the use of HTTP accesses? Yes. You can query the log files. Refer to Section 14.3, HTTP Access Control and Management on page 218.
Since I upgraded to V4, the QCMN routing entries no longer exist. prior to V4, I set up security. How do I create the same setup through the QPASTHR servers? You can do this by using the QRMTSIGN program. See Remote Work Station Support , SC41-5402.
12
Sometimes, however, a minor problem that appears to be recoverable through normal problem management procedures can escalate into a disaster, such as corruption in a database. You recover the data from a backup tape, but then have further data errors. If the source of the problem cannot be identified and resolved, and the problem escalates throughout the day, management may consider this to be a disaster situation. This chapter introduces the concepts of disaster recovery and stresses the importance of a reliable and tested backup recovery plan. Once the plan is realized, your systems level of availability is improved.
13
Twenty-five percent of the enterprises went bankrupt. Forty percent were bankrupt within two years. Less than seven percent were in business after five years. Recommendation
Manual procedures, if they exist at all, are only practical for a short period of time.
14
1. Determine what the business requires Many business processes depend completely on information systems that the business cannot effectively perform in the event of an information system failure. Business processes must be evaluated for their negative impact, that is, loss of business and revenue. The evaluation reveals what your business priorities are and the time scale that is required for the recovery for each business process. 2. Determine the information system requirements Once the business requirements are established, convert them into information systems terms, or into a context that the system administrator can use. The result should be a matrix showing (for each application) the required recovery time, maximum allowable data loss, computing power required to run, disk storage required, and dependencies on other applications or data. Cooperation across organization and departmental boundaries is necessary to reach a consensus on requirements. 3. Design the backup and recovery solution Describe, in a generic way, any special hardware and software functions required for the backup and recovery processes, the recovery configuration, the network and interconnection structures, and the recovery location. A high level design may be sufficient to estimate the cost of the solution. If the cost is too high, the solution needs to be reworked until both the cost and the solution are agreed upon.
15
4. Select procedures and products to implement the solution Develop processes and products that can be used together to support the recovery design solution you developed. Products consists of hardware, software, and possibly the selection of an alternate system or site. Processes are the documented steps for all aspects for the backup and recovery plan. 5. Implement the backup and recovery solution The development of the backup and recovery plan requires cooperation with many departments and sponsorship by management. Set up the recovery team to develop and implement backup and recovery procedures. Document the recovery steps to execute the recovery plan for each type of failure. 6. Keep the solution up-to-date Put procedures in place to ensure that the backup and recovery solution remains viable. Develop and implement procedures for the maintenance, testing, and auditing of the backup and recovery plan. The success of the plan is only as good as its evaluation. Four factors, as depicted in Figure 3, that you need to consider in any solution are: 1. 2. 3. 4. How fast must the recovery be accomplished? How much data can be lost? What type of disaster does the solution cover? What is the cost of the solution?
Be aware that some requirements are trade-offs, or are mutually exclusive. The more stringent the requirements, the higher the cost of the solution.
16
Balance these factors to develop a solution which best meets the business needs at an acceptable cost. Note: The backup and recovery plan forms the basis for a disaster recovery plan for information systems. Though the planning is likely to be executed by information system professionals, the recovery plan should be owned and driven by executive management. Use the redbook Fire in the Computer Room, What Now? Disaster Recovery: Planning for Business Survival , SG24-4211, to help build a recovery plan.
Continuously available: Systems that reduce or eliminate both planned and unplanned outages
Your system is as available as it is planned or designed to be. Orient your implementation choices toward your desired level of availability. These levels include:
High availability: Systems provide high availability by delivering an acceptable or agreed upon level of service during scheduled periods of operation. The system is protected in this high availability type of environment to recover from failures of major hardware components like CPU, disks, and power supplies when an unplanned outage occurs.
Continuous operations: A continuous operation system is capable of operating 24 hours a day, 365 days a year with no scheduled outage. This does not imply that the system is highly available. An application can run 24 hours a day, 7 days a week yet be available only 95% of the time because of unscheduled outages. When unscheduled outages occur, they are typically short in duration and recovery actions are unnecessary or minimal.
Continuous availability: This type of availability is similar to continuous operations. Continuous availability systems deliver an acceptable or agreed upon service 7 days a week 24 hours a day. They add to availability provided by fault tolerant systems by tolerating both planned and unplanned outages. Continuous availability must be implemented on both a system and application level. By doing so, you can avoid losing transactions. End users need not be aware a failure or outage has occurred in the computing environment. Note: The computing environment consists of the computer, the network, and all workstations.
17
The levels of protection that a system offers depends on hardware, software, and application components. Many components available for the AS/400 system are described later in this redbook. Figure 4 on page 18 shows some of the hardware and software options available for your AS/400 system.
Power loss DASD loss System failure Program or human error Site loss Performance degradation
The AS/400 system has multiple solutions to address the problems associated with each of these failure types. This redbook discusses many, but not all, of the solutions available. Note: Performance management is not viewed by some as an availability option. However, response time for interactive and batch jobs affects the availability of information in a timely manner. It is from this perspective that this redbook addresses performance. See Chapter 8, Save, Restore, and System Performance for Availability on page 95, and Appendix C, Save and Restore Rates of IBM Tape Drives for Sample Workloads on page 379, for a further discussion of availability related performance topics.
18
19
These steps are identified in Figure 5 and described later in this section.
1. Identify the error: The system administrator should categorize the source of the failure. Is the problem:
20
This is a matter of having the failed item diagnosed, then repaired, replaced, or circumvented (for example, locating and replacing a piece of failed or suspect hardware, or determining a software problem and fixing it). The resolution time can involve travel time for a service representative or programmer, time to locate the problem, and time to repair the problem. 3. Recover to a known point: This means that you need to put the system back to a known state (if required) after repairs are complete. For example, in the event of an unprotected DASD loss, this means reloading the system ASP of the AS/400 system. Restoring the complete system from two-day old backup tapes puts the AS/400 system back into a known state (which, in this case, is two days ago). In the case of a human or programming error where data is accidentally deleted or improperly updated, this can constitute reloading the system with the most recent backup of the database that was affected (which may also be two days old). 4. Return to the point of failure: Returning the system to the point of failure happens by applying the changes and transactions that occurred since the last backup (which was restored in step 3). Applying journal changes to the database files returns the files to the point of failure. Reapply PTFs to the IBM system and product libraries if PTFs were applied since the last system save. Note: Lack of planning can mean that transactions must be manually re-entered (if there is a paper trail from which to re-enter them). The more orphan data you have (data that has never been saved or journaled), the more impact there is on the business. 5. Process transactions to bring the system to a current status: Even though the system may have been unavailable during the outage, business transactions may take place (for example, on a desktop PC, scratch pads, post-it notes, and so on). Depending on the business environment, these transactions may need to be entered before the system returns to full production. Recommendation Perform a post mortum, or a review of what happened. Ask the questions:
You can find more information on recovery planning in: Backup and Recovery , SC41-5304, and So You Want to Estimate the Value of Availability , GG22-9318.
21
22
Increased performance (compared to other methods) Reduced application development time by eliminating the need to manage a disk within an application
The AS/400 systems implementation of single level storage includes automatic scatter loading of data across all disk units, also referred to as direct access storage device (DASD) into the auxiliary storage pool (ASP). Objects are spread across multiple disk arms, especially larger objects. This configuration allows multiple disk arms to service the object, potentially improving performance by servicing disk requests in parallel. It also eliminates the need to manage the disk unit where an object is located. Scatter loading makes adding new disk units easier since they are simply added to the existing pool of disk units. This chapter describes the hardware availability options necessary to enable the protection of single level storage. Many of these options have been available since the introduction of the AS/400 system. We summarize those components for reference only and describe the enhancements from a hardware availability point of view. The hardware options to protect DASD availability that are discussed in this chapter include:
The hardware options to protect power and memory that are discussed in this chapter include:
23
Disk unitsto provide the lowest (relative) level of availability Disk controllers Disk I/O processors (IOP) Busesto provide the highest (relative) level of availability
Mirroring protection is configured by the ASP. For optimum protection, there must be an even number of components at each level of protection. The system remains available during a disk, controller, IOP, or bus failure if the failing component and hardware components that are attached to it are duplicated. For detailed information about mirroring functions, see Backup and Recovery , SC41-5304.
24
3.1.4 Remote Load Source Mirrored Protection on V3R7 and Later Systems
Remote load source mirroring support allows the two disk units of the load source to be on different IOPs or system buses. It provides IOP or bus level mirrored protection for the load source. The advantages of remote load source mirroring compared to standard load source mirroring are that:
Remote load source mirroring provides IOP level or bus level mirrored protection for the load source unit. Remote load source mirroring allows DASD to be divided between two sites, mirroring one site to another to protect against a site disaster.
The disadvantages of load source mirroring compared to standard mirroring are that:
A system that uses remote load source mirroring can only IPL from one DASD of the load source mirrored pair. If that DASD fails and cannot be
Chapter 3. Availablility Options Provided by Hardware
25
repaired concurrently, the system cannot IPL until the failed load source is fixed and the remote load source recovery procedure is performed.
When remote load source mirroring is active on a system and the one load source that the system uses to IPL fails, the system cannot perform a main storage dump if the system abnormally terminates. This means that the system cannot use the main storage dump or continuously powered main storage (CPM) to reduce recovery time after a system crash. It also means that the main storage dump is not available to diagnose the problem that caused the system to abnormally end. The system cannot IPL or perform a main storage dump until the load source attached to the MFIOP is repaired and usable.
When combined with remote load source mirroring, the remote load source DASD function mirrors the DASD on local optical buses with DASD on optical buses terminating at a remote location. In this configuration, the entire system (including the load source) is protected from a site disaster. If the remote site is lost, the system can continue to run on the load source at the local site. Conversely, if the local DASD is lost, the remote site load source is used. If the local load source and system unit are lost, a new system unit is attached to the DASD set at the remote site. Then you can resume system processing. Remote load source mirroring, as with standard DASD mirroring, supports mixing device parity protected disk units in the same ASP with mirrored disk units. The device parity DASD is located at either the local or the remote site. However, if a disaster occurs at the site containing the device parity DASD, all data in the ASPs that hold the device parity DASD is lost. You can replace and synchronize the load source unit with the mirrored load source unit while the system is running.
26
For some systems, standard load source mirroring remains the best choice. For others, remote load source mirroring provides important additional capabilities. Evaluate the use and needs of your system, and consider the advantages and disadvantages of each type of mirroring support to determine which is best for your availability characteristics. For a further comparison of mirrored and device parity protection, refer to Backup Recovery , SC41-5304. There is also a thorough explanation of device parity, checksum protection, and mirrored protection in the redbook AS/400 System Availability and Recovery for V2R2 , GG24-3912.
27
checksum, on the other hand, is started or stopped using configuration options on the AS/400 system menu. Note: System checksum is another disk protection method similar to device parity. Checksum is not supported on RISC systems, and we do not discuss it in this redbook. You can find information on checksum in the Backup and Recovery , SC41-5306, and the V2R2 redbook AS/400 System Availability and Recovery for V2R2 , GG24-3912. The overall goal of device parity protection is to provide high availability and protect data as inexpensively as possible. Parity protection is built into the 6502, 6512, 6532, and 6751 Input/Output Processors (IOPs). It is activated for disk units that are attached to those IOPs. It is also built into the high availability models of the 9337 Disk Array Subsystem. For V4R2 systems, a 9751 MFIOP provides RAID support for unprotected, mirrored, or RAID protection for internal disk units as well as disk compression. The AS/400e models provide the ability to use device parity protection at bus-level distances for the load source unit. On AS/400 Models 600, 620, S10, and S20, you must order the MFIOP feature code 2726 to support device parity protection. On AS/400 Models 640, 650, S30, S40, and SB1, device parity protection is standard with MFIOP feature code 9751. Note: The 9751 MFIOP feature code supports both device parity protection and mirroring. Device parity protection can :
Prevent your system from stopping when certain types of failures occur. Speed your recovery process for certain types of failures such as a site disaster or an operator or programmer error. Device parity protection is not : A substitute for a backup and recovery strategy. Protection from all types of failures such as a site disaster or an operator or programmer error.
Recommendation The system continues to run in an exposed mode until the repair operation is complete and the data is synchronized. If a failure occurs, correct the problem quickly. In the unlikely event that another disk fails in the same parity set, you can lose data.
For more information about device parity protection, see Backup and Recovery , SC41-5304.
28
Protect the system from voltage peaks (white outs). Provide a normal end of operations. A normal end reduces recovery time when the system is restarted. If the system abnormally ends before completing a normal end of operations, recovery time is significant.
Normally, a UPS does not provide power to all local workstations. Nor does the UPS usually provide power to modems, bridges, or routers that support remote workstations. Consider supplying alternate power to both workgroups since the inability of worker access to information disrupts productivity. You can avoid such disruption with proper availability and recovery implementation. Also, design your interactive applications to handle the loss of communication with a workstation. Otherwise, system resources are used in an attempt to recover devices that have lost power. Refer to Chapter 12, Communications Error Recovery and Availability on page 181, for more information on resources used during device recovery. The programming language reference manuals provide examples of how to use the error feedback areas to handle workstations that are no longer communicating with the application. Backup and Recovery , SC41-5304, describes how to develop programs to handle an orderly shutdown of the system when the UPS takes over.
29
updates. Preserving main storage contents significantly reduces the amount of time the system requires to perform an IPL after a power loss. CPM operates outside of transaction boundaries. You can use the CPM feature along with a UPS (or the battery backup). If the system detects that the UPS can no longer provide sufficient power to the system, the data currently in memory is put into sleep mode. The CPM storage feature takes control and maintains data in memory for up to 48 hours. With the CPM feature, the system automatically initiates an IPL after power is restored. Refer to Backup and Recovery , SC41-5304, and the AS/400e Series System Handbook , GA19-5486-16, for more information on CPM requirements.
Some models, typically with 3590 tape devices attached, see a performance improvement when using an alternate installation device for other save and
30
restore or installation operations. different IOP than the load source the alternate installation device is first system bus. The first system Typically this is where the optical attached.
This is caused by having the tape drive on a unit is attached to. On systems prior to V4R1, only supported using devices attached to the bus connects to the service processor IOP. or tape devices used for installations are
For step-by-step instructions to set up alternate installation device support, see Backup and Recovery , SC41-5304.
31
32
Within each of these IPL phases, many IPL stages (indicated by System Reference Codes (SRCs)) are substantially reduced in time. This contributes to significant improvements in the total time to perform an IPL. This chapter helps you understand what has changed in the IPL process and how you can take advantage of the changes for improved system availability.
Starting the system after it is powered off Restarting the system to reset a problem Restarting to load a code fix (if required) Restarting after a crash, loop, or hang (if required) Restarting after a change in the hardware configuration (if required) Performing system maintenance such as regenerating temporary address structures (CISC only)
33
Hardware diagnostics are run (as specified with IPL attributes). The hardware state is initialized. System Licensed Internal Code (SLIC) is loaded. The operating system is loaded and started. Recovery is performed as needed on user data.
A B C D
= = = =
IPL the system using permanent LIC fixes only. IPL the system using temporary LIC fixes. Reserved for laboratory use. Load the microcode from removable media, not from disk.
The IPL process is shown in Figure 8, and identifies the SRCs associated with the transition to the next IPL stage.
Fast IPL with minimum hardware diagnostics Slow IPL where all hardware diagnostics are run Short programmed IPL (the default IPL) Full programmed IPL
Note: PTFs can be applied with a fast IPL. If the PTF is related to an MFIOP, the code is downloaded to the MFIOP first and a full IPL is done. Specify the type of IPL you want to perform by using:
34
When you specify HDWDIAG(*MIN) on the CHGIPLA command, the system performs a minimum, critical set of hardware diagnostics. The system runs a quick processor diagnostic check that covers approximately 90% of the hardware in approximately 10% of the time that is required for full diagnostics. The system does not perform extended main storage diagnostic or chip-to-chip circuitry tests. Most of these functions are used during the remainder of the IPL.
The control panel on the AS/400 system unit to temporarily override the IPL attributes: Choose function 02 ( Select IPL type/mode ) on the control panel and enter the type of IPL that you want to perform: F = Fast (*MIN) IPL (override current IPL attribute setting). S = Slow (*ALL) IPL (override current IPL attribute setting). V = Cancel override of current IPL attribute setting, the system value setting is used.
Selecting the IPL type using the control panel is only possible when the system is not powered on. Find detailed instructions about using the control panel functions in AS/400 Basic System Operation, Administration, and Problem Handling , SC41-5206-00. Note: The override selections stay in affect until the system is powered off at which time the override is automatically cancelled.
35
automatically does a full programmed IPL. This verifies that the new code is used during the IPL. Figure 9 on page 36 shows the difference between a RESTART type of of *FULL and *SYS.
36
Normal IPL: Power on IPL (cold start) Programmed IPL (PWRDWNSYS RESTART(*YES))
Abnormal IPL: Abnormal system terminations cause recovery processing to be done during the IPL. The amount of processing is determined by the point in time when the system went down and how it went down, such as: Function 3 to initiate a manual IPL Function 8 to perform an emergency power off Function 21 DST power off Function 22 to retry SLIC main store dump processing Function 34 to force a retry of CPM or main store dump A machine check A white button power off A power outage with continuous power main storage (CPM) A power outage with no protection. Note: Be aware that the use of ENDJOBABN on a job causes the subsequent IPL to be an abnormal IPL, even if OS/400 terminates normally.
2. Hardware configuration:
CPUmodel and feature code DASDamount, type, number of arms on the MFIOP, protection used, size of objects stored, and number of ASPs Amount and type of IOPs Amount of main storage Number of device descriptions on the system Number of towers
3. Software configuration:
Total number of jobs on the system Number of spooled files Number of user profiles Number of libraries Use of journal, commit, and system managed access path protection (SMAPP) Database size and characteristics Type of active workload
IPL duration highly depends on the mode and type of IPL performed and the hardware and software configuration. However, there are tasks that reduce the amount of time required for the system to perform an IPL. As a user, you can avoid a lengthy IPL operation by remembering to:
Reduce the amount of rebuild time for access paths during an IPL by using SMAPP. Backup and Recovery , SC41-5304, describes this method for protecting access paths from long recovery times during an IPL, as does Section 4.4, System Managed Access Path Protection on page 38. Control the level of hardware diagnostics you specify the default (HDWDIAG(*MIN)) system performs only a minimum, critical type of IPL is appropriate in most cases. that are run during an IPL. When on the CHGIPLA command, the set of hardware diagnostics. This The exceptions include a
37
suspected hardware problem or when new hardware such as additional memory is introduced to the system.
Perform miscellaneous cleanup of access paths. You can use the Edit Rebuild of Access Paths (EDTRBDAP) display to postpone the rebuild of selected access paths until after the IPL. Keep the number of journals to a minimum and control the number of journal changes that request a delete of the receivers (DLTRCV(*YES)). A delete of receivers is done during the IPL. Keep the number of CHGJRN operations performed for each journal with manage receivers (MNGRCH(*SYSTEM)) to a minimum. Reduce the number of device descriptions. Remove any obsolete device descriptions from the system. Defer unnecessary startup processing for devices, subsystems, and jobs from the IPL startup job stream. Note: Using APPN instead of APPC causes a vary on at first use. This avoids using IPL time to vary on the description.
Minimize the number of jobs and job structures on the system. The best way to do this is to remove unnecessary spooled files. To find the current number of job structures needed on the system, use the Display Job Tables (DSPJOBTBL) command described in Section 10.3, Display Job Tables on page 143. Use the CHGIPLA command described in Section 4.5, Changing IPL Attributes on page 42 to affect the duration of IPL. Reduce the number of systems network architecture distribution services (SNADS)-specific objects. When users initiate mail requests at a faster rate than the mail is sent or delivered, an unbalanced condition occurs. SNADS takes more time than normal to clean up. This cleanup is completed only during an abnormal IPL or RCLSTG. Avoid starting the IPL with function 03 (to initiate a manual mode IPL) or function 08 (to initiate an emergency power off) since they may cause a long lasting IPL.
38
selected access paths under-the-covers to ensure that the target recovery times are not exceeded in the event of an abnormal system termination. The actual time required for rebuilding keyed access paths may vary slightly from the target recovery time. Use the Display Recovery for Access Paths (DSPRCYAP) or Edit Recovery for Access Paths (EDTRCYAP) commands to view and specify the target recovery time. Note: The target recovery time field is blank if an internal system failure keeps the system from determining the access path recovery time. The shorter the target recovery time, the greater the number of access paths that must be protected and the greater need for additional system resources to perform internal journaling. The default system-wide access path recovery time for SMAPP is 150 minutes. This means that SMAPP protects the system so that there is generally no more than 150 minutes of access path rebuild time during an IPL after an abnormal termination. SMAPP assumes the responsibility of providing the necessary amount of access path protection. No user intervention is required because SMAPP manages the entire journal environment. SMAPP coexists with current journal functions and uses any suitable existing receiver. For access paths journaled under SMAPP support, the access path journal entries are placed into internal journal receivers unless the associated file is also journaled. In that case, SMAPP journal entries are placed into the associated journal receiver. Where no suitable receiver exists, SMAPP builds its own internal receiver. OS/400 users cannot access these SMAPP entries. On user-defined journal receivers, a SMAPP entry appears as a missing entry sequence number. Note: The SMAPP function runs below the operating system and requires very little overhead. Along with design enhancements for V4R2, there are PTFs for all OS/400 releases back to V3R1 that enhance the performance from V3R1 and later versions. Contact IBM AS/400 Software Support to find out what PTFs are needed for the release of your system.
#JOTUNT This task performs background tuning performance to obtain the target recovery time.
#JOEVAT This task evaluates and calculates the rebuild time for an access path.
#JOIJSS This task implicitly performs start and stop protection for physical files and access paths.
39
Since SMAPP minimizes disk writes, change the attributes of any physical or logical files that use force write ratio. Do this with the Change Physical File (CHGPF) command:
Do the same for the associated logical file. Enter the command:
Reduce SMAPP overhead by installing disk units that support write cache, since SMAPP writes to the 10 fastest disk arms in an ASP.
For more information on SMAPP and explicit access path journaling, see Backup and Recovery , SC41-5304.
40
By understanding your system requirements and experimenting to find what value meets these requirements, you can decide on an optimum SMAPP setting. The following displays show examples of the CHGRCYAP, EDTRCYAP, and DSPRCYAP commands.
Chg Recovery for Access Paths (CHGRCYAP) Type choices, press Enter. System recovery time . . . . . . ASP recovery time: Auxiliary storage pool ID . . Recovery time . . . . . . . . Auxiliary storage pool ID . . Recovery time . . . . . . . . Auxiliary storage pool ID . . Recovery time . . . . . . . . + for more values 150 1 *NONE 3 *NONE 12 *NONE 10-1440, *SAME, *SYSDFT... 1-16 10-1440, *SAME, *NONE, *MIN 1-16 10-1440, *SAME, *NONE, *MIN 1-16 10-1440, *SAME, *NONE, *MIN
Edit Recovery for Access Paths Estimated system access path recovery time . . . : Total disk storage used . . . . . . . . . . . . . : % of disk storage used . . . . . . . . . . . . . : Type changes, press Enter. System access path recovery time:
. . .
----------Access Path Recovery Time----------- --Disk Storage Used--ASP Target (Minutes) Estimated (Minutes) Megabytes ASP% 1 *NONE 12 .098 .000 3 *NONE 0 .032 .000 12 *NONE 0 .024 .000
Note: The system throttles the % of disk storage used to a minimal value. The .000 value represented in Figure 11 does not represent an actual measurement.
41
Display Recovery for Access Paths Estimated system access path recovery Total disk storage used . . . . . . . % of disk storage used . . . . . . . System access path recovery time . . time . . . . . . . . . . . . . . . . . . . . . : : : :
ASP 1 3 12
----------Access Path Recovery Time----------Target (Minutes) Estimated (Minutes) *NONE 12 *NONE 0 *NONE 0
--Disk Storage Use Megabytes ASP .098 .000 .032 .000 .024 .000
Restart options Keylock position Whether the job tables are compressed Whether the product directory is rebuilt Whether to clear out the output queues Whether to restart the printers
The restart type, hardware diagnostics, and job table verification options are highlighted in Figure 13 on page 43, and discussed in the following sections. Note: These changes take affect for the subsequent IPL only.
42
Change IPL Attributes (CHGIPLA) Type choices, press Enter. Restart type . . . . . . . . . . Keylock position . . . . . . . . Hardware diagnostics . . . . . . Compress job tables: . . . . . . Check job tables . . . . . . . . Rebuild product directory . . . Mail Server Framework recovery Clear job queues . . . . . . . . Clear output queues . . . . . . Clear incomplete joblogs . . . . Start print writers . . . . . . Start to restricted state . . . *SYS *SAME *MIN *NONE *ABNORMAL *NONE *NONE *NO *NO *NO *YES *NO *SAME, *SAME, *SAME, *SAME, *SAME, *SAME, *SAME, *SAME, *SAME, *SAME, *SAME, *SAME, *SYS, *FULL *NORMAL, *AUTO... *MIN, *ALL *NONE, *NORMAL... *ABNORMAL, *ALL, *SYNC *NONE, *NORMAL... *NONE, *ABNORMAL *YES, *NO *YES, *NO *YES, *NO *YES, *NO *YES, *NO
F5=Refresh
F12=Cancel
Note: With the *SYS option, the MFIOP is not reset. Therefore, communication error or hardware recovery does not end until a *FULL IPL is completed. Also, certain status conditions in the hardware IOPs are not reset without a full IPL. Recommendation Use the default value *SYS unless *FULL is required by service personnel.
43
Recommendation Choose the *ALL option at least annually, since certain service actions require an *ALL function to be performed. Normally use the default value *MIN, unless service personnel require the *ALL function.
For additional information on how to improve IPL performance, refer to AS/400 Basic System Operation, Administration, and Problem Handling , SC41-5206-01 Refer to Chapter 12, Communications Error Recovery and Availability on page 181 for an additional discussion on communications configuration objects and an IPL.
Refer to the CL Reference , SC41-5722, for more information on the CHKJOBTBL parameter and CHGIPLA command.
C9002810Reclaim machine context C9002825Convert the Work Control Block Table (WCBT) Reduce the size of the WCBT
44
Perform a scratch installation to eliminate this step C9002830Validate system values, check for duplicate device descriptions Eliminate unnecessary device descriptions C90028C0Prepare job instructions C9002910Start system logging of messages Reduce the number of messages in QHST and QSYSOPR C9002920Library cleanup Control the number of libraries Eliminate temporary job structures C9002925POSIX directory cleanup C9002930Set up database cross reference C9002940Set up and vary on QCTL and QCONSOLE C9002960IPL sign on and PTF processing C9002965Software management services initialization Control the number of libraries and licensed program products on the system C9002970Database, journal, and commit functions Control the number of journals that specify MNGRC(*SYSTEM) Avoid using system request to cancel out of jobs when they are in database operations C9002990IPL performance tuning of machine and base pools Eliminate unnecessary device, controller, line and network interface descriptions C90029A0Prepare the system control block structure Control the number of libraries Manage the QUPSMSGQ and QINACTMSGQ to clear unneeded messages Reduce the size of the WCBT C90029B0Spool initialization Delete unnecessary spool files C90029C0Work Control Block Table initialization Reduce the size of the WCBT C9002A80Miscellaneous cleanup C9002A85Create shared activation group for POSIX C9002A90 Start system jobs C9002A95Cleanup of Work Control Block Table during an abnormal IPL Reduce the size of the WCBT C9002AA0Cleanup for database, journaling, and commitment control Manage the number of journals created by specifying DLTRCV(*YES) Control the number of files, members, and access paths Manage the use of commitment control and two phase commit operations C9002AA5Recover POSIX directories C9002AB0Miscellaneous cleanup including access paths Manage the number of files created with *IMMED or *DLY access path maintenance that specify a recovery value of *IPL Start access path journals with the STRJRNAP command Balance the value specified for EDTRCYAP to provide an acceptable IPL and run time performance C9002B20Process the Resource Configuration Record (RCR) C9002B30Initialize and start QLUS Eliminate unnecessary device descriptions Use APPN rather than APPC C9002B40Device configuration Eliminate unnecessary device descriptions
Chapter 4. IPL Improvements for Availability
45
Limit the number of device descriptions which specify *YES for online at IPL C9002C20QSNADS object recovery Reduce the number of SNADS objects (mail) C9002C30Create temporary job structures C9002C40Work Control Block Table cleanup for a normal IPL Reduce the size of the WCBT C9002C50Recovery of office objects Reduce the number of documents and folders (DLOs)
Note: A suggested improvement for several of the IPL steps involves reducing the size of the WCBT (the internal system object known as the Work Control Block Table). The size of the WCBT can be kept to a minimum when you: 1. Clean up jobs that have ended and in which spooled output is no longer needed. Jobs which have completed are removed from the WCBT when they no longer have spooled output associated with them. 2. Limit the number of available (unused) entries in the WCBT. The number of available entries is affected by the system values QTOTJOB and QADLTOTJ. Refer to Section 10.2.1, Work Control Block Table Cleanup on page 143, for more information on WCBT cleanup. Note: Use the report produced by the QWCCTREC tool as a reference to indicate when these SRCs appear. Refer to Appendix B, Evaluating the Time to IPL on page 371 for a sample report. You can find additional information on the stages of an IPL and SRC codes in the AS/400 Licensed Internal Code Diagnostic Aids - Volume 1, LY44-5900, reference manual.
46
Note: Remember that some relatively long running tasks, such as starting TCP/IP or varying on an Integrated PC Server, take place after the IPL is completed. Seeing the signon display on the console does not mean that all other workstations are up and ready for users to sign on. For abnormal IPLs, the benchmark consists of bringing up a database workload and letting it run for a specified period of time. Once the workload stabilizes, select a function 22 to force a main store dump. This environment simulates a loop or hang situation. The dump is copied to DASD with the Auto Copy function available in V4R1 through System Service Tools. Once the dump is copied, the system completes the remaining IPL without user intervention. This is also possible by using the Auto Copy function and switching the key to normal mode shortly after you select function 22. Benchmark time is measured from the time you select function 22 to the time the console signon display appears.
530-2162 (4-way) with 4GB main storage and 164GB DASD Ten towers Four thousand local workstations Two token-ring cards
2. The system had 20 000 output queue jobs, 10 000 jobs on job queues, 3 450 user profiles and 2 700 user libraries. The application and database environment that were used consisted of:
47
One library with 200 physical files and 20 logical files One library with 100 physical files and 10 logical files One library with 50 physical files and 10 logical files One library with 100 physical files and 20 logical files One library with 20 physical files and 5 logical files One library with 150 physical files and 10 logical files One library with 100 physical files and 100 logical files One library with 15 physical files and 1 logical files One library with 250 physical files and 10 logical files One library with 15 physical files and 5 logical files One library with 10 000 physical files and 200 logical files CPW database Three ASPsJournal Receivers are in ASP 2 and ASP 3
All physical files were explicitly journaled. The logical files were protected by setting SMAPP to *MIN. The journal receivers resided in user ASP 2 and ASP 3.
Note: The benchmark results are based on a controlled lab environment and are for your reference only. Depending on your system configuration and software setup, your results may vary significantly.
48
SAVLIB LIB(DMT*)
SAVLIB, SAVOBJ, SAVCHGOBJ, and the QSRSAVO API also support the OMITLIB parameter for omitting libraries that do not require a save. For example, to back up all user libraries except the library named DAN, enter:
Sequence numbers up to 16 777 215. With increased offline media capacity, more objects are saved. The larger sequence numbers on save related commands support the growth in tape technology and the growing customer environment by enabling sequence number values up to 16 777 215. The previous limit was 9 999. Note: For V4R1 and earlier systems, the largest sequence number allowed is 65 535 for the following commands: CPYTOTAP CPYFRMTAP CRTTAPF CHGTAPF OVRTAPF CHKTAP DMPTAP DUPTAP DSPTAP
On V4R2 systems, the previously listed V4R1 commands, and the following, allow sequence numbers up to 16 777 215:
Copyright IBM Corp. 1998
49
SAV/RST SAVSECDTA RSTUSRPRF CPYPTF LODPTF LODRUN RTVOBJD SAVSAVFDTA SAVCFG/RSTCFG SAVCHGOBJ SAVDLO SAVLIB/RSTLIB SAVLICPGM/RSTLICPGM SAVOBJ/RSTOBJ
Note: The maximum sequence number allowed on Document Library Services commands (SAVDLO and RSTDLO) remains at 65 535. This is due to the architecture referenced by user applications. Sequence numbers specified greater than 65 535 are handled by subtracting the remainder from 64K. For example, 65 536 has an off-line sequence number of 00.
The *ERR value is supported for the information type (INFTYPE) parameter. This allows for faster save processing. In addition, the outfile used in the output operation contains a record for each object that fails to save and a message indicating why the save failed. On systems prior to V4R2, only successfully saved object information is recorded in the outfile.
SAVLIB LIB(*ALLUSR) DEV(TAP04) OMITLIB(A* B* C* ...L*) SAVLIB LIB(*ALLUSR) DEV(TAP05) OMITLIB(M* N* O* ...Z*)
After these SAVLIB commands are run, TAP04 tape drive contains all user libraries not starting with A through L, and TAP05 contains all user libraries not starting with M through Z. Together the set of tapes contain all libraries beginning with A through Z. Note: If you implement an example based on the beginning letter of an object s name, remember to consider objects that start with special characters, such as &, #, and so on.
50
Objects with logical dependencies in the same library reach the same checkpoint. Objects in the same library that are journaled to the same journal reach the same checkpoint. Objects in the same library being processed under commitment control reach the checkpoint at a commitment boundary.
These benefits make recovery easier to manage due to the number of checkpoints involved. Beginning with V4R1, many of the restrictions for SWA are removed. Most importantly, the following results occur:
Once a save checkpoint is reached, locks for most object types are removed or reduced. On systems prior to V4R1, post-checkpoint processing retains *SHRUPD, *SHRRD, or *SHRNUP locks (depending upon the object type). With a *SHRRD or no lock option, more applications can take advantage of the post processing save window.
More applications can restart after the checkpoint CPI3712 message indicating that SWA checkpoint processing is complete. After a checkpoint is reached, you can: Remove or rename database members Delete, move or rename most objects, including files Clear physical file members Start a subsystem Perform selected S/36 environment operations, such as LIBRLIBR
Types of SWA checkpoint processing are: 1. 2. 3. 4. Synchronized libraries Library Command System-defined
Figure 16 on page 52 provides an overview of the save-while-active process. The Tn labels marking the steps in the SWA process are outlined following the figure.
51
1. Freeze the object and establish a checkpoint as shown in Figure 16. Time T1 is the save preprocessing phase of the save-while-active operation. At the end of time T1, the object has reached a checkpoint. 2. Object changes activate a s h a d o w or s i d e file. Time T2 shows an update to the object, referred to as C1, while the object is saved to the media. a. A request is made to update C1. b. A copy of the original pages are sent to the side file first. c. The change is made to the object. The original page copied is part of the checkpoint image for the object. 3. The save process reads from the s i d e file. Time T3 shows two additional changes, C2 and C3, made to the object. Additional change requests that are made to the pages of the object already changed for C1, C2, or C3 do not require any additional processing. The requests are made with respect to the checkpoint image of the object. At the end of time T3, the object is completely saved to the media. 4. Time T4 shows that the copied pages for the checkpoint image of the object are no longer maintained because they are no longer needed. 5. Time T5 shows that the object on the system has the C1, C2, and C3 changes. The copy or image of the object saved to the media does not contain those changes. Note: No CLRPFM, object deletions, renaming, moves, or subsystem starts may occur during this process. On V4R1 or later, these can occur after checkpoint processing is complete.
52
Additional save or restore operations are performed on objects or libraries that are being saved. A delete, rename, or reclaim operation is attempted on a library that is being saved. PTFs are loaded, applied, removed, or installed on a library on which objects are being saved. Licensed programs are saved, restored, installed, or deleted from objects that are being saved.
A CHGPF is attempted when SRCFILE, ACCPTHSIZ, NODGRP, PTNKEY, or an alter statement is entered for SQL operations. A delete or move operation is attempted on a journal receiver. Journal recovery is attempted involving any receiver. A detach or attach operation is attempted on a journal. A delete or move operation is attempted on a journal with an attached receiver. A delete, rename, or move operation is attempted on a PRDLOD object.
As always, if media errors occur on the tape during a SWA operation, there is no recovery. Check for successful job completion and start the SWA save again when media errors occur. For more information about save-while-active, see Backup and Recovery , SC41-5304.
*CFGConfiguration objects *SECDTAAll security objects (user profiles and security information)
53
Save System (SAVSYS) Type choices, press Enter. Tape device . . . . + for Volume identifier . + for File expiration date End of tape option . Use optimum block . Omit . . . . . . . . . . . . . . more values . . . . . . more values . . . . . . . . . . . . . . . . . . . . . . . . Name *MOUNTED *PERM *REWIND *YES *CFG *SECDTA *NONE Character value, *MOUNTED Date, *PERM *REWIND, *LEAVE, *UNLOAD *YES, *NO *NONE, *CFG, *SECDTA *NONE, *PRINT, *OUTFILE
Output . . . . . . . . . . . . .
Bottom F12=Cancel
By omitting the configuration and security data from the SAVSYS operation, you reduce the amount of time that the system must be in a restricted state during the SAVSYS. In large environments, saving configuration objects and security information can take a long time. Use the SAVCFG command instead of the SAVSYS command to save configuration data. Use the SAVSECDTA command instead of the SAVSYS command to save security data. Note: The SAVCFG and SAVSECDTA commands do not require taking the system to a restricted state. Recommendation Perform both the SAVSECDTA and SAVCFG commands regularly to ensure that user profiles and configuration objects are saved.
Note: The OMIT parameter is supported on SAVSYS commands for OS/400 releases prior to V4R1 if the appropriate PTF is applied. The following PTFs or their supersedes contain this OMIT function for the SAVSYS command:
54
SAVOBJ OBJ(A* B* C* .... L*) LIB(MYLIB) DEV(TAP04) SAVOBJ OBJ(M* N* O* .... Z*) LIB(MYLIB) DEV(TAP05)
In this example, objects starting with the letters A through L are saved on tape drive TAP04, while objects starting with the letters M through Z are saved on tape drive TAP05. Together the two SAVOBJ commands save all libraries beginning with an alphabetic character. (Remember to consider special characters such as #, *, or $ when constructing your backup scheme). Users can use all of the tape resources, and therefore, reduce the overall time to save. Installations with multiple tape drives and large libraries benefit most from this enhancement. Note: If you are running concurrent saves of objects residing in the same library, tape drives do not need to be the same type. However, for ease of management and recovery, perform save operations to identical type tape drives. You can also issue concurrent save commands against multiple libraries. When you run multiple save commands, the system processes the request in several stages that overlap, providing improved save performance. Figure 18 on page 56 shows how a save of multiple libraries occurs. During the preprocessing phase for a library, the system creates a list of all the objects to be saved, called a save list, before the system starts actually copying data to the media. While data is copied to media during the postprocessing phase for that library, the system works on creating the save list for the next library or libraries to be processed.
55
SAVLIB LIB(LIBA LIBB LIBC LIBD) START Preprocessing Build save list for library LIBA Build save list for library LIBB Build save list for library LIBC Build save list for library LIBD END
Postprocessing Copy the objects in library LIBA to tape Copy the objects in library LIBB to tape Copy the objects in library LIBC to tape Copy the objects in library LIBD to tape
56
RSTOBJ OBJ(A* B* C* ...L*) SAVLIB(MYLIB) DEV(TAP04) RSTOBJ OBJ(M* N* O* ...Z*) SAVLIB(MYLIB) DEV(TAP05)
In this example, objects starting with the letters A through L are restored from tape drive TAP04, while objects starting with the letters M through Z are restored from tape drive TAP05. This allows for a faster and more efficient recovery. Similarly, users can perform multiple concurrent RSTDLO operations to a single ASP, using more than one tape device for faster recovery. Note: If you implement an example based on the beginning letter of an object s name, remember to consider objects that start with special characters, such as &, #, and so on.
57
The tape file that is created is only compatible with a device that supports the block size used. Commands, such as Duplicate Tape (DUPTAP), do not duplicate files unless the files are duplicated to a device that supports the same block size that was used. You cannot duplicate a tape that is created using USEOPTBLK(*YES) to another tape drive that does not use USEOPTBLK(*YES). Data Compression (DTACPR) is not allowed if you use the optimum block size. If DTACPR(*DEV) is specified with USEOPTBLK(*YES) and the device supports an optimum block size, data compression is not performed.
The 3590 tape drive provides the best performance results when the USEOPTBLK parameter is set to *YES. The 3570 tape drive can also benefit from the new increased block size, but the performance gains are not as dramatic or as high as with the 3590. For additional information on performance measurements, see Backup and Recovery , SC41-5304, and Appendix C, Save and Restore Rates of IBM Tape Drives for Sample Workloads on page 379. Note: If the target release value specified in the save command is earlier than V3R7, the block size that is supported by all device types is used. That is, you cannot perform a save operation using an optimum block size to a release that does not support the USEOPTBLK parameter (releases prior to V3R7). For this reason, we recommend that you set the USEOPTBLK parameter to *NO if you plan to restore objects onto systems running releases prior to V3R7. Starting with V4R2, the default setting of USEOPTBLK is *YES. This means that you can duplicate tapes from:
to to to to
Hardware features 200G of DASD Three 3590 tape drives Each 3590 tape drive is connected to separate IOPs on separate buses
Software features OS/400 V4R2 System configuration with one ASP 50 percent usage of the single ASP
58
The following disk space report shows the disk usage and size of the main libraries on the system.
Disk Space Report 5769SS1 V4R2M0 980228 % of Disk 30.00 10.00 3.25 1.75 .45 . . . . Size in 1000 bytes 60000000.0 20000000.0 6509872.6 3507730.9 896288.5 . . . . 100000000.0 Library Information Last Last Change Use 12/08/97 12/08/97 12/08/97 12/08/97 12/08/97 12/08/97 11/30/97 10/27/97 12/07/97 . . . . . . . . SYSTEMXX 12/09/97
Page 4 10:06:45
Description Production Lib 1 Production Lib 2 System Library Document library Print file library
The disk space report (Figure 19) shows that the library, PRODDATA, represents 60 percent of the used storage space on SYSTEMXX. This is determined as follows:
Disk Space Report 5769SS1 V4R2M0 Library/ Object PRODDATA CUSTMAST SALESMAST CSTMR HSTRY ITEM ORDERS . . . . TOTAL 980228 % of Library SYSTEMXX 12/10/97
Page 4 12:15:48
Library and Objects Information Size in Last Last 1000 bytes Change Use Description 60000000.0 12/08/97 11/05/97 PRODDATA production Library 1 33.34 20000000.0 12/08/97 11/05/97 Customer Master File 16.67 10000000.0 12/08/97 11/03/97 Sales Master File 10.00 6000000.0 10/24/97 11/03/97 B Customer File-has fields rearranged 8.00 4800000.0 10/24/97 B History File 7.00 4200000.0 10/24/97 11/03/97 B Item File 7.00 4200000.0 10/24/97 11/03/97 B Orders . . . . . . . . . . . . 60000000.0 * * * * * E N D O F L I S T I N G * * * * *
59
Save 2: SAVLIB of library PRODDATA omitting the two objects CUSTMAST and SALESMAST saved separately in Save 1 Save 3: An additional SAVLIB *ALLUSR omitting the library PRODDATA
By splitting the three saves, we save the following amount of space on each save:
Save 1 = 30GB Save 2 = 30GB Save 3 = 40GB less the amount in SAVDLO and SAVSYS
The save command for the three saves in our design appear as shown here:
SAVOBJ OBJ(CUSTMAST SALESMAST) LIB(PRODDATA) DEV(3590TAP01) SAVLIB LIB(PRODDATA) DEV(3590TAP02) OMITOBJ((PRODDATA/CUSTMAST) (PRODDATA/SALESMAST))
and
. . Critical recovery data may not have been saved. . . . Library QUSRSYS was not completely saved . . . . . . . The most common reason why the objects were not saved is because they were in use during the save operation. These objects must be saved for a system recovery.
The user is referred to the job log for more information. By managing for this message, you can ensure that the QUSRSYS library is properly saved. Recommendation Monitor for the CPD3796 message and determine from the joblog what objects are not saved successfully. The named objects need to be saved from QUSRSYS along with the SAVSYS and SAVDLO performed when the system is in a restricted state.
To run the three saves in parallel when jobs are submitted concurrently, you can:
Use the OS/400 job scheduler Set up control groups in BRMS Use CL programs
Or, use a combination of these options. You must be in a restricted state to perform your SAVSYS. Also consider being in a restricted state to perform your SAVLIB LIB(*IBM), SAVDLO, and SAV of the integrated file system structures.
60
OMITOBJ((PRODDATA/CUSTMAST) (PRODDATA/SALESMAST))
Save 2: SAVOBJ OBJ(CUSTMAST) LIB(PRODDATA) DEV(3590TAP02) Save 3: SAVOBJ OBJ(SALESMAST) LIB(PRODDATA) DEV(3590TAP03)
Again, these saves can be performed through CL programs, BRMS, OS/400 job scheduler, or a combination of the three. Note: When splitting up incremental saves, understand which objects in our application are being changed. The large files used in a full system backup to split the saves across the three tape drives may not necessarily be the files used in the split of your incremental saves. You need to track the changes to the large objects in your application libraries to properly divide your incremental saves efficiently. Recommendation The only way to ensure that you have a good backup strategy is to test your recovery. If you are not backing up all that you should, your test is done in a live recovery situation. This can produce undesirable results. Contact your local service provider to find out the possibilities of testing your recovery procedures.
SAVE menu additions for V4R2 systems: The option to vary off the network servers (Integrated PC Server) The option to unmount user-defined file systems (UDFS) before saving The option to print system information along with the save (PRTSYSINF)
These additions are described in Section 5.8.2, V4R2 Availability Options on the SAVE Menu on page 63.
SAVE menu additions for V3R1 and later: Unattended saves using the Start time parameter
The following CL commands run when selecting options 21, 22, and 23 from the SAVE menu.
ENDSBS SBS(*ALL) OPTION(*IMMED) SAVSYS SAVLIB LIB(*NONSYS) ACCPTH(*YES) SAVDLO DLO(*ALL) FLR(*ANY) SAV OBJ(( / *) ( / QSYS.LIB *OMIT) ( / QDLS *OMIT)) UPDHST(*YES) STRSBS SBSD(controlling-subsystem)
Chapter 5. Save and Restore for Availability and Recovery
61
ENDSBS SBS(*ALL) OPTION(*IMMED) SAVSYS SAVLIB LIB(*IBM) ACCPTH(*YES) SAV OBJ(( / QIBM/ProdData ) ( / QOpenSys/QIBM/ProdData ) ) UPDHST(*YES) STRSBS SBSD(controlling-subsystem)
ENDSBS SBS(*ALL) OPTION(*IMMED) SAVSECDTA SAVCFG SAVLIB LIB(*ALLUSR) ACCPTH(*YES) SAVDLO DLO(*ALL) FLR(*ANY) SAV OBJ(( / * ) ( / QSYS.LIB *OMIT) ( / QDLS *OMIT) ( / QIBM/ProdData *OMIT) ( / QOpenSys/QIBM/ProdData *OMIT)) UPDHST(*YES) STRSBS SBSD(controlling-subsystem)
Note that the ACCPTH parameter indicates *YES. This is the default when using option 21, 22, or 23 from the SAVE menu. ACCPTH(*YES) is not the default on save commands. After selecting options 21, 22, or 23, a display appears that describes the function of the menu option that you selected. After reading the display and pressing Enter, the Specify Command Defaults display appears, as shown in Figure 21.
Specify Command Defaults Type choices, press Enter. Tape devices . . . . . . . . . TAP01___ ________ ________ ________ Names
. . . . . . Y
Y=Yes, N=No Y=Yes, N=No *BREAK, *NOTIFY *CURRENT, time *NONE, *ALL, *LANSERVER *NETWARE, *BASE, *AIX
Check for active files . . . . . Y Message queue delivery . . . . . *BREAK Start time . . . . . . . . . . . *CURRENT Vary off network servers . . . . *NONE ________ ________ Unmount file systems . . . . . . Print system information . . . . N N
To set your saves for unattended mode with a delayed start, be sure to: 1. Change the prompt for commands to N .
62
2. Change the check for active files parameter to N . 3. Set up the system reply list. Display the reply list sequence numbers to find what numbers are available for use. Use the command:
WRKRPYLE
If message CPA3708 is not represented in your reply list, add it. Use the command:
CHGJOB INQMSGRPY(*SYSRPYL)
4. Enter *NONE for the QINACTITV system value. 5. Enter *NOTIFY for message queue delivery. If you enter *NOTIFY for Message queue delivery , severity 99 messages not associated with the save operation are sent to the QSYSOPR message queue without interrupting the save process. This prevents communication messages to the operator from stopping the save operation.
Indicate whether to vary off network servers before an option 21, 22, or 23 save is performed. Indicate whether to unmount user defined file systems before an option 21, 22, or 23 save is performed. Indicate whether to produce PRTSYSINF output.
63
If the network servers are varied on, the save contains a logical representation of the data. For example, the /QLANSRV directories are associated with the Integrated PC Server. Your choices include:
*NONE The network servers are not varied off. The save takes much longer because the data from all network servers are saved in a format that allows the restore of individual files and directories.
*ALL This option allows all network servers to be varied off prior to the start of the save. The save takes less time. Since the network servers storage spaces are saved with the network servers varied off, you cannot restore individual files or directories from this save.
*LANSERVER This option allows all network servers of type *LANSERVER to be varied off prior to the start of the save. The save takes less time, but you cannot restore individual files and directories.
*NETWARE This option allows all network servers of type *NETWARE to be varied off prior to the start of the save. The save takes less time, but you cannot restore individual files and directories.
*BASE This allows network servers of *BASE to be varied off prior to the start of the save. This option saves the network server storage spaces.
*AIX This option allows all network server of *AIX to be varied off prior to the save. It allows the save of the network server storage spaces.
On systems prior to V4R2, where the vary off network servers option is not available, vary off and on the network servers using the VRYCFG command.
64
Note: The User Defined File System (UDFS) must be unmounted to save the attributes associated with the file system. If the UDFS is mounted, the objects in the directory that are mounted over, are not saved. Only the objects in the UDFS are saved. The SAVE menu does not mount the file system back after the save. Recommendation For recovery purposes, unmount the UDFS prior to a save. Change the default from No to Yes.
The libraries that are on the system and when they were last backed up How your system has implemented each system value A list of all system reply list entries A list of PTFs installed on the system Access path rebuild time estimates The power off and on schedule The output from DSPHDWRSC to document what hardware resources are installed with resource names identified A list of SNADS configuration objects A list of subsystem descriptions A DSPOBJD listing of system journal objects A DSPJRNA report A list of user profiles A list of job descriptions
5.9 ObjectConnect/400
ObjectConnect/400 is a set of six CL commands designed to move objects, libraries, or even integrated file system directories from one system to another without the need to implement a SNADS solution. Customers with more than one AS/400 system can use ObjectConnect/400 to:
Create and maintain copies of critical objects, libraries, or integrated file system directories on other AS/400 systems for use during planned outages in addition to disaster recovery. ObjectConnect/400 also allows the copying of the objects back to the original AS/400 system after an outage. Migrate objects including document library objects (DLOs), folders, libraries, or integrated file system directories from one AS/400 system to another during system upgrades without disruption. Distribute objects, libraries, or integrated file system directories to other AS/400 systems in a network, allowing other systems to efficiently refer to local copies of the information.
Beginning with V3R6 RISC and V3R2 CISC systems, ObjectConnect/400 is included in OS/400 as a no-charge feature. For V3R1 systems, the support is available with a PRPQ (number P84244).
65
ObjectConnect/400 is installed as option 22 of the base operating system for V3R2 and V3R6. You can use the Display Software Resource (DSPSFWRSC) command or option 10 on the LICPGM menu to view licensed programs and confirm ObjectConnect/400 installation. ObjectConnect/400 objects are stored in the library QSR. The CL commands are in library QSYS.
ObjectConnect/400 CL commands provide the same function as standard save and restore commands. These functions include: save-while-active support, CISC-to-RISC migrations (forced object conversions), and previous release support. ObjectConnect/400 save and restore commands support save and restore functions the same as on standard AS/400 Save and Restore commands. These functions include:
Authority and security checking File and member control Release-to-release compatibility Object locks considerations Allow object differences Storage freed ASP number
The exceptions to this are SAVRSTCFG, which does not support as many object types as the SAVCFG (save configuration) and RSTCFG (restore configuration) commands. The list of configuration objects supported by SAVRSTCFG includes:
Note: If you use OPTION(*NEW) for ObjectConnect/400 command parameters on a large library or object, ObjectConnect/400 saves all the objects, sends them over to the second system, but only restores what is required. So if the data is large, it is possible that a lot of unnecessary processing is performed. You can access the ObjectConnect/400 commands from the CMDSAVRST menu or enter them directly on the command line.
66
If you want to save and restore object X from System A to System B, ObjectConnect/400 performs this operation using a communications link between the two systems. If you want to save and restore object Y from System A to System C and you have Opticonnect/400 operating between these systems, Object Y is restored to System C using the fiber bus. If you have both Opticonnect/400 and a communications link between the two systems, ObjectConnect/400 tries to use the faster fiber optic bus connection first. If that connection cannot be made, the operation automatically uses an APPC controller definition instead. Note that if an OptiConnect/400 fiber bus is available, it is not necessary to have a communications link for ObjectConnect/400.
ObjectConnect/400 complements existing distribution techniques, such as SNADS and tape and in some cases may be a better alternative. Because ObjectConnect/400 does not use internal distribution queues or save files, it can be more efficient and easier to manage than SNADS. And because it is a single AS/400 CL command, such as SAVRST, it lends itself to an easier automation path.
67
These same issues are replicated on the target AS/400 system. A temporary save file is created to receive the save file from the distribution queue. ObjectConnect/400 uses up to two-thirds less DASD resources than SNADS for this scenario. As soon as the ObjectConnect/400 command begins saving on the source AS/400 system, data is transmitted and the restore process starts on the target AS/400 system. In comparing ObjectConnect/400 with other methods of moving objects, such as tape units, save files, and SNADS (as just described in this section), there are some obvious advantages to ObjectConnect/400. 1. ObjectConnect/400 uses a CL command interface designed for those familiar with save and restore commands on the AS/400 system. To move an object from one system to another, you enter one CL command:
ObjectConnect/400 is ideal for repetitive tasks that require automation. Since ObjectConnect/400 is not limited to a single library during its restore process, it deals with multi-library distribution easier than tape, save files using tape, or save files through SNADS. If an AS/400 site has limited tape handling or operator resources, using ObjectConnect/400 can increase productivity by using ObjectConnect/400 for library and object distribution.
68
Moving applications from one AS/400 system to another is easier without the need to use tape media that reduces the reliance on an availability of tape devices. ObjectConnect/400 helps eliminate an incompatibility in tape devices between AS/400 systems.
ObjectConnect/400 is not a replacement for high availability solutions, such as the applications developed by high availability vendors. High availability solutions include dual systems to provide hot site backup capabilities, recovery automation, and data synchronization functions. ObjectConnect/400 only provides periodic data duplication. However, ObjectConnect/400 is useful for implementing and maintaining a dual-system solution, providing initial copying of data, and performing periodic refreshes if needed. ObjectConnect/400 does not replace a multi-system database function, such as DataPropagator. ObjectConnect/400 does not replace a requirement for a valid backup and recovery plan, which includes a primary backup on tape. ObjectConnect/400 does not replace the need for tape backups to be stored offsite.
Note: ObjectConnect/400 does not issue status messages as the equivalent save and restore commands do. Status messages are useful to watch the progress of the restore, as objects are not named during the ObjectConnect/400 restore operation. Refer to Appendix E, High Availability Solutions on page 391 for high availability solutions and Chapter 18, OptiConnect for OS/400 on page 351.
69
The ZRSTSPLF command restores those files from the library or device to the output queue in which they were originally spooled. Note the following considerations of the SAVRSTSPLF tool:
Only spooled files intended for printing can be saved. Diskette spooled files are skipped. User space name generation for each spooled file uses the first six characters of the job name and a four digit number. This limits the number of spooled files saved to 9 999. Any error condition reported to the save and restore program terminates the operation. The largest spooled file cannot exceed 16MB. The original owners user profile must be on the system to which the spooled file is being restored.
GETSPLF:CMD PROMPT( Get Spooled File ) PARM KWD(FILE) + TYPE(*NAME) LEN(10) RTNVAL(*NO) + RSTD(*NO) MIN(1) MAX(1) + FILE(*IN) FULL(*NO) EXPR(*YES) VARY(*NO) + PASSATR(*NO) + PROMPT( Spooled file ) PARM KWD(TOFILE) + TYPE(Q1) RTNVAL(*NO) MIN(1) MAX(1) + FILE(*OUT) PROMPT( To data base file ) PARM KWD(JOB) + TYPE(Q2) RTNVAL(*NO) DFT(*) + SNGVAL(*) MIN(0) MAX(1) + FILE(*NO) PROMPT( Job name ) PARM KWD(SPLNBR) + TYPE(*INT2) RTNVAL(*NO) + RSTD(*NO) DFT(*ONLY) RANGE(1 9999) + SPCVAL((*ONLY 0) (*LAST -1)) + MIN(0) MAX(1) + EXPR(*YES) VARY(*NO) PASSATR(*NO) + PROMPT( Spooled file number ) PARM KWD(TOMBR) + TYPE(*NAME) LEN(10) RTNVAL(*NO) + RSTD(*NO) DFT(*FIRST) SPCVAL(*FIRST) + MIN(0) MAX(1) FILE(*NO) + FULL(*NO) EXPR(*YES) VARY(*NO) + PASSATR(*NO) PROMPT( To member ) Q1: QUAL TYPE(*NAME) + LEN(10) + 70
AS/400 Availability and Recovery
QUAL
1Q2:
QUAL
QUAL
QUAL
RSTD(*NO) + MIN(1) + FULL(*NO) + VARY(*NO) + EXPR(*YES) + PASSATR(*NO) TYPE(*NAME) + LEN(10) + RSTD(*NO) + DFT(*LIBL) + SPCVAL((*LIBL) (*CURLIB *CURLIB)) /* */ + MIN(0) FULL(*NO) + VARY(*NO) + EXPR(*YES) + PASSATR(*NO) + PROMPT( Library ) TYPE(*NAME) + LEN(10) + RSTD(*NO) + MIN(1) + FULL(*NO) + VARY(*NO) + EXPR(*YES) + PASSATR(*NO) TYPE(*NAME) + LEN(10) + RSTD(*NO) + MIN(0) FULL(*NO) + VARY(*NO) + EXPR(*YES) + PASSATR(*NO) + PROMPT( User ) TYPE(*CHAR) + LEN(6) + RSTD(*NO) + RANGE(000000 999999) + MIN(0) FULL(*YES) + EXPR(*YES) + PASSATR(*NO) + PROMPT( Number )
DLTCMD CMD(QUSRSYS/GETSPLF) CRTCMD CMD(QUSRSYS/GETSPLF) PGM(QUSRSYS/QSPGETF) + SRCFILE(QUSRSYS/QCMDSRC) TEXT( Command Source File )
3. Compile the source and correct any compile errors.
Type the following into member PUTSPLF in the QUSRSYS/QCMDSRC source file:
PUTSPLF: CMD PROMPT( Put Spooled File ) PARM KWD(FROMFILE) + TYPE(Q1) MIN(1) MAX(1) + FILE(*IN) PROMPT( From file ) PARM KWD(OUTQ) + TYPE(Q1) MIN(1) MAX(1) +
Chapter 5. Save and Restore for Availability and Recovery
71
PARM
Q1:
FILE(*NO) PROMPT( Output queue ) KWD(FROMMBR) + TYPE(*NAME) LEN(10) + DFT(*FIRST) SPCVAL(*FIRST) + MIN(0) MAX(1) FILE(*NO) + FULL(*NO) EXPR(*YES) VARY(*NO) + PASSATR(*NO) PROMPT( From member ) QUAL TYPE(*NAME) + LEN(10) + RSTD(*NO) + MIN(1) + FULL(*NO) + VARY(*NO) + EXPR(*YES) + PASSATR(*NO) QUAL TYPE(*NAME) + LEN(10) + RSTD(*NO) + DFT(*LIBL) + SPCVAL((*LIBL) (*CURLIB *CURLIB)) /* */ + MIN(0) FULL(*NO) + VARY(*NO) + EXPR(*YES) + PASSATR(*NO) + PROMPT( Library )
DLTCMD CMD(QUSRSYS/PUTSPLF) CRTCMD CMD(QUSRSYS/PUTSPLF) PGM(QUSRSYS/QSPPUTF) SRCFILE(QUSRSYS/QCMDSRC) TEXT( Put Spooled File )
2. Compile the source and correct any resulting errors. When using these CL commands, consider these points:
They copy only one spooled file at a time. They copy spooled files to a database file member only. When the spooled file is restored, the person who runs the PUTSPLF command becomes the owner of that spooled file.
72
See the redbook Speak the Right Language with Your AS/400 System , SG24-2154, to learn more about language sensitive settings.
Feature code 2741 on Models 620 and S20 Feature code 6533 on Models 620, 640, 650, S20, S30, S40, SB1, 500, 510, 530, 50S, and 53S Feature code 9754 on Models 640, 650, S30, S40, and SB1
This combination of compressed DASD with supporting software will offer customers save and restore efficiencies to more efficiently handle large volumes of data. You will find additional information on HSM and disk compression at product announcement time, or contact your local IBM representative in the interim.
73
74
Considerations for using the USEOPTBLK parameter when the target system is at a previous release Observability considerations for previous release target systems
75
can be specified on the save commands that allow the Save While Active (SAVACT) function. Refer to Table 3 for a list of the supported target releases. Current-release-to-previous-release support enables objects that are created and saved on the current release (V4R2) to be restored and used on any supported previous release. Most object types are supported on both release levels as long as they use functions from a previous release only. Note: CRTxxxPGM commands are also affected by TGTRLS considerations. Be aware that specifying only TGTRLS on save commands does not ensure object compatibility. You must specify the TGTRLS parameter when the object is created. If not, the object is not saved, and a message is logged in the job log alerting the operator to that condition. Recommendation Use the TGTRLS parameter on save and create commands if the restore is to be done on a previous release system. This ensures that the object can be restored in a format that is usable on the intended target system.
Table 3 illustrates which TGTRLS values can be used on the create and save commands to prepare the object for restoring on a previous (or current) release system. The column Other Valid *PRV Values shows to which release level systems an object can be restored.
Table 3. TGTRLS Parameter Values for the Save Commands
Source OS/400 Release V4R2M0 V4R1M0 *CURRENT V4R2M0 V4R1M0 *PRV V4R1M0 V3R7M0 Other Valid *PRV Values V3R2M0 V3R7M0 V4R1M0 V4R2M0 V3R1M0 V3R2M0 V3R6M0 V3R7M0 V4R1M0 V3R0M5 V3R1M0 V3R2M0 V3R6M0 V3R7M0 V2R3M0 V3R0M5 V3R1M0 V3R6M0 V2R3M0 V3R0M5 V3R1M0 V3R2M0 V2R3M0 V3R0M5 V3R1M0
V3R7M0
V3R7M0
V3R6M0
On V4R2 systems, the target release (TGTRLS) parameter is allowed on these five OS/400 commands:
Changed Objects (SAVCHGOBJ) Library (SAVLIB) Object (SAVOBJ) Object (SAV) intended for use to save integrated file system objects Document Library Objects (SAVDLO)
The TGTRLS parameter is also indicated on the QSRSAVO API, and on these ObjectConnect/400 commands:
76
Library (SAVRSTLIB) Object (SAVRSTOBJ) Object (SAVRSTOBJ) Changed Objects (SAVRSTCHG) Doc/Lib Objects (SAVRSTDLO) (SAVRST)
Note: TGTRLS support that uses Save While Active for save commands on V4R1, V3R7, V3R6, and earlier is restricted to database objects only. Support for the additional target releases is added by applying PTFs containing the updated function. Refer to Table 4 for the applicable PTF for your system.
Table 4. TGTRLS Support Supplied with PTFs
OS/400 Release V4R1 V3R7 V3R6 PTF Number SF41474 SF38191 SF38229 APAR Number SA63980 SA59311 SA59311
Contact the IBM Support Line or refer to the applicable APAR mentioned in Table 4 for more information. To order PTFs or APARs, use SNDPTFORD. See Chapter 11, Availability and the PTF Process on page 167 or the manual Basic System Operation, Administration, and Problem Handling , SC41-5206, for information on ordering PTFs. For more information about release-to-release support, refer to Backup and Recovery , SC41-5304.
DSPPGM 77
or
CHGPGM FRCCRT(*YES)
Note: CHGPGM forces a re-creation of the program. Use it with caution since it can be a long running process. It is typical for observability to be retained at the central site AS/400 system and removed for copies sent to other systems in the network. Although the programs execute without observability, program debug capabilities are not available. Since the object is smaller in size, less resource is required to transport the object to the previous release system. Removing observability is also useful when the amount of disk space is limited. To remove observability from OPM and ILE program objects, enter:
CHGPGM PGM(program-name) RMVOBS(*ALL) for OPM programs, or CHGMOD MODULE(module-name) RMVOBS(*ALL) for ILE modules.
Note: In general, do not remove observability from programs that you intend to save on a RISC-based system (running V3R6 or later) and restore to a CISC-based system (V3R2 or earlier). For more information on removing observability and the CHGPGM command, see the CL Reference , SC41-5722.
SAV (Save) SAVLIB (Save Library) SAVCHGOBG (Save Changed Objects) SAVOBJ (Save Object)
In V4R1 and later, the USEOPTBLK support is available on these additional save commands:
SAVSYS (Save System) SAVCFG (Save Configuration) SAVSECDTA (Save Security Data) SAVDLO (Save Document Library Object) SAVSAVFDTA (Save Save File Data)
78
Save Library (SAVLIB) Type choices, press Enter. Library . . . . . . . . . . . . > EDALIB Name, generic*, *NONSYS... + for more values Device . . . . . . . . . . . . . > TAP01 Name, *SAVF + for more values + for more values Sequence number . . . . . . . . *END 1-16777215, *END Label . . . . . . . . . . . . . *LIB File expiration date . . . . . . *PERM Date, *PERM End of tape option . . . . . . . *REWIND *REWIND, *LEAVE, *UNLOAD Use optimum block . . . . . . . > *YES *NO, *YES Target release. . . . . . . . . > V3R7M0 *CURRENT, *PRV, V3R2M0 Update history . . . . . . . . . *YES *YES, *NO
Figure 24. USEOPTBLK and TGTRLS Compatibility
If the TGTRLS value indicates a release that does not support optimal block size, the save operation completes, but the optimal block size is not used (the parameter is ignored). On systems prior to V4R2, this same situation results in a CPD378A message indicating:
Parameters not valid with USEOPTBLK value. When the use optimum block (USEOPTBLK) parameter value is specified as *YES, the target release (TGTRLS) parameter value cannot be specified as a release earlier than V3R7. Also, the target release of the save file cannot be a release earlier than V3R7.
If the TGTRLS value specified is earlier than V3R7, a block size supported by all device types is used. The earliest target release that supports USEOPTBLK is depicted in the following table.
Table 5. Earliest Target Release
Command SAVLIB SAVOBJ SAVCHGOBJ SAV SAVDLO SAVSYS Earliest Target Release V3R7 V3R7 V3R7 V3R7 V4R1 *CURRENT
Note: The SAVSYS, SAVSECDTA and SAVCFG commands are not used for restoring objects to a previous release system, and therefore, do not support the TGTRLS parameter. Note: The SAV, SAVOBJ, SAVCHGOBJ, and SAVLIB commands have supported optimum blocking since V3R7. Optimum blocking support was added for the
79
Parameters not valid with USEOPTBLK value... When the use optimum block (USEOPTBLK) parameter value is specified as *YES, the data compression (DTACPR) parameter value cannot be specified as *YES, . . .
If DTACPR(*YES) is specified with a TGTRLS value that does not support optimal block size, the save completes, and data compression is performed. However, optimal block size is not used. On systems prior to V4R2, this same situation results in message CPD378A indicating:
Parameters not valid with USEOPTBLK value... When the use optimum block (USEOPTBLK) parameter value is specified as *YES, the data compression (DTACPR) parameter value cannot be specified as *YES, the target release (TGTRLS) parameter value cannot specified as a release earlier than V3R7M0, or the target release of the save file cannot be a release earlier than V3R7M0.
When the QlpHandleCdState API is used to put the system into a CD-ROM state before performing a save, the save completes using a block size that is compatible with CD-ROM mastering. On systems prior to V4R2, the same situation results in a CPF384E message indicating:
Tapes produced are only duplicated to a tape drive that supports the same block size using the Duplicate Tape (DUPTAP) command. Recommendation If a mix of release levels and tape device types are used for data exchange, specify USEOPTBLK(*NO) to ensure compatibility for the Duplicate Tape (DUPTAP) and save and restore functions.
If USEOPTBLK(*YES) is specified when DTACPR(*YES) is also specified, the tape is written without data compression, and information message CPI3818 is logged in the job log indicating that data compression is not performed when optimum block size is specified. On systems prior to V4R2, users receive message CPD378A indicating:
Parameters not valid with USEOPTBLK value. When the use optimum block (USEOPTBLK) parameter value is specified as *YES, the target release (TGTRLS) parameter value cannot be specified as a release earlier than V3R7, or the target release of the save file cannot be a release earlier than V3R7.
That is, the DTACPR is ignored.
80
If USEOPTBLK(*YES) is specified on the SAVSAVFDTA command and the save file is saved for a target release that does not support optimal block sizes, the tape is written with a block size that is compatible with the specified release. On systems prior to V4R2, the user receives the message CPD378A. When the user saves to a save file, no error message appears. On systems prior to V4R2, the user receives the diagnostic message CPD3754 indicating:
When the user is using an optical device, no error message appears. On systems prior to V4R2, the user receives a CPD376E diagnostic message indicating:
6.3.4 Correcting a Back Level QUSRSYS and QGPL Library on a CISC to RISC Migration
A mismatch can occur between the QGPL and QUSRSYS libraries as compared to other IBM-supplied libraries on the system when a conversion is done from a CISC release to a RISC system using the RSTLIB command. The RSTLIB command overlays the target system (RISC release) with objects from the source system (CISC release). This presents a problem since the IBM-supplied objects in the QGPL and QUSRSYS libraries are not compatible with the system objects in other libraries. Although QGPL and QUSRSYS can contain user objects, these libraries cannot be restored without considering how to prevent user objects from being overlaid. In this situation, it is possible to reconcile the QGPL and QUSRSYS library release levels without a complete system restore. The process assumes that you are familiar with central site distribution of tapes and DSLO media, as described in Central Site Distribution , SC41-5308. The following steps outline what you can do to correct a mismatch of the QGPL and QUSRSYS libraries on a CISC to RISC migration. 1. Make sure you have a save of QGPL and QUSRSYS from the CISC system. 2. Create DSLO tapes from current RISC system. Use the Central Site Distribution , SC41-5308. to create the DSLO tapes. (Hint: Use option 40 from the Work with Licensed Programs menu.) The DSLO process asks if you want to create an installation profile. Use command key F3 to bypass this prompt. 3. When you are prompted to enter the SAVSYS command, press ENTER. 4. At the SAVLIB LIB(QGPL) prompt, press ENTER. 5. When the SAVLIB LIB(QUSRSYS) prompt appears, press ENTER. 6. The same screen appears again as an option 13 GO LICPGM screen. Type a 1 beside all the licensed program products in the list. Press ENTER. 7. On the RISC system, enter:
81
SAVLIB LIB(*ALLUSR) DEV(tape-device-name) OMITLIB(QGPL QUSRSYS) ACCPTH(*YES) SAVDLO DLO(*ALL) DEV(tape-device-name) SAV DEV( / QSYS.LIB/tape-device-name.DEVD ) OBJ(( / * ) + ( / QSYS.LIB *OMIT) ( / QDLS *OMIT))
8. On the RISC system, save the QGPL and QUSRSYS liraries onto a separate set of tapes. This tape set is used to restore user created objects. 9. Scratch install using the tape created in step 2. Note: Refer to the appropriate section of Backup and Recovery , SC41-5304, for the release that you use, as follows:
For R410, use Chapter 12 Option 3Install LIC and Recover Configuration. Then use R410 Chapter 13 Restoring the Operating System For R370, use Chapter 15 Option 3Install LIC and Recover Configuration. Then, use R370 Chapter 16 Restoring the Operating System For R360, use Chapter 10 Option 3Install LIC and Recover Configuration. Then, use R360 Chapter 11 Restoring the Operating System
10. Restore user profiles. 11. Restore configuration. 12. Mount the tape saved from the CISC system in Step 1, and enter:
GO LICPGM option 11
Use the IBM distribution media for this step. 14. Enter:
GO LICPGM
Select Option 1 to install Licensed Program Products from the DSLO tapes created in Step 2. On the Install Option panel, select option 3 for New Products. 15. Run: INZSYS 16. Run: RCLDLO *ALL 17. Use the tapes created in step 3 for these restore commands:
RSTLIB SAVLIB(*ALLUSR) RSTDLO DLO(*ALL) DEV(tape-device-name) RST DEV( / QSYS.LIB/tape-device-name.DEVD ) OBJ(( / * ) + ( / QSYS.LIB *OMIT) ( / QDLS *OMIT))
18. Restore any user objects from QGPL and QUSRSYS that you need from the save in step 4. Do not restore any IBM objects! Use the RSTOBJ command and specify the objects by name. Specify those objects that were created during the test phase of the RISC system. 19. Run: RSTAUT USRPRF(*ALL) 20. Perform an IPL.
82
Note: Use this procedure only under the direction of an experienced system administrator and only as directed by IBM service personnel. If you need to better understand the procedure, contact the IBM AS/400 Support Line. Consult Line representatives are available to assist in reconciling libraries as an alternative to a system restore. Note that this option should only be considered in an emergency basis.
For more information, see APAR II10954. Refer to Basic System Operation, Administration, and Problem Handling , SC41-5206-01.
83
84
SAVDLOto save folder or document objects supplied with licensed program product code SAVSYSbecause licensed program product commands can be in QSYS
Two reasons to save licensed programs separate from the operating system or a full system save are:
To create separate tapes that allow for easier re-installation of a licensed program in the event the LPP becomes corrupted. The re-installation is easier because the PTFs for the program product are saved with the program code, and therefore, restored together. You do not have to apply PTFs separately after the LPP is restored.
85
Distribution of program products to other AS/400 systems within a company s enterprise is easier to manage since fewer instructions and fewer tapes are involved.
In this case, to distribute licensed program products, use the SAVLICPGM command on one AS/400 system to save a Licensed Program with all PTFs applied and use the RSTLICPGM command to restore on another AS/400 system. For more information on distributing licensed programs, refer to Central Site Distribution , SC41-5308.
Using option 13 from the LICPGM menu Using the SAVLICPGM command
Note: Save files are used with SAVLICPGM but are not used with option 13 from the LICPGM menu. You can access the Save Licensed Programs screen by entering the SAVLICPGM command and pressing the PF4 key. The example in Figure 25 shows how the SAVLICPGM command is used to save the DataPropagator/400 licensed program to a tape device named TAP01.
Save Licensed Program (SAVLICPGM) Type choices, press Enter. Product . . . . . . . . . . . . LICPGM Device . . . . . . . . . . . . . DEV + for more values Optional part to be saved . . . OPTION Release . . . . . . . . . . . . RLS Language for licensed program . LNG Object type . . . . . . . . . . OBJTYPE Volume identifier . . . . . . . VOL + for more values Sequence number . . . . . . . . SEQ File expiration date . . . . . . EXPDATE End of tape option . . . . . . . ENDOPT Save file . . . . . . . . . . . SAVF Library . . . . . . . . . . . Target release . . . . . . . . . TGTRLS Clear . . . . . . . . . . . . . CLEAR Data compression . . . . . . . . DTACPR F3=Exit F4=Prompt F24=More keys F5=Refresh F12=Cancel 5769DP2 TAP01 *BASE *ONLY *PRIMARY *ALL *MOUNTED *END *PERM *REWIND *LIBL *CURRENT *NONE *DEV F13=How to use this display
86
Note: It is important to note that when saving Client Access program products, be sure to also save the folders containing the program code. If you write your own CL programs for this backup, use the SAVDLO command for the associated folders. To determine the folder names associated with each program product, refer to Backup and Recovery , SC41-5304. Using option 13 to Save Licensed Programs from the LICPGM menu ensures that the portion of the licensed product that resides in folders is saved. The LICPGM menu provides a list of licensed programs from which to work. Figure 26 shows the DataPropagator Relational for AS/400 licensed program selected for the save.
Save Licensed Programs System: Type options, press Enter. 1=Save Licensed Program 5716DCT 5716DCT 5716DCT 5716DCT 5769DFH 5769DFH 5769DP1 5769DS1 5769FNT 5769FNT 5769FNT 5769FNT 5769FNT Product Option *BASE 14 15 23 *BASE 1 *BASE *BASE *BASE 1 2 3 4 SYSTEMXX
Option
F3=Exit
Description Language Dictionaries for AS/400 US Legal Dictionary US Medical Dictionary US English Dictionary CICS for AS/400 ment CICS for AS/400 - Sample Applications DataPropagator Relational for AS/400 Business Graphics Utility for AS/400 Advanced Function Printing Fonts for AS/400 AFP Fonts - Sonoran Serif AFP Fonts - Sonoran Serif Headliner AFP Fonts - Sonoran Sans Serif AFP Fonts - Sonoran Sans Serif Headliner More... F11=Display status F12=Cancel F19=Display trademarks
Note: SAVLICPGM does not save any of the user information used by the licensed programs.
Using option 11 from the LICPGM menu Using the RSTLICPGM command
To access the Restore Licensed Program display, enter the RSTLICPGM command, and press the PF4 key. The example in Figure 27 on page 88 shows how the RSTLICPGM command is used to restore the DataPropagator/400 licensed program from a device named TAP01.
87
Restore Licensed Program (RSTLICPGM) Type choices, press Enter. Product . . . . . . . . . . . . LICPGM Device . . . . . . . . . . . . . DEV + for more options Optional part to be restored . . OPTION Type of object to be restored . RSTOBJ Language for licensed program . LNG Output . . . . . . . . . . . . . OUTPUT Release . . . . . . . . . . . . RLS Replace release . . . . . . . . REPLACERLS Volume identifier . . . . . . . VOL + for more values Sequence number . End of tape option Save file . . . . Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SEQNBR ENDOPT SAVF 5769DP2 TAP01 *BASE *ALL *PRIMARY *NONE *FIRST *ONLY *MOUNTED
F5=Refresh
F12=Cancel
Using option 21 from the LICPGM menu ensures that the restore requests the portion of the licensed program that resides in folders. The LICPGM menu provides a list of licensed programs from which you can work. The RSTLICPGM command is also used to install a secondary language for a licensed program, as is option 21 from the Work with Licensed Programs (LICPGM) menu.
88
In other words, the user class parameter overrides any special authorities depicted on the user profile.
CHGJOB CCSID(5035)
This command also works when entering the SAV or RST command on the command line if directory names contain lower case letters.
89
Table 7 (Page 1 of 3). Licensed Programs (Including Library Names) Compatible with V4R2
Product Number 5769AF1 5769AP1 5769BR1 5769CB1 Library Name QAFP QAPS, QAPS2 QBRM QCBLLE, #COBLIB, QCBL, QCBLLEP, QLBL QPOS QADTSCS, QCODE400, QVRPG, QADTSCS QADTSWIN, QCODEWIN, QVRPGWIN QRJE QTY QCRP QCLE QCPP QCPPH, QCTTH QIDU QDCT QCICS, QCICSSAMP QDPR QBGU QFNT00, QFNTnn, QFNT101TC QFNT60, QFNT6n QIPSINT QJT400 QIJS QJAVA QSVMSS QMQM, QMQMSAMP, QMQMADM, QMQMDATA, QMQMPROC QICSS QICSS QAPD QMPGLIB QPFR QPDA, QIXA, QCODE, QADM, QDMT QQRYLIB QRDARS QRPGLE, #RPGLIB, QRPG38, QRPG, QRPGLEP QFPINT QFPNTIWI QSMU QSQL QSVCM QSVCM2 QSVCM95 QSVBASE, QSVLNCH QADSM Product Name AFP Utilities for AS/400 Advanced DBCS Printer Support for AS/400 Backup Recovery and Media Services for AS/400 ILE COBOL for AS/400
5769CF1 5716CL1
Point-of-Sale Utility for AS/400 Application Development ToolSet Client Server for AS/400OS/2 Application Development ToolSet Client Server for AS/400Windows Communications Utilities for AS/400 CallPath for AS/400 Cryptographic Support for AS/400 ILE C for AS/400 VisualAge C++ for AS/400 VisualAge C++ for AS/400 System/38 Utilities for AS/400 Language Dictionaries for AS/400 CICS for AS/400 DataPropagator Relational for AS/400 Business Graphics Utility for AS/400 Advanced Function Printing Fonts for AS/400 AFP DBCS FontsThai Firewall for AS/400 AS/400 Toolbox for Java Job Scheduler for AS/400 AS/400 Developer Kit for Java SystemView Managed System Services for OS/400 MQSeries for AS/400
5763CL2
5769CM1 5716CP3 5769CR1 5769CX2 5716CX4 5716CX5 5769DB1 5716DCT 5769DFH 5769DP1 5769DS1 5769FNT 5769FN1 5769FW1 5763JC1 5769JS1 5769JV1 5769MG1 5769MQ1
Internet Connection Secure Server (Intl) Internet Connection Secure Server (US) Application Program Driver for AS/400 Performance Management/400 Performance Tools for AS/400 App Dev ToolSet for AS/400SEU, App Dev Manager, App Dict Services, Others Query for AS/400 OnDemand for Spooled File Archive FeatureR/DARS ILE RPG for AS/400/RPG for AS/400
Integration Services for FSIOP OS/400 Integration for Novell NetWare SystemView System Manager for OS/400 DB2 Query Mgr and SQL Development Kit for AS/400 NetFinity Server for AS/400 NetFinity AS/400 Manager for OS/2 NetFinity AS/400 Manager for Windows 95 SystemView Base for AS/400 Launch Window ADSTAR Distributed Storage Manager for AS/400
90
Table 7 (Page 2 of 3). Licensed Programs (Including Library Names) Compatible with V4R2
Product Number 5769TC1 5716UB1 Library Name QTCP QUMCONFER, QUMBCEDS, QUMBCOS2, QUMPPOS2, QUMPPWIN QUMHCATL, QUMPIOSS, QUMPISAM, QUMBLOSS, QUMBLSAM, QUMHCATL QVGEN QOFC, QBBCSRCH, QDOC (folder) QIWSP, QIWSPS, QIFWSPD, QRUMBA, QRUMBAD, QUMSFWIN, QIWSP, QIWSPS, QIWSPD, QDOC (folder) QPWXCLIB, QPWXCNN, QPWXCWND, QPWXCRB, QPWXCRBD, QPWXCPC, QPWXCGY, QPWXCUM, QPWXCGA, QPWXC50 QWIN32 QIWS2, QIWS2S, QIWS2D, QRUMBA2, QRUMBA2D, QCM400, QGYOS2, QUMSFOS2, QIWS2, QIWS2S QPWXFOS2, QPWXGRB, QPWXGPC, QPWXGGY, QPWXGUM, QPWXGGA QWIN16, QWIN16S, QWIN16D, QPC5250K, QPC52S0T, QPC5250P WSF, QIWSFS, QIWSFD QCA400N QCA400Y QXZ1 Product Name TCP/IP Connectivity Utilities for AS/400 Ultimedia Business Conferencing for AS/400
5716US1
VisualGen Host Services for AS/400 OfficeVision for AS/400 Client Access for DOS with
5763XC1
5763XD1 5763XF1
5763XG1
5763XK1
Client Access for DOS AS/400 Client Access Family for Windows AS/400 Client Access Family OS/2 Warp Server for AS/400
91
Table 7 (Page 3 of 3). Licensed Programs (Including Library Names) Compatible with V4R2
Product Number 5769SS1 Library Name QSYS, QGPL, QUSRSYS, QSYS2, QQALIB, QHLPSYS, QSYSDIR, QMGU, QSSP, #DFULIB, #SEULIB, #DSULIB, #SDALIB, #CGULIB, QSYS38, QUSRTOOL, QFNTCPL, QSYSV3R7M0, QSYSV3R6M0, QSYSV3R2M0, QSYSV3R1M0, QMU400, QIWS, QSYSINC, QGDDM, QCPA, QUMEDIA, QAFPLIB, QMSE, QM36, QSYSLOCALE, QSR, QSOC, QFSNOTES, QFPNTWE, QSMP, QDB2MS, QFLOWMARK, QSYCGI, QGY Product Name Operating System/400
Note: The Central Site Distribution , SC41-5308, guide also contains a list of library names for IBM products.
DSPSFWRSC
Press ENTER. 2. When the list appears, press F11. This brings up the library names for the licensed programs.
92
3. For all products listed, except 57nnSS1, write down the names of the product libraries you want to restore commands from. For example, if product 57nnSV1 SystemView for AS/400 is listed, pressing F11 shows that the related libraries are QSVBASE and QSVLNCH. Do not write down library names for 57nnSS1 products. 4. For each library name that is recorded in step 3, issue this command:
TOLIB(QSYS)
Press ENTER. This copies each command selected with option 3 from the product library to the QSYS system library. 6. Repeat steps 4 and 5 for each library recorded in step 3. Attention Do not copy anything from QUSRSYS.
93
94
Using data compaction on tape Using Use Optimum Block Size (USEOPTBLK) Using data compression Tape drive options The tape input/output processor (IOP) Placement of the tape IOP in the system Type of workload (size of files, mix of user workloads)
Table 8 on page 96 shows the tape drives that were tested in the IBM laboratory and are referenced later in this section and in Appendix C, Save and Restore Rates of IBM Tape Drives for Sample Workloads on page 379. This table shows the rates for each drive.
95
Note that the different rates are obtained by different combinations of drives and parameters on the save and restore commands. IBM conducted a study about the affect of data compaction on save and restore using a general sampling of customer data. The study found that compression occurred at a ratio of approximately 2.8 to 1. The performance data for the 200MB and 2GB workloads is based on this ratio for tape drives that use LZ1 for this compaction algorithm. The same data compacts at about 1.8 to 1 for IDRC drives.
Table 8. Tape Drive Ratings
Drive 6380 6382/6383 6390 7208-342 6385 3570 3490 3590
1
Tape Drive Rate (MB/S) 0.3 0.4 0.5 3.0 1.5 2.2 3.0 9.0
DATA COMPACTION (COMPACT) 0.0 compaction not available 0.0 compaction not available 1.8 1.8 1.8 2.5 1.8 1.6 1
YES
YES
YES
The 3590 does not make use of full compaction. The figures listed are simulated for the 3590.
Note: For interchange and compatibility with IOPs that do not provide hardware data compression, the HDC algorithm is implemented at the software level with software data compression (SDC). SDC increases performance for slower tape devices. For the highest speed tape drives, however, SDC severely limits performance. HDC and SDC are controlled by the data compression (DTACPR) parameter of the save commands:
DTACPR(*DEV) (the default) activates HDC if it is supported, otherwise HDC is not used. DTACPR(*YES) activates HDC if it is supported, otherwise it uses SDC. DTACPR(*NO) does not use either HDC or SDC. Recommendation
Customers that have 3490 Cnn tape drives attached with a 2644 IOP should specify DTACPR(*YES) for maximum performance. If you upgrade to a 3590 or a 3490 Enn tape drive with a 6501 IOP, change the data compaction parameter to the default of DTACPR(*DEV). If DTACPR is specified as *YES for drives attached to the the 6501, software data compression (SDC) is used and performance is not as efficient.
96
Each block of data that is sent has a certain amount of overhead associated with it. This overhead includes:
Block transfer time IOP overhead Drive overhead IOP or drive. The number of For example, sending eight drive overhead. If the same is one times the overhead.
The block size does not change the overhead of the blocks does affect the overhead of the IOP or drive. small blocks results in eight times as much IOP and amount of data is sent in one large block, the result
With the larger block size, the overhead of the IOP and drive become less significant. This allows the actual transfer time of the data to be the limiting factor. In our example, eight software operations with eight hardware operations are essentially a software and hardware operation when USEOPTBLK(*YES) is specified. The result is usually a significantly lower use of the CPU, which also allows the tape device to perform more efficiently.
97
systems with the improved I/O bus rate, DASD and high performance tape can be mixed on an I/O bus as long as they do not exceed the I/O bus bandwidth. The following recommendations explain how to maximize save performance to tape.
The tape subsystem bandwidth is equally important as is the I/O bandwidth. If the device has a controller that attaches multiple host systems and multiple devices, they compete for device bandwidth in the same manner. If two 3490 devices are connected to one controller (3490 C2A), the controller must share the data path between two devices. This cuts throughput to less than half. For optimum performance when running in a restricted state (saves, restores, RCLSTG, and so forth), vary off all communication lines to prevent unnecessary system processing of retries or reconnections. Take the time to vary off all configuration objects during the time of the save or restore operation. Otherwise you potentially suffer degraded performance when in a restricted state. Use concurrent saves to reduce the time to save. Some overlap processing can be done during saves or restores. For example, use two different tape drives at the same time for SAVLIB LIB(*ALLUSR) and SAVDLO. Or, use SAVLIB on two different lists of libraries with two different tape drives at the same time. If you have many DLOs, consider putting DLOs in different ASPs. This not only increases the total number of DLOs that you can have on your system, but also improves recovery time in the event that a restore is required.
Refer to Chapter 5, Save and Restore for Availability and Recovery on page 49, and Section 5.12, Product Preview for Save Restore Enhancements on page 73, for considerations when planning data storage solutions.
8.1.4 Save and Restore Tips and Techniques for Better Performance
The following recommendations improve the performance of save and restore operations: 1. To achieve ma x imum tape performance, the system must have a balance in the placement of high performance loads on the system. Since the data written to tape must come from DASD, the DASD and tape operations must be equal or less than the system bus bandwidth. Two high-performance tape drives on the same bus can have the same affect. During a save-while-active function, large LAN or workstation networks can compete with the tape for system bus bandwidth. Making use of the latest DASD architectures with the fastest service times is an advantage for save and restore performance improvements. (Service time is the time the read and write heads take to access a given piece of data). 2. The choice of using hardware data compression (DTACPR), data compaction (COMPACT), and the USEOPTBLK parameter are important to get the best performance from your tape drives. The settings in the following table work best on average data.
Table 9 (Page 1 of 2). Recommended Settings for Optimum Performance
Tape Device 6380 DTACPR *YES COMPACT *NO USEOPTBLK *NO
98
The 6385 can experience performance degradation if the system cannot keep its buffer filled. In this case, you may find better performance with DTACPR(*NO) COMPACT(*NO).
Experiment with these parameter settings to get the best performance for your environment. 3. Using USEOPTLBLK significantly improves performance on later model tape drives. This is especially true where the systems CPU is subject to a heavy workload. The newer drives are designed to take advantage of the USEOPTBLK parameter. Remember that for V4R2 systems, USEOPTBLK is the default. On systems prior to V4R2, you may want to consider specifying USEOPTBLK(*YES) or change the command default (as is described in Section 5.6, Use Optimum Blocking for Save and Restore on page 57). 4. Adjusting the system configuration is most beneficial for fast tape drives. For the fastest save times, the tape IOP may not be installed where it can be used as an alternate IPL device. This is a consideration on systems prior to V4R1. In that case, you need a slot in the main system unit to move to if you ever need to restore your system. On V4R1 or later systems, the IPL device is no longer restricted to the main system unit. Refer to Chapter 3, Availablility Options Provided by Hardware on page 23, in this redbook for more information about optimizing the tape drive placement. 5. Write capability indicates the rate at which the system can send data to a tape device across the bus. For bus speed, the primary concern is with write capability. On V4R1 or later systems, the 3590 is the only tape drive that can outperform some of the buses. However, the concepts in this section can help other tape drives perform better by avoiding data collisions. For most of the buses, the system can read data from devices much faster than they can write to them. 6. The placement of the tape and DASD IOPs are important to save and restore performance. There are several factors to consider when placing the IOP card:
The bus in the main system unit varies in speed depending on the system model you have. To avoid collisions between data that is read or written to disk and data that is read or written to tape, spread DASD and tape utilization across multiple IOPs and buses. For example, IBM testing has determined that 40 or more DASD arms spread across three buses works well for a single tape drive.
99
To drive multiple tape drives, create balanced user Auxiliary Storage Pools (ASPs). You must know which tape drive is being fed by which ASP. This ensures that the tape IOP is placed on the proper bus to avoid data flowing from the other ASPs. A good candidate is a backup or restore of several large data files. IBM Consult Line services are available to help determine the best configuration for your environment. Optical bus cables come in different lengths. The length of optical bus cables can affect save and restore throughput. When you design your files, keep save performance in mind. One file with 10 000 members is faster to save and restore than 10 000 files with one member each.
Refer to Appendix C, Save and Restore Rates of IBM Tape Drives for Sample Workloads on page 379, for save and restore measurements for selected IBM tape drives.
Automatic Performance Adjustments Altering Shared Pool and Priority Values in Conjunction with the Automatic Tuner Tuning the System Tuner Tuning Parameters for Batch Dynamic Priority and Controlling CPU Intensive Jobs
100
published for V4R2 systems. Only machine-pool and system-wide guidelines (the sum of faults in all the pools) are published. The written guideline that the QPFRADJ system job uses is the page fault guideline for the *MACHINE POOL. For user-defined memory pools, the guidelines are calculated dynamically. All processor models use the same adjusting algorithm for pools and activity levels. Entry-level systems are treated the same as high-end systems. The algorithm is sensitive to the server models, since server models are designed primarily for batch throughput. By default, the *INTERACT pool has a lower adjustment priority on server models. Recommendation Set QPFRADJ to a value of 2 (adjust at IPL and during run time) or 3 (adjust at run time only) if you are not prepared to manually set pool sizes and monitor page fault rates.
Note: The automatic tuner process has undergone many algorithm changes since it first appeared in Version 2 of the operating system. Performance adjustments are made more quickly to changes within each pool than in releases prior to V3R1. Do not let your previous experience with the CISC release implementations of automatic adjustment cause you to set system value QPFRADJ to 0 (off) without reconsidering activating the system tuner. QPFRADJ can help manage your shared storage pool sizes and activity levels. For more information, see the Performance Tuning chapter of the Work Management Guide , SC41-5306.
8.3.2 Altering Shared Pool and Priority Values with the Automatic Tuner
The Work with Shared Pools (WRKSHRPOOL) and the Change Shared Pool (CHGSHRPOOL) displays show the values that the QPFRADJ automatic system tuning job uses to assign storage and priority to shared pools. You can change the values from these same displays. After selecting F11 to Display pool data , you can choose to alter any of these values:
Pool priority value Pool minimum and maximum storage size specified as a percentage of the total main storage Pool page faults-per-second range for each shared pool and jobs running in that pool
Figure 28 on page 102, the Work with Shared Pools display, shows where the pool priority, minimum and maximum storage size, and faults-per-second range values are located.
101
Work with Shared Pools System: Main storage size (K) . : 393216 SYSTEMXX
Type changes (if allowed), press Enter. -----Size %----Minimum Maximum _12.92 ___100 ___.50 ___100 _10.00 ___100 __1.00 ___100 __1.00 ___100 __1.00 ___100 __1.00 ___100 __1.00 ___100 __1.00 ___100 __1.00 ___100 -----Faults/Second----Minimum Job Maximum _10.00 __.00 _10.00 _10.00 _2.00 ___100 __5.00 __.50 ___200 __5.00 _1.00 ___100 _10.00 _2.00 ___100 _10.00 _2.00 ___100 _10.00 _2.00 ___100 _10.00 _2.00 ___100 _10.00 _2.00 ___100 _10.00 _2.00 ___100 More... Command ===> F3=Exit F4=Prompt F12=Cancel
Pool *MACHINE *BASE *INTERACT *SPOOL *SHRPOOL1 *SHRPOOL2 *SHRPOOL3 *SHRPOOL4 *SHRPOOL5 *SHRPOOL6
Priority _____1 _____2 _____1 _____2 _____2 _____2 _____2 _____2 _____2 _____2
F5=Refresh
F9=Retrieve
F11=Display text
Priority Parameter: The priority of a shared storage pool is similar to the priorities of other shared storage pools. The priority ranges from 1 to 14, where 1 is the best priority and 14 is the worst priority. The system uses this value if the QPFRADJ system value is set to 2 or 3. When you enter a value of *DFT, the default value appears.
On V4R2 systems:
The *MACHINE pool has the best priority value (1) compared to other shared storage pools. On server models, *INTERACT pool is shipped with priority 2 and *BASE pool with priority 1. On non-server system models, *INTERACT pool is shipped with priority 1 and *BASE pool with priority 2. All other shared storage pools are shipped with priority 2.
Size Percentage Parameter: This parameter indicates the percentage of the total main storage that is available to allocate to this storage pool. The system uses the size parameter value if the QPFRADJ system value is set to 2 or 3. Enter a value of *DFT, and the default value appears. The default values are highlighted so determining any change to the setting is easythe changed value is highlighted on the users display.
Minimum This is the minimum amount of storage to allocate to this storage pool as a percentage of the total main storage. On most systems, the machine pool has the highest default value for minimum percentage of total storage. For the machine pool, this value changes throughout the day if the QPFRADJ job is active. QPFRADJ takes into account the minimum amount of storage that must be reserved for system use. The WRKSYSSTS command output shows the amount of storage.
102
On AS/400 system models (not server models), *INTERACT pool has the largest amount of minimum storage aside from the machine pool. *INTERACT defaults to 10% of the available main storage. All other shared storage pools have a minimum of 1% of the available main storage. The *BASE storage pool is calculated using the system value QBASPOOL. For the WRKSHRPOOL example shown in Figure 28 on page 102 with a system value of QBASPOOL(2000) and total main storage of 393 216K, the minimum size for *BASE is calculated as follows:
Faults-per-Second Parameter: This parameter indicates the number of page faults per second for the system to use as a guideline for this pool. The system uses this value if the QPFRADJ system value is set to 2 or 3 for automatic performance adjustment. Enter a value of *DFT to view the default value. Again, all the default values are highlighted on the screen.
Minimum Job Page faults per second to use as a guideline for this storage pool. Page faults per second for each active job to use as a guideline for this storage pool. In this calculation, a job is counted as active if it used any CPU cycles in the last twenty seconds. Page faults per second to use as a guideline for this storage pool.
Maximum
For *INTERACT with 20 active jobs, the paging guideline calculated by the system is:
5 + 20 X .50 = 15 faults/second
QPFRADJ does not adjust its maximum page fault guidelines based on processor speed groups. This processor-dependent set of good values is documented in the Work Management Guide , SC41-5306, for each pool. QPFRADJ defaults to maximum per pool values of 100 for all pools except *MACHINE pool and 200 for *INTERACT. The high-end models can tolerate higher page fault rates before page faults per second impact performance. Therefore, you may want to increase the Maximum faults/second value on the WRKSHRPOOL panel. Remember, a pool is in need of more storage if its page faults per second are beyond a threshold value. Also, a pool needing more storage cannot receive additional storage unless another storage pool can release it without reaching its own threshold values of page faults per second and minimum size.
103
Increase the priority of selected pools. If you have a pool for mission critical jobs, adjust the pools priority relative to other pools. To do this, lower the adjusting priority of all other pools. Make sure that you allow the machine pool to remain top priority. You may also decrease the faults-per-second guideline to ensure that the pool has more memory per job running in that pool. Decrease the paging guideline of selected pools. Set a minimum or maximum size for selected pools. By setting a minimum size of a pool, you indicate the lowest amount of main storage available for the pool. The same applies to the maximum pool size. Remove a shared pool from QPFRADJ adjustment considerations. You can force the QPFRADJ system job to leave a pool alone, despite what it may do otherwise. This is done by setting the minimum and maximum sizes to equal values. This action is useful to keep a pool from being reduced too much when jobs are idle (such as, over a lunch break). Setting a minimum size ensures there is enough storage for users when they become active on the system again.
Switch back to fixed guidelines. You can return to the old, fixed guidelines for any or all of the pools by setting the amount of faults to 30 faults per second, for example, regardless of how many jobs are running in the pool. To use the old guideline of 30, set Minimum to 30, Job to 0, and Maximum to 30.
The application running is disk intensive, and disk I/Os are the limiting factor in throughput. The system has sufficient main storage to keep the page faults within guidelines. The processor is under-used (usage is at less than 60%).
Expert cache reducing the disk I/O, therefore, reducing disk access time, and providing more information for the CPU to process Accessing data in main storage faster than on disk
104
Caching in main storage reduces the average disk access time. This process allows the CPU to process more work.
When all workstations (including the console) are input inhibited and the System Activity light is solid, the following steps relieve CPU activity if the congestion is caused by a user job. 1. Select manual mode.
On a white (CISC) system, turn the key to manual. If you are on a black Model 200 system, select function 02 on the front panel. If you are on a black Model 300/500 system, press the mode button.
2. Select function 25 and press the Enter key. 3. Select function 26 and press the Enter key.
Chapter 8. Save, Restore, and System Performance for Availability
105
4. Select function 76. One of six SRC codes in the control panel lights appears: 1. D6000652 or A9002052 service reference code (SRC) indicating a job matching the criteria for a CPU hogging job is found and its priority is lowered by 20 points. If the workstations are still input inhibited, select and enter function 76 again until you free a workstation or no longer receive one of the SRC codes. 2. D6000653 or A9002053 indicating that the job detected, which is hogging the system, is a system job such as QSYSARB or QLUS. Although the priority of a system job is not altered, the user now knows what to investigate when the system performs IPL or frees up again. Multiple uses of function 76 continue to lower the priority of any user job matching the criteria by 20 points to a maximum of 99. 3. D6000654 or A9002054 indicate there are no jobs that meet the hog hunter criteria and, therefore, no changes are made. Note: If no user job is encountered, request a main storage dump. The dump can be analyzed to determine where the hang is and perhaps what caused it. If a priority reduction is successful, message CPD0940 is sent to QHST and QSYSOPR or QSYSMSG message queues indicating:
Job &3/&2/&1 using CPU resources is changed . . . The priority is changed from &4 to &5 because option 76 is entered on the control panel
Note: To clear the SRC, sign on the console. A VLIC log (or VLOG) is also produced. Depending on what type of job the hog hunter encounters, you can find VLOG entries for:
Consult Line personnel can interpret the VLOG entry to determine what the CPU intensive job is. Note: The hog hunter function is included in the system code on R320 systems and later. For R310 systems, apply these PTFs to install the hog hunter code:
Refer to AS/400 Licensed Internal Code Diagnostic AidsVolume 1 , LY44-5900, for information on the use of function 76, and AS/400 Licensed Internal Code Diagnostic AidsVolume 2 , LY44-5901, for a description of VLOGs.
106
107
108
ADSTAR Distributed Storage Manager/400 (ADSM/400) Backup Recovery and Media Services for AS/400 (BRMS) WRKASP Utility Print System Information Tool OS/400 Job Scheduler (part of the operating system) IBM Job Scheduler for OS/400 IBM SystemView System Manager for AS/400 IBM SystemView Managed System Services for AS/400 Automating Message Management OS/400 Alert Support Automating Security Management
109
Because workstations are personal, they go against the formal nature that a strict backup process requires, placing the responsibility for managing the workstation onto the shoulders of the end user. Typically, users are ineffective at saving critical data and, in the worst cases, never back up their workstations at all. ADSM is designed specifically for client/server save and restore operations to perform backups of client data to a server system (in this case, the AS/400 system). ADSM is a cross-platform product supporting over 30 types of clients, including DOS, Microsoft Windows, and OS/2 systems.
Checks that the marketing managers PC is in fact an ADSM client. Uses ADSM facilities to check when this PC was last backed up. Helps the marketing manager restore the damaged file back to his PC. Shows the marketing manager how to do an adhoc backup of the presentation to the AS/400 server after making corrections.
When a colleague of the marketing manager hears about this happy ending, he decides that he also wants his PC backed up every Friday. So the administrator adds this new user to the backup schedule. As the use of ADSM grows to protect PC users data, the administrators responsibility increases. He defines another user as an administrator so that there are two to share the workload of helping users with their backups.
The administrative client The administrative client is a user who controls and monitors the whole backup/recovery process for the PC users and manages the server. The server The server is where the backed up data is stored.
110
Backup function The backup function is a version-based save that is performed in one of three ways: 1. Incremental (such as SAVCHGOBJ on the AS/400 system) 2. Selective (nominating a file to save based on file name, extension, and a generic argument such as an asterisk) 3. Directory-tree backup (display a tree diagram and select files, or choose to back up the entire directory). A version-based save means that ADSM stores a number of different versions of a saved file. The number of versions to be saved is defined by the ADSM administrator. The backup function is commonly used for recovery from a disaster, user error, disk crash, or when performing a disk upgrade.
Archive function The archive function allows you to save a file that has a retention period specified in a number of days. Archive, too, can be specified by nominating a specific file (or using a generic argument such as an asterisk), or selecting from a directory tree (or everything in a subdirectory). Archive is used for: A more permanent storage of static objects Space management (because saved objects can be deleted from the PC) Software distribution (by centrally storing programs and files that can be retrieved by other users) Sharing data (by backing up on one client and restoring to others)
With ADSM/400 Version 2, you can specify that a file is to be deleted on the client after it has been archived on the AS/400 server.
Restore function The restore function recovers files that have been saved with a backup operation. There are three types of restore: 1. By file specification 2. By directory tree 3. By subdirectory path The restore can occur to the client that performed the backup or to any other authorized client workstation.
Retrieve function The retrieve function recovers files that have been saved with an archive operation. Retrieval is based on one or more of the following factors: File specification (name or extension) The description associated with the archive operation Save date range Expiration date range
111
The retrieve occurs to the client that performed the archive or to any other authorized client workstation.
Other Client Characteristics Backup and Archive also offer the following features: CompressionTo reduce network traffic and save server storage, data can be sent to the server in a compressed format. File filtering (include or omit from backup operations)Selected files can be omitted from the backup so that client operating system files that cannot be restored are not saved. This filtering is managed by an include and exclude list on each client. Restore overridesThis feature restores files to subdirectories and file names different than the ones from which they were backed up.
Define workstations that are to be backed up Define the security setup for ADSM Administer the usage and setup of disk and tape Set up schedules for backups and enroll workstations with the ADSM server Define how long to retain files when they have been backed up to the AS/400 server and in how many versions Monitor schedules and events
The administrative client runs on a variety of PC operating systems such as OS/2, Windows 3.1 and above, Windows NT, AIX, Hewlett-Packard HP-UX, Sun Microsystems SunOS, or Solaris (all which provide a graphical user interface). The administrative client comes as part of the ADSM server code for the AS/400. Using the AS/400 server administrative client, gives you a command-line, green screen interface (not a GUI interface).
Storing client data in volumes within storage pools (disk and tape) Tracking files that have been backed up in the recovery log (a file on disk) Retaining rules about the backup and archive process (policies) in the ADSM database (another file on disk) Offering device support for client data storage, including to DASD, tape (8mm, QIC, 3490, and AS/400 reel devices), and optical (the AS/400 server platform does not support the use of optical for this function, but other server platforms do)
112
default. Back up this library every day. This, however, requires that all user storage pools stay on AS/400 DASD, which could be an expensive solution. Many ADSM/400 installations use the option to reserve a certain amount of disk space for backed up user data. Then define a tape storage pool to which data is migrated when the disk area fills up. This setup requires a more complex backup strategy for the ADSM/400 server, such as:
Server database backup and recovery is designed to help recover the ADSM database on the AS/400 server in the event of the loss of all or part of the database. Without the database, ADSM has lost track of which client files have been backed up and where they are stored. The server database can be backed up to tape with an ADSM/400 command. The tape should then be moved offsite. Storage pool backup and recovery is designed to help recover ADSM storage pools on the AS/400 server in the event of the loss of all or part of the ADSM storage pools. This function supports incremental backups and allows backups to take place while the server is operating and available to clients. Storage pools backed up can be both disk and tape storage pools.
As part of a disaster recovery plan, ADSM for AS/400 can identify removable media volumes containing storage-pool backup data to be sent to an offsite location. In turn, ADSM for AS/400 can identify which volumes that you may wish to return in the event of a loss of the physical ADSM server or the loss of a few volumes at the on-site location.
ADSTAR Distributed Storage Manager: General Information , GH35-0131-02 ADSTAR Distributed Storage Manager for OS/400: Administrator s Guide , SC35-0196 ADSTAR Distributed Storage Manager for OS/400: Administrator s Reference , SC35-0197
For other information, such as the most current list of devices supported, see the ADSM Internet homepage: http://www.storage.ibm.com/storage/software/adsm/adsmhome.htm
113
Volume media management: Initialization and enrollment External tape volume labeling Inventory tracking and reporting of tape media Tape volume attribute and error tracking Access security Media expiration management
Backup and recovery of ADSM/400 databases, ADSM/400 recovery logs, and ADSM/400 disk storage pools.
However, since ADSM/400 Version 2 offers functions for backup and recovery of the ADSM/400 database, recovery logs, and disk and tape storage pools, the need for BRMS/400 from an ADSM/400 point of view has been reduced. BRMS/400 is still needed for total management of your backup and tape environment for files outside of ADSM.
114
customer in anticipating resources (devices, media, operational steps, and so on) needed to effectively and successfully complete the operation. Operations are guided, making it easier and less error-prone. Policy support throughout enables you to establish control and evaluation criteria on an operation, object or group, media, device, or system basis. Note: BRMS code was skip-shipped at V4R2. This means that BRMS code does not need to be re-installed when other licensed program products are installed. The V4R1 version of BRMS runs on both OS/400 V4R1 and V4R2.
BRM10A1Library not completely saved (shipped at severity 70). BRM14A1List not completely saved (shipped at severity 70). BRM15A1BRMS Media Information vital for recovery not all saved (shipped at severity 70). BRM16A1Backup completed with errors (shipped at severity 70). This message is sent at the end if any of the others are sent.
115
These messages are in the Q1AMSGF file in the QBRM library. If you have secondary languages, the messages may be in the QSYSnnnn language library where nnnn is the number of the secondary language. If you are not certain how these messages affect your backups, let the default values remain. If you notice a conflict with alternate jobs being started, make changes as necessary.
Execute BRMS cleanup Produce a volume session statistics report Print a version control report for media expiration Produce a recovery analysis report to view the recovery plan as if the only media available is at a specified location (such as offsite) Print a media information report Print a system audit media report indicating the changes and differences in the backup that could not be resolved and require user action
Note: The audit report notes the differences in the backup. It does not need to be produced every time maintenance is run unless a back-level QUSRBRM database has been restored to one system or a loss of QA1ANET records has occurred. Entries on this report indicate possible network system communication problems that should be investigated. These include:
RUNCLNUP parameter *YES or *NO: Cleanup operations should be run regularly. However, if maintenance is run for a report-only reason, this parameter may be set to *NO. RTVVOLSTAT parameter value *YES or *NO: Volume session statistics are produced or not produced. If a site does not refer to these statistics, this option should be *NO whenever maintenance is run. AUDSYSMED parameter values *NETGRP and *NONE: Media information in a BRMS network is audited and differences resolved. A report is printed indicating the changes and differences that could not be resolved and which require user action. Ideally one system in the network runs the audit, making the run time for maintenance on the other systems shorter. This option does not need to be run every time maintenance is run, unless a back level QUSRBRM database has been restored to one system, or a loss of QA1ANET records has occurred. Having any entries on this report indicates possible network system communication problems that should be investigated. PRTVSNRPT parameter values *YES, *NO or *EXPMED: A version control report is or is not produced. *EXPMED indicates the report should be produced only if media expiration processing is performed. If your site never uses versioning, change the parameter to *NO. A site may only require this report on a weekly basis or less. A multi-valued recovery locations parameter, RCYLOC: This parameter depends on PRTRCYRPT(*RCYANL) or PRTRCYRPT(*ALL) to provide users
116
with the ability to qualify the recovery analysis report location. This allows users to view their recovery plan as if the only media available were at a specified location (such as offsite). A special value of *ALL is the default. The STRRCYBRM command also uses the *ALL parameter. Users might consider regularly running two or more recovery reports, based on different locations to cover various disaster possibilities (for example, loss of all on-site media).
The BRMLOG report time stamps agree with joblog time stamps for all V4R1 save and restore operations. Prior to V4R1, these values were written to the BRMLOG at the end of the save operation and showed that time stamp instead.
117
Recommendation If differing time zones are implemented, do not run the INZBRM *NETTIME command on your networked systems until time zone differences are accounted for.
Considerations when system times are changed on pre-existing BRMS networks include: If you are setting clocks forward in time: 1. Ensure that all BRMS activity (such as saves, moves or maintenance) is ended on all systems. 2. Ensure that the BRMS subsystem Q1ABRMNET is ended on all systems in the network. 3. Set the time forward on any systems requiring a gain in time. 4. Restart the subsystem after all clocks have been set. If the time is to be set backwards on any system in the network: 1. Ensure that all BRMS activity, such as saves, moves, or maintenance, is ended on all systems. 2. Ensure that there are no updates waiting to synchronize across the network. To do this:
Run DSPPFM QUSRBRM/QA1ANET on each system in the network. If any members exist, updates are waiting to synchronize. Wait a few minutes to allow the synchronization job to send the records again. Retry the DSPPFM command. If there are no changes to the file after several minutes, there could be a communications problem. Correct any communications problems, and retry the DSPPFM command. Consult the AS/400 Support Line if necessary. When there are no longer any members in the QA1ANET file, all updates have been sent.
3. End the BRMS subsystem Q1ABRMNET on each system in the network. 4. If you are setting a system back n hours, power the system down, wait n hours and manually IPL the system and reset the system time. This helps you avoid potential problems with duplicating time stamped records in BRMS and other system journals. Duplicate time stamps can cause unpredictable results for BRMS media management.
If it is not possible to power the system down for n hours to make the time change, ensure that no BRMS activity occurs for n hours on the entire network. If several systems are being set backwards to various times, such as 5PM, 6PM, and 7PM, use the system that is set back the furthest in time to represent the value for n in the preceding description. Be aware that other system journals and logs, such as the QHST logs, may contain confusing or inaccurate information as a result of keeping the system up when setting the clock backwards in time.
Note: To ensure the current QHST log version is up to date, use DSPLOG with a fictitious message identifier, such as:
118
DSPLOG MSGID(###0000)
DSPLOG of a fictitious message ID does not display any messages, but the log version physical file is made current.
9.3.7 Large Tape File Sequence Numbers for Non-Save and Restore Operations
Due to the increased storage capacity of many of the tape drives in current technology, BRMS supports up to 65 535 sequence numbers. In releases prior to V4R1, the maximum sequence number is 9 999. Note: The support for up to 65 535 sequence numbers per tape is for non-save and restore operations only. This affects BRMS users using the new append options on DUPMEDBRM. DUPMEDBRM does not support larger sequence numbers for BRMS save operations, such as those indicating APPEND *YES, because of OS/400 save-and-restore restrictions. The QUSRBRM library files affected are QA1AHS and QA1AOD. QA1AHS is sometimes shared between systems. Therefore, previous releases experience a restriction when it comes to storing media information on a shared inventory system. On systems prior to V4R1, the field containing the sequence number information is not large enough to hold values over 9 999. Sequence numbers do not appear properly when such a system is receiving *LIB level information from the V4R1 systems. Note: Under WRKPCYBRM *SYS, the Change Network Group option listed in the System Policy indicates if a system is sharing media information with other systems in the network by using the *LIB special value.
*CFG *SECDTA
119
*NONE
This allows configuration objects and security objects to be omitted from the SAVSYS, which is performed using the SAVSYSBRM command. Recommendation If you OMIT *CFG or *SECDATA for a shorter save time or less media use, ensure the *CFG and *SECDATA objects are periodically saved separately.
5799-GDH PRPQ P84308 for V4R1 and V4R2 5799-FZG PRPQ P84300 for V3R6 and V3R7 5799-FZF PRPQ P84301 for V3R2
An auxiliary storage pool (ASP) is a logical grouping of disk units. ASPs provide a means of isolating objects on a specific disk units. If the system experiences a disk unit failure that requires its replacement, recovery is required only for the library or objects in the ASP containing the replaced disk unit. When a user ASP is created (using DST), a physical set of disk units is logically grouping together. User ASPs contain either entire libraries or associated objects only. Associated objects can be journals, journal receivers, and save files. Isolating libraries and associated objects in a user ASP protects them from disk failures in other ASPs (either the system or other use ASPs). For example, if a disk failure causes data to be lost in user ASP03, data in the system ASP and other user ASPs remain intact and do not have to be restored. WRKASP allows you to work with ASP libraries, overflowed objects, and save files, journals, and journal receivers using a menu driven interface. Included in the WRKASP utility are seven CL commands, which include: WRKASP CHGASPDSC Starts the main WRKASP menu. Allows unique ASP descriptions within WRKASP. This is useful when objects are categorized by application or the type of object (for example, all spool files, or all billing application data). Duplicates a library from one ASP to another. Moves a library from one ASP to another. Prints database dependencies for a library. This command provides similar information as that produced by the WRKJRNA command or ANZDBF command in the Performance Tool/400 product. Prints a report of ASP contents and save dates. Saves the contents of a library based on user ASPs.
PRTASPLIB SAVLIBASP
120
WRKASP simplifies the ASP planning and implementation process, as well as the day-to-day management and maintenance of user ASPs. One of the most important features of the tool is the ability to move libraries across ASPs and reset overflowed objects without interrupting normal operations by preserving private authorities to system objects, as discussed in the sections that follow.
Display Disk Configuration by ASP ASP number . . . . : Serial Number 00-0CA9322 00-0CA6391 00-0CC0727 00-0DF4248 00-0CC0346 00-0BF6449 00-0AC1776 02 % Used 32.1 32.1 32.1 32.1 32.1 33.5 33.5 Protection Overflow Type Status DPY Active DPY Active DPY Exposed DPY Active DPY Active MRR Exposed MRR Active
The system ASP contains IBM supplied functions, such as the Licensed Internal Code, the operating system (including library QSYS), document library QDOC, libraries QUSRSYS and QGPL and configuration objects. Some user objects, such as programs, files, and libraries, can be contained in the system ASP. If no user ASPs exist, all configured DASD units are allocated to the system ASP, and all libraries and objects are stored in the system ASP. Library-based user ASPs contain entire libraries, including the objects that reside in that library. Objects are designated for a specific user ASP by specifying a value of 2 through 16 in the ASP parameter of the Create Library (CRTLIB) command. Object-based user ASPs do not contain libraries. Object-based user ASPs are used to contain journals, journal receivers and save files, whose associated library is stored in the system ASP. Again, objects come to reside in a specific
121
user ASP when a value of 2 through 16 is specified on the create command, for example:
Locate and reset overflowed objects You have the ability to reset overflowed objects without having to manually save, delete, restore, or IPL the system.
Locate database networks, invalid objects, and journal dependencies This report can be used to determine if cross library database networks exist (that is, if there are logical files in a different library than the physical) and if the ASP has enough capacity for the move. The following display is the main panel of the WRKASP utility:
Work with Auxiliary Storage Pools System: Type options, press enter. 5=Display disk status 6=Print libraries 11=Save change contents 12=Work with contents 22=Print ASP Analysis SYSTEMXX
Opt
ASP 1 2 3 4 5 6 7 8 9
ASP description System ASP 1 - OS/400 User ASP data and libraries Test data Programs in development History data Source files Save files Spool files Payroll data and libraries
Type SYS LIB LIB LIB LIB LIB OBJ LIB LIB
--Protection-Type Status DPY MRR DPY CKS MRR MRR Active Active
Active
Command ===>
Figure 31. Work with Auxiliary Storage Pools
122
From this display, option 12 Work with contents takes you to the following display:
Work with contents (Libraries) ASP number . . . . : Available ASP space: 02 42073014 Position to . . . .
Type options, press enter. 3=Copy to ASP 5=Display 6=Print DB 11=Move to ASP 12=Work with library
8=Display description 13=Analyze library Dependencies Obj DB Jrn No No No No No No No Yes Yes No No No No No No No No Yes No Yes Yes
Opt
Description Dental Application Library Testing scratch pad COLLECTION - created by SQL Human Resources initiation Display user space library Human Resources application COLLECTION - created by SQL
More... Command ===> ___________________________________________________________ F3=Exit F5=Refresh F9=Retrieve F12=Cancel F13=InfoSeeker F15=Work with save file and journal objects
Figure 32. Work with Contents (Libraries) Display
By looking at the Dependencies column, you can immediately see if you should analyze one or more libraries further for database dependencies. In our example, the QUERIES, AAALIB, and SLCSXP libraries have file dependencies. Option 6, Print DB gives a printed analysis of the database dependencies for each library.
ASP-to-ASP library move and copy This option provides the ability to move or copy a library from one ASP to another with a single command and without losing private authorities. When system commands are used to save a library, delete it and restore it to another ASP. Private authorities are lost and need to be restored (using RSTAUT) or recreated (using EDTOBJAUT).
For more information about the WRKASP utility, refer to WRKASP Utility User s Guide PRPQ , SC41-0652.
123
Plan your upgrade procedures. Evaluate the success of moving information. Perform disaster recovery, if necessary.
The PRTSYSINF command can also be useful in your daily operations even if an upgrade is not planned. The PRTSYSINF command generates the following reports (the corresponding OS/400 CL command is in parentheses):
A Library Backup list with information about each library in the system, which backup schedules it is part of, and when it was last backed up (DSPBCKUPL *LIB) A Folder Backup list with the same information for all folders in the system (DSPBCKUPL *FLR) A list of all the system values (DSPSYSVAL) A list of network attributes (DSPNETA) A list of edit descriptions (DSPEDTD) Display PTF Details list (DSPPTF) A list of reply entries (WRKRPYLE) A report of access path relationships (DSPRCYAP) A list of service attributes (DSPSVRA) A list of network server storage space (DSPNWSSTG) A report showing the power on/off schedule (DSPPWRSCD) A list for all hardware features on your system (DSPHDWRSC) A list of distribution queues (DSPDSTSRV) A list of all the subsystems defined on your machine (DSPSBSD) A list of the IBM software licenses installed on your machine (DSPSFWRSC) A basic list of journal object descriptions for all journals on the system (DSPOBJD) A report showing journal attributes for all journals on the system (WRKJRNA) A report showing cleanup operation (CHGCLNUP) A basic list of all user profiles on the system (DSPUSRPRF) A report of all job descriptions on the system QDFTJOBD (DSPJOBD)
All the commands listed above are part of OS/400 and can be run individually, but the PRTSYSINF command ties them together neatly. Note: As some of the above commands require that you have *SECOFR authority, you also need *SECOFR authority to run the PRTSYSINF command. RTVSYSINF is used to retrieve the same values into save files, user spaces, and data areas of a library of your choosing for further analysis. UPDSYSINF can selectively update the files that RTVSYSINF created. with a current status of the edit descriptions, network attributes, reply list entries, service attributes, service providers, and system values on the system. These tools are very useful to help the system administrator keep track of how the system is configured and customized.
124
SYSTEMXX 20:27:22
Type options, press Enter. 2=Change 3=Hold 4=Remove 8=Work with last submission
5=Display details 6=Release 10=Submit immediately Next Submit Date 02/07/98 01/26/98 02/27/98 01/22/98 02/14/98
Opt
-----Schedule-----Status Date Time HLD *ALL 23:30:00 SCD *ALL 01:00:00 SCD *SAT 00:30:00 SCD *ALL 00:05:00 SCD *ALL 00:05:00
Bottom Parameters or command ===> F3=Exit F4=Prompt F11=Display job queue data
F5=Refresh F12=Cancel
F6=Add F17=Top
F9=Retrieve F18=Bottom
125
Add Job Schedule Entry (ADDJOBSCDE) Type choices, press Enter. Job name . . . . . . . . . . . . Command to run . . . . . . . . . Name, *JOBD
Frequency . . . . . . . . . . . Schedule date, or . . . . . . . Schedule day . . . . . . . . . . + for more values Schedule time . . . . . . . . . Relative day of month . . . . . + for more values Save . . . . . . . . . . . . . . F3=Exit F4=Prompt F24=More keys F5=Refresh
*ONCE, *WEEKLY, *MONTHLY Date, *CURRENT, *MONTHSTR... *NONE, *ALL, *MON, *TUE... Time, *CURRENT *LAST, 1, 2, 3, 4, 5 *NO, *YES More... F13=How to use this display
Job scheduling information is contained in the job schedule system object named QDFTJOBSCD. This object cannot be deleted, renamed, copied to another library, or duplicated. It must always reside in the QUSRSYS library. Should the QDFTJOBSCD object ever become damaged, the system replaces it with an empty object, which means that none of your scheduled jobs will run. You can restore the QDFTJOBSCD object from your backup during production. You do not have to be in a restricted state. You can also restore the job schedule object from another system and use Change Job Schedule Entry (CHGJOBSCDE) command to modify it for your system. An empty job schedule object can be the result of the QDFTJOBSCD user-modified object being over-written, such as when library QUSRSYS is replaced in a release update operation. Therefore, it is important that your backup plan include this object. Keep in mind that this object must always reside in the QUSRSYS library. Note: Another reason for scheduled jobs not executing is that the QJOBSCD job is not running. The system QJOBSCD job starts automatically during IPL. It remains active until the system is powered down. If it inadvertently ends, a SAV or RST operation of the QDFTJOBSCD object in QUSRSYS reactivates normal job schedule functions. However, if the SAV or RST is run in restricted state, job scheduling does not activate until normal operations are resumed. Additional considerations apply when restoring the job-schedule object, if it is restored from a system that uses a different calendar format (for example YYMMDD date format on a MMDDYY system). Failure to reconcile the difference in a date format can cause unpredictable job scheduling. Further information about using the job scheduler function can be found in the Work Management Guide , SC41-5306.
126
IBM Job Scheduler for OS/400 can be set up with data currently used by the date and time scheduler found in OS/400. When OS/400 scheduling entries are converted to IBM Job Scheduler for OS/400, you enhance your scheduling capabilities through the use of calendering dependency scheduling, plus other features provided by IBM Job Scheduler for OS/400.
127
The uses of IBM Job Scheduler for OS/400 are numerous (refer to Figure 35). Job Scheduler for OS/400 provides a key function that moves AS/400 system operations even closer to a total lights-out, automated set of operations. Highlights include:
Automation Batch job-stream management Forward planning and production forecasting Full calendaring of operations Dependency scheduling
Any batch-capable function can be scheduled. The product interfaces with other IBM systems management tools for the AS/400, giving you functions such as:
Enhanced scheduling of PTF orders through IBM SystemView System Manager/400 Scheduling and maintaining backups by combining Job Scheduler for OS/400 with BRMS/400
The functions of Job Scheduler for OS/400 are available to run on a single system or across multiple systems in a network. Additional functions include:
Job reporting Repetitive distribution Capture existing job streams as they are submitted Pass job parameters using the local data area Operator notification using paging support
Note: Job Scheduler for OS/400 was developed and is maintained by MBA, Inc. Refer to the following URL for more information on MBA: http://www.mbainc.com/new/
128
Remote AS/400 problem management This includes remote problems analysis, comparison with existing available PTFs, automatic distribution of found PTFs, and a single connection to IBM or an independent software vendor for an electronic reporting of new problems.
Central site packaging of independent software vendor (ISV) applications for AS/400 Licensed Program management support This enables ISV applications to receive the same system support as IBM licensed programs.
Central site distribution and change management support for remote AS/400 systems using MSS/400, remote RISC/6000 systems using NetView DM/2, and remote Novell NetWare Servers using NVDM for NetWare SM/400 permits the central site AS/400 system to define, schedule, and track software distribution (change management) requests sent to systems with MSS/400, NetView DM/2, NetView DM/6000, or Novell NetWare installed. These change management requests include sending, receiving, and deleting files, programs, other AS/400 objects (libraries, save files, message files, documents, folders, PTFs, and so on) and non-AS/400 (OS/2 and RISC/6000) files, programs, and software. Running programs, installing software, applying PTFs, and re-performing IPL can be scheduled to run automatically on the remote system. The remote system can forward the results of all change requests to the central site SM/400 system for tracking.
129
When only AS/400 systems are connected, the Operations Control Center/400 provides a significant set of automated operations. However, OCC/400 does not provide the real-time monitoring and automated action for the entire AS/400 operating environment.
Sending AS/400 commands to remote AS/400 systems using MSS/400 without signing on This support is intended for unplanned operations to be performed on one or more remote AS/400 systems, such as deleting a particular file or library that is no longer in use.
SM/400 includes a graphical interface for a network operator to graphically monitor and manage a network of systems. The change management functions are enhanced to provide support for the Integrated PC Server. Note: SM/400 allows IBM licensed programs to have options that are at a different version, release, and modification level than the base product. The Copy PTF Save command (CPYPTFSAVF) removes its assumption for each product that the version, release, and modification of the option matches the base.
S/390 NetView Distribution Manager for MVS (Release 5 or later) for MVS-based networks SystemView System Manager for OS/400 (Version 3 Release 1 or later) for AS/400-based networks
The central site defines, schedules, and tracks software distribution (change management) requests sent to the AS/400 system with MSS/400 installed. Change management requests include sending, receiving, and deleting AS/400 files, programs, and other objects (libraries, save files, message files, documents, folders, PTFs, and so on). AS/400 objects can be sent directly to or received from AS/400 libraries or through the local AS/400 distribution repository. Running programs, installing products, applying PTFs, and re-performing IPL can be scheduled to run automatically under MSS/400 control. MSS/400 forwards the results of all change requests to the central site for tracking. The capability for the central site to define, schedule, and run these change requests one time or repetitively significantly enhances unattended operation of remote AS/400 systems. To make it easier to distribute software and manage changes for clients attached to AS/400 systems, MSS/400 uses a change control server function (SBCS only). This enables unaltered software distribution and installation for clients with NetView Remote Operations Agent/400 software (5733-165) installed. Support is
130
available for OS/2, Windows 3.1, DOS, UNIX, AIX, Windows NT, and Apple Macintosh** Clients. MSS/400 also supports the unscheduled running of AS/400 commands issued by the central site, without having to first sign on to the AS/400 system with MSS/400. Printed output from these commands can be returned to the central site that issued the command.
Using the QSYSMSG message queue Break handling program for message monitoring Setting a system reply list for an automatic reply of messages Operational assistant for operational management
131
Note: Do not create the QSYSMSG queue unless you want it to receive specific messages. Once the QSYSMSG message queue is created, all the specific messages are sent to QSYSMSG without any further action from the operation.
PGM PARM(&MSGQ &MSGLIB &MRK) DCL VAR(&MSGQ) TYPE(*CHAR) LEN(10) DCL VAR(&MSGLIB) TYPE(*CHAR) LEN(10) DCL VAR(&MRK) TYPE(*CHAR) LEN(4) DCL VAR(&MSG) TYPE(*CHAR) LEN(75) RCVMSG MSGQ(&MSGLIB/&MSGQ) MSGKEY(&MRK) MSG(&MSG) . . . ENDPGM
After the break-handling program is created, run the following command to link it to the QSYSMSG message queue.
132
BRKPGM:
PGM (&MSGQ &MSGQLIB &MSGMRK) DCL &MSGQ TYPE(*CHAR) LEN(10) DCL &MSGQLIB TYPE(*CHAR) LEN(10) DCL &MSGMRK TYPE(*CHAR) LEN(4) DCL &MSGID TYPE(*CHAR) LEN(7) RCVMSG MSGQ(&MSGQLIB/&MSGQ) MSGKEY(&MSGMRK) + MSGID(&MSGID) RMV(*NO) /* Ignore message CPA5243 */ IF (&MSGID *EQ CPA5243 ) GOTO
ENDBRKPGM /* Reply to forms alignment message */ IF (&MSGID *EQ CPA5316) + DO SNDRPY MSGKEY(&MSGMRK) MSGQ(&MSGQLIB/&MSGQ) RPY(I) ENDDO /* Other messages require user intervention */ ELSE CMD(DSPMSG MSGQ(&MSGQLIB/&MSGQ)) ENDBRKPGM: ENDPGM
Note: This program cannot open a display file if the interrupted program is waiting for input data from the display. In the example, if a CPA5316 message arrives at the message queue while the DSPMSG command is running, the DSPMSG display shows the original message causing the break and the CPA5316 message. The display waits for the operator to reply to the CPA5316 message before proceeding. Note: When this program is used, the display station user does not need to respond to the messages:
A procedure in the break-program shows other menus or displays. The break-program calls other programs that may show other menus or displays.
The following example outlines the user procedure and display file needed to suspend and restore the display. RSTDSP(*YES) must be specified when the display file is created.
A A* A A A A
R SAVFMT R DUMMY
DUMMYR
DCL VAR(&MSGLIB) TYPE(*CHAR) LEN(10) DCL VAR(&MRK) TYPE(*DEC) LEN(4) DCLF FILE(UDDS/BRKPGMFM) SNDF RCDFMT(SAVFMT) CALL PGM(User s Break Program) SNDF RCDFMT(SAVFMT) ENDPGM
If you do not want the user-specified-break-handling program to interrupt the interactive job, submit the program to batch. You can do this by specifying a break-handling program to receive the message and perform a SBMJOB. SBMJOB calls the current break-handling program and passes any parameters necessary. Control is then returned to the interactive job which continues normally. Refer to the AS/400 CL Programming Guide , SC41-5721-01, and Break Handling exit program in the System API Reference , SC41-5801-01.
Checking the status of the system Cleaning up objects Powering on and off Enrolling users in the directory Changing some system options Collecting disk space information
134
ASSIST
System: SYSTEMXX To select one of the following, type its number below and press Enter: 1. 2. 3. 4. 5. Work with printer output Work with jobs Work with messages Send messages Change your password
10. Manage your system, users, and devices 11. Customize your system, users, and devices 75. Information and problem handling 80. Temporary sign-off
F1=Help
F3=Exit
F9=Command line
F12=Cancel
135
You have technical people at only one location in a network. You run your own application on your system. Alert support lets you define your own alert messages so that your applications have the same error-reporting capabilities as the system functions.
You manage a network with either homogeneous or heterogeneous systems. Because alerts are designed to be independent of the system architecture, alerts from one system are readable on other systems.
You must monitor your network status. Alerts support information about specific network problems that help you track and monitor your system.
You have unattended remote systems. Alerts can notify a central site about a problem on an unattended system.
Alerts are generated by OS/400, OS/2, and MVS/ESA. A central AS/400 system can act as the focal point for the alerts allowing the problems to be recognized, logged, and tracked centrally. In addition, with alert filtering, you can direct alerts to the most appropriate support area for quick resolution. With V3R2, V3R7, and subsequent releases you can convert these alerts into SNMP Traps, which can be sent to NetView for AIX. Alerts and alert filtering are part of OS/400.
136
A system in your network is designated as the Service Provider. This means the other systems in the network can request service in the form of PTFs, for example, from the service provider system. You can also set up *IBMSRV (RETAIN) to make IBM the service provider using ECS (electronic customer support).
Work with profiles 1. Analyze default passwords 2. Display active profile list 3. Change active profile list 4. Analyze profile activity 5. Display activation schedule 6. Change activation schedule entry 7. Display expiration schedule 8. Change expiration schedule entry
137
An automated enabling or disabling of user profiles to control access during off hours An automatic disabling of user profiles based on company policy Monitoring and auditing passwords for company guidelines Produce reports showing security violations Automation and management of an audit journal
For more information, review the AS/400 publication AS/400 Tips and Tools for Securing Your AS/400 , SC41-5300-01.
Detect attempted security violations Plan migration to a higher security level Monitor the use of sensitive objects, such as confidential files
The audit journal can be set up by using a menu, CL commands, or OS/400 Security Tools. For more information, refer to the AS/400 Security Reference Guide , SC41-5301, Chapter 92 Using the Security Audit Journal. For additional security considerations, refer to SecurityBasic V4R1 , SC41-5301, and AS/400 Tips and Tools for Securing Your AS/400 , SC41-5300-01.
138
Work with active jobs Work control block table Display job tables System jobs affecting availability System values affecting availability QSYSOPR message queue wrap when full When CPM or dump processing hangs When the system date is reset End job abnormal Reclaim storage Other reclaim processes Power down system Work management APIs
139
Work with Active Jobs (WRKACTJOB) Type choices, press Enter. Output . . . . . . . . . . . . . OUTPUT Additional Parameters Reset status statistics . . . . RESET Subsystem . . . . . . . . . . . SBS + for more values CPU percent limit . . . . . . . CPUPCTLMT Response time limit . . . . . . RSPLMT Sequence . . . . . . . . . . . . SEQ Job name . . . . . . . . . . . . JOB Automatic refresh interval . . . INTERVAL *NO *ALL *NONE *NONE *SBS *ALL *PRV *
You can change the sequence of the information shown when you place the cursor in the desired column and press the F16 key. You can also choose the Automatic refresh interval option on the WRKACTJOB command, as shown in Figure 40. This sequencing allows for better system administration when the component of most concern is displayed or listed at the top. For example, when the cursor is in one of the first two positions of the Subsystem/Job column, the display output is ordered by subsystem . When the cursor is in one of the last ten positions of the Subsystem/Job field, the display is ordered by job . IBM introduced threads to the operating system in V4R2. A thread is a unit of dispatchable work, each with its own execution environment, such as a call stack. One of the Work with Active Jobs displays shows a column with the thread count. To view this display with the thread information, press F11 twice from the first Work with Active Jobs display. Jobs can be ordered by the number of active threads. The jobs with the largest number of active threads are presented first. Refer to Figure 41 on page 141.
140
Work with Active Jobs CPU %: 2.3 Elapsed time: 00:01:09 02/08/98 Active jobs: 214
SYSTEMXX 16:04:56
Type options, press Enter. 9=Exclude 10=Display call stack 11=Work with locks 12=Work with threads 14=Work with mutexes ... Opt Subsystem/Job QBATCH NEWLOOK PRT_ORDER TTLMOM QCMN QCTL QJSCCPY QSYSSCD QINTER QPADEV0007 QPADEV0009 QPADEV0016 QSERVER QPWFSERVSD QPWFSERVSO QPWFSERVSO User QSYS A970107A A970107A XXTOOL QSYS QSYS A97011359 QPGMR QSYS DMT A970107A A97011359 QSYS QUSER QUSER QUSER Number 031412 031816 031638 031920 031413 031375 032004 031402 031408 031779 031967 032002 031396 031549 031410 031561 Type SBS BCH BCH BCH SBS SBS BCH BCH SBS INT INT INT SBS BCH PJ PJ CPU % .0 .0 .0 .0 .0 .0 .0 .0 .0 .0 .0 .8 .0 .0 .0 .0 Threads 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 More . . . ===> F19=Start automatic refresh F24=More keys F21=Nondisplay instructions/key
Thread identifiers are also visible when the call stack is displayed for a job. To see a jobs thread information, select option 20 from the Work with Job (WRKJOB) menu to Work with threads (if active) . Or select option 12 to Work with threads from the WRKACTJOB screen. With the inclusion of thread information, there are three additional wait indicators:
CNDWWaiting on a handle based condition HLDTThe initial thread of the job is held THDWThe initial thread is waiting for another thread to complete
141
163 520 entries, which means that the maximum number of jobs on an AS/400 system is limited to 163 520 on V4R2 systems. There is a Work Control Block Table Entry (WCBTE) for every job tracked by OS/400. Jobs are counted if they are:
On the job queue ready to run Actively in the system doing work Completed with output that remains on an output queue
When a job is no longer tracked by the system, a new job that is starting can reuse its Work Control Block Table Entry (WCBTE). However, there can be situations on heavily utilized systems where the number of jobs being tracked is quite large. This causes the total storage occupied by the WCBTEs to increase. If a large number of these entries (jobs) become no longer tracked, it can take a while to reuse the available entry space. During that time, processing the Work Control Block Table entries with commands, such as Work With Subsystem Jobs (WRKSBSJOB) or the List Job (QUSLJOB) API, can become time consuming on systems with a large number of tracked jobs. Eventually, you need to compress these entries to remove the empty slots to return to the count of entries specified with the QTOTJOB system value. The compression is performed during IPL. Compression is requested using the compress job tables (CPRJOBTBL) parameter on the Change IPL Attributes (CHGIPLA) command shown in Figure 42. Compression reduces the size of the WCBT by freeing up the unused WCBTEs.
Restart type . . . . . . . . . Keylock position . . . . . . . Hardware diagnostics . . . . . Compress job tables . . . . . Check job tables . . . . . . . Rebuild product directory . . Mail Server Framework recovery Clear job queues . . . . . . . Clear output queues . . . . . Clear incomplete joblogs . . . Start print writers . . . . . Start to restricted state . .
. . . . . . . . . . .
RESTART KEYLCKPOS HDWDIAG CPRJOBTBL CHKJOBTBL RBDPRDDIR MSFRCY CLRJOBQ CLROUTQ CLRINCJOB STRPRTWTR STRRSTD
*SYS *NORMAL *MIN *NONE *ABNORMAL *NONE *NONE *NO *NO *NO *YES *NO
When the system starts using the tenth Work Control Block Table, a CPI1468 message is sent indicating that the WCBT is nearing capacity. The following recovery operation is recommended in the message text:
. . . If the work control block table is permitted to fill completely, then jobs cannot be successfully submitted and the subsequent IPL may result in failure with resulting loss of all spooled files and jobs on job queues. Delete unneeded spooled files or end unneeded jobs on job queues to free up job structures...
142
10.2.1.1
The code to compress job tables is in the base operating system for systems after V3R1. To provide the same function as the CPRJOBTBL parameter on the CHGIPLA command, order and apply Programming Temporary Fix (PTF) SF23320 for V3R1 systems to compress the job tables. The original V3R1 PTF has been replaced several times. However, the only user documentation on how to compress the job table at IPL is in the cover letter for SF23320. We recommend that you print the cover letter for PTF SF23320. The cover letter describes how to activate this function as follows:
CRTDTAARA DTAARA(QSYS/QWCBTCMPTB) TYPE(*CHAR) LEN(1) CHGDTAARA DTAARA(QSYS/QWCBTCMPTB) VALUE( 1 ) / * COMPRESS ON */ CHGDTAARA DTAARA(QSYS/QWCBTCMPTB) VALUE( 0 ) / * COMPRESS OFF */
For instructions on printing a cover letter, refer to System Operation , SC41-4203.
Obtain the number of jobs in the system from the WRKSYSSTS display. and
Obtain the number of active jobs in the system from the WRKACTJOB display. and
Compare these values to the following WCBT related system values to see whether any of the system-value user-defined limits are exceeded. QTOTJOB QADLTOTJ
Chapter 10. Work Management for System Availability
143
QACTJOB QADLACTJ
On V4R2 systems, you can accomplish all of this by entering the following command:
DSPJOBTBL
Unlike the WRKACTJOB and WRKSYSSTS displays, the Display Job Tables display shows information from internal system objects and presents a clearer picture of job structures (see Figure 43).
Display Job Tables Permanent job structures: Initial . . . . : 1020 Additional . . . : 10 11/32/97 Temporary job structures: Initial . . . . : 275 Additional . . . : 10 Available . . . : 171
SYSTEMXX 12:55:41
Table 1
Size 1052416
The permanent job structures, temporary job structures, and entries sections of the DSPJOBTBL output are described in the following sections.
Additional
144
Additional
Available
Table 1
The In-use entries field provides information about the entries contained in the job tables (WCBTs). Table Size This value shows the number of the WCBT. The values range from one to ten since there are a maximum of ten WCBTs per system. This value indicates the size of the WCBT in bytes.
145
Total
This value indicates the total number of entries contained in the WCBT. If the number of available entries is large, you can compress the job tables during the next IPL. Use the Change IPL Attributes (CHGIPLA) command as described in Section 4.5, Changing IPL Attributes on page 42, to change the option used to compress the job tables. This value indicates the number of entries that are available for new jobs. If there are no available entries, the system can experience a severe performance degradation when it starts a new job because the table has to be extended. However, too many available entries degrade the performance of IPL steps that process the WCBT and run-time functions that work with jobs. This value shows the number of entries currently used by jobs that are on a job queue, jobs that are active, or jobs that have completed but spooled output on an output queue. This total is calculated as shown here: A Simple Calculation of In-Use Entries 130 1 870 1001 Active + in Job Queue + in Output queue = The Number of In-Use Entries
Available
In-use
Notice that the number of in-use entries total matches that shown in Figure 43 on page 144. Other This value shows the number of entries that are not available and not currently in use by jobs that are on a job queue, jobs that are active, or jobs that have completed but spooled output on an output queue. It includes entries that are marked as unusable and those that are for jobs in transition (such as from a job queue to the active state).
146
Work with Active Jobs CPU %: 1.5 Elapsed time: Opt Subsystem/Job User QALERT QSYS QCMNARB01 QSYS QCMNARB02 QSYS QDBSRVXR QSYS QDBSRVXR2 QSYS QDBSRV01 QSYS QDBSRV02 QSYS QDBSRV03 QSYS QDBSRV04 QSYS QDBSRV05 QSYS QDCPOBJ1 QSYS QDCPOBJ2 QSYS QFILESYS1 QSYS QJOBSCD QSYS QLUR QSYS QLUS QSYS QPFRADJ QSYS QQQTEMP1 QSYS QQQTEMP2 QSYS QSPLMAINT QSYS QSYSARB QSYS QSYSARB2 QSYS QSYSARB3 QSYS QSYSARB4 QSYS QSYSARB5 QSYS QSYSCOMM1 QSYS Q400FILSVR QSYS SCPF QSYS . . . ===> F21=Display instructions/keys 02:45:24 Type CPU % SYS .0 SYS .0 SYS .0 SYS .0 SYS .0 SYS .0 SYS .0 SYS .0 SYS .0 SYS .0 SYS .0 SYS .0 SYS .0 SYS .0 SYS .0 SYS .0 SYS .0 SYS .0 SYS .0 SYS .0 SYS .0 SYS .0 SYS .0 SYS .0 SYS .0 SYS .0 SYS .0 SYS .0 12/16/97 Active jobs: 228 Function Status DEQW EVTW EVTW DEQW DEQW EVTW DEQW DEQW DEQW DEQW EVTW EVTW TIMW EVTW EVTW EVTW EVTW DEQW DEQW EVTW EVTW EVTW EVTW EVTW EVTW EVTW DEQW EVTW
SYSTEMXX 12:46:45
Bottom
QCMNARBn, QPFRADJ, QSYSCOMM1, and QDBSRVnn jobs are described throughout other sections of this redbook. For more details about the other system jobs, refer to the Work Management Guide , SC41-5306.
147
The system arbiters are identified by job names QSYSARB and QSYSARB2 through QSYSARB5. They are central to error handling. They are the highest priority jobs within the operating system. Each system arbiter responds to system-wide events that must be handled immediately and to those that can be handled more efficiently by a single job rather than multiple jobs. QSYSARB is also responsible for starting the Logical Unit Services (QLUS) job during an IPL.
148
These system values are described later in this section, as well as device recovery for local devices. See Section 12.2.3, Device Recovery Performance for Display Devices on page 185, to learn more about communications device recovery considerations. Note: The QPWRDWNLMT system value also affects availability and recovery. We discuss this topic separately in Section 10.12.3, Timeout Options for Power Down System on page 162.
Work with System Status % CPU used . . . Elapsed time . . Jobs in system . % perm addresses % temp addresses Sys Pool 1 2 3 4 . . . . . . . . . . . . . . . . . . . . : : : : : 2.4 00:00:01 463 .007 .010 Max Act +++++ 18 5 36 12/16/97 System ASP . . . . . . . : % system ASP used . . . : Total aux stg . . . . . : Current unprotect used . : Maximum unprotect . . . : --Non-DB--ActFault Pages Wait 8.5 8.5 .0 .0 .0 139.8 .0 .0 .0 5.4 6.2 46.6
----DB----Fault Pages .0 .0 .0 .0 .0 .0 .0 .0
On V4R2 systems, the administrator can use the QSTGLOWACN and QSTGLOWLMT systems values to determine what action the system takes when a minimum percent of storage is reached. The system performs the action when the threshold is reached and messages are sent to the operator. If the low storage situation is not rectified, some system functions, such as SNADS, halt processing. Eventually the system stops. When the lower limit specified with the auxiliary storage lower limit (QSTGLOWLMT) system value is reached, an action is taken. The auxiliary storage lower limit action (QSTGLOWACN) system value specifies the action associated with this limit. Note: QSTLOWLMT does not affect user ASP limits.
149
*CRITMSG
Monitoring these two system values provides the administrator more flexibility for managing system availability relative to storage capacity. The WRKASP utility is a tool useful to monitor and manage user ASPs. Refer to Section 9.4, WRKASP Utility on page 120, for information on WRKASP.
What problem determination tools are available How recovery was planned How soon the problem was noticed
The QDEVRCYACN system value allows several options to handle the disruption in an interactive job workstation. The possible actions are: *DSCMSG Disconnects the job. When signing on again, an error message is sent to the users application program. The default value is *DSCMSG. Signals the I/O error to the users application program. The application program performs error recovery. Disconnects the job. When signing on again, a cancel request function is performed to return control of the job back to the last request level. Ends the job. A job log is produced. A message is sent to the job log and QHST log. Job priority is lowered by ten, the timeslice is set to 100 milliseconds, and the purge attribute is set to *YES. This operation minimizes the performance impact of ending the job.
*MSG *DSCENDRQS
*ENDJOB
150
*ENDJOBNOLIST
Ends the job and, therefore, does not produce a job log for it. A message is sent to the QHST log.
Recommendation The system administrator should review the current values of the QDEVRCYACN system value and consider its implication. Be aware that disconnected jobs consume resources.
Recovery for communications devices is described in Chapter 12, Communications Error Recovery and Availability on page 181, of this redbook.
These PTFs allow QSYSOPR to wrap if the QSYSOPRFUL data area in library QUSRSYS exists. If the data area exists, QSYSOPR wraps by writing over the oldest informational and answered messages on the queue. If more room is required, the oldest unanswered inquiry messages are responded to with their default replies then they are removed from the queue. If QSYSOPR wraps and there still is no room for the another message, a wrap message is sent to QHST and to the job log of the job sending the message that does not fit in QSYSOPR. To end the wrapping of QSYSOPR, the data area can be deleted. If the data area does not exist and QSYSOPR fills, the system responds as without the PTF. That is, a CPF2460 escape message indicating message queue &1 could not be extended is issued to the program or user sending a message to the full queue. Refer to the PTF cover letter for special considerations when this PTF is installed, including what happens when *PUBLIC authority to the QCPFMSG message queue is set to *USE.
151
You can also access main storage dump information so you can view or save it before storage management recovery. An option to automatically copy the main storage dump to the system ASP and IPL is available for V4R1 systems and later. Using Dedicated System Tools or System Service Tools, select the Main Storage Dump Manager to enable the autocopy option.
When an MFIOP is replaced or unplugged When the system control panel is removed or unplugged
In these situations, the system date is set to a default date of August 23, 1928. This causes:
Scheduled jobs to not run Applications to produce erroneous results User profiles with expired passwords
On V4R2 systems, some maintenance activities occur that cause the system to set the date to its default. When this happens, the system is forced into an attended mode IPL where the operator must enter a valid date for the IPL to continue. A message is sent to QHST and QSYSOPR message queues to indicate what happened in the IPL.
152
Note: The PTFs listed contain the code when the enhancements were initially available. When ordering the PTF, any PTF which superseded it is sent in its place automatically. Also note that there is no fix for R360. If an ENDJOBABN fails to end a job when the PTFs are applied, the proper documentation is available for additional problem determination by IBM AS/400 Support Line representatives and defect support.
153
CPF32A2Unexpected data found in system cross reference files CPF32A3System file &1 in library &2 cannot be opened CPF32A4Internal failure in system cross reference program
The system operator can also use the RCLSTG command to reclaim storage when enough storage is not available during an IPL to make the system fully operational. The system operator can specify the command immediately after receiving the message about insufficient storage. Only permanent objects in auxiliary storage are reclaimed with the RCLSTG command. Temporary objects are reclaimed by performing an IPL. If little additional auxiliary storage is available, the system overhead required to run a Reclaim Storage command may require more than the remaining storage. This causes RCLSTG to fail.
Ensures that it is owned by a profile. Ensures that it is in a library. Ensures that it is not secured by a damaged or destroyed authorization list, and assigns the objects to the system supplied authorization listQRCLAUTL. Deletes objects that are not completely created. Validates object storage counts in all user profiles. Deletes duplicate user profiles. Deletes subsystem descriptions that are incomplete or with header damage. Recovers the ASP. Deletes duplicate configuration descriptions. Deletes internal system objects if they are not needed. Deletes invalid objects.
Checks it for damage. Ensures all pieces of a library are connected. Removes object description entries if there is no corresponding entry in the library. Deletes any partially created library. Deletes duplicate libraries.
154
Ensures DLO objects are owned. Deletes DLO objects that are invalid. Verifies the mail logs on the system. Ensures all mail is on someones mail log. Ensures all mail documents are attached to a mail item. Performs functions different from RCLDLO.
Performs any pending commit recovery. Deletes any secondary objects that are danglers. Rebuilds database files for which data exists. Rebuilds database cross reference files. Identifies database formats and directories that are orphans (no owner or library). Recovers databases.
Review these items with serious consideration to develop a regular schedule for running RCLSTG.
Select Omit
These options allow administrators to plan for multiple, smaller system outages as opposed to a single, longer outage for running the reclaim.
Reclaim Storage (RCLSTG) Type choices, press Enter. Select . . . . . . . . . . . . . Omit . . . . . . . . . . . . . . *ALL *NONE *ALL, *DBXREF *NONE, *DBXREF Bottom F3=Exit F4=Prompt F24=More keys F5=Refresh F12=Cancel F13=How to use this display
The select parameter with a *DBXREF value specified allows the user to reclaim only the database cross-reference files without performing a complete reclaim function. The time it takes to rebuild these tables depends on the number of database objects on the system. The omit parameter offers a way to omit the database cross-reference rebuild from a complete reclaim storage operation. The default values of *SELECT(*ALL) OMIT(*NONE) perform a complete reclaim storage function, such as RCLSTG on systems prior to V4R1. On these systems, to reclaim the database cross-reference tables, run a mini-reclaim storage by entering:
155
CALL QDBRCLXR
This function only takes a few minutes, but requires a restricted state. It is functionally equivalent to the command:
RCLSTG SELECT(*DBXREF)
If running QDBRCLXR after an IPL, wait several minutes for the IPL to complete. This enables IPL-related cleanup and startup activities to complete normally. Note: RCLSTG requires restricted state processing regardless of what is reclaimed.
Note: The messages listed indicate when a particular step is reached in the process. They do not indicate that the reclaim process is one-third complete when you see CPI8206 (message four of twelve). As you can see from the message descriptions, RCLSTG analyzes database objects, library objects, document library objects, mail logs, and more. It does not , however, detect all damage. For example, RCLSTG does not scan the data space or data space indexes (logical files) for damage. The RCLSTG procedure does not detect or correct internal damage to objects, such as record-level damage in database files.
156
Each messages carries a security level attribute of 40 or 50 and, therefore, causes a halt in RCLSTG processing.
DSPDTAARA DTAARA(QUSRSYS/QRCLSTG)
Compare the start and end date and time. The start and end date are in the first two fields of the data area. You also see the release of the operating system, the system name, and serial number when displaying the data area (see Figure 48).
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. : . . .
: : : :
Based on what happens during a reclaim storage process, consider the following factors, which affect how long it takes RCLSTG to run, to estimate the time to execute on your system:
157
Amount of free disk space on the AS/400 system Amount of jobs ended with ENDJOB(*IMMED) Number of abnormal system terminations Number of objects on the system Number of damaged objects Number of user profiles on the system Types of objects on the system Amount of damage to relational objects Object size Amount of main and auxiliary storage Percentage of auxiliary storage in use Amount of time since the last IPL Amount of time since the last RCLSTG command was run
If you begin the reclaim storage process and determine that it will not complete in the time you allotted for it, you can end the function by issuing a System Request. Select option 2 to End Previous Request . Note: Cancelling the RCLSTG procedure is not recommended, but should not cause any loss of data or damage to objects. It can occasionally cause problems with a database file or problems with SQL or IDDU applications if RCLSTG ended while the cross-reference files are rebuilt. However, the risk is considered low. When RCLSTG is restarted, it starts all over again. The time you may have saved is from any object recovery RCLSTG accomplished before it was cancelled. If the auxiliary storage usage is high, and you do not have reason to suspect object damage, it is unlikely that a RCLSTG can free up significant disk space.
158
When an interactive job deletes the spooled file When the QSPLMAINT system job activates this process
When a Clear Output Queue (CLROUTQ) command is executed When a spooled file prints from the output queue When a batch job is used to CLROUTQ (unless the batch job also initiates a RCLSPLSTG *NONE command) When the subsystems start (unless the autostart job also initiates a RCLSPLSTG *NONE command)
For more information on these commands, refer to the Work Management Guide , SC41-5306.
PGM (&START &END) DCL &START *CHAR 10 /* Library to start with */ DCL &END *CHAR 10 /* Library to quit after */ DCL &NBRRCDS *DEC 6 DCLF FILE(QSYS/QADBXREF) ALWNULL(*YES) /* position in the file to the partial key lib name + (one key field) */ OVRDBF FILE(QADBXREF) POSITION(*KEYAE 1 QDBXREF + &START) OPNSCOPE(*JOB) RCF:RCVF /* DONT FORGET TO CHECK FILES STARTING WITH $,@, # */ /* START WITH $.. AND GO TO Z99999 */ MONMSG MSGID(CPF0864) EXEC(GOTO ENDP) /* block up to storage xfer (128k for risk, 32 k for cisc) */ CHGVAR &NBRRCDS (32000 / &DBXRDL) OVRDBF FILE(&DBXFIL) OPNSCOPE(*JOB) + SEQONLY(*YES &NBRRCDS) IF (&DBXLIB > &END) THEN(GOTO ENDP) IF (&DBXATR= PF|&DBXATR= TB ) THEN(DO) IF (&DBXRDL > 4) THEN(DO) CPYF + FROMFILE(&DBXLIB/&DBXFIL) TOFILE(*PRINT) + FROMMBR(*ALL) FROMRCD(1) INCCHAR(*RCD 1 + *EQ Q-* ) MONMSG CPF0000 ENDDO
Chapter 10. Work Management for System Availability
159
ELSE DO /* a file with a length of 1 will still fail */ CPYF + FROMFILE(&DBXLIB/&DBXFIL) TOFILE(*PRINT) + FROMMBR(*ALL) FROMRCD(1) INCCHAR(*RCD 1 + *EQ - ) /* File record length of 3 or less, will fail */ MONMSG CPF0000 ENDDO ENDDO DLTOVR FILE(&DBXFIL) GOTO RCF ENDP: ENDPGM
The job log shows the following error messages:
Message CPC2957: No records copied from file &1 in &2. This message indicates that the procedure does not detect problems with records in the file.
Message CPD3244: File &1 in library &2 is damaged. No messages if the library does not have any files in it.
Note: The source listing is provided as is, on a best-effort basis for your use. You cannot use it in programs for resale. Compile and test it on your system before putting the procedure into production. For example, consider running this procedure in the interim of your scheduled RCLSTG processes. Refer to information APAR II10690 for details on this process. For more information on accessing APARs, see Basic System Operation, Adminstration, and Problem Handling , SC41-5206-01.
160
Job logs are produced. The run priority does not change. The timeslice value does not change.
If your PWRDWNSYS is set to run at a scheduled time but does not, you need to: 1. Make sure the key lock switch on the system control panel is set to normal or auto. 2. Release the QSYSSCD job if it is held. If it is not running, stop then start cleanup. Or, if you do not want to use cleanup, specify Y to allow automatic clean up and specify *NONE for the time cleanup starts each day on the Change Cleanup Options (CHGCLNUP) display. For V4R2 and later, be aware of the following considerations and options:
How the Change Command Default (CHGCMDDFT) command affects commands such as PWRDWNSYS The timeout option parameter The end subsystem option parameter The time to terminate the system is shortened.
The CPC6260 message: Default values changed for command PWRDWNSYS The CPD6265 message: List item changed, but SNGVAL at higher level
These messages are confusing, but true. Again, changing the parameter level overrides the change at an element level. We recommend that you use the Change IPL Attributes (CHGIPLA) command if the IPL RESTART parameter is *SYS or *FULL. This way the default of *IPLA on the PWRDWNSYS command utilizes the desired parameter value for the next IPL.
161
*DFT The subsystems end with no special ending options, and job logs are produced. The run priority and timeslice value remain the same.
*NOJOBLOG Neither the subsystem jobs nor the user jobs logs. This option can significantly reduce the to complete. However, if a problem occurs in record the information, which makes problem in the subsystem produce job time required for PWRDWNSYS a job, there is no job log to analysis difficult or impossible.
Note: If OPTION(*IMMED) is specified, no job logs are produced during PWRDWNSYS regardless of the ENDSBSOPT value. However, these job logs are produced on the next IPL unless *NOJOBLOG is specified. The subsequent IPL may be faster, but the system does not power down more quickly if you enter:
*CHGPTY The CPU priority of jobs that are ending changes to a higher value (that slows those jobs down). The remaining active jobs on the system, therefore, have better performance. However, jobs that are ending take longer to finish than otherwise. This option is ignored if the system is ending in a controlled fashion. If the *DELAY time limit expires, this option takes affect immediately.
*CHGSTL The timeslice of jobs that are ending changes to a lower value. The remaining active jobs on the system may have better performance when *CHGSTL is specified. However, jobs that are ending may take longer to finish. This option is ignored if the system ends in a controlled fashion. If the *DELAY time limit expires, this option takes affect immediately. Note: The ENDSBSOPT is also available on the End Subsystem (ENDSBS) and End System (ENDSYS) commands.
The TIMOUTOPT and ENDSBSOPT parameters are shown in Figure 49 on page 163.
162
Power Down System (PWRDWNSYS) Type choices, press Enter. How to end . . . . . . . . Delay time, if *CNTRLD . . Restart options: Restart after power down Restart type . . . . . . IPL source . . . . . . . . . . . . . . . . . . . . . . . *CNTRLD 3600 *NO *PANEL *CNTRLD, *IM Seconds, *NO *NO, *YES *IPLA, * *PANEL, A, B
Additional Parameters End subsystem option . . . . . . + for more values Timeout option . . . . . . . . . *DFT *CONTINUE *DFT, *NOJOBLOG, *CHGPTY, *CHGCTL *CONTINUE, *MSD, *SYSREFCDE
F5=Refresh
F12=Cancel
*CONTINUE The system ignores the timeout condition and continues powering the system down. If RESTART(*YES) is specified, the system restarts automatically. A minimum of information is available for service to debug the system.
*MSD The system issues a main store dump that is used by service to debug the system. It restarts after the dump is finished if the main store dump manager is configured correctly. See AS/400 Licensed Internal Code Diagnostic AidsVolume 1, LY44-5900, for more information on the main storage dump manager.
*SYSREFCDE The system displays a B9003F10 SRC and stops. This allows service to debug the system. On releases prior to V4R2, if the PWRDWNSYS OPTION(*IMMED) command takes longer than specified in the QPWRDWNLMT system value, a B9003F10 SRC code is displayed and the power down is stopped. For V4R2 systems, the SRC is ignored and the system continues to power down. To display the SRC and stop the power down, specify TIMOUTOPT(*SYSREFCDE) on the PWRDWNSYS command.
Note: Any changes to the default settings apply only to the next IPL. Recommendation If you have several Integrated PC Servers, the default value of 600 may not be enough for the QPWRDWNLMT value. Refer to Figure 8 on page 34 for a tool that you can use to show how long a PWRDWNSYS takes on your system.
163
No longer de-allocates a jobs associated communications device. Skips the clean up of temporary objects, since they are discarded on the subsequent IPL. Avoids closing sign-on files on a PWRDWNSYS. Avoids de-allocating storage pools. Cancels event monitors.
This section discusses those work management APIs that are of latest importance, including:
QUSRJOBI Retrieve Job Information QUSLJOB List Job QWTCHGJB Change Job QUSCHGPA Change Pool Attributes
The qualified job name Active job information Library list information Active job status Performance information WRKACTJOB information Job queue and output queue information Message logging information Job attribute information System pool identifier Number of auxiliary I/O requests (including database and non-database paging) Number of lock waits (internal, machine, database, and non-database) and the amount of time spent on the lock waits Response time total Purge information
QUSRJOBI is enhanced to include a field that returns the system pool identifier in which the job is running. It is also updated to reflect thread information.
164
The system pool identifier is a key field beginning in V4R2 to identify the system pool in which the job is running. These identifiers are not the same as those specified in the subsystem description, but are the same as the system pool identifiers shown on the Work with System Status (WRKSYSSTS) display. The current system pool identifier returned by QUSRJOBI is the actual pool in which the initial thread of the job starts. The information accessed and produced by using this API allows for a customized analysis of work on the system. It can help control what happens when jobs do not start or perform as expected such as understanding or controlling resource contention (locks).
The qualified job name The type of job Status of the job (for example, active, on the job queue, or on an output queue) System pool identifier
The system pool identifier is a key field beginning in V4R2 to identify the system pool in which the job is running. These identifiers are not the same as those specified in the subsystem description, but are the same as the system pool identifiers shown on the Work with System Status (WRKSYSSTS) display. The current system pool identifier returned by QUSLJOB is the actual pool in which the initial thread of the job runs. The information accessed and produced from this API allows for a customized analysis of work on the system. You can use it to help in resource or performance analysis.
QUSLJOBList Job QGYOLJOBOpen List of Jobs QWCRTVCARetrieve Current Attributes QUSRJOBIRetrieve Job Information
Fields available for use by programs incorporating the QWTCHGJB API include:
Qualified job name Job change information Device recovery action Job accounting information Job message queue full action Printer device name Schedule date and time Library list Output queue name
165
Logging level information Run priority Maximum time to wait for an instruction to complete Job switches
The information accessed and produced by using this API can be used to help manage jobs more effectively.
Storage pool size Activity level Paging options Minimum and maximum page faults Page faults per thread Pool priority Minimum and maximum pool size
The information is similar to the information that is available on the Work with Shared Storage Pools (WRKSHRPOOL), Work with System Status (WRKSYSSTS), and Work with Subsystems (WRKSBS) displays. Use the QUSCHGPA API to tune storage pools and paging options interactively without having to know which subsystem monitor allocated the pool. You can also develop a performance adjustment process much the same as the one provided with the QPFRADJ system value. Refer to Section 8.3, What a User Can Do to Influence System Performance on page 100, for more information on performance adjustment. In some cases, pool changes do not take effect immediately. A save or restore operation might be using some of the storage allocated to a pool, for example, or the system might be using some of the storage allocated to the base pool (pool number 2). The size is changed only when the storage being used is free again. Refer to the System API Reference , SC41-5801-01, for more information on these and other APIs.
166
PTF terminology Preventive service planning Applying and removing PTFs and IPLs Product level support Conditional PTFs Cumulative PTF package Applying PTFs for the next release prior to installing it Distributing PTFs Requesting PTFs and cover letters using the Internet
PTF A PTF is a set of program modules meant to replace an earlier version of a program module. PTFs are first loaded onto the AS/400 system as save files.
Superseded PTF A superseded PTF has its program modules replaced by a PTF that was released at a later time. The superseded PTF is not installed on the system. The superseded PTF is included in a PTF that was produced later and is installed on the system.
Prerequisite and Co-requisite PTFs Prerequisite PTFs must be applied before or at the same time as the PTF, which requires them, is applied. Co-requisite PTFs must be applied at the same time as the named co-requisite PTF that needs them.
PTF Cover Letter Each PTF consists of program modules and a text file that describes both the problem fix and any activation instructions to affect the installation of the PTF. The cover letter also documents co-requisite PTFs, prerequisite PTFs, superseded PTFs, and PTFs that are distributed together.
RETAIN
167
RETAIN is the worldwide database for IBM problem management and the central repository of PTF files. You access this database with any and all PTF orders, no matter which ordering method is used.
Preventive Service Planning (PSP) Preventive service planning (PSP) is a collection of information regarding PTFs applicable to AS/400 hardware and software problems. PSP information should be investigated on a regular basis by using ECS or the Internet. See Section 11.2, Preventive Service Planning on page 169, for information about receiving PSP buckets.
High Impact or Pervasive (HIPER) PTF High impact or pervasive (HIPER) PTFs correct serious system problems. These problems usually relate to data integrity, system, and communication processing problems that the IBM AS/400 engineers suspect all or almost all customers experience. These PTFs should be proactively applied. You can find them by reviewing the PSP package or using the ALERT/400 service offering.
Cumulative (CUM) PTF package Cumulative (CUM) PTF packages are a regularly released set of PTFs that contain all the HIPER PTFs and selected non-HIPER PTFs. The selection criteria changes over time, but generally the PTFs that have had a certain number of downloads through ECS are selected for the next CUM package. Refer to Section 11.6, Cumulative PTF Package on page 176, for more information on CUM packages.
Electronic Customer Support (ECS) Electronic customer support (ECS) is an integrated set of functions designed to help service and support the AS/400 system. ECS provides: Hardware and software problem analysis, reporting, and management Copy screen image Question and answer support IBM technical and product information access
See Basic System Operation, Administration, and Problem Handling , SC41-5206-01, for detailed information on problem reporting using ECS.
Immediate versus Delayed PTF Some program modules cannot be replaced while in use. Immediate PTFs are those that can be activated while the system is up and performing normal work, where delayed PTFs are activated during a normal IPL. Delayed PTFs can be loaded in groups during a single apply function. Some immediate PTFs do not require an IPL but do require that the product they affect is not in use. Some require a restart of the IOP or a vary off and on of a network description.
A-side and B-side of Licensed Internal Code (LIC) On the AS/400 system there are two copies of Licensed Internal Code (LIC) known as the A-side and B-side. When a LIC PTF is temporarily installed, it is only installed on the B-side. When a LIC PTF is applied permanently, it is applied to both the A-side and B-side copies of the LIC. If all the LIC PTFs are applied permanently, the system can only be IPLed on the A-side. Note: Most AS/400 systems should use the B-side copy of the LIC unless otherwise directed by IBM support representatives.
168
Temporary versus Permanent PTF When a PTF is temporarily applied, the original program module is renamed and the new module replaces the original one. If the new module proves to be defective, the original module can be reactivated simply by removing the new PTF containing the program module with the Remove PTF (RMVPTF) command. When a PTF is permanently applied, the original module is destroyed. There is no easy way to go back and use the old module. Nonetheless, there are two reasons for applying a PTF permanently: To save disk space A new PTF requires the older one to be permanently applied
169
170
171
should be aware of levels when ordering and installing fixes. There is no need for an end user to know what a product level is. The PTFs that form the product-level PTF are shipped to you by mail on a CD-ROM or a tape. The files are not available to download directly through Electronic Customer Support (ECS) because the files are too large and take a long time to load. The only way to receive a product-level fix is on media. To order, use the Send PTF Order (SNDPTFORD) command on your AS/400 system if you use electronic customer support (ECS) or contact your local service provider to request a media shipment. Product-level PTFs can also be thought of as a variation on or an extension to an additional function PTF that provides optical support at V3R6 with feature code 1980. Product-level PTFs can add a new function to the operating system or microcode without upgrading either. Product levels offer the following features:
Allow delivery of new function with minimal impact to the customer Allow delivery of new function without the overhead of installing a new release Allow delivery of new function without the overhead of producing a new release (a direct benefit to IBM and an indirect benefit to the customer) Remove unnecessary workload and DASD requirements for customers not wanting new functions Provide a single PTF for both base and product levels of code Eliminate save and restore compatibility problems
A product level consists of previous level parts and PTFs for those parts. A product level is designated with a two-position alphanumeric field, starting from a value of 00 and incrementing in steps of 10. A cumulative PTF package contains PTFs for all product levels. The product level concept only applies to OS/400, LIC, and the PTFs for these productsnot licensed programs or operating system options. By default, the system installs the first level found that is equal to or greater than the currently installed level. To find out the product level of an AS/400 system, enter the DSPPTF command or select option 10 on the LICPGM menu to Display installed licensed programs . The following displays show examples of how the product level is appears.
172
Display PTF Status System: Product ID . . . . . . . . . . . IPL source . . . . . . . . . . . Release of base option . . . . . Type options, press Enter. 5=Display PTF details 6=Print PTF ID TL90004 TL90003 TL90002 TL90001 MF17331 MF17291 MF17272 MF17271 MF17244 . . : . . : . . : 5769999 ##MACH#B V4R2M0 L00 8=Display cover letter IPL Action None None None None None None None None None More... F3=Exit F11=Display alternate view F17=Position to F12=Cancel SYSTEMXX
cover letter
Opt
Status Temporarily Superseded Permanently Permanently Temporarily Temporarily Temporarily Superseded Temporarily
Figure 51. How to select the Display to See the Product Level
To determine the lowest and highest level of the product that this PTF can install on, look at the minimum and maximum system levels on the second page of the General Information display relating to the PTF, as shown in Figure 52.
General Information Product ID/PTF ID . . . . . . . . . . : Release . . . . . . . . . . . . . . . : Target OS/400 Release Minimum-Maximum level . . . . . . . . : . . . . . . . . : 5769999 V4R2M0 V4R2M0 L00-L00 MF17331
173
Display Installed Licensed Programs System: Licensed Program 5769SS1 5769SS1 5769SS1 5769SS1 5769SS1 5769SS1 5769SS1 5769SS1 5769SS1 5769SS1 5769SS1 5769SS1 5769SS1 5769SS1 Installed Release V4R2M0 L00 V4R2M0 L00 V4R2M0 L00 V4R2M0 V4R2M0 V4R2M0 V4R2M0 V4R2M0 V4R2M0 V4R2M0 V4R2M0 V4R2M0 V4R2M0 V4R2M0 Description OS/400 - Library QGPL OS/400 - Library QUSRSYS Operating System/400 OS/400 - Extended Base Support OS/400 - Online Information OS/400 - Extended Base Directory Support OS/400 - S/36 and S/38 Migraine OS/400 - System/36 Environment OS/400 - System/38 Environment OS/400 - Example Tools Library OS/400 - AFP Compatibility Fonts OS/400 - *PRV CL Compiler Support OS/400 - S/36 Migration Assistant OS/400 - Host Servers More... Press Enter to continue. F3=Exit F11=Display option F12=Cancel F19=Display trademarks SYSTEMXX
The following tables list some of the product-level PTFs available at the time of writing this redbook:
Table 12. Windows Product Level PTFs
OS/400 Release V4R2 V4R1 V3R7 V3R6 V3R2 V3R1 Windows 95 Client not available SF99049 SF99043 SF99042 SF99041 SF99040 Enhanced Windows 3.10 Client SF99053 SF99052 SF99051 not available SF99050 not available Windows 3.1 Client R311 SF99054 SF99048 SF99047 SF99046 SF99045 SF99044
174
You can only order these product level PTFs by using ECS. Specify SNDPTFORD PTFID(SF99nnn) DELIVERY(*ANY) when ordering.
175
If the PTF is for an MFIOP module, the user has to perform several IPLs before all the prerequisite and co-requisite PTFs are loaded and successfully applied. On systems prior to V4R2, follow these steps: Order PTF A. Load and apply PTF A (with DELAYED(*YES)). Perform an IPL. Check the job log and the PTF status. Determine if PTF A was not applied because one or more co-requisite PTFs are missing. 5. Go back to step 1 to order the appropriate co-requisites. On V4R2 systems, follow these steps: 1. 2. 3. 4. 5. 6. Order PTF A. Load and apply PTF A (with DELAYED(*YES)). Receive an error that co-requisite PTF B is missing. Order PTF B. Load and apply the PTF B (with DELAYED(*YES)). Perform an IPL. 1. 2. 3. 4.
Conditional PTF prerequisites and co-requisites are enabled at a product level. That is, PTF A can have different PTFs as prerequisites or co-requisites depending on the product level of PTF A. Note: Co-requisite PTFs are sometimes referred to as group PTFs. However, the group label is misleading as it implies that the fixes are somehow packaged together and can be acted on as a group. This is not true for systems prior to V4R2.
The number of customer orders for a particular PTF The severity of the associated APAR Whether the PTF is designed as HIPER Problems that crash a system and require an IPL High availability options (mirroring or checksum, for example) Problems that require a reinstall or restore Save and restore problems that prevent data recovery Problems affecting installability of a product or feature Problems affecting a products major useability function Problems requiring an unnecessary replacement of hardware parts Pervasive customer satisfaction problems Data integrity and security problems If the PTF has a corresponding PTF in a previous release package (to minimize the rediscovery)
PTFs that have special instructions, which might break the system if they are not followed, are not usually incorporated into the cumulative package.
176
11.7 Applying PTFs for the Next Release Prior to Installing the Next Release
PTFs for a higher release can be downloaded to a previous release system and applied if the receiving system is at R310 or later. The PTFs can be loaded and applied to the intended system after the system is upgraded to the release that the downloaded PTFs are for. Follow these steps: 1. Install the higher release (for example, R420). 2. Use the Load PTF (LODPTF) command to load the PTFs. 3. Enter *SAVF as the device name and QSFnnnnn for the SAVF name, or QMFnnnnn in the QGPL library. For example, if PTF MF12345 for R420 is downloaded while you are still at R370, use the following command to load PTF MF12345 after installing R420:
177
Now the PTF is recognized by the system and is available for any PTF functions, such as LODPTF DEV(*SERVICE). Refer to the System Programmers Interface Reference , SC41-5801-01, for information on how to use APIs. Note: As an alternative method, use the SNDPTF command, which is available with the System Manager/400 licensed program product. This SNDPTF command sends the PTFS, loads them, and sets them for an apply with a single command on the remote system. Refer to System Manager Use , SC41-5321, and Managed System Services for AS/400 Use , SC41-3323, as well as Section 9.8, IBM SystemView System Manager for AS/400 on page 128 for more information on IBM SystemView System Manager for AS/400.
Browse PTF information Request shipment of a CUM package Request shipment of selected PTFs
Enabling Internet access over using ECS to request delivery has an advantage for many customers in the U.S. due to the cost, availability of modems, and higher speed transfer. Internet access provides a graphical interface and has the potential for faster access and download of PTF information. This is a result of higher speed modems that are available through some Internet service providers and the possible use of T1 lines. ECS PTF delivery is limited to a SDLC 19.2 kbps synchronous connection. For some customers, ECS remains the preferred method to request PTFs. In other cases where ECS is not available, Internet access provides a faster and more efficient solution than delivery of the PTF information through the mail. You can read PTF cover letters on the Internet. Cover letters are downloadable from the URL: http://www.as400service.ibm.com/as4sde/as4ptf.nsf/ptfbyrel Internet delivery does not replace or affect the traditional PTF order process. If you do not have access to the Internet, continue using the ECS PTF order function with the SNDPTFORD command. To print cover letters for PTFs for a product installed on your system, enter the command:
In this command, xxxxxxx is the PTF ID, and yy is the language ID. English PTFs do not have a language ID.
179
180
What communications error recovery procedures are Improvements on V4R2 systems Improvements on V4R1 systems Configuration tips and techniques Testing error recovery
181
Changes include:
QCMNARB system value settings The addition of high performance routing in an APPN environment Job-end improvements Improvements in logging and service functions
Except for job ends, these topics are further described in the sections that follow. Ending jobs is discussed in 10.9, End Job Abnormal on page 152.
On multi-processor systems, a setting of *CALC results in one communication arbiter job for each processor on the system. The system maintains a count of objects for each QCMNARB job and attempts to assign controllers to the communication arbiter job that is serving the least number of objects. This balances the amount of work that each QCMNARBnn arbiter job must perform. All devices that are attached to an APPC controller are serviced by the arbiter job to which the controller is assigned.
182
To determine which communication arbiter is assigned to a particular APPC controller, use the Display Controller Description (DSPCTLD) command and locate the QCMNARBnn system job that handles recovery for that controller and its devices. An example is shown in Figure 54 on page 183.
Display Controller Description 02/27/98 Controller description . . . . . . : Option . . . . . . . . . . . . . . : Category of controller . . . . . . : Link type . . . . . . . . Online at IPL . . . . . . Character code . . . . . . Maximum frame size . . . . Current maximum frame size Remote network identifier Remote control point . . . Initial connection . . . . Dial initiation . . . . . Switched disconnect . . . Data link role . . . . . . LAN remote adapter address LAN DSAP . . . . . . . . . LAN SSAP . . . . . . . . . Autocreate device . . . . System job . . . . . . . . Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . : : : : : : : : : : : : : : : : : CTLD OPTION CTLD0001 *BASIC *APPC
SYSTEMXX 20:27:22
*LAN *YES *EBCDIC 16393 521 RMTNETID SYSTEMSXP RMTCPNAME SYSTEMDMT INLCNN *DIAL DIALINIT *LINKTYPE SWTDSC *NO ROLE *NEG ADPTADR 08005A202722 DSAP 04 SSAP 04 AUTOCRTDEV *ALL QCMNARB01 TEXT AUTOMATICALLY CREATED BY SYSTEM
Bottom
If there are APPC controllers that have non-APPC devices attached to them, the recovery for that controller and its devices continue to execute in QSYSARB. The same applies to V4R2 systems. That is, only APPC controllers with APPC devices attached take advantage of the multiple communication arbiters function.
183
Automatic network routing significantly improves performance in intermediate nodes. Functions, such as link-level error recovery, segmentation, flow control, and congestion control, are no longer performed in the intermediate nodes. Instead they are performed at the end points. This saves on storage on the intermediate node systems. The following network attributes were added when High-Performance Routing was added. However, the system value settings can affect performance during communications error recovery for non-HPR, APPN configurations, and an HPR environment. The HPR related network attribute values are:
ALWVRTAPPN The allow virtual APPN support network attribute is used to choose whether non-HPR APPN devices should be attached to the real APPN controller or to a virtual controller. The greatest benefit of ALWVRTAPPN is that it can eliminate the need to automatically create and delete APPN device descriptions. When multiple routes are designed in an APPN network, there are multiple device descriptionsone for each possible route in the network. ALWVRTAPPN eliminates the overhead of the large amount of configuration objects, which results from the possibility of multiple routes. Another reason you may want to change the ALWVRTAPPN value to *YES (the default is *NO) is to limit the number of devices that go through error recovery when a failure occurs. When virtual APPN controllers are used, only the real APPN controller goes into error recovery. Since the devices are attached to the virtual APPN controller, they do not go through the traditional error recovery work flow.
VRTAUTODEV When ALWVRTAPPN(*YES) is specified in the system network attributes, the virtual controller autocreate device (VRTAUTODEV) network attribute parameter indicates the maximum number of devices automatically created for each virtual controller. The VRTAUTODEV parameter can be used to control the upper limit for the number of autocreated APPN devices on APPN virtual controllers. The default value for this parameter is 100. This means for every 100 new APPN locations with which your system communicates, a new virtual APPN controller is automatically created.
Use the CHGNETA command to alter these settings. Note: Each varied on virtual controller description is managed by a task on the system. Having multiple virtual controllers descriptions can allow for some parallel processing to occur. It also cuts down on certain queue lengths, such as the queue used to maintain the list of devices that are managed by the APPN virtual controller task. Think about how much work is placed under one controller. Too much work under one controller can result in slower performance during connect, disconnect, and error recovery processes. Use a smaller number if your sessions last a short time. A view of the WRKCFGSTS display with and without HPR is shown in Table 14 on page 185.
184
Controller description Device description ROCHESTER ROCHESTER DESMOINES01 STPAUL01 DESMOINES ROCHESTER01 DESMOINES STPAUL02 STPAUL ROCHESTER02 DESMOINES02 STPAUL
Controller description (Real) There are no device descriptions here Controller description (Virtual APPN Controller) QAPEND001 Device description ROCHESTER DESMOINES STPAUL APPN device descriptions ROCHESTER DESMOINES STPAUL
Controller &1 contacted on line &2... If controller &1 is on a local area network, the negotiated frame size is &3.
However, since there may be hundreds of messages, it is difficult to find the one needed to determine the actual value used for a particular controller. On V4R2 systems, the active MAXFRAME setting is placed into the controller description. Here, it can be easily viewed using the Display Controller Description (DSPCTLD) command as shown in Figure 55 on page 186.
185
Display Controller Description 03/20/98 Controller description . . . . . . : Option . . . . . . . . . . . . . . : Category of controller . . . . . . : Link type . . . . . . . . Online at IPL . . . . . . Active switched line . . . Character code . . . . . . Maximum frame size . . . . Current maximum frame size Remote network identifier Remote control point . . . Initial connection . . . . Dial initiation . . . . . Switched disconnect . . . Data link role . . . . . . Press Enter to continue. F3=Exit F11=Nondisplay keywords F12=Cancel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . : : : : : : : : : : : : CTLD OPTION CTLDSP01 *BASIC *APPC *LAN *YES ALINE01 *EBCDIC 16393 1994 *NETATR SYSTEMAA *DIAL *LINKTYPE *NO *NEG
SYSTEMXX 20:27:22
LINKTYPE ONLINE CODE MAXFRAME RMTNETID RMTCPNAME INLCNN DIALINIT SWTDSC ROLE
More...
Device &1 cannot be varied off at this time ... There are jobs in the system that are currently using device &1.
The intended use for this option is when an error occurs and you cannot vary off a component using normal recovery methods. Recommendation Use FRCVRYOFF only when absolutely necessary. The FRCVRYOFF action can leave the associated objects in an unpredictable state. When the jobs end, cleanup does not follow normal paths.
The ability to force a vary off from the VRYCFG command can be used with the FRCVRYOFF parameter to eliminate the inquiry message that occurs when an APPC device has active sessions. This value allows the system to end the associated active jobs automatically.
186
One side-effect of a larger value is that it takes longer for the system to detect a link failure (by default, 30 seconds on V4R2 systems and 10 seconds on prior level systems). Compare the benefits of the time to detect failures to an earlier timeout. The following example shows how the 10 and 30 seconds are determined:
Subsystem &1 cannot allocate workstation &2. Communications device &2 was allocated to subsystem &1. Subsystem &1 cannot allocate communications device &2. Subsystem &1 cannot allocate device &2.
The device that is allocated is shown on the Display Device Description display in Figure 56.
Display Device Description 01/22/98 Device description . . . . . . . . : Option . . . . . . . . . . . . . . : Category of device . . . . . . . . : Device type . . . . Online at IPL . . . Attached controller Allocated to: Job name . . . . . . User . . . . . . . Number . . . . . . Text . . . . . . . . . . . . . . . : . . . . . . . : . . . . . . . : . . . . . . . . . . . . . . . . . . . . . . . . . . . . : : : : DEVD OPTION AAADEV1 *BASIC *NET *TCPIP *NO SXPCTL
SYSTEMXX 20:27:22
TEXT
Bottom
Also, the job that an APPC mode is allocated to now appears under Active Mode on the Display Device Description display as shown in the following figure.
187
Display Device Description 01/22/98 Device description . . . . . . . . : Option . . . . . . . . . . . . . . : Category of device . . . . . . . . : DEVD OPTION QANRDEVA *MODE *APPC
SYSTEMXX 20:22:27
-------------------Active modes-------------------Job Mode name User Number QADSM QCMN QSYS 052651 SNASVCMG QLUS QSYS 020765
Bottom
The messages are still logged to the QHST file, as well as some of the subsystem joblogs.
Controlling the logging of protocol errors Controlling the inactivity timeout for Telnet devices
188
Controlling device recovery actions for Telnet devices Controlling remote signon actions for Telnet devices
Except for controlling remote signon actions, each enhancement is further described in this section. Refer to Remote Work Station Support , SC41-5402, to understand signon actions for remote workstations.
189
Use network stations. Use the latest Client Access/400 V3R1M3 service pack.
Refer to APAR II10918 for considerations. See Basic System Operation, Adminstration, and Probelm Handling , SC41-5206-01, for more information on accessing APARs.
Analyze the Vertical Licensed Internal Code Logs (VLOGs) Run Licensed Internal Code (LIC) traces Run communications traces
The enhancements to each of these tools are described further in this section.
190
A restructure of the target pass-through job A restructure of the file-server jobs An optional activation of the LAN Manager Limits to the occurrence of program start request (PSR) messages (CPF1269) with Reason Code 401 (which usually indicates the PSR was received for a device not allocated to an active subsystem) Improvements to the filtering of error-log messages Changes to the communications trace function
System-to-AS/400 signon sessions The session can be another AS/400 system or another system supporting pass through (for example, a System/36).
191
APPC-based PC emulators, such as PCOMM, PC5250, and others This case is also known as the Work Station Function for Client Access/400.
Any other 5250 support written using the pass-through Licensed Internal Program Interface (LIPI)
The 5250 display station pass through (also known as target work station function) replaces communication jobs with a set of server jobs. Changes visible to the end user include:
The QPASTHRSVR system value No jobs in the QCMN subsystem for 5250 target pass-through sessions (removes the performance impact for job-start and job-end processing required for every 5250 target display station pass-through session) One primary server job and n secondary server jobs in the QSYSWRK subsystem
On systems prior to V4R1, every 5250 signon session that uses 5250 target display station pass through has two jobs associated with it:
The interactive user job, which is typically in the QINTER subsystem The communications job, which is typically in the QCMN subsystem
The communications job is responsible for activation and deactivation processing for the pass-through session. An example scenario showing the affect of these changes is:
Consider a system that has 300 PC users, each with a 5250 session to the AS/400. This results in a total of 600 jobs on the AS/400, all of which have to be ended in order to recover from a network communication failure. On V4R1 systems, there is one interactive job for each 5250 session. With our scenario, there are 300 jobs to be ended in order to recover from a network failure rather than 600.
The target display status for pass-through jobs is identified on the WRKCFGSTS display with a job name of QPASVRP/QSYS/number as shown in Figure 58 on page 193 and Figure 59 on page 193.
192
Work with Configuration Status 02/08/98 Type options, press Enter. 1=Vary on 2=Vary off 9=Display mode status ... Opt Description SYSTEMNN SYSTEMNN BLANK SYSTEMMM SYSTEMMM BLANK SYSTEMPP SYSTEMPP BLANK Status ACTIVE ACTIVE ACTIVE/TARGET ACTIVE ACTIVE ACTIVE/TARGET VARY ON PENDING VARIED OFF VARY ON PENDING 5=Work with 8=Work with description
SYSTEMXX 13:02:39
----------Job----------
QPASVRP
QSYS
00289
QPASVRP
QSYS
00289
F12=Cancel
F23=More options
F24=More keys
SYSTEMXX 11:37:40
Type options, press Enter. 1=Vary on 2=Vary off 5=Work with job 8=Work with description 9=Display mode status 13=Work with APPN status... Opt Description SYSTEMZZ SYSTEM05 SYSTEM0500 SYSTEMYYSP SYSTEMAA SYSTEMAA BLANK BLANK SYSTEM26 Status VARIED OFF VARIED OFF VARIED OFF VARIED OFF ACTIVE ACTIVE ACTIVE/TARGET ACTIVE/SOURCE VARY ON PENDING -------------Job--------------
*PASSTHR QPADEV000I
DMTSCP
205700 More...
F23=More options
F24=More keys
193
Option 1 1. Find the virtual device description for the user. 2. Issue an ENDJOB for each device that has a job. 3. Vary off the associated virtual device.
Option 2 1. Vary off the APPC device while it has active sessions. 2. Respond to inquiry message CPA2610 in the QSYSOPR message queue with a G or 3. On V4R2 systems, use the VRYCFG command with the FRCVRYOFF parameter.
194
Recommendation A 0 value for the number of pass-through servers is used for migration during an initial installation only. Do not use a 0 value after the migration is successfully completed. Support for a value of 0 may be dropped in future releases beyond V4R2.
Note: The server jobs are not used for Telnet and virtual terminal manager (VTM) devices. Therefore, if you use only Telnet or VTM, you may want to decrease the value specified for the number of target display station pass-through server jobs. The following display highlights the jobs started when the QPASTHRSVR system value is a non-zero value.
Work with Active Jobs CPU %: .0 Elapsed time: 00:00:00 12/08/97 Active jobs: 211
SYSTEMXX 13:02:39
Type options, press Enter. 2=Change 3=Hold 4=End 8=Work with spooled files Opt Subsystem/Job QSYSWRK ADMIN ADMIN QNSCRMON . . . QPASVRP QPASVRS QPASVRS QPASVRS QPASVRS . . . QPRFSYNCH User QSYS QTMHHTTP QTMHHTTP QSVSM . . . QSYS QSYS QSYS QSYS QSYS . . . QSYS
5=Work with 6=Release 13=Disconnect ... Type SBS BCH BCI BCH . . . BCH BCH BCH BCH BCH . . . BCH CPU % .0 .0 .0 .0 . . . .0 .0 .0 .0 .0 . . . .0 Function
7=Display message
DEQW More...
F5=Refresh F12=Cancel
The following sections describe the QPASVRP and QPASVRS server jobs.
One primary server job named QPASVRP/QSYS/nnnnnn to manage the secondary server jobs Below QPASVRP, between 1 and 100 QPASVRS jobs named QPASVRS/QSYS/nnnnnn to perform the work previously done by the communication jobs
195
Multiple server jobs startup, termination, be hundreds of jobs systems, there is by jobs for each CPU.
enable a performance improvement for target pass-through and error recovery. On systems prior to V4R1, there may in the QCMN subsystem for target pass through. On V4R1 default one job in the QCMN subsystem, plus four server
For example, on a 12-processor system, there are 49 jobs calculated using the following equation:
Clients connect faster when users begin their day. Clients disconnect faster when users end their day. Clients recover faster from network outages or network failures.
This support applies to SNA STRPASTHR and 5250 emulation within an APPC data stream, such as with PC5250, Personal Communications, and OS/2 Communications Manager. Note: For V4R1 and V4R2, this implementation does not apply to Telnet 5250 sessions. Figure 61 and Figure 62 show the differences in the WRKACTJOB command output on systems prior to V4R1, compared to V4R1 and later.
CPU % .0 .0 .0 .0 .0
CPU % .0 .0 .0 .0 .0
196
Note:
There are no communications jobs for the pass-through sessions in the QCMN subsystem. If QPASTHRSVR is zero, pass-through jobs are routed as before to the QCMN subsystem (by default). Recommendation
Since there are no longer jobs in the communications subsystem (usually QCMN) for pass through, communications entries are no longer used. If you rely on communications entries for security, you can no longer do this the same way when using pass-through servers. You can, however, use the QRMTSIGN system value program to designate how you want to allow remote signon.
For further information on controlling remote signons, refer to Tips and Tools for Securing Your AS/400 , SC41-5300-01. Recommendation Add applicable routing entries to the communications subsystem affected to control security. If QPASTHRSVR is set to a non-zero value, pass-through and file server requests do not go through QCMN. Communications entries that were used for security purposes for these applications include routing entries. Since these jobs no longer pass through QCMN, the planned for security check does not occur. The routing entries need to be moved appropriately. Be aware that other program start requests will use QCMN so some of the communication and routing entries may still apply.
The QSERVER subsystem is started at IPL. The system supplied start-up program starts the QSERVER subsystem. On systems prior to V4R1, the system checks to see if QSERVER needs to be started when a file server program start request is received.
If QSERVER is not started, the file server program start requests are rejected with a message CPF1269 in QSYSOPR indicating:
Program start request received on communications device was rejected with reason code 413
No file serving is available.
The program start request goes directly to the QSERVER subsystem. The file server no longer has a job that starts or ends in the QCMN subsystem. As with pass-through changes, the server does not go through the QCMN subsystem. This means that the communications entries in QCMN are not effective for the file server. All file server jobs are now pre-start jobs in the QSERVER subsystem to handle network shared folders work.
Chapter 12. Communications Error Recovery and Availability
197
The file server performs a faster start-up due to fewer jobs and better repeat use of the prestart jobs. On systems prior to V4R1, there are two job starts for every client. The communications job in QCMN followed by the job in QSERVER jobs need to communicate. The elimination of the communications job reduces work on the system and simplifies the start-up and take down logic, as well as error recovery. Using WRKCFGSTS on the APPC controller description shows the file-server jobs. These file-server jobs have message CPIAD12 logged to the job log indicating:
Servicing user profile &1 from client &2... This prestart job is currently servicing requests for profile &1 from client &2. The client name is either an APPC remote location name, or a TCP/IP remote system name.
Note that the message text contains the user profile and client names for which the job is providing service.
Less code is required in the IOP. It eliminates the posting of LAN Manager messages to QSYSOPR and QHST. It eliminates a duplication of work between the LIC and the QSYSCOMM1 system job.
On busy networks the ACTLANMGR feature is usually turned off. However, consider carefully the usefulness of the error log information before deactivating this feature.
Program Start Request received on device not allocated to active subsystem message
Historically, these CPF1269 reason code 401 errors have been known to flood the QSYSOPR message queue (or QSYSMSG if it exists) for each active device and mode pair. Since PCs typically attempt to connect to the system repeatedly until successful, this problem is compounded on systems with many LAN attached PCs.
198
The number of times that a CPF1269 message with a reason code 401 error is sent for a device and mode combination is limited to one. This change also applies to cases where message CPF1269 with a reason code 401 is caused by a configuration error (that is, there is no subsystem configured for the device). Varying the affected device on and off again causes a repeat of the CPF1269 message. Note: Messages other than CPF1269 with reason codes other than 401 are not affected.
Product activity logs Problem logs Messages to the QSYSOPR message queue
Overall, system performance is degraded noticeably, as the QSYSCOMM1 system job is burdened with producing error logs. On V4R1 systems, error analysis support in LIC includes a filter that takes affect after an initial burst of 100 identical errors. It is limited to 100 identical errors per hour thereafter.
A buffer size increased to 16MB to capture errors more quickly Options to select remote controllers, IP address, IP protocol, and the local SAP or remote SAP number (with V4Rn IOPs only) when starting a communications trace Communications trace time stamps no longer need to be adjusted by the user to match time stamps provided by the hardware (with V4Rn IOPs only)
The Record Timer column in the communications trace report is presented in one of two formats described in the field description in Figure 63 on page 200.
199
SYSTEMXX 13:02:39
File . . . . . : QPCSMPRT Control . . . Find . . . . . COMMUNICATIONS TRACE Title: TRACE 02/27/98 10:14:00 Record Number . . . . Number of record in trace buffer (decimal) S/R . . . . . . . . . S=Sent R=Received M=Modem Change Data Length . . . . . Amount of data in record (decimal) Record Status . . . . Status of record Record Timer . . . . Time stamp. Based on communications hardware, the time stamp will be either: 1. 10 microsecond resolution time of day (HH:MM:SS.NNNNN) based on the system time the trace was stopped 2. 100 millisecond resolution relative timer with decimal times ranging from 0 to 6553.5 seconds Data Type . . . . . . EBCDIC data, ASCII data or Blank=Unknown Controller name . . . Name of controller associated with record Command . . . . . . . Command/Response information Number sent . . . . . Count of records sent Number received . . . Count of records
Figure 63. Record Timer on a Communications Trace
Subsystem configuration How the ONLINE parameter is set How the SWTDSC parameter is set Minimum switched status for APPN Communications recovery limits Whether APPN controller descriptions are allowed to autocreate Whether automatic device deletion is activated How prestart jobs are configured Client Access mode description management Job log considerations
200
The configuration of subsystems has little impact for normal data path operations. However, multiple subsystems can provide multiple processes to perform cleanup and recovery when an error condition occurs. This can result in significantly improved recovery performance. You can also group devices into subsystems by specifying those devices not to allocate to the subsystem. To do this, run the Add Work Station Entry (ADDWSE) command:
When dividing work into multiple subsystems, consider the following factors:
The number of users in any given subsystem The connectivity used to access the system You may want all of the users on one Token-Ring LAN to run in one subsystem. Those users connected using a 5494 remote controller can benefit by running in a different subsystem.
The type of work the users do The geographic location of the users
201
on the appropriate LAN line description and let the system vary the object on when first used. Recommendation Avoid varying on network server descriptions during an IPL. When network server descriptions are varied on, the integrated PC server is reset. This reset process can take a long time. During the IPL, this work is done by the QSYSCOMM1 arbiter job, which means QSYSCOMM1 is less available to do other work.
Refer to Communications Management , SC41-5406; Communications Configuration , SC41-5401; and APPN Support , SC41-5407, for further information about the online at IPL parameter.
Using SWTDSC(*NO) keeps the connection to the AS/400 system active even if no applications are active. The SWTDSC parameter is discussed further in the Communications Configuration , SC41-5401, and Communications Management , SC41-5406.
202
For additional information, refer to the INACTTMR parameter in the Communication Configuration , SC41-5401. Also note that manual recovery is not the only option. Applications can be written to determine if a failure has occurred and handle it accordingly. If you write such applications, consider the following points:
Monitor for error messages in QSYSOPR. When they occur, handle the condition.
203
Monitor the status of configuration objects. If the object status is not active, varied on, or varied on pending, take the appropriate action.
Some useful APIs for checking the status of configuration objects include:
Note: Environments other than APPC-attached PCs on a LAN using Client Access/400 may result in different behaviors.
Table 16. Affect of MINSWTSTS on Reconnection Attempts
APPN *YES *YES *YES *YES INLCNN *DIAL *DIAL *DIAL *DIAL CTLOWN *SYS *SYS *USER *USER SWTDSC *YES *NO *YES *NO Power PC Off (Recovery) Configuration not allowed Dial is attempted Configuration not allowed Dial is attempted Manual Vary On Configuration not allowed Dial is attempted Configuration not allowed Dial is attempted
Note: The tables relate to APPC-attached PCs on a LAN using Client Access/400 and assume the following factors: 1. DIALINIT(*IMMED) is specified on the controller description.
204
2. There are no APPN CP sessions. Other references on this topic can be found in the Communications Configuration , SC41-5401; Communications Management , SC41-5406; and redbook IBM AS/400 V3 Communication API Handbook , SG24-2573.
These values were selected to provide the best overall solution for both PCs and system-to-system communications. However, they may not meet the specific requirements for your system. Recommendation If you find unnecessary recovery attempts using the default values, consider using a model controller and modify the parameter values as suggested in this chapter. A model controller is necessary because you cannot change the command defaults since APPN automatic configuration does not use defaults. Code all the command parameters.
Refer to Communications Configuration , SC41-5401, and APPN Support , SC41-5407, for further information on model controllers.
205
Recommendation Remember to set the interval accordingly for weekends and holidays, and set the AUTODLTCTL value for the most common working environment.
Recommendation APPN networks with multiple routes through the network can result in multiple device descriptions. On V4R2 systems, you can manage this by using the allow APPN virtual support (ALWVRTAPPN) network attribute to use virtual APPN controllers.
For more information on virtual controller considerations, refer to APPN Support , SC41-5407.
File ServerQPWFSERV in QSYS Central ServerQZSCSRVR in QIWS APPC Signon Server programQACSOTP in QSYS Remote Command ServerQZRCSRVR in QIWS License Management ServerQLZPSERV in QIWS
Prestart job entries for these server jobs are supplied with the system for the QCMN, QBASE, and QSERVER subsystems. Modify the prestart job entries appropriately taking into consideration:
STRJOBS(*YES/*NO) INLJOBS to set the number of available jobs Set to a larger number if you have many users to connect to the system, and connect processing needs to be done as quickly as possible. THRESHOLD and ADLJOBS to set the threshold and additional jobs values The THRESHOLD value may be below the total number of active users and ADLJOBS may indicate more jobs than will ever be used. In this situation, jobs unnecessarily start and end without being used, causing unnecessary overhead. It is best to spread job starts out over time. MAXJOBS
206
When the QCMN subsystem is started, ten jobs for APPC signon processing are started. When two of these jobs remain, another ten are started. IF ADLJOBS is set too large, the system spends too much time starting the additional prestart jobs at the same time. Furthermore, as user applications are developed, consider using prestart jobs to reduce program start request start-up processing. Refer to Work Management Guide , SC41-5306; APPC Programming , SC41-5443; and AS/400 Client Access Host Servers , SC41-5740, for further information on communication prestart jobs.
Change the device recovery action parameter to *ENDJOBNOLIST in the job description or use the CHGJOB command. Note that there is also a QDEVRCYACN system value for ease in configuration if the majority of the job descriptions need to be changed. Change the job description message logging value to LOG(4 0 *NOLIST) . In this case, job logs are not generated if ended normally, but are generated if jobs end abnormally.
DEVRCYACN also supports options to disconnect jobs rather than end them. Note: Disconnected jobs consume resources. For example, the system Work Control Block Table (WCBT) can grow. This can have other side effects on performance. Therefore, it is not good to disconnect from jobs to which you will never reconnect. On the other hand, if you do not have users that will reconnect after a failure, the disconnect options offer improved performance. Recommendation Use disconnected jobs only if you know that the users plan to reconnect. This avoids orphaned jobs to which you cannot reconnect.
207
The system value QDSCJOBITV controls when orphaned disconnected jobs are cleaned up. Note: The Communications Management manual, SC41-5406, describes the techniques mentioned in the chapter titled Handling Communication Errors. Refer to 10.2, Work Control Block Table on page 141 for a discussion of managing the WCBT.
Each has unique symptoms and recovery procedures. These areas are further described in this section.
Unplug the cable, and plug it back in after a short amount of time.
Short is the period of time during which the IOP can handle a brief disconnection and be reconnected before higher levels of software become aware that anything happened. Short depends on the protocol being used. For Token-Ring networks, this is about 60 seconds.
Unplug the cable and leave it unplugged. This simulates a line failure on the local system and a timeout condition on the remote system.
It is difficult to force a router or bridge failure because this impacts too many users outside the AS/400 network. Typically, disconnecting a cable can simulate a router failure on one side and simulate a line failure on the other side.
208
Disconnecting the network attachment cable from the client Powering off the client Shutting down the client Closing or ending the open windows on the client
Powering off the display Disconnecting the cable from the display Having the user issue a cancel or end request to terminate the active function
Ending jobs immediately (ENDJOB *IMMED) Ending subsystems immediately (ENDSBS *IMMED) Having your function active when an ENDSYS or PWRDWNSYS is done Attempting to connect from the client when the necessary server jobs are not active on the AS/400 system For system-to-system connections (that is, AS/400-to-AS/400), requesting an immediate shutdown on one of the AS/400 systems to test the recovery on the second
Note: If system-to-system testing applies to your function, consider having a large system (N-way) or multiprocessor system drive a smaller system. This can place large stress on the small system, but is useful in shaking out problems due to a difference in the timing of an increased stress load.
QSYSMSG message queue (if it exists) QSYSOPR message queue QHST Joblogs QSYSARB QLUS QCMNARBnn jobs QSYSCOMM1
209
QPASVRP job Subsystem joblogs Problem logs Product activity logs LIC logs
Refer to Communications Management , SC41-5406, and CL Programming , SC41-5721, for further information on problem determination and managing messages.
210
QATMSMTLASMTP logical file for system alias table QATOCLHST1Host table logical view 1 QATOCLHST2Host table logical view 2 QATOCLIFCInterface logical file QATOCLN1Network table logical view 1 QATOCLN2Network table logical view 2 QATOCLPORTPort logical file QATOCLP1Protocol table logical view 1 QATOCLRT2Route table logical view 2 QATOCLS1Services table logical view 1 QATOCLS2Services table logical view 2 QATOCMODL1Modem information table logical view 1
All of these files reside in the QUSRSYS library. Saving only the physical files and restoring them can cause problems. That is because different functions use the logical files to access the data stored in the
Copyright IBM Corp. 1998
211
physical files. When only a physical file is restored, the logical files point to a renamed physical file. The restore database functions create the physical file to maintain the indexes to the logical files. You can benefit from saving and restoring configuration files as a group. For example, saving and restoring only a subset of the files can cause problems when activating TCP/IP for processing. Saving and restoring as a group allows you to maintain any dependencies between the files. To save all TCP/IP files as a group, enter the following commands:
SAVOBJ OBJ(QATOC*) LIB(QUSRSYS) DEV(tape-device-name) OBJTYPE(*FILE) SAVOBJ OBJ(QATM*) LIB(QUSRSYS) DEV(tape-device-name) OBJTYPE(*FILE)
To restore all TCP/IP files as a group, enter the following commands:
RSTOBJ OBJ(QATOC*) SAVLIB(QUSRSYS) DEV(tape-device-name) OBJTYPE(*FILE) RSTOBJ OBJ(QATM*) SAVLIB(QUSRSYS) DEV(tape-device-name) OBJTYPE(*FILE)
These commands ensure that the TCP files shipped with the operating system (in the QATOC* files and QUSRSYS libraries) and with the program product (57nn-TC1) are included. For more information about the file structure of the TCP product, see Appendix B of the TCP/IP Configuration and Reference , SC41-5420-01.
For the Dynamic Host Configuration Protocol (DHCP), save the directory:
/QIBM/UserData/OS400/DHCP/*.*
For domain name services (DNS), save the configuration files in the directory:
/QIBM/UserData/OS400/DNS
To save the configuration graphic files created by using the DNS user interface, save the directory:
/QIBM/ProdData/OS400/DNS
ProdData contains DNS related objects used during the configuration process. ProdData should not (but can) have user data stored in it. If this directory is destroyed, re-installing the DNS programs recreates the necessary configurations.
212
Note: Since the file names for the domain name services are variable (they depend on the domain name), it may be easier to specify files that do not need to be backed up, such as:
The DHCP files also store their configuration and data files in the integrated file system file structure in the directory:
/QIBM/UserData/OS400/DHCP
Therefore, the save and restore commands you use to back up this environment can refer to these files generically to ensure a proper backup and restore process. By the term generically, use:
/QIBM/UserData/OS400/DHCP/*.*
For the Web product, specifically Internet connection servers, objects are stored both in the QUSRSYS library and in the integrated file system directory that stores digital certificates:
/QIBM/UserData/WWW
For the Post Office Protocol (POP) mail server, mail is kept in the directory:
/QTCPTMM/MAIL
Mail is normally in this directory until users log on and receive it. For recovery purposes, back up this directory so that the entire mail environment is restored. This operation also benefits the casual user who keeps mail items on the server after reading it and for those users that are away for extended periods of time. Note: It is worth repeating that, just as with the Domain Mail Services, future TCP (and other) products will utilize the integrated file system structure for its objects. Take this important consideration into account when devising your backup and recovery strategy.
213
Your AS/400 system is equipped with a number of tools to help identify and resolve problems in the TCP configuration or network. The OS/400 NETSTAT command allows you to see and control the interfaces, routes, and IP connections that are active on the system. This section outlines other common tools.
13.3.1.1
PING
The PING command is the most commonly used diagnostic tool in a TCP environment. PING stands for Packet Internet Groper. It verifies that connections are possible to other machines. You can run PING on a system to a name if you have an entry in your host table or DNS server for it. Otherwise, you must perform PING on the IP address. If you run PING on the IP address, use apostrophes around the address. For example,
PING 051.005.026.001
13.3.1.2
LOOPBACK
The LOOPBACK command is a common TCP/IP function that allows you to test your TCP/IP applications (and most of the interfaces) by accessing the server functions on your own machine. Nothing is transmitted on the network using this command. In other words, you can run TELNET on your own machine with the command string:
TELNET LOOPBACK
A 5250 style sign-on display appears shortly after issuing this command. Note: Use the ATTN key to bring up the Send TELNET Control Functions menu, and end your Telnet session to return to your original session. You can also run FTP and LPR on your own system. Be aware that you must send a file to a different library or folder than where it resides. For LPR, you must send the print file to a different output queue. Using the IP address or the name of the system, you can start a session with your own machine. If you are on a Token-Ring network, the packets are sent onto the network and returned on your system. If you can perform PING on your own IP address on the Token-Ring LAN, the AS/400 system is not the source of the problem. Ethernet can use full-duplex mediums with Ethernet as a switched hub. However, since Ethernet is not a true full-duplex medium, it does not send and receive at the same time. While PING sends packets out on the network and you access your own machine on an Ethernet network, the packets are actually received through an internal software interface in the Ethernet IOP code. Even if you successfully PING your own IP address, there is a possibility that the AS/400 system is the failing component.
214
For example, if you PING your own address and no packets arrive at the network hub, this almost always indicates a problem in the network between the AS/400 system and the hub. It may indicate a cable problem, or that the port on the hub is disabled.
Line problems exist. There is a failing Ethernet interface (likely a cable, tranceiver, or hub problem). Check the QTCPIP job log for errors. The user profile doing the configuration does not have *IOSYSCFG special authority. There is an incorrect or missing routing entry. The subnet mask value is incorrect. A network problem is indicated. The QAUTOVRT system value is set to 0 or is not a large enough value. The QPADEV* device is disabled or hung. The Telnet server is not active. The QTGTELNETS server job is not started. The from or to system is a DBCS system. The maximum number of screen attributes is exceeded in VT mode You need to use Display Attributes = * N O on the TELNET command. You need to use ASCII attributes, such as *AUTOWRAP, on the TELNET command. The VT machine is sending unsupported special attributes. You may be missing a PTF to force the AS/400 system into VT220 mode.
You can run PING to your own address but not to an address on another machine. Other machines can run PING to your system, but they cannot run TELNET to your system.
When TELNET is used to connect to other systems, the users screen shows distorted information.
215
The maximum file size supported for FTP on the operating system is exceeded. The short and long names in the host table or DNS server are not present, causing slow performance. There is insufficient storage on the source or target system. The client machine needs to use the TIME command to set the timeout value. There is a possible software defect. There is a CCSID or multinational translation involved, which may indicate normal operations. Use BLOCK or BINARY to send data to other EBCDIC machines. This is a normal condition when the AS/400 system sends text files. FTP truncates trailing blanks and inserts a CR/LF character at the end of each record. You can avoid this by making the last character of each record non-blank. Or try using the BLOCK mode for transmitting data to other EBCDIC machines. The domain name is not configured. The problem is at the remote system or printer. Your AS/400 system may not be authorized by the target system to send print files. Most UNIX machines require that an LPR user is either a trust host or that it is listed in a special file authorizing LPR operations.
LPR fails because of an unresolved address. You can LPR to your own system but not to a remote system or printer.
For more information on problem determination, see the Trouble Shooting Appendix in the TCP/IP Configuration and Reference , SC41-5420-01.
216
2. If access control is used, include the following items associated with HTTP server protection setups:
Validation list objects associated with HTTP server protection Group files ACL files
Key-ring files (the name of the file where you want to store public-private key pairs that the server can use for secure information) Signed certificates and, optionally, certificate requests
QTMHHTTPDefault user profile for server QTMHHTP1Default user profile for CGI programs such as Net.Data QUSRSYS/QATMHTTPCHTTP configuration file QUSRSYS/QATMHTTPHTTP server attribute file Object authority for AS/400 objects to be accessed by the server
A decision must be made about how to set up object authority for HTML documents served by the HTTP server. The QTMHHTTP server profile needs read and execute access to these documents. To achieve a good balance of performance and ease of maintenance, create directories with the default authorities as shown in Figure 64 on page 218.
217
Create Directory (CRTDIR) Type choices, press Enter. Directory . . . . . . . . . . . harm/webdocs/public *RX *NONE *SYSVAL Name, *INDIR, *RWX, *RW *INDIR, *NONE, *ALL... *SYSVAL, *NONE, *USRPRF
Public authority for data . . . Public authority for object . . + for more values Auditing value for objects . . .
Creating the directories automatically sets authority for new objects added to the directory. Assuming the Webmaster user creates new stream files in the harm/webdocs/public directory, the object authority for the pubhom.htm document is set as shown in Figure 65.
. . . .
. . . .
. . . .
. . . .
. . . .
. . . .
: : : :
4=Remove user
Opt
User
*PUBLIC WEBMASTER
Figure 65. Object Authority for Documents to be Accessed by the Read-Only Server
Back up the directories in the integrated file system to ensure the complete recovery of the HTTP configuration on your AS/400 system. For additional information and examples on this topic, see the section on User Authority Setup in the redbook AS/400 E-Commerce Internet Connection Servers , SG24-2150.
Access logContains the host name and IP address of the requester, the time of access, the request, the number of bytes transferred, and the return code Error logContains the error messages, short name and IP address of the requester, the request, and time of error
To limit the size of the access log, do not log requests from selected IP addresses.
218
The common formatThis is the standard format. It can be stored in the integrated file system or in the QUSRSYS library. The data description specifications (DDS) formatThis format is stored in a physical file in the QUSRSYS library.
For a detailed layout of these log files, refer to the Internet Connection Server and AS/400 Webmaster s Guide , GC41-5434.
Check the configuration using the WRKHTTPCFG command. Look for highlighted lines indicating errors. Issue the STRTCPSVR SERVER(*HTTP) HTTPSVR(instance-name) command. Check the job log. Check the QEZJOBLOG output queue for server jobs job logs.
The global log file configuration settings The access log file configuration settings The error log file configuration settings
To set up the global log, follow these steps: 1. From the Configuration and Administration Forms page, click on Global Log File Configuration Settings. This form allows you to mark the settings that apply to both the access and error log files. 2. Select DDS for the Log file format prompt. This puts the log files in an AS/400 physical file, which are accessed using normal AS/400 query tools. 3. Click Apply. 4. On the next page, click Configuration Page. Then, set up the access log. 1. From the Configuration and Administration Forms page, click on Access Log File Configuration. This form allows you to set up the access log file. 2. Enter a name that is meaningful for Access Log Path and Name, such as ACCLOG. This creates a file in the QUSRSYS library for the access log. If you want to use a log file in the integrated file system, enter the complete path here (for example, /home/logs/access), and choose the Common Log Format option instead of DDS. Note: For integrated file system placement, use the Common format rather than DDS. 3. Click Apply. We will not exclude any requests from the access log in this scenario.
219
4. On the next page, click Configuration Page. Next, set up the error log. 1. From the Configuration and Administration Forms page, click on Error Log File Configuration. This form allows you to set the location of the error log file. 2. Enter a name for the Error Log Path and Name, such as:
ERRLOG
3. Click Apply. 4. On the next page, click Configuration Page. Now, we are back to the Configuration and Administration Forms page. Your settings for the log files are entered. When the instance is running, a member is created in each log file every day using a timestamp, such as access.Q.0980526 for May 26, 1998. The member contains the access information and errors for that day. For the Access Log File Configuration panel, you can specify the IP addresses or host names to not log. For example, to not log accesses from the IP addresses of 100.27.22.* or *.ibm.com , specify:
100.27.22.*
or
*.ibm.com
220
Chapter 15. Backup and Restore for Integrated File System Objects
The addition of the integrated file system structure in V3R1 provides a flexible structure for managing and retrieving information. Objects of all types can be referenced through the integrated file system structure. This chapter discusses save and restore commands using the integrated file system interface. The integrated file system is becoming an increasingly important area for the system administrator to understand and manage. This is especially true as licensed program products and the operating system more frequently store data in file systems other than libraries and folders. We begin with a discussion of the integrated file system and, then, advance to the various licensed program products that use this interface, such as:
User-defined file system Document library objects Domino for AS/400 Windows NT Lotus Notes on the Integrated PC Server NetWare on the Integrated PC Server OS/2 Warp Server for AS/400 PC client Firewall
221
QSYS.LIB (the library file system) The QSYS.LIB file system supports the AS/400 library structure. It provides access to database files and all AS/400 object types that are managed by library support. It supports programming languages and facilities that operate on the database files. This file system has extensive administrative support. It also supports stream I/O to user spaces, source physical file members, and database members that are program defined.
QDLS (the document library services file system) The QDLS file system supports the folder structure, and provides access to documents and folders. This system is integrated with OfficeVision/400, and stores data in stream files.
QLanSrv (the OS/2 Warp Server for AS/400 file system) Note: The LAN Server/400 file system is now called OS/2 Warp Server for AS/400. Its directory is still called QLanSrv. The QLanSrv file system provides access to the same directories and files that are accessed through the LAN Server/400 licensed program. It allows users of the OS/400 file server and AS/400 applications to use the same data as LAN Server clients. The LAN Server/400 file system is available only when the LAN Server licensed program is installed on the system. The data is stored in stream files.
QOpenSys (the open systems file system) The QOpenSys file system is compatible with UNIX-based open system standards such as POSIX and XPG. An important distinguishing feature of this system from the root-file system is that it supports case-sensitive names. It also supports hard links and symbolic links and has good performance for
222
stream files. It supports long names and NLS enabled names. The names are stored internally in ISO 10646 (UCSC Level 1) or Unicode format.
Root (the / file system) The root file system takes full advantage of the stream file support and hierarchical directory structure of the integrated file system. It has characteristics of both DOS and OS/2 file systems. It has similar characteristics to the QOpenSys file system.
QNetWare (the NetWare file system) The QNetWare file system provides access to local and remote data and objects that are stored on a server that runs Novell NetWare 3.12 or 4.10. It also offers access to NetWare Directory Services (NDS) objects. The QNetWare file system provides dynamic mounting of NetWare file systems into the local name space. As opposed to the QOpenSys file system, QNetWare is not case sensitive.
UDFS (the user-defined file system) A UDFS file system resides in the ASP of the users choice. The user creates and manages these file systems. They can even choose to specify if the attributes are case-sensitive when creating the UDFS. The user must mount the UDFS into the local name space for visibility and accessibility. A user-defined file system is represented as a block special file (*BLKSF). It supports a graphical interface, and once mounted, provides the same support as the root and QOpenSys file systems. Refer to Section 15.3, User-Defined File System on page 231, for an example. Note: The Add Mounted File System (ADDMFS) and MOUNT commands make the objects in this file system accessible to the integrated file system name space. To mount a UDFS, specify *UDFS for the TYPE parameter on the ADDMFS command.
QOPT (the optical file system) The QOPT file system provides access to direct attached optical libraries and CD-ROM. It stores data in stream files.
QFileSvr.400 (the file server file system) The QFileSvr.400 file system allows transparent access to file systems that reside on remote AS/400 systems. Think of it as a client that acts on behalf of users to perform a file request. QFileSvr.400 interacts with the OS/400 file server on the target system to perform the actual file operation. For a first-level directory (which actually represents the root (/) directory of the target system), the QFileSvr.400 file system preserves the same uppercase and lowercase attributes when QFileSvr.400 searches for names. For other directories, case-sensitivity depends on the specific file system that is accessed.
223
Similarly, the corresponding RESTORE menu offers the following options, including the RST command:
Option 21, which restores the entire system Option 23, which restores all the user data
Using the SAV and RST commands, you can save and restore:
Client Access/400 objects in directories LAN Server/400 objects in directories NetWare objects in directories Domino Notes for AS/400 Other licensed program objects in directories Customer and vendor applications in directories
With the AS/400 system, you can perform save operations on objects that are changed either from a specific date and time or since the last save operation. Use the CHGPERIOD parameter on the SAV command to perform this operation. Refer to Is Your Entire System Backed Up? in the April 1998 issue of NEWS/400 for more information on saving the integrated file system with the SAV and RST commands. Information about NEWS/400 and past issues can be found at: http://www.news400.com/ Note: The traditional save and restore operating system commands will remain the preferred way to back up and recover objects on the system. The intent of the SAV and RST commands are not to replace all existing commands. Instead, the intent is to allow new users of the integrated file system to use the new commands to be able to save data in the integrated file system.
For saving all objects in all file systems, except QSYS.LIB and QDLS, enter:
224
For saving all objects in the file system, except the QSYS, QDLS, and one or more other file systems, enter:
SAV DEV( / QSYS.LIB/tape-device-name.DEVD ) OBJ(( / * ) ( / QSYS.LIB *OMIT) ( / QDLS *OMIT) ( / other-values *OMIT)) UPDHST(*YES)
Note: When you indicate SAV OBJ( / *): The system must be in a restricted state. *SAVSYS or *ALLOBJ special authority is required. DEV cannot be a save file or diskette file. You must have VOL(*MOUNTED). You must specify SEQNBR(*END).
Values for other parameters of the SAV command are supported only for some file systems. Choose the lowest common denominator. Refer to Backup and Recovery , SC41-5304, for examples. Specify the following values for the other parameters:
DEV SUBTREE SAVACT OUTPUT LABEL USEOPTBLK SYSTEM CHGPERIOD PRECHK UPDHST
Tape device only (no save file nor diskette file) *ALL *NO *NONE *GEN *NO *LCL default *NO *YES
When saving objects from the integrated file system, objects can be locked that either prevent objects from being saved or slow the save down. To avoid locks, perform saves of integrated file system objects when users are not on the system and the system is quiesced. Should a lock occur, it is not readily apparent who is holding the lock, as the Work With Object Lock (WRKOBJLCK) command does not support integrated file system objects. You may be able to determine what jobs or objects are involved in an integrated file system object lock by deciphering the output from an API. Enter the following commands and examine the resulting spooled file for names that may lead you to a job as the holder of the lock. Any action taken to free up the lock should be done with caution. If you need assistance in either breaking
Chapter 15. Backup and Restore for Integrated File System Objects
225
the lock or interpreting the output from the API, contact IBM Support Line for additional services. The commands are:
15.2.3 Considerations when Saving Objects from the QSYS.LIB File System
The path name element for QSYS.LIB objects must be in the name.objecttype format, such as:
/ QSYS.LIB/DMT.LIB/TAX.FILE
The object name and object type are separated by a period (.). Objects in a library can have the same name if they are different object types. Therefore, specify each object type to uniquely identify the object. The following figure demonstrates a graphical method of looking at the structure.
Root / QSYS.LIB DMT.LIB -- | * | Files | *.OBJTYPE | | OBJ.OBJTYPE | TAX.FILE -- MYFILE -- | * / | / MBR | * .MBR | | MBRNAME.MBR --Structure of QSYS.LIB
Figure 67. The Structure of the QSYS.LIB
When saving objects from the QSYS.LIB file system, these restrictions apply:
The OBJ parameter must have only one name. The SAV command does not have the ACCPTH (save access path) keyword, which means by default, these commands do not save access paths.
226
Therefore, the SAV command does not save any access paths for the QSYS.LIB file system (including all system and user libraries). To save a library, enter:
SAV
SAV
Note: At the time of writing this redbook, there is a PTF to reduce an unnecessary VLIC log generation that impedes the cleanup process and delays the save. The PTF for V4R1 is MF17584, and the PTF for V4R2 is MF17910. The Authorized Problem Analysis Request (APAR) number relating to this PTF is MA17273. Contact your IBM support representative for more information and to confirm that the PTF named is the latest recommendation. The QSYS.LIB file system supports externally described database files. Externally described refers to data in fields and records of a file that are described outside of the program that processes the file. Such files include those created by DDS, IDDU, or DB2 for the AS/400 licensed program. You can use the SAV command to save these externally described files. You can perform SAV on any object on which you can perform a SAVOBJ.
Chapter 15. Backup and Restore for Integrated File System Objects
227
Attention Currently users gain access to the QSYS.LIB file system by using the integrated file system interface. To restrict their access to QSYS.LIB, use the QPWFSERVER authorization list. To restrict one user, change the authority specified in the QPWFSERVER authorization list to *EXCLUDE. To restrict all users, change *PUBLIC authority to *EXCLUDE. To grant access to a specific user, change the authority to the QPWFSERVER authorization list to *USE by using the GRTOBJAUT command, or *RX by using the CHGAUT command. If the authority of QPWFSERVER type *AUTL changes while the SERVER subsystem is active, end and restart it to ensure that Client Access/400 users detect the change. If you are on V3R1, make sure to apply PTF SF24822 or a superseding PTF to restrict QSYS.LIB access.
Restoring all objects, except QSYS.LIB, QDLS, and one or more other file systems
RST DEV( / QSYS.LIB/tape-device-name.DEVD ) OBJ(( / * ) ( / QSYS.LIB *OMIT) ( / QDLS *OMIT) ( XYZ.LIB *OMIT))
Note: When you specify RST OBJ( / *): The The You You You system restores only objects saved by SAV OBJ( / *). system must be in a restricted state. must have *SAVSYS or *ALLOBJ special authority. cannot specify diskettes, savf, or optical media for DEV. must specify NBR(*SEARCH).
228
15.2.5 Considerations when Restoring Objects from the QSYS.LIB File System
When you use the RST command to restore objects to the QSYS.LIB file system, these restrictions apply:
Give the OBJ parameter only one name. Specify objects that are allowed on the RSTOBJ command. For example, the RST of user profiles is not allowed because it is not allowed on the RSTOBJ command. For QSYS.LIB file system libraries, objects QDOC and QSYS cannot be restored with RSTLIB because QSYS contains system objects and QDOC contains documents. Therefore, you cannot use the RST command to restore the following documents and objects:
QDOC QSRV
QDOCnnnn QSPL
QRECOVER QSYS
QRPLOBJ QTEMP
The following table compares the RST and equivalent RSTxxx commands.
Table 19. RST Command Versus the RSTxxx Commands
Object Parameter on RST Command OBJ(/QSYS.LIB/LIBA.LIB) OBJ(/QSYS.LIB/LIBA.LIB/*) OBJ(/QSYS.LIB/LIBA.LIB/*.object-type) OBJ(/QSYS.LIB/LIBA.LIB/object-name.object-type) OBJ(/QSYS.LIB/LIBA.LIB/file-name.FILE/*) OBJ(/QSYS.LIB/LIBA.LIB/file-name.FILE/*.MBR) OBJ(/QSYS.LIB/library-name.LIB/file-name.FILE/*MBR) Equivalent RSTxxx Command RSTLIB SAVLIB(LIBA) RSTOBJ SAVLIB(LIBA) OBJ(*ALL) OBJTYPE(*ALL) RSTOBJ SAVLIB(LIBA) OBJ(*ALL) OBJTYPE(object-type) RSTOBJ SAVLIB(LIBA) OBJ(object-name) OBJTYPE(object-type) RSTOBJ SAVLIB(LIBA) OBJ(file-name) OBJTYPE(*FILE) RSTOBJ SAVLIB(LIBA) OBJ(file-name) OBJTYPE(*FILE) RSTOBJ SAVLIB(LIBA) OBJ(file-name) OBJTYPE(*FILE) FILEMBR((*ALL (member-name))
Use the RST commands new-name parameter element to rename an object in a directory, restore an object to a different directory, or restore an object to a different library. Consider these examples:
File Operations:
Directory Operations:
Library Operation:
Chapter 15. Backup and Restore for Integrated File System Objects
229
Operations on all objects of a specified type (for example, the PGM type):
For database file members, OPTION(*NEW) restores members for new files only:
The OBJ parameter must have only one name. The OBJ and SUBTREE parameters must have one of the following values:
230
/dev/asppXX/udfs-name.udfs
Failure to use this convention results in the error message:
A UDFS can be created in a user ASP or the system ASP. You can specify case-sensitivity. This is done when you run the command:
A UDFS exists in two states: mounted and unmounted. Find a discussion of this important concept in the following section, Section 15.3.1, Mounting User-Defined File System. OS/400 sees UDFS as a block special file object (*BLKSF). As you create UDFSs, the block special files are created automatically. These files are accessible only by using the integrated file system generic commands, APIs, and the QFileSvr.400 interface. Once mounted, UDFS provides the same support as the root and QOpenSys file systems.
Chapter 15. Backup and Restore for Integrated File System Objects
231
Using a directory called hltest, issue a WRKLNK command to see the Work with Object Links display:
WRKLNK ( / * )
Work with Object Links Directory . . . . : /
Type options, press Enter. 3=Copy 4=Remove 5=Next level 11=Change current directory ... Opt Object link dev_dpmon domino etc example-resources glms sample.dsk sample.nsf hltest home Type STMF DIR DIR DIR DIR STMF STMF DIR DIR
7=Rename
8=Display attributes
Attribute
Text
More... Parameters or command ===> F3=Exit F4=Prompt F5=Refresh F22=Display entire field
F17=Position to
1. The directory called hltest appears. 2. Next, select option 5 to go to the next level, as shown in the following display. Notice that there are two STMF files in the directory /hltest.
232
Type options, press Enter. 3=Copy 4=Remove 5=Next level 11=Change current directory ... Opt Object link jdbcTest.example.C > jdbcTest.example.C > Type STMF STMF
7=Rename
8=Display attributes
Attribute
Text
Bottom Parameters or command ===> F3=Exit F4=Prompt F5=Refresh F22=Display entire field
F17=Position to
3. At this stage, the contents of /hltest are visible and accessible through the integrated file system interfaces. 4. The Display Mounted File System Information (DSPMFSINF) command shows information about a mounted file system. The following display shows information about the /hltest mounted file system.
Display Mounted FS Information Object . . . . . . . . . . . . : File system type . . . . . . . : Block size . . . . . . . . Total blocks . . . . . . . Blocks free . . . . . . . Object link maximum . . . Directory link maximum . . Pathname component maximum Path name maximum . . . . Change owner restricted . No truncation . . . . . . Case Sensitivity . . . . . . . . . . . . . . . . . . . . . . . . . : : : : : : : : : : /hltest root ( / ) 4096 4993024 669368 32767 32767 510 No maximum Yes Yes No
Press Enter to continue. F3=Exit F12=Cancel (C) COPYRIGHT IBM CORP. 1980, 1998.
Figure 70. Display Mounted FS Information
Chapter 15. Backup and Restore for Integrated File System Objects
233
5. Now, issue the Create User Defined File System (CRTUDFS) command with the parameters:
Type options, press Enter. 3=Copy 4=Remove 5=Next level 11=Change current directory ... Opt Object link dev_dpmon domino etc example-resources glms dmt.dsk dmt.nsf hltest home Type STMF DIR DIR DIR DIR STMF STMF DIR DIR
7=Rename
8=Display attributes
Attribute
Text
F17=Position to
8. Now it has the contents of /dev/qasp01/hl.udfs. Note: The object hltest.example.Cre was created some time after step 6. Our example is for an empty directory. Hltest.example.Cre is shown for illustration only.
Type options, press Enter. 3=Copy 4=Remove 5=Next level 11=Change current directory ... Opt Object link hltest.example.Cre > Type STMF
7=Rename
8=Display attributes
Attribute
Text
234
This display also indicates that the former contents of /hltest directory (such as jdbcTest.example.C as shown in Figure 69 on page 233) is no longer visible and accessible. The original /hltest is masked by this UDFS. 9. If you issue the Display Mounted FS Information (DSPMFSINF) command DSPMFSINF OBJ( / hltest), the following display appears:
Display Mounted FS Information Object . . . . . . . . . . . . : File system type . . . . . . . : Block size . . . . . . . . Total blocks . . . . . . . Blocks free . . . . . . . Object link maximum . . . Directory link maximum . . Pathname component maximum Path name maximum . . . . Change owner restricted . No truncation . . . . . . Case Sensitivity . . . . . . . . . . . . . . . . . . . . . . . . . : : : : : : : : : : /hltest User-defined file system 4096 4993024 773760 32767 32767 510 No maximum Yes Yes No /dev/Qasp01/hl.udfs /hltest Read-write Not supported Not supported Not supported Not supported Not supported Not supported Not supported Not supported Not supported More... Press Enter to continue. F3=Exit F12=Cancel
Protection . . . . . . . . . . Setuid execution . . . . . . . Mount type . . . . . . . . . . Read buffer size . . . . . . . Write buffer size . . . . . . Timeout . . . . . . . . . . . Retry Attempts . . . . . . . . Retransmission Attempts . . . Regular file attribute minimum time . . . . . . . . . . . . Regular file attribute maximum time . . . . . . . . . . . .
Note: Pay attention to the labels path of mounted file system and path mounted over as shown in the second Display Mounted FS Information display. Note that the file system type changes.
Chapter 15. Backup and Restore for Integrated File System Objects
235
You cannot specify both MNTOVRDIR and MFS for TYPE(*UDFS). Note: You can also use the UNMOUNT command with the same parameters. The Display User-Defined System (DSPUDFS) command enables you to check whether the UDFS file system is mounted. The next display shows an example of the output from this command.
Display User-Defined FS User-defined file system . . . : Owner . . . . . . Code page . . . . Case sensitivity . Creation date/time Change date/time . Path where mounted Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . : : : : : : /dev/qasp01/hl.udfs A97011363 37 *MONO 12/07/97 20:50:01 12/07/97 21:13:07 Not mounted test for user hlaust
. . . . . . . . . :
Bottom Press Enter to continue. F3=Exit F12=Cancel (C) COPYRIGHT IBM CORP. 1980, 1998.
Figure 74. Display User-Defined FS
Note: In this display, case sensitivity is set to *MONO. You may have to set it to *MIXED to enable case sensitivity.
You cannot save individual objects from unmounted UDFSs. You can only save objects from the UDFS all at the same time. You cannot view or work with the objects in an unmounted UDFS. The default parameter SUBTREE(*ALL) is required. This saves the entire subtree of each directory that matches the object name pattern. The subtree includes all subdirectories and the objects within them.
236
You cannot view or work with objects in an unmounted UDFS. Therefore, you cannot determine the amount of storage and time required. Individual objects cannot be restored to an unmounted UDFS.
Chapter 15. Backup and Restore for Integrated File System Objects
237
Type options, press Enter. 3=Copy 4=Remove 5=Next level 11=Change current directory ... Opt Object link jdbcTest.example.C > jdbcTest.example.C > Type STMF STMF
7=Rename
8=Display attributes
Attribute
Text
Mount the specific UDFS: /dev/qasp01/hl.udfs onto /hltest namespace, which appears as shown in the following display:
Type options, press Enter. 3=Copy 4=Remove 5=Next level 11=Change current directory ... Opt Object link hltest.example.Cre > Type STMF
7=Rename
8=Display attributes
Attribute
Text
Now, if you save a mounted UDFS and issue a DSPSAVF UDFSSAVF.FILE to view our saved information, the following display appears:
Type options, press Enter. 5=Display objects in subdirectory Opt Object hltest.example.Createprocedure >
8=Display object specific information Type *STMF Owner A97011363 Size 8192
238
Display Mounted FS Information Object . . . . . . . . . . . . : File system type . . . . . . . : Block size . . . . . . . . Total blocks . . . . . . . Blocks free . . . . . . . Object link maximum . . . Directory link maximum . . Pathname component maximum Path name maximum . . . . Change owner restricted . No truncation . . . . . . Case Sensitivity . . . . . Path of mounted file system Path mounted over . . . . . . . . . . . . . . . . . . . . : : : : : : : : : : /hltest User-defined file system 4096 4993024 769659 32767 32767 510 No maximum Yes Yes No /dev/qasp01/hl.udfs /hltest Read-write Not supported Not supported Not supported Not supported Not supported Not supported Not supported Not supported Not supported Not supported Not supported Not Not Not Not supported supported supported supported
. :
. . . . . . : : : : : : : : : : : : : : : : :
Protection . . . . . . . . . . Setuid execution . . . . . . . Mount type . . . . . . . . . . Read buffer size . . . . . . . Write buffer size . . . . . . Timeout . . . . . . . . . . . Retry Attempts . . . . . . . . Retransmission Attempts . . . Regular file attribute minimum time . . . . . . . . . . . . Regular file attribute maximum time . . . . . . . . . . . . Directory attribute minimum time . . . . . . . . . . . . Directory attribute maximum time . . . . . . . . . . . . Force refresh of attributes on open . . . . . . . . . . . . Attribute and name caching . . Data file code page . . . . . Pathname code page . . . . . .
Chapter 15. Backup and Restore for Integrated File System Objects
239
Display Mounted FS Information Object . . . . . . . . . . . . : File system type . . . . . . . : Block size . . . . . . . . Total blocks . . . . . . . Blocks free . . . . . . . Object link maximum . . . Directory link maximum . . Pathname component maximum Path name maximum . . . . Change owner restricted . No truncation . . . . . . Case Sensitivity . . . . . . . . . . . . . . . . . . . . . . . . . : : : : : : : : : : /hltest2 root ( / ) 4096 4993024 769659 32767 32767 510 No maximum Yes Yes No
Saving a mounted file system produces this error message in the job log:
CPD3788 No file system information was saved because /hltest is a mounted user-defined file system.
If a UDFS is mounted as read-only when the UDFS is restored, it loses the information shown in Figure 78 on page 239.
240
Generic name support for the FLR parameter OMITFLR parameter to omit some folders that match generic specifications Multiple, concurrent saves from a single ASP (in V4R1M0) Multiple, concurrent saves from different ASPs (in V3R7M0)
Chapter 15. Backup and Restore for Integrated File System Objects
241
All distribution objects (mail) All mail and all DLOs created or changed since the last complete save
15.4.4 DLO(*SEARCH)
A DLO(*SEARCH) type of search is known as a parametric search. With the parametric search, the user defines the descriptors on which to search. The user enters the information into the document details display, such as author, subject, and keywords. DLO(*SEARCH) only searches the header information of OfficeVision/400 documents. Therefore, use it as soon as OfficeVision/400 is installed and users are creating and saving documents in their folders. Table 22 shows the options that are available if you specify DLO(*SEARCH).
Table 22. Parameters for DLO(*SEARCH)
Parameter FLR SRCHTYPE CHKFORMRK CHKEXP CRTDATE DOCCLS OWNER REFCHGDATE REFCHGTIME Definition Folder Default is *DOC to save only documents matching search criteria. Specify SRCHTYPE(*ALL) to include folders in the search. Storage m a r k Document expiration date Creation date Document class Owner Last changed date Last changed time
242
DLO(*ALL) FLR(*ANY) DLO(*CHG) DLO(*MAIL) DLO(*SEARCH) OWNER(*ALL) DLO(*SEARCH) OWNER(user-profile-name) The user-profile name refers to a user profile different than the currently signed-on user profile.
Chapter 15. Backup and Restore for Integrated File System Objects
243
Tips: 1. To save the complete set of Office Services information, save all documents, all mail, and the QUSRSYS library. 2. To ensure that system directory files in QUSRSYS are saved, end the QSNADS subsystem first. System directory files are not saved if QSNADS is active.
SAVDLO DLO(*MAIL)
Remember when saving mail: 1. 2. 3. 4. *ALLOBJ or *SAVSYS special authority is required to save mail. Mail is dynamic in nature, so save it frequently. You cannot save mail to a previous release. You cannot save mail for only one user.
The administration table The scheduling queue The primary index files and additional index tables
Refer to the Office Services Concepts and Programmers Guide , SH21-0703, for more information on saving text search services files.
saved DLOs to 300 specified DLOs DLOs saved from a specified ASP DLOs saved from a specified folder DLOs saved at a specified date and time
244
If you save DLOs from more than one ASP, you must specify SAVASP(*ANY)and the SEQNBRwhich is described later in this chapter. Note: When saving DLOs from multiple ASPs, multiple tape files are created. When you perform a SAVDLO(*ALL), a separate tape file is created for each user ASP that has DLOs. When you specify SEQNBR(*SEARCH) on the RSTDLO command, the system restores only from the first tape file that contains DLOs. The other tape files are not searched unless you indicate the starting and ending sequence number on the SEQNBR parameter. Therefore, not all the DLOs are restored. If you only have DLOs in the system ASP, one tape file using the default *SEARCH value for the SEQNBR parameter works. A simple way to find the sequence numbers you need is to enter:
It was previously deleted. It is restored to a new system. It is restored with the NEWOBJ(*NEW) parameter. This also assigns a new 10-character, system object name.
When restoring existing DLOs, the system skips a DLO and continues if one of these conditions is true:
The existing DLO is in use. The user has insufficient authority to the existing DLO.
Multiple, concurrent RSTDLO commands to different ASPs (in V3R7) Multiple, concurrent RSTDLO commands from a single ASP (in V4R2)
In V4R2, the concurrent RSTDLO process is enhanced so you can restore DLOs to the same ASP. These changes provide more flexibility for managing the DLO environment.
Chapter 15. Backup and Restore for Integrated File System Objects
245
SAVDLO is perceived much slower than the SAVOBJ or SAVLIB command. When you save DLOs, you usually work with a large number of small objects. There is a lot of time expended on pre- and post-processing. Pre- and post-processing are performed for each and every object. When you have a lot of DLOs, you see the cumulative affect of the slower performance. All systems need sufficient memory to allow the most efficient use of time. Concurrent saves help reduce the time to save. All systems should have sufficient memory to allow the most efficient save times. To speed up performance, you can improve the time to save by using multiple user ASPs. For example, if it takes four hours to back up all DLOs in the system ASP, spreading the DLOs across four ASPs enables you to have a one-hour save, four times a week. The limiting factor is the amount of memory and the need to page all object headers into memory.
If you have *SAVSYS or *ALLOBJ special authority, you do not need to specify the above authority. *CHANGE *EXECUTE
If you have *SAVSYS or *ALLOBJ special authority, you do not need to specify the above authority. *ADD *EXECUTE
If you have *SAVSYS or *ALLOBJ special authority, you do not need to specify the above authority. *USE *USE *USE *EXECUTE *EXECUTE *EXECUTE
Note: See General Rules for Object Authorities on Commands in Appendix D-2 of the Security Reference V4R1 , SC41-5302.
246
You can restore a folder within a folder without restoring the one that contains the original folder. The fully-qualified path name specified on the RSTFLR parameter must exist unless you restore a first-level folder. You can create folders along this qualified path if necessary. If you restore a folder over an existing folder that is in use, the folder and all DLOs in it are bypassed and not restored. If you restore objects into an existing, damaged folder and you cannot reclaim it, the folder and all DLOs in it are bypassed and not restored.
Use RSTDLO DLO(*MAIL) to restore only: Filed distribution objects with a mail log-reference at the time they are saved All other distribution objects All distribution documents
Use RSTDLO DLO(*ALL) SAVFLR(*ANY) to restore: All objects restored by RSTDLO DLO(*MAIL) All documents All folders
If you used SAVDLO DLO(*MAIL) to save the mail, specify RSTDLO DLO(*ALL) SAVFLR(*ANY) to restore mail. You cannot restore distribution documents and objects individually. Mail-log references are updated for local recipients of restored documents. Mail-log references on remote systems for remote recipients are not restored. Mail-log references are restored for a local sender of a document if an entry was in the senders mail log at the time the distribution was saved. Entries in the mail logs of remote senders are not saved or restored.
Chapter 15. Backup and Restore for Integrated File System Objects
247
owned by the user profile of the existing object, not the owner of the saved object. Rule 4 If the owning user profile of the saved object is not enrolled in the system distribution directory ownership, QDFTOWN owns the restored object. When restoring a new DLO to the system, all access codes or private user authorities are removed. The private authorities to DLOs are restored upon completing the RSTAUT command. However, the access codes are not restored.
Rule 5
Users relying on e-mail for communication that is not duplicated anywhere else An online customer service application that contains records that do not exist on hardcopy
248
Objects that change infrequently, such as programs for the Domino product. See Section 15.5.3, Backing Up the Domino for AS/400 Product, for more information. Objects that change frequently or regularly, such as Domino databases on the server. See Section 15.5.4, Backing Up the Domino for AS/400 Server on page 250, for more information.
To understand how to back up the various components, you need to understand what the libraries and directories are for this product. The AS/400 system has the concept of a single-level storage. In single-level storage architecture, the system manages the allocation of disk space. When you back up information, you back up logically (by library or directory), not physically (by disk units).
15.5.2 Libraries and Directories for the Domino for AS/400 Product
The following two tables list the libraries and directories containing Domino related information.
Table 24. A List of Domino Libraries
Description Domino for AS/400 Product Directory synchronization C APIs C++APIs HiTest APIs LotusScript Extensions Customization information (SBSDs and JOBDs) Library QNOTES QNOTESINT QNOTESAPI QNOTESCPP QNOTESHTST QNOTESLSKT QUSRNOTES Integrated File System Paths for Library /QSYS.LIB/QNOTES.LIB /QSYS.LIB/QNOTESINT.LIB /QSYS.LIB/QNOTESAPI.LIB /QSYS.LIB/QNOTESCPP.LIB /QSYS.LIB/QNOTESHTST.LIB /QSYS.LIB/QNOTESLSKT.LIB /QSYS.LIB/QUSRNOTES.LIB
Chapter 15. Backup and Restore for Integrated File System Objects
249
All the databases Users mail databases The names and address book for the server
When you configure a Domino server, specify the directory for that server such as /NOTES/DATA. By default, all the databases for the server are in that path. Typically, end users cannot create Domino databases in any location except the default path for the server. If you are responsible for backing up a Domino for AS/400 server, develop a backup strategy that matches your policy of where you keep information. The two main approaches for this are:
ENDDOMSVR SERVER(server-name)
3. To save your Domino directory and the system-supplied directory, enter the command:
250
SAV DEV( / QSYS.LIB/tape-device-name.DEVD) OBJ(( / * ) ( QSYS.LIB *OMIT) ( / QIBM/ProdData *OMIT) ( / QDLS *OMIT) (QOpenSys/QIBM/ProdData *OMIT)) UPDHST(*YES)
Note: When using options 21 or 23 from the SAVE menu, the system automatically ends all other activities on the system and enters the restricted state. However, if you use commands to save the server information, stop the server before the saves. To stop the server, issue the End Domain Server (ENDDOMSRV) command:
ENDDOMSRV SERVER(server-name)
The MAIL.BOX database on each server contains mail for the server to route to individual user mailboxes or to another server. Each Lotus Notes user has an individual mail database, which is typically the users ID with the NSF extension. All individual mail databases are in a dedicated subdirectory such as /NOTES/DATA/MAIL.
To save mail, perform the following steps: 1. Sign on with a user profile that has *JOBCTL and *SAVSYS authority. 2. To save a database, the AS/400 system must lock the database so that no changes occur during the SAV operation. To successfully save NOTES mail, stop the Domino for AS/400 server that contains the mail databases. To stop the Domino server, enter:
ENDDOMSRV SERVER(server-name)
3. Mount the media into the tape drive. 4. Enter the command:
Chapter 15. Backup and Restore for Integrated File System Objects
251
Table 26 (Page 2 of 2). Examples of Backing Up Mail From Your Domino Server
Commands OBJ(/NOTES/DATA/MAIL/DMT.NSF) Note: Description Saving a specific users mail database such as DMT mail database
Note: Before the save operation, verify that no one is using the database, or simply end the server.
15.5.5.4 Backing Up Changed Objects from Your Domino for AS/400 Server
Consider the example of an operation to save all objects in the HRINFO directory that changed since 8:00 A.M. on November 8, 1997. Enter the SAV command:
252
Figure 81. Scenario 1 Saving Objects Changed Since Last Full BackUp
2. Back up daily changes, as demonstrated in the following figure: Note: This example assumes that your Domino server directory is in /NOTES/DATA. We also left out the DEV parameter. This is where you need to specify the tape device to use (for example, DEV( / QSYS.LIB/tape-device-name.DEVD ) ).
Chapter 15. Backup and Restore for Integrated File System Objects
253
ENDDOMSRV SERVER(server-name)
254
3. Mount the tape containing the most recent backup copy of the directories for the server. 4. Restore your Domino directory using the command (assuming your Domino directory is /NOTES/DATA):
ENDDOMSRV SERVER(server-name)
3. Mount the tape containing the most recent backup copy of database. To restore all the databases to the MAIL subdirectory, for example, issue the command:
15.5.7.1
Notes: 1. You cannot restore over a database that is in use. All users must close the database before you can restore a backup copy. To determine if a database object is in use, use the WRKOBJLCK command. 2. All examples above assume that the directory for your Domino server is /NOTES/DATA.
Chapter 15. Backup and Restore for Integrated File System Objects
255
ENDOMSRV SERVER(server-name)
3. Mount the tape containing the most recent copy of the database. To restore all the files to the MAIL subdirectory, called HRDPT for example, issue the command:
Notes: 1. You cannot restore over a database that is in use. All users must close the database before you can restore a backup copy. 2. All examples that are shown assume that the directory for your Domino server is /NOTES/DATA. 3. In the DEV parameter, enter the media device from which you want to restore, such as:
DEV( / QSYS.LIB/tape-device-name.DEVD )
256
ENDDOMSRV SERVER(server-name)
3. Mount the tape containing the most recent complete backup copy of the databases. 4. Use the RST command to restore the entire Domino database directory:
ENDDOMSRV SERVER(server-name)
3. Mount the tapes from the most recent complete back up. 4. Use the RST command to restore the entire Domino database directory:
ENDDOMSRV SERVER(server-name)
3. To locate the most recent tape with the database on it, complete these steps:
Chapter 15. Backup and Restore for Integrated File System Objects
257
4. Mount the tape with the incremental backup on the tape drive. 5. To restore the database, enter the command:
ENDDOMSRV SERVER(server-name)
3. Mount the tape containing the most recent complete backup. 4. Use the RST command to restore the entire directory from the tapes:
15.6 Windows NT
One of the advantages of the Integrated PC Server and Windows NT is the incorporation of the Windows NT backup procedures into the AS/400 system backup. A big advantage is the ability to use AS/400 tape media as a backup device. The environment is a combination of both Windows NT and OS/400 for which there are several backup options. A complete storage space backup is accomplished with an AS/400 system save. This is the fastest method to back up the Windows NT environment, however, you cannot restore individual files using this strategy. Note: The network server description (NWSD) of the Windows NT server must be varied off before performing OS/400 backup and recovery operations on its storage spaces. This chapter describes information that you can use for designing a backup plan for Windows NT within the integrated file system.
258
QUSRSYS
NTTEST2
Code copied from Windows NT CD (D: drive) Windows NT install drive (E: drive) AS/400-based Windows NT code Messages from the Windows NT server PC-based Windows NT code
QUSRSYS
NTTEST3
QNTAP
QNTAP
QGPL
NTTESTQ
/QIBM/ProdData
QSYS
/QFPNWSSTG
various
Note: The server message queue is typically not saved, because messages are volatile and do not need to be restored to regain production. Generally, we divide Windows NT product information as:
System objects that are relatively static User objects that are dynamically changed
Use option 21 to access the SAVE Menu, and select Save the Entire System. Use option 22 System Data Only from the SAVE menu, if you complete option 23 on a regular basis. Use option 22 after an installation or upgrade to the product, or after PTFs are applied.
Chapter 15. Backup and Restore for Integrated File System Objects
259
Do not store any user data on the E: drive. Keep static data (such as applications and software) and frequently modified data (such as user data) on separate storage spaces. Keep all data belonging to one group or application on one storage space because it is easier to manage.
Applications typically do not change often so they can be omitted from a daily back up routine. Frequently modified data should be backed up frequently.
If your BOOT.INI is deleted, restore the C: drive. If the /386 on the D: drive is deleted, replace it by restoring the D: drive. If the Windows NT registry on the E: drive is corrupted, replace it by restoring the E: drive.
Save these objects frequently. Save the E: drive daily if possible, since it contains the registry. Then, save it to a save file. Use the SAVOBJ command to save the Windows NT operating system and registry:
260
Chapter 15. Backup and Restore for Integrated File System Objects
261
OS/400 Support for Windows Network Neighborhood (AS/400 NetServer) For V4R2 systems there is an enhancement called NetServer that uses server message block (SMB) to allow the integrated file system of the AS/400 system to be visible to the clients on the network without additional software on the client. NetServer is can be used to copy files from Windows NT or Windows 95 to the integrated file system.
AS/400 Client Access You can install AS/400 Client Access on the Windows NT and Windows 95 server running with the Integrated PC Server or AS/400 system. Once installed, use its access to the AS/400 integrated file system to copy files and directories there. To copy files from Windows NT to the integrated file system, open the network neighborhood on the Windows NT server, and select the AS/400 option and the location within the integrated file system to where you want to copy the files. Drag and drop the files as you usually do. Reverse the process to restore the files.
Other backup utilities There are many third-party utilities available that enable you to back up your files on the network, such as WinTAR-Remote.
Windows NT server system files If you accidentally destroy some of the system files, you can recreate them from the D: drive. The Windows NT structure uses a DOS shell-based expand program that allows users to restore files that are kept as images on the D: drive. Use the EXPAND command to expand the needed files from the D:\386 directory back to the related directory on the E: drive. For example, to expand MFC40U.DLL to the appropriate directory on the E: drive, enter:
262
Note: To find out whether a file exists in expanded form, check the three-character extension on the desired name in the D: drive. If the extension contains an underscore character (_), the file is compressed on the D: drive. If the file exists on the D: drive in an expanded form, the proper three character extension appears in the filename. For example, for WIN32K.SYS, the compressed form is WIN32K.SY_. You can restore Windows NT server AS/400 device drivers that are accidentally destroyed. An expanded copy of all these device drivers is located in the D: drive in the directory: D:\386\$oem$. Copy the appropriate file from the D: drive back to the E: drive.
Windows NT operating system and registry To restore the E: drive, vary off the Integrated PC Server, restore storage space three (example NTTEST3) to the QUSRSYS library, and vary on the Integrated PC Server again. To complete the restore operation, enter the command:
User storage spaces If you save a storage space from /QFPNWSSTG directory, only restore the whole storage space. You cannot restore individual files from this backup.
File level restore After restoring the user storage spaces, check when they were saved. Restore any incremental backups from this point. Note: If you restore the configuration objects using the RSTCFG command, you must run the RSTCFG command before restoring any of the server storage spaces. When RSTCFG restores the configuration objects for the server storage spaces, it runs a similar process to the INSWNTSVR command that initializes the storage spaces on the AS/400 system. If existing server storage spaces are found, the restore of the object and the restore of the network server description both fail.
Restoring a domain controller Be careful when you restore either a Primary Domain Controller (PDC) or a Backup Domain Controller (BDC). Ensure that the domain database held on the server is synchronized with the other domain controllers. This applies particularly if the server you restore was previously the PDC that was replaced in that role by one of the BDCs in the domain. In the Integrated PC Server, normal Windows NT procedures apply. Be aware of any changes in your current setup of PDC or BDCs since the last backup.
Re-install the server Re-installing the server is done as a last resort only.
Chapter 15. Backup and Restore for Integrated File System Objects
263
For a complete description of backing up and restoring Windows NT, refer to AS/400--Implementing Windows NT on the Integrated PC Server , SG24-2164.
Tools and interfaces so users can easily create and share information Support for sending, receiving, and managing electronic mail An environment for creating and running Notes applications customized to suit business needs
Notes is designed for the client/server environment. A typical Notes environment consists of client (user) workstations that communicate with one or more Notes servers through a network. The server contains databases of information that workstation users can share and jointly update. One special database is a mailbox for electronic mail. Another special database is an address book that provides directory services.
C: drive When you create a network server description, you automatically create the C: drive as one of two server storage spaces. These drives have files, such as CONFIG.SYS and STARTUP.CMD, that are needed to boot the OS/2 Warp operating system for the network server. The storage space is named xxxx1, where xxxx is the name of the network server. For example, if the network server is named SERVER1, the storage space is named SERVER11. This is in library QUSRSYS. You cannot change the files in this storage area.
D: drive The D: drive contains the OS/2 Warp operating system that runs the Integrated PC Server. The AS/400 system creates this storage space when you install Integration Services for FSIOP. This storage space is named QFPBSYS2. This is in library QFPINT. You cannot change the files in this storage space.
E: drive When you create a network server description for the Integrated PC Server, you create the E: drive, which is the second of the two server storage spaces automatically created. Each network server has its own E: drive, which contains start-up and log files for the network server. The E: drive storage space is named xxxx3, where xxxx is the name of the network server for which this storage space was created. For example, if the
264
network server is named SERVER1, the storage space is named SERVER13. The object resides in library QUSRSYS. If you change a file in the storage space, save the storage space.
F: drive The F: drive contains programs and data that are used by OS/400 Integration of Lotus Notes. These programs and data are shared by all network servers using the Notes integration functions. This storage space is in the QUSRSYS library, and is named QYNASYS1. You cannot change the files in this storage area.
G: drive The G: drive stores Notes source images (compressed files) that you use later to set up either a Notes server or related Notes functions. This drive is divided into two segments that are identified as location 1 and location 2. This storage space is in the QUSRSYS library. The storage space is named QYNALNCD.
K: drive The K: drive contains Notes server files and Notes databases supported by the Notes server on the Integrated PC Server. The K: drive is the network server storage space created when you set up the Integrated PC Server to receive the Notes server. When creating this storage space, you have to specify the size and name. To add files to or remove files from the Notes server, you must access this storage space.
Note: These storage spaces are backed up when you save the QUSRSYS library using one of the following commands:
Chapter 15. Backup and Restore for Integrated File System Objects
265
266
Table 31. Table Showing Libraries and the Objects for Notes on IPCS
Object Location QUSRSYS Object Name SERVER11 Object Type Server Storage Space Object Content OS/2 boot files (start up); C: drive Save Command SAVOBJ OBJ(SERVER11) LIB(QUSRSYS) DEV(tape-device-name) OBJTYPE(*SVRSTG) or SAVLIB *ALLUSR or *NONSYS SAVOBJ OBJ(QFPBSYS2) LIB(QFPINT) DEV(tape-device-name) OBJTYPE(*SVRSTG) or SAVLIB *IBM or *NONSYS SAVOBJ OBJ(SERVER13) LIB(QUSRSYS) DEV(tape-device-name) OBJTYPE(*SVRSTG) or SAVLIB *ALLUSR or *NONSYS SAVOBJ OBJ(QYNASYS1) LIB(QUSRSYS) DEV(tape-device-name) OBJTYPE(*SVRSTG) or SAVLIB *ALLUSR or *NONSYS SAVOBJ OBJ(QYNALNCD) LIB(QUSRSYS) DEV(tape-device-name) OBJTYPE(*SVRSTG) or SAVLIB *ALLUSR or *NONSYS SAV DEV(/QSYS.LIB/tape-devicename.DEVD) OBJ(/QFPNWSSTG/SERVER100)
QFPBSYS2
OS/2 Warp operating system (shared drive); D: drive OS/2 setup and log files; E: drive
SERVER13
QUSRSYS
QYNASYS1
QUSRSYS
QYNALNCD
/QFPNWSSTG
Various
Note: Saving a network storage space saves the entire space as a single object. You need to vary off the Integrated PC Server (FSIOP).
Part One You can use standard AS/400 functions to back up and recover the configuration objects and storage spaces associated with the Integrated PC Server. These storage spaces include the network server storage space that contains the Notes server and Notes user databases. If you save the entire disk drive (which is the easiest and fastest approach to a disaster recovery plan), you cannot easily restore individual Notes databases or documents.
Part Two This part involves backing up the individual Notes databases, which is done by using the ADSTAR Distributed Storage Manager product (ADSM).
Chapter 15. Backup and Restore for Integrated File System Objects
267
This section focuses mainly on Part One. There are several AS/400 objects associated with Lotus Notes that need to be backed up using AS/400 functions. These objects include:
The network server description and its associated lines, controllers, and devices The network server storage spaces associated with the network server description The storage spaces shared by all Integrated PC Servers on the AS/400 system (also known as the server storage spaces) The libraries or products associated with the Notes installation
Option 21 from the SAVE menu (also known as a full system save) The Save System (SAVSYS) command, as described in Section 5.3, Omitting Objects on a SAVSYS Operation on page 53 The Save Configuration command, SAVCFG
None of these commands allow you to save a specific network server description. You can use the Retrieve Configuration Source (RTVCFGSRC) command to save the specific network server description. However, we do not recommend using RTVCFGSRC as it does not reflect the result of running the Install Network Server Application (INSNWSAPP) command. We recommend that you use any of the AS/400 methods described earlier. Recommendation To ensure a successful save of the network server description, vary off all network servers before you issue any save commands.
268
Chapter 15. Backup and Restore for Integrated File System Objects
269
WRKCFGSTS *NWS
Select option 1 to vary on each Integrated PC Server (FSIOP). Note: If you save the server storage space beneath QFPNWSSTG by using the command SAV OBJ(( / QFPNWSSTG/server-storage)), the QFPNWSSTG must be created first. Create /QFPNWSSTG by completing these steps: 1. To create the server storage, enter the command:
CRTNWSSTG
2. Enter: RST OBJ( / QFPNWSSTG/server-storage) 3. To add the storage link, enter the ADDNWSSTGL command. 4. To vary on the Integrated PC Server (FSIOP), type:
WRKCFGSTS *NWS
Select option 1 to vary on.
Performing an incremental backup of Notesxxx.NSF databases, and backing up only documents that changed since the previous incremental backup Restoring individual documents to a database that was previously backed up with the Notes backup agent
270
Restoring individual documents that were deleted from a Notes database Restoring an entire Notes database Performing an incremental restore function by merging changed documents into a previous full database restore
In the following discussion, we use the ADSM Lotus Notes backup agent. Note: Remember, the Lotus Notes backup agent can only save or restore Notes databases. If you do not have ADSM, you can also restore the K: drive to a different drive (for example, the L: drive) and issue the SBMNWSCMD CMD(XCOPY K: L: /s) command. You must use the ADSM OS/2 Client to save or restore other PC files.
The command line interface operates from the AS/400 SBMNWSCMD command, the Notes Scheduler, or the Notes remote server console. You can back up and restore from the command line interface. The workstation interface operates as an option in the Notes workspace on a workstation and is only used for restoring individual documents and databases. You can perform an incremental backup of a NSF database by using the Notes backup agent. The Notes backup agent contains a program, called DSMNOTES, that can be specified on the SBMNWSCMD command. The next example shows an incremental backup of a Notes database using the AS/400 command line interface with the Lotus Notes backup agent.
We use the Submit Network Server Command (SBMNWSCMD) to run the restore. Note that the ADSM command is DSMNOTES. Here is an example running of the DSMNOTES command using SBMNWSCMD:
Chapter 15. Backup and Restore for Integrated File System Objects
271
To restore individual documents to a Notes database, install the Notes agent on an OS/2 PC first. Remember that this Notes backup agent is for OS/2 clients. For more information on restoring these individual or group documents and deleted objects, see OS/400 Integration of Lotus Notes V4R1 , SC41-5431.
Providing access to data stored on a local or remote Integrated PC Server running Novell NetWare 4.10. It also offers access to data stored on stand-alone PC servers running Novell Netware 3.12 and 4.10. Providing access to NetWare Directory Services** (NDS**) objects. Providing the ability to dynamically mount NetWare file systems over any local mountable file system. Storing the data in stream files.
Note: The QNetWare file system is available only when NetWare Enhanced Integration for AS/400, OS/400 option 25, is installed on the system.
272
SAVOBJ OBJ(NTTEST1) LIB(QUSRSYS) DEV(tape-device-name) OBJTYPE(*SVRSTG) SAVLIB(*ALLUSR or *NONSYS) SAVLIB LIB(*IBM) or SAVLIB(*NONSYS)
D: d r i v e Q F B S Y S 2
OS/2 disk
E: d r i v e s e r v e r 3
SAVOBJ OBJ(NTTEST3) LIB(QUSRSYS) DEV(tape-device-name) OBJTYPE(*SVRSTG) SAVLIB(*ALLUSR or *NONSYS) SAVLIB LIB(*IBM) or SAVLIB(*NONSYS) S A V DEV( Q S Y S . L I B / t a p e - d e v i c e - n a m e . D E V D ) O B J ( / Q F P N W S S T G / N W R P L ) S A V DEV( Q S Y S . L I B / t a p e - d e v i c e - n a m e . D E V D ) O B J ( / Q F P N W S S T G / N W R P L ) SAVCFG
S e r v e r Storage Spaces Network Server Storage Spaces Network Server Storage Spaces AS/400
F: d r i v e Q F B S Y S 4
Netware programs
System
/QFPNWSSTG
User
QSYS
NWSD
Server description
C: drive The C: drive is automatically created when you issue the Create NetWork Server Description (CRTNWSD) command. The Install NetWare Server (INSNTWSVR) command calls the CRTNWSD command. This drive contains the data needed for booting OS/2, including CONFIG.SYS and the STARTUP.CMD files. The files on the C: drive are read-only format. The C: drive is named xxxxxx1, where xxxxxx is the name of the NWSD.
D: drive The D: drive holds the AS/400 copy of OS/2. It is created when installing the Integration Services for FSIOP feature. It holds the OS/2 kernel and other OS/2 programs used to start the Integrated PC Server. This drive is also in read-only format. The AS/400 object name of the D: drive is QFPBSYS2. It is located in the QFPINT library. QFPINT is the library for the Integration Services for the FSIOP feature. For any other language, the D: drive is located in a library named QSYSnnnn, where nnnn is the language version number.
E: drive The E: drive contains the SERVER.EXE and STARTUP.NCF files that are used to start the server. It is created automatically when you issue the CRTNWSD command, which is also prompted by the INSNTWSVR
Chapter 15. Backup and Restore for Integrated File System Objects
273
command. The E: drive is named server3 , where server is the name of the NWSD. This storage space resides in the QUSRSYS library. The E: drive is also used for some NetWare operations, such as installing licenses for a NetWare Loadable Module (NLM) or loading NetWare fixes. NetWare documentation refers to this drive as the local DOS drive.
F: drive This drive holds the AS/400 copy of NetWare and the NLMs that run NetWare on the Integrated PC Server. The F: drive is also a read-only formatted drive. OS/400 applies PTFs to this storage space that fixes both Integrated PC Server NLMs and the network server programs. The AS/400 name of this object is QFBSYS4, and it resides in the QFPINT library for the primary language. For non-US English languages, the library is QSYSnnnn, where nnnn is the language version number.
2. The network server storage spaces The network server storage spaces contain the system volume and other volumes that you create to contain your directories and files, including AUTOEXEC.NCF. These storage spaces are stored in the integrated files system directory /QFPNWSSTG. When you save data from this directory, you must save the entire storage space. Naturally, you cannot restore individual files and directories that were saved from this directory. Note that the NWSD must be varied off to save /QFPNWSSTG.
Generally, we divide the save and restore process into two distinct options:
Save everything Save specific objects associated with the NetWare components
274
Use option 21 from the SAVE Menu to save the entire system. This also saves the server and network server storage spaces and the Network Server Storage. The contents of the save media depend on whether a NWSD is varied on or off. Saving with the NWSD varied on enables you to save information from the QNetWare directories. The advantage of this is that you can restore individual files. Saving with the NWSD varied off enables you to save information within the /QFPNWSSTG directory. However, the individual files and directories cannot be restored from this save.
Use option 23 to save user data. Under the covers of this menu option are these CL commands:
SAVSECDTA SAVCFG SAVLIB LIB(*ALLUSR) ACCPTH(*YES) SAVDLO DLO(*ALL) FLR(*ANY) SAV DEV( / QSYS.LIB/tape-device-name.DEVD ) OBJ(( / * ) ( / QSYS.LIB *OMIT) ( / QDLS *OMIT) ( / QIBM/ProdData *OMIT) ( / QOpenSys/QIBM/ProdData *OMIT)) UPDHST(*YES)
This option provides a complete save scenario. Again, as in saving the entire system, varying off or on the NWSD during the save results in whether you are saving the /QFPNWSSTG or /QNetWare directories.
To save the NWSD: 1. Vary off the Integrated PC Server. 2. Enter the command:
SAVCFG DEV(tape-device-name)
Save the line, IPX descriptions, and IPX circuit entries The following summarizes the steps to retrieve this information into a source file. 1. Create a source into which you can place the information. Enter:
CRTSRCPF FILE(MYLIB/NTTESTSRC)
2. Retrieve the configuration source of your NWSD. Enter:
275
Note: In this example, BASELAN is the network server description name. 3. Retrieve the configuration source from your IPX description into a source file. Enter:
Work with IPX Circuits System: Type options, press Enter. 1=Add 2=Change 4=Remove 8=Display associated routes Circuit Name IPXCCT NEWIPXCCT 5=Display 9=Start Line Description ITSCTRN NTTEST01 SYSTEMXX
7=Display associated services 10=End Line Type *TRLAN *TRLAN Circuit Status Inactive Inactive
Opt 5
5. From this panel, choose option 5 to display the specific entries. Make note of the internal IPX number, frame type, and line to which they are connected. Refer to to the following as an example of these displays.
Display IPX Circuit Circuit name . . . . . . . . . Circuit status . . . . . . . . Network server description . . Line description . . . . . . . Line type . . . . . . . . . . IPX Network number . . . . . . Frametype . . . . . . . . . . Node address . . . . . . . . . Enable for NLSP . . . . . . . MAC channel for NLSP . . . . . Router priority for NLSP . . . Cost override for NLSP . . . . Default maximum datagram size Throughput . . . . . . . . . . Delay . . . . . . . . . . . . Automatic start . . . . . . . RIP: State . . . . . . . . . . . Update interval . . . . . . Age multiplier . . . . . . . SAP: State . . . . . . . . . . . Update interval . . . . . . Age multiplier . . . . . . .
Figure 85. Display IPX Circuit
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
: : : : : : : : : : : : : : : :
IPXCCT Inactive BASELAN ITSCTRN *TRLAN 429F2022 *SSAP 400000002627 *YES *BROADCAST 44 *CALC *LIND *CALC *CALC *YES *AUTO 60 4 *AUTO 60 4
. . . . . : . . . . . : . . . . . : . . . . . : . . . . . : . . . . . :
276
WRKMBRPDM FILE(MYLIB/XXXX)
This allows the files to be compiled and run. 7. Add the ADDIPXCCT statements into the IPSRC source file. This automatically creates the IPX circuit entry when the command is run.
Columns . . . : 1 71 Browse hlaust/QCLSRC SEU==> IPSRC FMT ** ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 *************** Beginning of data ************************************* 0001.00 /* BASELAN 12/14/97 17:45:06 */ 0002.00 CRTNWSD NWSD(BASELAN) RSRCNAME(CC09) ONLINE(*YES) VRYWAIT(*NOWAIT) + 0003.00 LNGVER(2924) NTB(QNTBIBM) TEXT( IPCS - Base Lan Support) + 0004.00 CNTRYCODE(1) CODEPAGE(850) TYPE(*BASE) MSGQ(*JOBLOG) + 0005.00 CFGFILE(*NONE) STRNTB(*YES) STRTCP(*NO) TCPPORTCFG(*NONE) + 0006.00 TCPRTE(*NONE) TCPHOSTNAM(*NWSD) TCPDMNNAME(*SYS) + 0007.00 TCPNAMSVR(*SYS) SYNCTIME(*YES) 0008.00 CRTLINTRN LIND(ITSCTRN) RSRCNAME(*NWSD) VRYWAIT(*NOWAIT) MAXCTL(40) + 0009.00 NWS(BASELAN 1) LINESPEED(16M) DUPLEX(*HALF) + 0010.00 MAXFRAME(1994) ACTLANMGR(*YES) TRNLOGLVL(*OFF) + 0011.00 TRNMGRMODE(*OBSERVING) LOGCFGCHG(*LOG) TRNINFBCN(*YES) + 0012.00 ADPTADR(400000002027) EXCHID(056FD260) + 0013.00 SSAP((04 *MAXFRAME *SNA)(12 *MAXFRAME *NONSNA)(AA + 0014.00 *MAXFRAME *NONSNA)(C8 *MAXFRAME *HPR)) ELYTKNRLS(*NO) + 0015.00 THRESHOLD(*OFF) LINKSPEED(16M) COSTCNN(0) COSTBYTE(0) + 0016.00 SECURITY(*NONSECURE) PRPDLY(*LAN) USRDFN1(128) + 0017.00 USRDFN2(128) USRDFN3(128) AUTOCRTCTL(*YES) + 0018.00 AUTODLTCTL(1440) CMNRCYLMT(2 5) + 0019.00 TEXT( Description for ITSC Token Ring Line ) 0020.00 CRTCTLNET CTLD(ITSCTNET00) ONLINE(*NO) LINE(ITSCTRN) CNNRSPTMR(170) + 0021.00 TEXT( CREATED BY AUTO-CONFIGURATION ) 0022.00 CRTDEVNET DEVD(ITSCTIPX00) TYPE(*IPX) ONLINE(*NO) CTL(ITSCTNET00) + 0023.00 TEXT( CREATED BY AUTO-CONFIGURATION ) 0024.00 CRTDEVNET DEVD(ITSCTTCP00) TYPE(*TCPIP) ONLINE(*NO) CTL(ITSCTNET00) + 0025.00 TEXT( CREATED BY AUTO-CONFIGURATION ) 0026.00 CRTDEVNET DEVD(ITSCTUSR00) TYPE(*USRDFN) ONLINE(*NO) + 0027.00 CTL(ITSCTNET00) TEXT( CREATED BY AUTO-CONFIGURATION ) 0028.00 ADDIPXCCT CCTNAME(IPXCCT) LIND(ITSCTRN) IPXNETNBR(429F2001) + 0029.00 FRAMETYPE(*SSAP) ****************** End of data ****************************************
F11=Toggle
F12=Cancel
8. Compile the two source members in the normal way. Call the compiled CL program NWOBJ and IPOBJ respectively. Note: You can also use the SAVOBJ command to save the IPX circuit entries without retrieving the configuration source into a source file. To save IPX circuit entries, enter:
Chapter 15. Backup and Restore for Integrated File System Objects
The details of the restore operation are discussed in Section 15.8.11.1, Restoring the NetWare Configuration on page 282, of this redbook. Suffice to say, there are two methods of recovery. The first uses the INSNTWSVR, and the second uses the retrieve configuration method.
NetWare server configuration (C: and E: drives) Integration for NetWare Licensed programs (D: and F: drives)
278
SYSTEMXX 14:31:50
Type options, press Enter. 1=Vary on 2=Vary off 5=Work with job 8=Work with description 9=Display mode status 13=Work with APPN status... Opt Description BASELAN ITSCTRN SYSTEMXX SYSTEMXX SYSTEMYY SYSTEMYY SYSTEMZZ SYSTEMZZ ITSCTNET00 Status ACTIVE ACTIVE ACTIVE ACTIVE ACTIVE ACTIVE ACTIVE ACTIVE ACTIVE Type *NWS *LIN *CTL *DEV *CTL *DEV *CTL *DEV *CTL
Chapter 15. Backup and Restore for Integrated File System Objects
279
The previous structure represents the /QNetWare directory structure. It has multiple distinct file systems. This structure represents Novell NetWare servers and volumes in the format:
/QNetWare/SERVER.SVR/VOLUME
Note: When a volume under a server is accessed through the integrated file system menus, commands, or APIs, the root directory of the NetWare volume is automatically mounted on the VOLUME directory under /QNetWare. For a discussion on mounting, see Section 15.3.1, Mounting User-Defined File System on page 231. QNetWare represents NDS trees on the network in the format:
/QNetWare/CORP_TREE.TRE/USA.C/ORG.O/ORG.UNIT.OU/SVR1_VOL.CN
280
The extension .TRE, .C, .O, .OU, and .CN represent NDS trees, countries, organizations, organizational units, and common names, respectively. Note: If a Novell NetWare volume is accessed though the NDS path or an alias to a volume object, its root directory is also automatically mounted on the NDS object. For a discussion on mounting, see Section 15.3.1, Mounting User-Defined File System on page 231. Use the integrated file system SAV command to save NetWare objects in the QNetWare directory. The objects you can save include: volumes, directories, files, or the entire QNetWare directory and resources in SAV.RST. Follow these steps to save NetWare data through /QNetWare: 1. Create a save file to save NetWare objects. Enter:
CRTSAVF FILE(MYLIB/NETSAVE1)
2. Start an authenticated connection to the NetWare server. Enter:
NetWare 3.12 -- SMDR.NLM, TSA312.NLM NetWare 4.1 -- SMDR.NLM, TSANDS.NLM, TSA410(or TSA411).NLM
The *SAVRST connection must use the same user name and password used to start the *USER connection. 3. Make sure that you have a *SAVRST connection to the server before you save or restore NetWare objects. 4. To save the volume MYVOL on NetWare server ABC.SVR, enter:
Chapter 15. Backup and Restore for Integrated File System Objects
281
RSTUSRPRF RSTCFG OBJ(*ALL) RSTLIB SAVLIB(*NONSYS) RSTDLO DLO(*ALL) SAVFLR(*ANY) RST OBJ(( / *) ( / QSYS.LIB *OMIT) ( / QDLS *OMIT)) RSTAUT USRPRF(*ALL)
If you save using option 23, use the equivalent restore option to restore. This is option 23 from the RESTORE menu, which initiates the CL commands:
RSTUSRPRF USRPRF(*ALL) RSTCFG OBJ(*ALL) RSTLIB SAVLIB(*ALLUSR) RSTDLO DLO(*ALL) SAVFLR(*ANY) RST OBJ(( / * ) ( / QSYS.LIB *OMIT) ( / QDLS *OMIT) ( / QIBM/ProdData *OMIT) ( / QOpenSys/QIBM/ProdData *OMIT)) RSTAUT USRPRF(*ALL)
Restoring the NWSD To restore the NWSD issue, enter the command:
There are two methods to restore these configurations. The first is the retrieve configuration method, and the second is the INSNTWSVR method.
Recovering using the RETRIEVE method: 1. Ensure that you do not have a network server description, line description, IPX description, or IPX circuits with the server name. 2. Run the CL program that you created during the save. Refer to Section 15.8.7.1, Saving the NetWare Configuration Only on page 275. Run the CALL NWOBJ program that you created in that section. 3. Run the CL program that creates the network server description, line description, and links to the storage spaces. Run the CALL IPOBJ the program that you created in Section 15.8.7.1, Saving the NetWare Configuration Only on page 275. 4. Make sure to include the ADDIPXCCT statements into the network source file.
282
INSNTWSVR
This recreates your NetWare server configuration. Note: Be sure that you do not have a network server description, line description, IPX description, or IPX circuits with the server name. 2. Specify VRYCFG(*NO) on the INSNTWSVR command. The Install NetWare Server (INSNTWSVR) display is shown as follows.
Install NetWare Server (INSNTWSVR) Type choices, press Enter. Network server description . . . Resource name . . . . . . . . . Port 1: Line type . . . . . . . . . . Local adapter address . . . . IPX circuit information: IPX network number . . . . . . Frame type . . . . . . . . . . + for more values Port 2: Line type . . . . . . . . . . Local adapter address . . . . IPX circuit information: IPX network number . . . . . . Frame type . . . . . . . . . . Copy NetWare source . . . . . . Vary on configuration . . . . . . IPX internal network number . . Server message queue . . . . . . Library . . . . . . . . . . . Network server storage space: Name . . . . . . . . . . . . . Size . . . . . . . . . . . . . FSIOP language version . . . . . Country code . . . . . . . . . . Code page . . . . . . . . . . . Name, *CPYONLY Name *ETH10M, *ETH100M, *TRN4M... 020000000000-7FFFFFFFFFFF 00000001-FFFFFFFD *SSAP, *SNAP, *ETHV2, *ETHNTW
*SSAP
*ETH10M, *ETH100M, *TRN4M... 020000000000-7FFFFFFFFFFF 00000001-FFFFFFFD *SSAP, *SNAP, *ETHV2, *ETHNTW *YES, *NO *YES, *NO 00000001-FFFFFFFE, *RANDOM Name, *JOBLOG, *NONE Name, *LIBL, *CURLIB Name, *NWSD 100-8000 *PRIMARY, 2963, 2966, 2980... *LNGVER, 001, 002, 031, 033... *LNGVER, 437, 850, 852, 857...
3. Specify a replacement name for the network server storage area with a m i n u m u m size. Enter:
Chapter 15. Backup and Restore for Integrated File System Objects
283
284
or
Chapter 15. Backup and Restore for Integrated File System Objects
285
data cached in memory. The Licensed Internal Code involved in save operations knows about data changed in AS/400 memory, but not about data changed in memory on an Integrated PC Server. Even if the lock is not there, the resulting saved storage space may, or may not, be usable if it is restored. Attention If you perform your complete save of the directories with the Integrated PC Server (FSIOP) varied off, your Windows NT is restored. You need to perform the following steps to complete the recovery of these products: 1. To add the links for the server descriptions, type the following for each server description:
WRKCFGSTS *NWS
Select option 1 to vary on each Integrated PC Server (FSIOP). Note: If you save the server storage space beneath QFPNWSSTG by using the command SAV OBJ( / QFPNWSSTG/server-storage), the QFPNWSSTG must be created first. To create QFPNWSSTG, perform these steps: 1. To create the server storage, use the CRTNWSSTG command. 2. Enter: RST OBJ( / QFPNWSSTG/server-storage) 3. Add the storage link by using the ADDNWSSTGL command. 4. To vary on the Integrated PC Server (FSIOP), type: WRKCFGSTS *NWS. Select option 1 to vary on.
Another useful reminder is to make sure that you specify the SYSTEM(*ALL) or the SYSTEM(*RMT) parameter in the SAV command for saving data on the remote system. We recommend that you put your system in a restricted state when saving either the /QFPNWSSTG directory or /QNetWare directory. It does not vary off the NetWare server which is still usable. However, since the NetWare server is active, you cannot restore the storage spaces associated with the Integrated PC Server. This includes the SYS: and any other volumes.
286
Saving just the physical files and restoring them causes problems. The logical files used by different functions to access the data stored in the physical files point to a renamed physical file if only a physical file is restored. The restore database functions create the renamed physical file to maintain the indexes to the logical files. Another reason to save and restore the configuration files as a group is that there are some dependencies between some of the files. Saving and restoring only a subset of the files can cause problems, especially when activating IPX processing. To save all the IPX files, enter:
15.9 OS/2 Warp Server for AS/400 (Formerly Known as LAN Server for OS/400)
Note: OS/2 Warp Server for AS/400 was known as LAN Server for OS/400 prior to V4R1. IBM OS/2 Warp Server for AS/400 is a client/server product that uses the Integrated PC Server (the FSIOP). It also works with PC software called LAN Requesters to provide fast file serving and print serving to your AS/400 system. In this regard, the IPCS is a piece of hardware, an I/O processor that you attach to your AS/400 system. It was originally known as the File Server IO processor (FSIOP). OS/2 Warp Server for AS/400 provides the interface to manage the /QLanSrv file system when the Licensed Program Product is installed. Information stored by LAN Server for OS/400 appears in several different directories on the system.
/QFPNWSSTG
Chapter 15. Backup and Restore for Integrated File System Objects
287
This is the physical storage of LAN Server for OS/400 information. In the /QFPNWSSTG directory, each logical PC drive appears as one large object to the AS/400 system. The virtual drives are the network server storage spaces. Use the directories with the /QFPNWSSTG to save entire virtual drives. Individual files and directories cannot be restored from saved copies of the directories within the /QFPNWSSTG directory.
/QSYS.LIB/QXZ1.LIB This directory holds the licensed program information that does not change. It is saved using SAVLIB (*IBM) or SAVLIB (*NONSYS). The /QSYS.LIB/QXZ1.LIB directory holds three objects:
/QSYS.LIB/QUSRSYS.LIB This directory holds copies of server storage spaces. QUSRSYS library is saved when you specify *ALLUSR or *NONSYS for the SAVLIB command.
Library QSYS29nn (29nn is a language number) This holds the secondary language licensed system code. This library holds the national language version of the code stored in QXZ1. It contains two objects:
QFPHSYS2.SVRSTG QFPHSYS3.SVRSTG
Note: QFPHSYS1.SVRSTG does not have an NLS version.
QLanSrvSr This directory is a temporary storage area for files that are in the process of being saved to backup media.
288
Note: The name change from LAN Server for OS/400 to OS/2 Warp Server for AS/400 occurred in V4R1. The product ID 576n-XZ1 remained the same on V4R2 as on V4R1 since the product was not refreshed to a V4R2 level. LAN Server for OS/400 was discontinued in V4R1. The LAN Server for OS/400 product does not run on the IPCS-3, which was introduced in V3R7. It only runs on the IPCS-1. OS/2 Warp Server for AS/400 runs on all IOP hardware (IPCS and FSIOAs).
Chapter 15. Backup and Restore for Integrated File System Objects
289
Note: The IPCS-1 is a 6506. The IPCS-3 is a 6616, which was introduced in V3R7. OS/2 Warp Server does not run on releases prior to V4R1.
15.9.2 Backup and Recovery for OS/2 Warp Server for AS/400
The save and restore of the OS/2 Warp Server for AS/400 file system data is done with integrated file system commands. The integrated file system commands SAV and RST, allow you to specify an object name using the integrated file system object naming convention. For more information about integrated file system commands, see Section 15.1, The Integrated File System on page 221. The integrated file system design allows you to save files from both the local IPCS and the remote servers, whether they are IPCS or OS/2 Warp Server for AS/400 systems. This flexibility makes the AS/400 system a powerful component in the domain because you can use it to save the server data from any LAN server system in the domain.
Server storage space These storage spaces hold an entire File Access Translator (FAT) disk volume that is created when you create a network server description and are used by OS/2 Warp Server for AS/400. Server storage spaces contain licensed programs and system files, such as OS/2 code, LAN Server code, IPCS device drivers, IPCS administration applications, CONFIG.SYS, NET.ACC, SWAPPER.DAT, and dump files. We use OS/400 SAVOBJ/RSTOBJ or SAVLIB/RSTLIB commands to perform save and restore for server storage spaces. This is because storage spaces are stored in libraries and not in the integrated file system structure.
Network server storage space These storage spaces are usually created and used by the OS/2 Warp Server for AS/400 administrator. They also can be created by users. Network server storage spaces hold the directories and files that make up the entire HPFS disk volume. In this context, the directories within the /QFPNWSSTG are called the network storage spaces.
Note: Throughout this section the term storage space refers to network server storage spaces, unless otherwise indicated.
SAVSYS authority This is required when saving using the /QFPNWSSTG directory.
ALLOBJ authority This is required when saving /QLanSrv objects and their authority information if both of the following conditions are met: You are a defined user in the LAN domain. The domain controller is a FSIOP (IPCS) on the local AS/400 system.
290
Authority information for OS/2 Warp Server for AS/400 objects is stored within the objects, not with the user profiles that have authority. The SAVSECDTA and SAVSYS commands do not save authority information for OS/2 Warp Server for AS/400 objects. The authority information is saved when you save the objects, if you have sufficient authority. If not, the object is saved without the authority information.
LAN administrator authority To save objects from the /QLanSrv directory, you need LAN administrator authority. This ensures that the file access control information is saved. To do this, use the command:
15.9.6 Tips for Saving OS/2 Warp Server for AS/400 on RISC Machines
You can use option 21 or 23 from the SAVE menu or Option 11 from the BACKUP menu to save the OS/2 Warp Server for AS/400 environment. The system attempts to save the directories within the QLanSrv directory or the directories within the QFPNWSSTG directory. Note the following:
If the network server description is varied on, the save contains /QLanSrv directories associated with the Integrated PC Server, also known as the FSIOP. If the network server description is varied off, the save contains directories within the /QFPNWSSTG directory. Individual files cannot be restored from a saved copy of a directory within the /QFPNWSSTG directory. If a faster save is required, you need to vary the Integrated PC Server off. From a performance standpoint, saving with the IPCS varied off is dramatically faster. You cannot restore individual files or directories from this save. Conversely a slow save results from leaving the Integrated PC Server varied on.
Chapter 15. Backup and Restore for Integrated File System Objects
291
We recommend that you put objects that change frequently (such as files) in one or two subdirectories in /QLanSrv. Save these directories frequently with the Integrated PC Server varied on. In addition, consider partitioning your volatile data (data that changes frequently) and static data (such as program data that changes less frequently) on separate network drives. For static data, save with the Integrated PC Server varied off. For volatile data, if you need to restore at the file or directory level, you need to save with the Integrated PC Server varied on. If you need to restore at the file or directory level, but find that varying on the Integrated PC Server does not provide the required performance, consider these steps: 1. Save with the Integrated PC Server varied off. 2. When a restore is required, create a temporary network drive in /QLanSrv, and restore into the temporary network drive. 3. Selectively restore the required files from the temporary network drive. 4. Delete the temporary drive when complete.
When you save a directory within the /QFPNWSSTG directory, specify SUBTREE(*ALL), which is the default. These directories contain files that must be saved and restored as a group. Starting with V3R7 for RISC machines and V3R2 for CISC machines, there is an important change in the way the CHGPERIOD(*LASTSAVE) parameter on the SAV command works. When specifying the *LASTSAVE value, objects are saved that changed since the last time they were saved with the SAV command specified as UPDHST(*YES). It is important to note that prior to V3R7 and V3R2, using OS/2 Warp Server for AS/400 and saving with CHGPERIOD(*LASTSAVE) always completely saved OS/2 Warp Server for AS/400. This means all objects were saved for OS/2 Warp Server for AS/400, not just the changed objects.
15.9.7 Examples of Saving Specific OS/2 Warp Server for AS/400 Files
This section provides examples of saving objects within the OS/2 Warp Server for AS/400, including objects with multiple names, the domain controller database, specific objects, a directory, and network storage spaces.
15.9.7.1 Saving OS/2 Warp Server for AS/400 (LAN Server/400) Objects with Multiple Names
When the OS/2 Warp Server for AS/400 server objects have multiple names, the additional names are called aliases and netnames. Netnames are temporary and are defined during a session. Definitions for aliases are stored in the OS/2 Warp Server for AS/400 domain controller database (DCDB). This is similar to symbolic links in the QOpenSys file system. When varying on the first network server description in the domain, the OS/2 Warp Server program creates directories for each of the aliases that are defined. When you vary on a network server description or a remote OS/2 Warp Server, the OS/2 Warp Server program creates directories for each of the netnames that is currently defined. Objects are marked to ensure that you save the contents of an object only once, even if the object has only one name. If you save the entire /QLanSrv directory, you are saving each file and directory once even if you have aliases. To save
292
the nicknames (aliases) that have been set up on your system, you must save the DCDB. See Section 15.9.7.2, Saving the Domain Controller Database (DCDB) on page 293.
The DCDB replicator service to replicate the DCDB to a backup domain controller Save the server storage space that contains the DCDB directories
Another way of viewing this is to use the AS/400 Operations Navigator, as shown in Figure 91 on page 294.
Chapter 15. Backup and Restore for Integrated File System Objects
293
Figure 92 on page 295 shows the /QFPNWSSTG storage space as seen by the Operations Navigator.
294
WRKCFGSTS *NWS
Select option 1 to vary on each IPCS.
CRTNWSSTG NWSSTG(ABCD)
3. Add the storage links by using the Add Server Storage Link (ADDNWSSTGL) command. Enter:
ADDNWSSTGL
4. Vary on the IPCS using the command:
WRKCFGSTS *NWS
Select option 1.
Chapter 15. Backup and Restore for Integrated File System Objects
295
5. Restore the LAN Server/400 data using the Restore command (RST).
RST( / QLANSRv )
Press Enter.
296
The following table summarizes various save and restore options for the OS/2 Warp Server for AS/400 product.
Table 38. Summary of Save and Restore Options
Objects Saved Save Command Status IPCS Varied O n or Off Off Restricted State AS/400 Y e s or No Yes Remote Save Y e s or No
Storage spaces located in /QFPNWSSTG and libraries QUSRSYS, QXZ1, and any national language version of QXZ1 used for disaster recovery for an entire system. Storage spaces of a specific network server located in /QFPNWSSTG on the local AS/400 system. Files and Directories located in /QLanSrv used for disaster recovery and file restoration. Files and directories located in /QLanSrv, changed or created within a date range. Used as incremental backup. Files and directories located in /QLanSrv of a remote system, changed or created within a date range. Used as incremental backup. Specific directories and files on a local system.
No
SAV DEV( / QSYS.LIB/tape-device-name.DEVD) OBJ( / QFPNWSSTG/DISK1) SAV DEV( / QSYS.LIB/tape-device-name.DEVD) OBJ(( / *) (/QSYS.LIB *OMIT) ( / QDLS *OMIT)) or SAVE menu Option 21 SAV DEV( / QSYS.LIB) OBJ( / QLanSrv/*) CHGPERIOD(mm/dd/yy) SAV DEV( / QSYS.LIB/tape-device-name.DEVD) OBJ(( / QLanSrv/*) (/QSYS.LIB *OMIT) ( / QDLS *OMIT)) CHGPERIOD(mm/dd/yy) SYSTEM(*RMT) SAV DEV( / QSYS.LIB/tape-device-name.DEVD) OBJ(( / QLanSrv/NWS/network-server-descriptionn a m e / D S K / K / f i l e ) (/QSYS.LIB *OMIT) ( / QDLS *OMIT)) SAV DEV( / QSYS.LIB/tape-device-name.DEVD) OBJ(( / QLanSrv/NWS/SRVOS2A/DSK/D/files) SYSTEM(*RMT) ( / QSYS.LIB *OMIT) ( / QDLS *OMIT)) SAVLIB *NONSYS or SAVLIB *IBM SAVOBJ OBJ(network-server-description-name3) LIB(QUSRSYS) OBJTYPE(*SVRSTG)
Off
N/A
No
On
Yes
No
On
Yes
No
On
No
Yes
On
Yes
No
On
No
Yes
OS/2 Warp Server product library Storage space containing the DCDB. The name of the object is the name of the server followed by a three.
N/A Off
Yes N/A
N/A N/A
15.9.9 PC Client
With the save and restore functions of OS/2 Warp Server for AS/400 discussed in Section 17.8, you can manage the backup and recovery of data stored on LAN Server systems. Managing the backup and recovery of other workstations in your organization requires other techniques for which OS/2 Warp Server for AS/400 was not designed. We recommend that you use another product called ADSTAR* Distributed Storage Manager (ADSM) to help you manage your workstations. See Section 9.1, ADSTAR Distributed Storage Manager/400 (ADSM/400) on page 109, for more information.
15.10 Firewall
The firewall is made up of several components, all of which must be saved. Backup and recovery is important even for your firewall. It provides a means to restore a configuration in the event of system failure or other catastrophic event. Integrate the strategy used with the firewall into your existing backup and recovery and disaster recovery plan.
Chapter 15. Backup and Restore for Integrated File System Objects
297
There are many objects, which taken together, make up the firewall. These objects are stored in AS/400 libraries, integrated file system directories, and network server storage spaces.
Table 39. Firewall ObjectsDescription and Location
Object Name Library or Integrated File System Directory QSYS QSYS QSYS QSYS QSYS Object Type Description
Network server description for the firewall Line description for IPCS *INTERNAL port Line description for IPCS port 1 Line description for IPCS port 2 Controller used by the AS/400 TCP/IP to communicate with the firewall through the *INTERNAL port Device used by the AS/400 TCP/IP to communicate with the firewall through the *INTERNAL port IPCS C: driveOS/2 boot disk IPCS D: driveOS/2 disk IPCS E: driveTCP/IP configuration and firewall base configuration IPCS F: drivefirewall programs IPCS K: drivefirewall logs, queued mail, and cache
QSYS QUSRSYS QFPINT QUSRSYS QIPSINT Integrated File System Directory /QFPNWSSTG
*DEVD *SVRSTG *SVRSTG *SVRSTG *SVRSTG network ser ver storage space
298
SAVCFG DEV(tape-device-name)
In the previous example, firesave is the save file library and commobj is the save file. Note: After saving the firewall communication configuration objects, you must save the firewall configuration.
Chapter 15. Backup and Restore for Integrated File System Objects
299
300
The restore of the firewall information must be done in a particular order because the server spaces must link to the network server description when the NWSD is restored to the system. If the server spaces are missing or damaged, the links cannot complete correctly. We recommend following the order presented in this section to restore your firewall environment. To restore the firewall, perform these tasks: 1. 2. 3. 4. 5. 6. Restore the firewall operational data. Restore the firewall communications configuration objects. Restore the firewall configuration data. Add the AS/400 TCP/IP definitions required for the firewall communication. Vary on the network server description. Start the firewall application.
Chapter 15. Backup and Restore for Integrated File System Objects
301
Note: We assume that you successfully saved the firewall communication configuration objects as described in Section 15.10.1.5, Saving Firewall Communication Configuration Objects on page 299. Your next step is to restore the firewall configuration objects.
15.10.3 Saving and Restoring the Filter Rules Using the COPY Command
There are other specific objects, such as filter rules, stored on the IPCS. These are well documented in the AS/400 Firewall redbook referenced in Section 15.10.2.3, Restoring the Firewall Configuration Data. We do not discuss the save and restore of these objects in this redbook.
302
Backed up for off-site storage Secured against unauthorized access Designed for efficient and effective recovery
Note: System Managed Access Path Protection (SMAPP) is a database protection technique covered in Section 4.4, System Managed Access Path Protection on page 38. The most important activity to protect databases is the design and planning involved to put everything back when recovery becomes necessary. This chapter outlines the following planning and design considerations for database protection:
Database journaling Journaling of access paths Saving access paths Recovering access paths System jobs affecting database availability DB2 Multi-system Protection
Save and restore just one file Save and restore the whole database Perform a partial recovery Recover to a point-in-time Use referential integrity to link several files together in a network
303
With this flexibility comes additional considerations to ensure the database is properly saved. The remainder of this chapter addresses these issues.
ANZDBF WRKASP
The ANZDBF command is described in Section 16.3, ANZDBF Command. The WRKASP command is described in Chapter 9, Tools for Automating System Management Functions on page 109.
304
Analyze Database Files (ANZDBF) Type choices, press Enter. Application libraries . . . . . > EDALIB + for more values Job name . . . . . . . . . . . . ANZDBF Job description . . . . . . . . QPFRJOBD Library . . . . . . . . . . . *LIBL
Figure 93. Analyze Database Files (ANZDBF)
After entering EDALIB, a list of files appears, each with their own list of dependent files, as shown in Figure 94.
12/08/97 13:49:02 Type P=Phy L=Lgl File ----- ---------P ADHOC00015 CONV_00001 CUST_00001 CUST_00004 CUSTO00001 EIS_E00001 EIS_F00001 EIS_STATUS
Database Relation Cross Reference Depnd Count ----1 2 2 2 2 1 1 2 2 Dependent File ---------ADHOC00016 CUST_00002 CUST_00003 CUST_00005 CUST_00006 CUSTO00002 EIS_E00002 EIS_F00002 EIS_F00003 Dependent Library ---------SYSCODW SYSCODW SYSCODW SYSCODW SYSCODW SYSCODW SYSCODW SYSCODW SYSCODW Depncy Type D/A -----D D D D D D D D D
Library ----------
A D in the Depncy Type D/A column indicates a file with data dependencies. An A indicates a file with an access path shared with a second access path. The data collected by running ANZDBF can be further analyzed with the ANZDBFKEY command. The ANZDBFKEY command produces an Analysis of Keys for Database report, as shown in Figure 95 and a Key Fields and Select/Omit Listing report as shown in Figure 96 on page 306. These reports help you understand how your database network is organized.
12/08/97 14:02:58 Analysis of Keys for Database Physical File OPNBB1PF Library SYSCODW Logical Maint No. File Library Format * Key Fields Major to Minor * Keys S/O OPNBB00004 SYSCODW OPNBB1PF I WKNO AYR CUNO 3 OPNBB00005 SYSCODW OPNBB1PF I ORIN LN03 ITEM 3 OPNBB00001 SYSCODW OPNBB1PF I ORIN LN03 2 OPNBB00002 SYSCODW OPNBB1PF I ITEM CPVN 2 OPNBB00003 SYSCODW OPNBB1PF I TSDT CUNO 2
305
12/08/97 14:02:58 File Library PHY OPNBB1PF SYSCODW Based on File Library LGL OPNBB00004 SYSCODW Based on OPNBB1PF SYSCODW
Key Fields and Select/Omit Listing Order FIFO Format Order FIFO Format OPNBB1PF Path Type Unique Maintenance ARRIVAL Key Field Seq Sign Zone Alt Path Type Unique Maintenance KEYED N *IMMED Key Field Seq Sign Zone Alt WKNO SIGN AYR SIGN CUNO Path Type Unique Maintenance KEYED Y *IMMED Key Field Seq Sign Zone Alt ORIN LN03 SIGN ITEM
These reports show file dependencies and key field characteristics that are useful for system administrators to understand the database network.
306
An exclusive-no-read lock is held on the physical file when adding a trigger to that file. All logical files built over the physical file are also held with an exclusive-no-read lock. Once a trigger is added to the physical file, all members of that specified file are affected by the trigger. When a change operation occurs on a member of the specified file (as an update, insert, or delete operation), the trigger program is called. The trigger program is also called when a change operation occurs on either a dependent logical file or a Structured Query Language (SQL) view that is built over the physical file. Save and restore functions do not search a database file for a trigger program during the time of the save nor restore. It is the users responsibility to manage the program. During run time, if the trigger program has not been restored, an error results that halts processing of the program. The trigger program name, the physical file name, and the trigger event information is returned. If the trigger program is restored to a different library, the change operation fails because the program is not found in the original library. An error results that halts processing of the restore. The trigger program name, the physical file name, and the trigger event information is returned in the error message. There are two ways to recover in this situation:
Restore the trigger program to the library in which it originally resided. Create a new trigger program with the same name in the new library.
Find more information on trigger programs in DB2 for AS/400 Database Programming , SC41-5701, and Database2/400 Advanced Database Functions , SG24-4249.
307
/******************************************************************/ /* - Restore RDB Entries from output file created with: - */ /* - DSPRDBDIRE OUTPUT(*OUTFILE) OUTFILE(SLCRDB) - */ /* from a V4R2 or later level of OS/400 - */ /******************************************************************/ PGM DCLF FILE(SLCRDB) /* See prolog concerning this */ /* Declare Entry Types Variables to Compare with &RWTYPE DCL &LOCAL *CHAR 1 DCL &SNA *CHAR 1 DCL &IP *CHAR 1 DCL &ARD *CHAR 1 DCL &ARDSNA *CHAR 1 DCL &ARDIP *CHAR 1 /* Initialize Entry Type Variables to Assigned Values CHGVAR &LOCAL 0 /* Local RDB (one per system) CHGVAR &SNA 1 /* APPC entry (no ARD pgm) CHGVAR &IP 2 /* TCP/IP entry (no ARD pgm) CHGVAR &ARD 3 /* ARD pgm w/o comm parms CHGVAR &ARDSNA 4 /* ARD pgm with APPC parms CHGVAR &ARDIP 5 /* ARD pgm with TCP/IP parms RMVRDBDIRE RDB(*ALL) /* Clear out directory */
*/ */ */ */ */ */ */ */
NEXTENT: /* Start of processing loop */ RCVF /* Get a directory entry */ MONMSG MSGID(CPF0864) EXEC(DO) /* End of file processing */ QSYS/RCVMSG PGMQ(*SAME (*)) MSGTYPE(*EXCP) RMV(*YES) MSGQ(*PGMQ) GOTO CMDLBL(LASTENT) ENDDO /* Process entry based on type code */ IF (&RWTYPE = &LOCAL) THEN( + QSYS/ADDRDBDIRE RDB(&RWRDB) RMTLOCNAME(&RWRLOC) TEXT(&RWTEXT) ) ELSE IF (&RWTYPE = &SNA) THEN( + QSYS/ADDRDBDIRE RDB(&RWRDB) RMTLOCNAME(&RWRLOC) TEXT(&RWTEXT) + DEV(&RWDEV) LCLLOCNAME(&RWLLOC) + RMTNETID(&RWNTID) MODE(&RWMODE) TNSPGM(&RWTPN) ) ELSE IF (&RWTYPE = &IP) THEN( + QSYS/ADDRDBDIRE RDB(&RWRDB) RMTLOCNAME(&RWSLOC *IP) + TEXT(&RWTEXT) PORT(&RWPORT) ) ELSE IF (&RWTYPE = &ARD) THEN( + QSYS/ADDRDBDIRE RDB(&RWRDB) RMTLOCNAME(&RWRLOC) TEXT(&RWTEXT) + ARDPGM(&RWDLIB/&RWDPGM) ) ELSE IF (&RWTYPE = &ARDSNA) THEN( + QSYS/ADDRDBDIRE RDB(&RWRDB) RMTLOCNAME(&RWRLOC) TEXT(&RWTEXT) + DEV(&RWDEV) LCLLOCNAME(&RWLLOC) + RMTNETID(&RWNTID) MODE(&RWMODE) TNSPGM(&RWTPN) + ARDPGM(&RWDLIB/&RWDPGM) ) ELSE IF (&RWTYPE = &ARDIP) THEN( + QSYS/ADDRDBDIRE RDB(&RWRDB) RMTLOCNAME(&RWSLOC *IP) + TEXT(&RWTEXT) PORT(&RWPORT) + ARDPGM(&RWDLIB/&RWDPGM) )
308
/* *** Restore RDB Entries from output file created with: PGM DCLF FILE(SLCRDB) RMVRDBDIRE RDB(*ALL) NEXTENT: RCVF MONMSG MSGID(CPF0864) EXEC(DO) QSYS/RCVMSG PGMQ(*SAME (*)) MSGTYPE(*EXCP) RMV(*YES) MSGQ(*PGMQ) GOTO CMDLBL(LASTENT) ENDDO IF (&RWRLOC = *LOCAL ) DO QSYS/ADDRDBDIRE RDB(&RWRDB) RMTLOCNAME(&RWRLOC) TEXT(&RWTEXT) ENDDO ELSE IF (&RWRLOC = *ARDPGM ) DO QSYS/ADDRDBDIRE RDB(&RWRDB) RMTLOCNAME(&RWRLOC) TEXT(&RWTEXT) + ARDPGM(&RWDLIB/&RWDPGM) ENDDO ELSE IF (&RWDPGM *NE ) DO QSYS/ADDRDBDIRE RDB(&RWRDB) RMTLOCNAME(&RWRLOC) TEXT(&RWTEXT) + DEV(&RWDEV) LCLLOCNAME(&RWLLOC) RMTNETID(&RWNTID) + MODE(&RWMODE) TNSPGM(&RWTPN) + ARDPGM(&RWDLIB/&RWDPGM) ENDDO ELSE DO QSYS/ADDRDBDIRE RDB(&RWRDB) RMTLOCNAME(&RWRLOC) TEXT(&RWTEXT) + DEV(&RWDEV) LCLLOCNAME(&RWLLOC) RMTNETID(&RWNTID) MODE(&RWMODE) TNSPGM(&RWTPN) ENDDO GOTO CMDLBL(NEXTENT) LASTENT: RETURN ENDPGM
The files that make up the relational database directory are saved when the SAVSYS command is run. The physical file containing the relational database directory can be restored from the save media to your library using the following Restore Object (RSTOBJ) command:
RSTOBJ
In this example, the relational database directory is restored from tape. The characters nnnnnnn in the LABEL parameter represent the product code of Operating System/400 (for example, 5769SS1 for Version 4 Release 2). The vrm in the LABEL parameter is the version, release, and modification level of OS/400. The xx in the LABEL parameter is the last two digits of the current system language value. For example, 2924 is for the English language; therefore, the value of xx is 24. After you restore this file to your library, you can use the information in the file to recreate the relational database directory.
Chapter 16. Database Protection and Availability
309
Use journal management to recover changes to database files that have occurred since your last complete save.
310
Journaling is designed to prevent transactions from being lost if your system ends abnormally or has to be recovered. Journal management can also assist in recovery after user errors. Journaling allows the capability to roll back from an error to a stage prior to when the error occurred if both the before and after images are journaled. To recover, the restore must be done in the proper order: 1. Restore your backup from tape. 2. Apply journaled changes. We recommend that you keep a record of which files are journaled. Refer to Section 16.9, Determining Whether to Apply Journal Changes for methods to track this. A thorough discussion of journaling is beyond the scope of this chapter. For more information about journaling, refer to Backup and Recovery , SC41-5304.
As part of any backup and recovery plan, maintain a list of journals and related journal receivers. To obtain a list of journals with related receivers, here are five options: 1. Enter the command:
311
4. Use the following to produce a file that can then be used with Query/400 to determine which files are journaled and to which journal.
PGM DCLF DSPOBJD READ: RCVF MONMSG WRKJRNA GOTO ENDPGM FILE(QTEMP/TEMPFILE) OBJ(*ALL/*ALL) OBJTYPE(*JRN) + OUTPUT(*OUTFILE) OUTFILE(QTEMP/TEMPFILE) MSGID(CPF0864) EXEC(GOTO CMDLBL(ENDOFPGM)) JRN(&ODLBNM/&ODOBNM) OUTPUT(*PRINT) CMDLBL(READ)
ENDOFPGM:
Also be aware that the SAVCHGOBJ command defaults to not save journals. If you ever need to restore from the set of backup created when journaling was not active, the journals need to be recreated. Consider changing the OBJJRN parameter default to *YES for the SAVCHGOBJ command.
312
take longer to perform an IPL, especially if your system ends abnormally. If access paths are journaled, IPL time is reduced. Refer to Chapter 4, IPL Improvements for Availability on page 33, for information on other factors that affect IPL time.
Isolate journal receivers in a user ASP. This reduces contention when accessing the disks. Place the fastest disks in the ASP used for journal receivers. In general, it is better to have multiple smaller capacity disks than one larger disk, because the number of disk arms is significant. Do not set the force-write ratio (FRCRATIO) parameter for physical files that are being journaled. Journal support provides better protection and performance than using a force ratio. Consider using record blocking when a program processes a journaled file sequentially. When you add or insert records to the file, the records are written to the journal receiver when the block is filled. Perform a commit operation approximately every 100 records to speed up batch jobs. The journal receiver size parameter with a remove internal entry value (RCVSIZOPT(*RMVINTENT)) on the Change Journal (CHGJRN) and Create Journal (CRTJRN) commands helps keep journal receivers size at a minimum. The RCVSIZOPT parameter indicates whether the system continuously removes internal entries as soon as they are no longer needed for recovery. The entries removed are primarily those needed for recovering access paths and internal control blocks. They are the hidden journal entries that consume sequence numbers. By using the RCVSIZOPT parameter, the journal receiver size is decreased. Saving them to tape takes less space and time.
Minimize the fixed-length portion of the journal entry by using the RCVSIZOPT(*MINFIXLEN) parameter on the CHGJRN and CRTJRN operations. The job, program, and user profile information are not deposited as part of the journal entry. This saves space on the journal receiver and reduces the overhead of making the journal deposit. Do not use DLTRCV(*YES) unless the journal is only used for access path protection or commitment control. Receivers are necessary to recover from a disaster. Let the system manage the change of journals. Use the manage receiver parameter (MNGRCV(*SYSTEM)) on the Change Journal (CHGJRN) and Create Journal (CRTJRN) commands to attach a new journal receiver faster and with less system disruption. The MNGRCV parameter indicates whether the system is allowed to automatically initiate creating and attaching a new journal receiver when the attached receiver reaches its threshold value. This option provides easier journal receiver management. In addition, MNGRCV(*SYSTEM) improves the I/O performance of a CHGJRN operation for recovery purposes. Internally, the system records the
313
identity of the oldest journal entry to be read and processed on behalf of journaled objects that remain in main memory. During a CHGJRN operation for a user-managed journal, all journaled objects are forced from main storage to disk so that the synchronization point for an object is transferred to the new receiver. This can yield a large spike of disk-write activity on behalf of the CHGJRN operation. By contrast, when the MNGRCV(*SYSTEM) parameter is specified for a journal, the spike of I/O activity no longer occurs because synchronization points are allowed to move naturally to the newly attached receiver. The system forces the journaled objects during normal system activity. When MNGRCV(*SYSTEM) is specified for a journal, you can choose to: Let the system manage creation and attachment of new receivers. Manually initiate CHGJRN operations on fixed time intervals.
Both techniques take advantage of the reduced I/O. Therefore, you do not need to give up your current CHGJRN practices to gain the benefit. You can accomplish this by specifying less than the maximum threshold value for the journal receiver (for example, 1.5GB) together with MNGRCV(*SYSTEM) so that the system effectively only initiates a CHGJRN operation when a receiver reaches full status. The system managed attribute becomes your safety net, allowing you to employ your current strategy with faster performance. It kicks in only if your current journal management strategy gets surprised by a sudden burst of journal deposits. When journals are system managed, the receiver is changed and sequence numbers are reset every IPL. With MNGRCV(*SYSTEM) specified, the system resets the sequence number of journal entries to 1 when it changes the journal. Recommendation If your application provider uses or depends on journaling, check with the provider prior to using system managed journals to make sure receiver sequence number resets are managed appropriately.
V3R7M0
314
MF16916 and SF47013 Note: These PTF numbers may have been superseded. Contact IBM support to make sure that you have the latest PTFs available.
There are three approaches to avoid mixing three and four-byte access paths: 1. Leave the Access Path Size parameter (ACCPTHSIZ) default to *MAX1TB and recreate the database so all access paths are in four-byte mode. The downfall of this approach is that recreating the database can be time consuming. 2. Change the ACCPTHSIZ default back to *MAX4GB. This does not avoid potential seize conflicts, however. 3. Use DSPFD and DSPDBR commands for the critical files (those with large access paths and/or heavily used) to keep the files in synch with access paths. Migrate to four-byte indexes in a phased manner. Use the CHGPF command to change the access path size of a physical file and the CHGLF command to change the access path size of a logical file.
315
Note: On systems prior to V4R2, the size of access paths for logical files is changed by deleting and recreating the logical file.
SMAPP No No No No No No No
Application knowledge Access-path journaling requires a thorough understanding of the application databases and its dependencies to ensure that all current and new important access paths are journaled.
316
SMAPP is automatic and constantly studies all the access paths to ensure that it can provide protection to meet the target recovery time specified for the configured ASP.
Journal receiver Access-path journaling requires you to manage the receivers and regularly detach them for offline storage. SMAPP creates and manages a hidden logging area within the system and does not require any user management.
Disk space consumption Access-path journaling requires you to detach journal receivers using the Change Journal (CHGJRN) command. Journal receivers can overflow an ASP and consume hundreds of megabytes per day. The SMAPP logging (tracking changes to access paths) area is circular and consumes less space. It has 78 bytes less information (time, job, and program entries) to record compared to a journal entry.
Journal-receiver placement Access-path placement requires journal receiver placement on a user ASP to achieve the best possible performance SMAPP spreads the logging area among the number of disk arms available, with affinity for arms with write cache. SMAPP bundles the writes until the package is 128K full (on RISC systems) and writes them in parallel to all disk arms
Enabling protection Access-path journaling requires customers to issue the Start Journal Access Path (STRJRNAP) and Start Journal Physical File (STRJRNPF) commands along with the necessary setup commands required to start journaling. SMAPP enables automatically when V3R1 is loaded on the system. The default target recovery time that SMAPP aims for is 150 minutes. This time can be changed for each configured ASP using the Edit Recovery for Access Path (EDTRCYAP) command. The changes take place immediately. Underlying physical files do not need need to be explicitly journaled, as journaling is handled by SMAPP. You can view the current settings with the Display Recovery for Access Paths (DSPRCYAP) command.
Performance impact Access-path journaling performs a synchronous write to the disk for each database operation (add, delete, and update). SMAPP provides just as good protection with bundled asynchronous writes therefore, reducing the total number of writes and performance overhead compared to synchronous writes. Performance also depends on how the target recovery time is set. The shorter the recovery time, the greater the performance overhead due to SMAPP.
Data integrity Access-path journaling data is written to the journal receivers and during recovery, data can be recovered to a known point. However, recovery may take several hours, or in some cases, days if the access paths are not protected.
317
An IPL or restricted state condition is required to activate SMAPP if it is turned off. Specifying *NONE for the system access path recovery time prompt on the EDTRCYAP command is better than specifying *OFF since it does not require a restricted state to change from *NONE to a specific time. When *NONE is specified, no recovery is in place, but estimates are made of the time to recover access paths during an IPL. When you see the potential time spent, you may decide that SMAPP is worth the small overhead it entails. SMAPPs primary objective is to reduce the access path rebuild time during an abnormal IPL. There is a possibility that data entered seconds before an abnormal termination may be lost and require re-input. However, the time spent recovering the system after an abnormal termination is significantly reduced. This, of course, is controlled by the target recovery time set for SMAPP.
318
Recommendation Save access paths, even if a save with access paths takes longer than saving your database without access paths. Following this recommendation offers users quicker access to the system after a system restore when the QDBSRVnn jobs consume CPU performing the rebuild.
If you do not save access paths, they cannot be restored, and therefore, will be rebuilt at run time as a side-effect of the restore itself. Those access paths not protected with SMAPP or journaling are the recover parameter in the CRTPF, which is subject to a rebuild during the next IPL following a crash just when the pressure is highest to get the system recovered. Whether these non-protected access paths are rebuilt at IPL or when first used depends on the recover parameter on the Create Physical File (CRTPF) and Create Logical File (CRTLF) commands. The options are:
*NO*The access path of the file is rebuilt when the file is opened *AFTIPLThe access path of the file is rebuilt after IPL is completed *IPLThe access path of the file is rebuilt during the IPL operation
ACCPTH(*YES) is specified on the save command. All the physical files that the access paths are based upon are in the same library. The logical files are MAINT(*IMMED) or (*DLY).
Note: Be aware that a save of access paths is not the default for the save commands. A save of access paths is the default if you use the SAVE menu options. Refer to Section 5.8, Unattended Saves Using the SAVE Menu on page 61 for a further description of the changes to the SAVE menu. The impact of rebuilding at file open is depicted in Figure 99 on page 320, which identifies rebuild time assuming that SMAPP is not enabled. Imagine how users productivity is affected when they spend hours waiting before they can begin work after the system is recovered, while the access paths are rebuilt. Use the Edit Rebuild of Access Paths (EDTRBDAP) command to control the number of acces paths to be rebuilt.
319
Use the Change Command Default (CHGCMDDFT) command to change the command defaults for the SAVxxx commands to specify ACCPTH(*YES). Remember to use CHGCMDDFT after each release update, because the SAVxxx commands are replaced during the upgrade process and your defaults are overwritten. Recommendation Use the SAVE menu options to perform your saves. Access paths are saved when the SAVE menu is used to perform a backup.
Note: There are instances when access paths are rebuilt during the restore even though they are saved. For example, when an access path size of 1TB is restored to a system that does not support this size, the access paths are rebuilt to a size supported at that release.
Journaled object names The name that appears for a journaled object is the same as it was at the time of the journal entry deposit. On releases prior to V4R2, the name that
320
appears for a journaled object is the name that the object was last known by on the system. For example, if you journal a file called OLDFILE, do a put of a record. Rename the file to NEWFILE. When you display the put record entry, NEWFILE is the object namenot OLDFILE. On V4R2, the name OLDFILE is displayed when viewing the entry.
System name The system name that appears in a journal entry is the system name where the journal entry was deposited. On previous releases, the system name that appears is the name of the system on which you performed the display, retrieve, or receive. On V4R2, if you restore a journal receiver from system A to system B, the system name appears for the journal entries in that receiver on system A, not system B as on previous release systems.
Journal entries are no longer sent The following two journal entries are not sent to the journal and cannot be viewed when looking at the journal entry data:
Journal Code - F - for database file member operation Entry Type - PM - access path moved Entry Type - PN - access path renamed
321
322
A query can be initiated on any of the systems. The DB2 Multisystem broadcasts the query across the network and executes in parallel. Each of the participating systems execute the query on its own portion of the data. Transparency is one of the major advantages provided by the DB2 Multisystem. Distributed files behave as local database files behave. Users run queries and applications accessing the files as if the data is local.
End up with a set of tapes containing a consistent copy of all portions of a distributed file. Run the save from a single workplace rather than signing on to each system in the network.
The DB2 Multisystem feature provides a convenient solution for both of these requirements. Consider the following concepts:
When you want to save an object, use the Allocate Object (ALCOBJ) command to place an exclusive lock and prevent anyone from modifying the object before the save operation is complete. The ALCOBJ command has a
Chapter 16. Database Protection and Availability
323
global effect on a distributed file. You establish a lock on a distributed file by issuing the ALCOBJ once from any of the systems in the network. To release the lock, use the Deallocate Object (DLCOBJ) command.
A distributed file can be a target of the SBMRMTCMD command, as well as a DDM file. When you issue the Submit Remote (SBMRMTCMD) command and refer to a distributed file in the DDMFILE parameter, the requested command is executed on every remote system for the distributed file.
If you journal your distributed files, you need to save all of the journal receivers on all participating systems simultaneously. This allow you to have a backup set reflecting a single consistent point of recovery across all systems.
324
DLTJRNRCV JRNRCV(library2-name/journal-receiver-name)
9. Delete the journal receiver on the remote system:
325
326
Shifts more of the replication overhead from the source system to the remote system, which improves overall system performance on the source (primary) system Improves performance for journal replication Allows the option to replicate synchronously with the operation causing journal database modification Moves the journal receiver save operations to the remote system, offloading the source (production) system
All methods on systems prior to V4R2 to get journal entries to a backup system require that you use a user-written apply program to apply these database changes on the replicated database on the backup system. Either a business
327
partner product or a written apply program is required to apply any changes to the replicated database on a backup (target) system. Hot site backup and high availability applications are good examples of applications that can benefit from the use of remote journals. If a switch over to the target system is necessary, the business partner or user-written apply and remove program must remove partial commitment control transactions from the backup system. This must take place prior to using the backup (target) system as the primary (production) system. Likewise, once the source system is repaired, business partner software or a user written apply and remove program is required on V4R2 systems. Such programs replay the database changes back to the original database on the production system that were made on the target system while the production system was offline. The remote journal function on V4R2 differs from methods used on systems prior to V4R2 for replicating data. The differences can be seen by comparing Figure 100 and Figure 101.
328
Sending journal entries to a backup system does not mean that the journal entries are only being sent to a backup system. In all cases of using the remote journal function, sending journal entries to a journal that resides on the same system as the source database is always performed. Remote journals allow journal entries to be optionally sent to one or more additional backup systems. The journal entries sent to the backup system are deposited by the system into a duplicate journal receiver. From an external viewpoint, the duplicate journal receiver is identical to the receiver that is attached to the journal on the primary system. For recovery purposes, this allows receivers on the backup system to be used when needed for recovery of the primary system. Essentially, the receivers on the backup system can be viewed externally as saved versions of the receivers on the primary (production or source) system. Note the following points:
There is no application program required on the target system. The processing of journals on systems prior to V4R2 perform above the machine interface (MI) without remote journal support and below the MI with remote journal support on V4R2 systems. No exit program to time or manage the journal synchronization is required with a remote journal implementation.
Lost and trapped transactions are prevented. There are less disk writes on the source system than with former journal operations. DASD is used more efficiently. There is less CPU overhead than prior support. CPU cycles are freed up on the production and source machine. Work is shifted to the backup or target machine. Database images can be sent to the target machine in real time. There is no delay in replication.
For high availability (24 x 365) To free up CPU cycles on the source/production machine To prevent lost transactions When a quick and easy switch back to the recovered system is needed
Be sure that you are running the V4R2 refresh of any business partner product that incorporates the remote journal function (such as MIMIX, OMS Gold, or Transformation Server for AS/400). The application product refresh must occur on each machine that implements remote journals. That is, both source and target must step up to V4R2. When remote journals are set up, take note of the following conditions:
No application changes are required (unless you are building your own or using the DataPropagator product). There are no special features to install (unless you are using OptiConnect as the transport vehicle)
329
No tuning is mandated (but may be of some benefit). The business partner or user needs to create and maintain relational databases directory entries on both the source and target systems.
There is extra maintenance of two receivers on two systems to save or delete receivers as appropriate.
Relational database directories entries define the communications protocol and remote system. Remote journals can broadcast to up to 255 secondaries or target journals. Cascading (sending from the secondaries to subsequent systems) can be done without limitation.
330
Create separate ASPs for journal receivers. Direct the journal to remove internal entries from the journals. Direct the journal to employ a minimum fixed-length header. Make sure *BASE pool on the target system has enough storage assigned.
331
Note: In the AS/400 Advanced Series System Handbook , GA19-5486, refer to the chapter on Magnetic Media Controllers to find a list of adapters that provide write caching, and to determine disk drive speeds.
Journal . . . . . . . Library . . . . . . Journal receiver: Journal receiver . . Library . . . . . Journal receiver . . Library . . . . . Sequence option . . . Journal message queue Library . . . . . . Manage receivers . . . Delete receivers . . . Receiver size options Journal state
*LIBL *SAME
. . . . . . . . . JRNSTATE
Note: You can select one or both of the RCVSIZOPT option values on the Change Journal (CHGJRN) command. These options can also be selected when the journal is created using the Create Journal (CRTJRN) command.
332
The transport method involved Use either an OptiConnect for OS/400 bus transport or a TCP/IP or SNA communications transport when using synchronous or asynchronous delivery. Use a non-OptiConnect transport when replication is over a long distance. When the delivery mode is synchronous, you need to weigh a slight increase in the response time against the communication overhead of the transport method. The most important factors regarding a communication transport method are the overall rated speed of the communications resource and any existing traffic already using the communications resource.
Number of remote journals that are maintained The impact to the job performing the database update increases by an equal factor for each (broadcasted) remote journal added. For example, three synchronously maintained remote journals, the impact to the job is three times that of one synchronously maintained journal. By contrast, the impact is significantly less on the job performing the journal entry deposit for an asynchronously maintained remote journal. Recommendation Maintain only one synchronous remote journal for a given local journal since the application cannot continue until the journal entry is replicated to each remote journal.
Arrival rate of journal entries deposited on local system Journaling throughput for asynchronous and synchronous delivery is affected by the rate of journal entries deposited on the local system. Journal maintenance can fall further behind particularly for asynchronous journal transport mode.
Batch versus interactive initiation of journal maintenance In general, higher remote journal throughput can be maintained when many interactive jobs generate the journal throughput rather than a single-threaded batch job. This also requires less journal and remote journal overhead.
333
The greater the CPU usage on the source system, the greater the potential of affecting journaling throughput. In applications constructed with heavy database update and insert activity, the extra CPU overhead attributed to remote journal on the source machine can range up to five or seven percent. It is even higher for synchronous delivery. With asynchronous delivery, high CPU levels can cause additional latency for updates.
CPU usage on the target system High CPU usage on the target system affects synchronous and asynchronous delivery modes the same way as described for the source system.
Sending task priority The higher the sending task priority value, the smaller the effect is that the remote journal function has on both the source and target systems. One exposure is that the target system can lag behind the source system. The sending task priority value can only be changed when using asynchronous delivery mode.
When choosing to develop your own data replication applications, use these APIs to perform remote journal functions. Sample programs in C and RPG are found in the next section. Note: Customers using a high availability business partner product do not need to implement code with these APIs. The business partner software handles these functions for you. For additional information on these APIs, refer to the System API Reference , SC41-5801-01.
334
Create a remote journal Start remote journal Activate remote journal De-activate remote journal Remove remote journal
Any handling of error messages is left to the user. As is errors perform a check function. The As is errors are written to the job log for the user to review and act upon. Remember, you need the appropriate string and other header files in your implementation of this C program.
335
/* START REMOTE JRN CMD SRC */ CMD PROMPT( CREATE REMOTE JRN ) PARM KWD(JRN) TYPE(*CHAR) LEN(10) MIN(1) + PROMPT( LOCAL JOURNAL NAME ) PARM KWD(LIB) TYPE(*CHAR) LEN(10) MIN(1) + PROMPT( JOURNAL LIB LOCAL+REM ) PARM KWD(RDB) TYPE(*CHAR) LEN(18) MIN(1) + PROMPT( ADDRDBDIRE TO USE ) /* START REMOTE JRN CL SRC */ PGM PARM(&JOURNAL &LIB &RDB) DCL &JOURNAL TYPE(*CHAR) LEN(10) DCL &LIB TYPE(*CHAR) LEN(10) DCL &RDB TYPE(*CHAR) LEN(18) DCL &JRNSTR TYPE(*CHAR) LEN(20) CHGVAR &JRNSTR (&JOURNAL *CAT &LIB) CALL RMJON2 (&JRNSTR &RDB) ENDPGM /* /* /* /* /* /* /* /* /* /* /* /* /* START REMOTE JRN C SRC PROGRAM RMJON2 To simplify the coding, the following assumptions are made: 1) The remote journal is created in the same named library as that of the source journal 2) The request variable structure, which is part of the Omissible Parameter Group, is not provided. Thus the remote journal receiver is created in the same named library as the source journal receiver on the source system and the remote journal type defaults to *TYPE2. Input parameters: argv[1] - Qualified Journal Name argv[2] - Relational DB Entry */ */ */ */ */ */ */ */ */ */ */
*/ */
int main(int argc, char *argv[]) { char * reqval; long * lnrq; char * fmtname; long * ioerr; reqval = NULL; lnrq = NULL; fmtname = NULL; ioerr = NULL; /* /* /* /* /* /* Request variable Length of request variable Format name of request variable Error code Since request variable is not set the pointers to NULL */ */ */ */ */ */
QjoAddRemoteJournal(argv[1],argv[2],reqval,lnrq,fmtname,ioerr); }
336
/* ACTIVATE REMOTE JRN COMMAND SOURCE */ CMD PROMPT( ENGAGE REMOTE JRN ) PARM KWD(JRN) TYPE(*CHAR) LEN(10) MIN(1) + PROMPT( LOCAL JOURNAL NAME ) PARM KWD(LIB) TYPE(*CHAR) LEN(10) MIN(1) + PROMPT( JOURNAL LIB SOURCE ) PARM KWD(RDB) TYPE(*CHAR) LEN(18) MIN(1) + PROMPT( ADDRDBDIRE TO USE ) PARM KWD(RMTJRN) TYPE(*CHAR) LEN(10) MIN(1) + PROMPT( REMOTE JOURNAL NAME ) PARM KWD(RMTLIB) TYPE(*CHAR) LEN(10) MIN(1) + PROMPT( REMOTE JOURNAL LIB ) PARM KWD(RMTRCV) TYPE(*CHAR) LEN(10) + DFT(*ATTACHED) MIN(0) PROMPT( REMOTE + JOURNAL RCVR ) /* ACTIVATE CL PGM SOURCE */ PGM PARM(&JOURNAL &LIB &RDB &RMTJRN &RMTLIB &RMTRCV) DCL &JOURNAL TYPE(*CHAR) LEN(10) DCL &LIB TYPE(*CHAR) LEN(10) DCL &RDB TYPE(*CHAR) LEN(18) DCL &RMTJRN TYPE(*CHAR) LEN(10) DCL &RMTLIB TYPE(*CHAR) LEN(10) DCL &RMTRCV TYPE(*CHAR) LEN(10) DCL &JRNSTR TYPE(*CHAR) LEN(20) DCL &RMTSTR TYPE(*CHAR) LEN(58) CHGVAR &JRNSTR (&JOURNAL *CAT &LIB) CHGVAR &RMTSTR (&RDB *CAT &RMTJRN *CAT &RMTLIB *CAT &RMTRCV *CAT &RMTLIB) CALL RMJACT (&JRNSTR &RMTSTR) ENDPGM /* /* /* /* ACTIVATE C PGM SOURCE Input parameters: argv[1] - Qualified Journal Name argv[2] - Request variable */ */ */ */
int main(int argc, char *argv[]) { char fmt[8]; /* Format name of request variable long fmtlen; char long long char long * * * * * recval; lnrq; lnrcv; fmtname; ioerr; /* /* /* /* /*
*/
Receiver variable Length of request variable Length of receiver variable Format name of request variable Error code
*/ */ */ */ */
strcpy(fmt,CJST0400 ) ; fmtname = fmt; fmtlen = 58; lnrq = &fmtlen; lnrcv=NULL; recval = NULL; ioerr = NULL;
QjoChangeJournalState(argv[1],argv[2],lnrq,fmtname,recval,lnrcv,ioerr); }
337
/* DEACTIVATE COMMAND SOURCE */ CMD PROMPT( DISENGAGE REMOTE JRN ) PARM KWD(JRN) TYPE(*CHAR) LEN(10) MIN(1) + PROMPT( LOCAL JOURNAL NAME ) PARM KWD(LIB) TYPE(*CHAR) LEN(10) MIN(1) + PROMPT( JOURNAL LIB LOCAL+REM ) PARM KWD(RDB) TYPE(*CHAR) LEN(18) MIN(1) + PROMPT( ADDRDBDIRE TO USE ) PARM KWD(TYPE) TYPE(*CHAR) LEN(1) RSTD(*YES) + DFT( 0 ) VALUES( 0 1 ) MIN(0) PROMPT( TYPE + 0=CTL 1=IMMED ) /* CL PGM SOURCE */ PGM PARM(&JOURNAL &LIB &RDB &TYPE) DCL &JOURNAL TYPE(*CHAR) LEN(10) DCL &LIB TYPE(*CHAR) LEN(10) DCL &RDB TYPE(*CHAR) LEN(18) DCL &TYPE TYPE(*CHAR) LEN(1) DCL &RMTLIB TYPE(*CHAR) LEN(10) DCL &RMTRCV TYPE(*CHAR) LEN(10) DCL &JRNSTR TYPE(*CHAR) LEN(20) DCL &RMTSTR TYPE(*CHAR) LEN(39) CHGVAR &JRNSTR (&JOURNAL *CAT &LIB) CHGVAR &RMTSTR (&RDB *CAT &JOURNAL *CAT &LIB *CAT &TYPE) CALL RMJDEACT (&JRNSTR &RMTSTR) ENDPGM /* /* /* /* C PGM SOURCE Input parameters: argv[1] - Qualified Journal Name argv[2] - Request variable */ */ */ */
int main(int argc, char *argv[]) { char fmt[8]; long fmtlen; char long long char long * * * * * recval; lnrq; lnrcv; fmtname; ioerr; /* /* /* /* /* Receiver variable Length of request variable Length of receiver variable Format name of request variable Error code */ */ */ */ */
strcpy(fmt,CJST0300 ) ; fmtname = fmt; fmtlen = 39; lnrq = &fmtlen; lnrcv=NULL; recval = NULL; ioerr = NULL;
QjoChangeJournalState(argv[1],argv[2],lnrq,fmtname,recval,lnrcv,ioerr); }
338
/* REMOVE JRN CMD SRC */ CMD PROMPT( REMOVE REMOTE JRN ) PARM KWD(JRN) TYPE(*CHAR) LEN(10) MIN(1) + PROMPT( LOCAL JOURNAL NAME ) PARM KWD(LIB) TYPE(*CHAR) LEN(10) MIN(1) + PROMPT( JOURNAL LIB LOCAL+REM ) PARM KWD(RDB) TYPE(*CHAR) LEN(18) MIN(1) + PROMPT( ADDRDBDIRE TO USE ) /* END REMOTE JRN CL SRC */ PGM PARM(&JOURNAL &LIB &RDB) DCL &JOURNAL TYPE(*CHAR) LEN(10) DCL &LIB TYPE(*CHAR) LEN(10) DCL &RDB TYPE(*CHAR) LEN(18) DCL &JRNSTR TYPE(*CHAR) LEN(20) CHGVAR &JRNSTR (&JOURNAL *CAT &LIB) CALL RMJOFF (&JRNSTR &RDB) ENDPGM /* END REMOTE JRN C SRC /* Input parameters: /* argv[1] - Qualified Journal Name /* argv[2] - Relational DB Enrty
*/ */ */ */
int main(int argc, char *argv[]) { char * reqval; long * lnrq; char * fmtname; long * ioerr; reqval = NULL; lnrq = NULL; fmtname = NULL; ioerr = NULL; /* /* /* /* /* /* Request variable Length of request variable Format name of request variable Error code Since request variable is not set the pointers to NULL */ */ */ */ */ */
QjoRemoveRemoteJournal(argv[1],argv[2],reqval,lnrq,fmtname,ioerr); }
ADDRMTJRNto add a remote journal CHGJRNSTTto change a remote journal state RMVRMTJRNto remove a remote journal
Error handling is left to the user. Please note the command and program names are user created. To ensure your application uses the commands you create when executed, we recommend that you qualify the command with the associated library name. If IBM or vendors providing application interface or support for remote journals choose the same names as selected for this example, you can be sure that your commands and programs are used. This remains true only if the program name is qualified with the associated library name. As usual, we also recommend that you store the commands and programs in a library that will not be replaced during a release upgrade.
339
5769PW1 V4R2M0 980228 SEU SOURCE LISTING 04/08/98 20:22:27 SOURCE FILE . . . . . . . RMTJRN/QCMDSRC MEMBER . . . . . . . . . ADDRMTJRN SEQNBR*...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 ...+... 8 ...+... 9 ...+... 0 100 CMD PROMPT( Add Remote Journal ) 200 PARM KWD(JRNNAME) TYPE(QJRNNAME) MIN(1) + 300 PROMPT( Journal Name ) 400 PARM KWD(RDBDIRE) TYPE(*CHAR) LEN(18) MIN(1) + 500 PROMPT( Remote RDB Directory Entry ) 600 PARM KWD(RMTJRNAME) TYPE(QRMTJRNNM) + 700 PMTCTL(*PMTRQS) PROMPT( Remote Journal Name ) 800 PARM KWD(RJRNRLIB) TYPE(*CHAR) LEN(10) + 900 DFT(*SRCSYS) SPCVAL((*SRCSYS)) + 1000 PMTCTL(*PMTRQS) PROMPT( Remote Journal + 1100 Rcvr Library ) 1200 PARM KWD(RMTJRNTYP) TYPE(*CHAR) LEN(1) RSTD(*YES) + 1300 DFT(1) VALUES(1 2) PMTCTL(*PMTRQS) + 1400 PROMPT( Remote Journal Type ) 1500 PARM KWD(MSGQNAME) TYPE(QMSGQNAME) + 1600 PMTCTL(*PMTRQS) PROMPT( Message Queue Name ) 1700 PARM KWD(DLTRCV) TYPE(*CHAR) LEN(1) RSTD(*YES) + 1800 DFT(N) VALUES(Y N) PMTCTL(*PMTRQS) + 1900 PROMPT( Delete Receivers? ) 2000 PARM KWD(RMTJRNTXT) TYPE(*CHAR) LEN(50) + 2100 PMTCTL(*PMTRQS) PROMPT( Remote Journal Text ) 2200 QJRNNAME: QUAL TYPE(*NAME) LEN(10) MIN(1) 2300 QUAL TYPE(*NAME) LEN(10) SPCVAL((*CURLIB) + 2400 (*LIBL)) MIN(1) PROMPT( Library ) 2500 QRMTJRNNM: QUAL TYPE(*NAME) LEN(10) DFT(*JRN) SPCVAL((*JRN)) + 2600 MIN(0) 2700 QUAL TYPE(*NAME) LEN(10) MIN(0) PROMPT( Library ) 2800 QMSGQNAME: QUAL TYPE(*NAME) LEN(10) DFT(QSYSOPR) 2900 QUAL TYPE(*NAME) LEN(10) DFT(QSYS) PROMPT( Library ) * * * * E N D O F S O U R C E * * * *
PAGE 1
04/08/98 03/19/98 03/19/98 03/15/98 03/15/98 03/19/98 03/19/98 03/26/98 03/26/98 03/26/98 03/26/98 03/19/98 03/19/98 03/19/98 03/19/98 03/19/98 03/19/98 03/19/98 03/19/98 03/19/98 03/19/98 03/26/98 03/26/98 03/26/98 03/26/98 03/26/98 03/26/98 03/26/98 03/26/98
340
5769PW1 V4R2M0 980228 SEU SOURCE LISTING 04/08/98 20:22:27 SOURCE FILE . . . . . . . RMTJRN/QRPGLESRC MEMBER . . . . . . . . . ADDRMTJRN SEQNBR*...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 ...+... 8 ...+... 9 ...+... 0 100 H******************************************************************** 200 H* This program accepts input from a CMD to Add a Remote Journal. 300 H* /COPY is used to reduce the size of the source. Appropriate 400 H* parts of the includes can also be copied directly to this source 500 H* member. 600 H******************************************************************** 700 H* Compile options 800 HDFTACTGRP(*NO) ACTGRP(*CALLER) 900 D******************************************************************** 1000 D* Includes for Journal APIs 1100 D* 1200 D/COPY QSYSINC/QRPGLESRC,QJOURNAL 1300 D******************************************************************** 1400 D* 1500 D******************************************************************** 1600 D* Error code parameter include. Bytes available is set to 0 in *INZSR 1700 D* which causes program to function check if any errors are 1800 D* encountered. Error handling can be added to this program by 1900 D* changing the bytes available parameter to 16, or greater than 16. 2000 D* Changing this value without adding any error handling to the 2100 D* program will cause the program to appear to complete normally 2200 D* even when an error has occured, other than messages logged to 2300 D* the joblog. 2400 D******************************************************************** 2500 D* 2600 D******************************************************************** 2700 D* Standalone fields 2800 D* 2900 D/COPY QSYSINC/QRPGLESRC,QUSEC 3000 D REQVARLEN S 9B 0 3100 D* Length of request variable 3200 D REQFMTNAM S 8A 3300 D* Request format name 3400 D******************************************************************** 3500 C******************************************************************** 3600 C* Main Line 3700 C EXSR ADDJRN 3800 C MOVE *ON *INLR 3900 C* End of Main Line 4000 C******************************************************************** 4100 C******************************************************************** 4200 C* Program Initialization Subroutine 4300 C* 4400 C *INZSR BEGSR 4500 C *ENTRY PLIST 4600 C PARM JRNNAME 20 4700 C* Journal Name 4800 C PARM RDBDIRE 18 4900 C* Remote Relational DB 5000 C* Directory Entry 5100 C PARM RMTJRNAME 20 5200 C* Remote Journal Name 5300 C PARM RJRNRLIB 10 5400 C* Remote Journal Receiver 5500 C* Library 5600 C PARM RMTJRNTYP 1 5700 C* Remote Journal Type 5800 C* 1 = *TYPE1 5900 C* 2 = *TYPE2 6000 C PARM MSGQNAME 20
PAGE
03/15/98 03/15/98 03/15/98 03/15/98 03/15/98 03/15/98 03/15/98 03/14/98 03/15/98 03/15/98 03/15/98 03/15/98 03/15/98 03/15/98 03/15/98 03/15/98 03/15/98 03/15/98 03/26/98 03/15/98 03/15/98 03/15/98 03/15/98 03/15/98 03/15/98 03/15/98 03/15/98 03/15/98 03/15/98 03/15/98 03/26/98 03/15/98 03/26/98 03/15/98 03/26/98 03/26/98 03/15/98 03/15/98 03/26/98 03/26/98 03/26/98 03/26/98 03/26/98 03/15/98 03/15/98 03/19/98 03/26/98 03/15/98 03/26/98 03/26/98 03/19/98 03/26/98 03/15/98 03/26/98 03/26/98 03/15/98 03/26/98 03/26/98 03/26/98 03/19/98
341
6100 6200 6300 6400 6500 6600 6700 6800 6900 7000 7100 7200 7300 7400 7500 7600 7700 7800 7900 8000 8100 8200 8300 8400 8500 8600 8700 8800 8900 9000 9100 9200 9300 9400 9500 9600 9700 9800 9900 10000 10100 10200 10300 10400 10500 10600 10700 10800 10900 11000 11100 11200 11300 11400
C* Message Queue Name C PARM DLTRCV 1 C* Delete Receivers C* N = 0/Don t Delete C* Y = 1/Delete C PARM RMTJRNTXT 50 C* Remote Journal Text C EVAL QUSBPRV = 0 C* See comments in D specs for C* error code parameter. C* C ENDSR C******************************************************************** C* Add Remote Journal Subroutine C* C ADDJRN BEGSR C EVAL REQVARLEN = %SIZE(QJOJ0100) C EVAL REQFMTNAM = ADRJ0100 C RMTJRNAME IFNE *JRN C EVAL QJOQRJN = RMTJRNAME C* Special value *JRN indicates remote C* journal name is the same as the local C* journal name. If this parameter = *JRN C* leave QJOQRJN blank. Otherwise set to C* passed name. C ENDIF C RJRNRLIB IFNE *SRCSYS C EVAL QJORJRLN = RJRNRLIB C* Special value *SRCSYS indicates remote C* journal receiver library is the same as C* the library on the source system. If this C* parameter = *SRCSYS, leave QJORJRLN C* blank. Otherwise set to passed name. C ENDIF C EVAL QJORJT = RMTJRNTYP C EVAL QJOQJMQ = MSGQNAME C DLTRCV IFEQ Y C* Delete Receivers = Yes C EVAL QJODR = 1 C ENDIF C DLTRCV IFEQ N C EVAL QJODR = 0 C* Delete Receivers = No C ENDIF C EVAL QJOTEXT = RMTJRNTXT C CALLB QJOARJ C PARM JRNNAME C PARM RDBDIRE C PARM QJOJ0100 C PARM REQVARLEN C PARM REQFMTNAM C PARM QUSEC C ENDSR C******************************************************************** * * * * E N D O F S O U R C E * * * *
03/26/98 03/15/98 03/26/98 03/26/98 03/26/98 03/15/98 03/26/98 03/15/98 03/26/98 03/26/98 03/26/98 03/15/98 03/26/98 03/26/98 03/26/98 03/15/98 03/15/98 03/15/98 03/26/98 03/19/98 03/26/98 03/26/98 03/26/98 03/26/98 03/26/98 03/26/98 03/26/98 03/15/98 03/26/98 03/26/98 03/26/98 03/26/98 03/26/98 03/26/98 03/15/98 03/19/98 03/19/98 03/26/98 03/19/98 03/19/98 03/19/98 03/19/98 03/26/98 03/19/98 03/15/98 02/02/98 03/19/98 03/15/98 03/15/98 03/15/98 03/15/98 03/14/98 03/15/98 03/26/98
342
5769PW1 V4R2M0 980228 SEU SOURCE LISTING 04/08/98 20:22:27 SOURCE FILE . . . . . . . RMTJRN/QCMDSRC MEMBER . . . . . . . . . CHGJRNSTT SEQNBR*...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 ...+... 8 ...+... 9 ...+... 0 100 CMD PROMPT( Change Journal State ) 200 PARM KWD(STATUS) TYPE(*CHAR) LEN(1) RSTD(*YES) + 300 VALUES(A I) MIN(1) PROMPT( Activate + 400 or Inactivate? ) 500 PARM KWD(LCLRMT) TYPE(*CHAR) LEN(1) RSTD(*YES) + 600 VALUES(L R) MIN(1) PROMPT( Local Or + 700 Remote? ) 800 PARM KWD(JRNNAME) TYPE(QJRNNAME) MIN(1) + 900 PROMPT( Journal Name ) 1000 PARM KWD(RDBDIRE) TYPE(*CHAR) LEN(18) MIN(0) + 1100 PMTCTL(REMOTE) PROMPT( Remote RDB + 1200 Directory Entry ) 1300 PARM KWD(RJRNNAME) TYPE(QRJRNNAME) PMTCTL(REMOTE) + 1400 PROMPT( Remote Journal Name ) 1500 PARM KWD(STRJRNRCV) TYPE(QSTRJRNRCV) + 1600 DFT(*ATTACHED) SNGVAL((*ATTACHED) + 1700 (*SRCSYS)) PMTCTL(RMTACT) + 1800 PROMPT( Starting Journal Receiver Name ) 1900 PARM KWD(PRFINACTYP) TYPE(*CHAR) LEN(1) + 2000 RSTD(*YES) DFT(C) VALUES(C I) + 2100 PMTCTL(RMTINACT) PROMPT( Preferred + 2200 Inactive Type ) 2300 PARM KWD(SYNASY) TYPE(*CHAR) LEN(1) RSTD(*YES) + 2400 DFT(A) VALUES(S A) PMTCTL(RMTACT) + 2500 PROMPT( Synch or Async Maintained? ) 2600 PARM KWD(SNDTSKPRI) TYPE(*INT4) DFT(0) + 2700 PMTCTL(ASYNC) PROMPT( Sending Task Priority ) 2800 QJRNNAME: QUAL TYPE(*NAME) LEN(10) MIN(1) 2900 QUAL TYPE(*NAME) LEN(10) SPCVAL((*LIBL) + 3000 (*CURLIB)) MIN(1) PROMPT( Library ) 3100 QRJRNNAME: QUAL TYPE(*NAME) LEN(10) DFT(*JRN) SPCVAL((*JRN)) + 3200 MIN(0) 3300 QUAL TYPE(*NAME) LEN(10) PROMPT( Library ) 3400 QSTRJRNRCV: QUAL TYPE(*NAME) LEN(10) MIN(1) 3500 QUAL TYPE(*NAME) LEN(10) SPCVAL((*LIBL) + 3600 (*CURLIB)) PROMPT( Library ) 3700 REMOTE: PMTCTL CTL(LCLRMT) COND((*EQ R)) 3800 RMTACT: PMTCTL CTL(LCLRMT) COND((*EQ R)) 3900 PMTCTL CTL(STATUS) COND((*EQ A)) 4000 RMTINACT: PMTCTL CTL(LCLRMT) COND((*EQ R)) 4100 PMTCTL CTL(STATUS) COND((*EQ I)) 4200 ASYNC: PMTCTL CTL(SYNASY) COND((*EQ A)) 4300 PMTCTL CTL(STATUS) COND((*EQ A)) 4400 PMTCTL CTL(LCLRMT) COND((*EQ R)) * * * * E N D O F S O U R C E * * * *
PAGE
04/10/98 03/19/98 04/09/98 03/17/98 03/17/98 04/09/98 03/17/98 03/19/98 03/15/98 03/26/98 03/26/98 03/26/98 03/26/98 03/26/98 04/09/98 04/09/98 04/09/98 04/09/98 04/09/98 04/09/98 04/09/98 04/09/98 04/09/98 04/09/98 04/09/98 04/09/98 04/09/98 03/26/98 03/26/98 03/26/98 03/26/98 03/26/98 03/26/98 04/08/98 03/26/98 03/26/98 03/26/98 03/26/98 03/26/98 03/26/98 03/26/98 03/26/98 04/09/98 04/10/98
343
5769PW1 V4R2M0 980228 SEU SOURCE LISTING 04/08/98 20:27:22 SOURCE FILE . . . . . . . RMTJRN/QRPGLESRC MEMBER . . . . . . . . . CHGJRNSTT SEQNBR*...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 ...+... 8 ...+... 9 ...+... 0 100 H******************************************************************** 200 H* This program accepts input from a CMD to Change Journal State. 300 H* /COPY is used to reduce the size of the source. Appropriate 400 H* parts of the includes can also be copied directly to this source 500 H* member. 600 H* 700 H* This program only supports changing the journal state of local 800 H* journals on the source system and remote journals from the 900 H* source system. Inactivation of a remote journal from the 1000 H* target system is not coded in this example. This is primarily 1100 H* due to the fact that this would make the command more confusing 1200 H* if this support were added here. Format CJST0200 is required 1300 H* to inactivate a remote journal from a target system. 1400 H* 1500 H* CHGJRNSTT command uses selective prompting so that only applicable 1600 H* parameters are shown. 1700 H* 1800 H******************************************************************** 1900 H* Compile options 2000 H* 2100 HDFTACTGRP(*NO) ACTGRP(*CALLER) 2200 D******************************************************************** 2300 D* Includes for Journal APIs 2400 D* 2500 D/COPY QSYSINC/QRPGLESRC,QJOURNAL 2600 D******************************************************************** 2700 D* 2800 D******************************************************************** 2900 D* Error code parameter include. Bytes available is set to 0 in *INZSR 3000 D* which causes program to function check if any errors are 3100 D* encountered. Error handling can be added to this program by 3200 D* changing the bytes available parameter to 16, or greater than 16. 3300 D* Changing this value without adding any error handling to the 3400 D* program will cause the program to appear to complete normally 3500 D* even when an error has occured, other than messages logged to 3600 D* the joblog. 3700 D/COPY QSYSINC/QRPGLESRC,QUSEC 3800 D******************************************************************** 3900 D* 4000 D******************************************************************** 4100 D* Includes for Retrieve Object Description API 4200 D* Used when *LIBL or *CURLIB is used for Journal Name and *JRN 4300 D* is used for Remote Journal Name 4400 D* 4500 D/COPY QSYSINC/QRPGLESRC,QUSROBJD 4600 D******************************************************************** 4700 D* 4800 D******************************************************************** 4900 D* Standalone fields 5000 D* 5100 D REQVARLEN S 9B 0 5200 D* Length of request variable 5300 D RCVVARLEN S 9B 0 5400 D* Length of receiver variable 5500 D REQFMTNAM S 8A 5600 D* Request format name 5700 D SNDTSKPRI S 9B 0 5800 D* Sending task priority 5900 DJRNOBJTYP S 10A INZ( *JRN ) 6000 D* Object type of journal 6100 D********************************************************************
PAGE
03/15/98 04/10/98 03/15/98 03/15/98 03/15/98 03/19/98 03/19/98 03/19/98 03/19/98 03/19/98 03/19/98 03/19/98 03/19/98 03/19/98 04/10/98 03/26/98 03/26/98 03/15/98 03/15/98 04/09/98 03/14/98 03/15/98 03/15/98 03/15/98 03/15/98 03/15/98 03/15/98 03/15/98 03/15/98 03/15/98 03/15/98 03/26/98 03/15/98 03/15/98 03/15/98 03/15/98 03/18/98 03/15/98 03/15/98 04/08/98 04/08/98 04/08/98 04/08/98 04/08/98 04/08/98 04/08/98 04/08/98 03/15/98 03/15/98 03/15/98 03/15/98 03/19/98 03/18/98 03/19/98 03/15/98 03/19/98 03/18/98 03/19/98 04/08/98 04/08/98 03/15/98
344
6200 6300 6400 6500 6600 6700 6800 6900 7000 7100 7200 7300 7400 7500 7600 7700 7800 7900 8000 8100 8200 8300 8400 8500 8600 8700 8800 8900 9000 9100 9200 9300 9400 9500 9600 9700 9800 9900 10000 10100 10200 10300 10400 10500 10600 10700 10800 10900 11000 11100
C******************************************************************** C* Main Line C* C LCLRMT CASEQ L LCLJRN C* Local Journal C LCLRMT CASEQ R RMTJRN C* Remote Journal C ENDCS C MOVE *ON *INLR C* End of Main Line C******************************************************************** C******************************************************************** C* Program Initialization Subroutine C* C *INZSR BEGSR C *ENTRY PLIST C PARM STATUS 1 C* New Journal State C* I = Inactive C* A = Active C PARM LCLRMT 1 C* Local or Remote C* L = Local C* R = Remote C PARM JRNNAME 20 C* Journal Name C PARM RDBDIRE 18 C* Remote Relational DB C* Directory Entry C PARM RMTJRNAME 20 C* Remote Journal Name C PARM STRJRNRCV 20 C* Starting Journal Rcvr C PARM PRFINACTYP 1 C* Preferred Inactive type C* C = Controlled C* I = Immediate C PARM SYNASY 1 C* Synch or Asynchronous C* S = Synchronous C* A = Asynchronous C PARM SNDTSKPRI C* Sending task priority C* 1 = Highest C* 99 = Lowest C* 0 = System will choose C EVAL QUSBPRV = 0 C* See comments in D specs for C* error code parameter. C*
03/19/98 03/19/98 03/19/98 03/18/98 03/19/98 03/18/98 03/19/98 03/18/98 03/15/98 03/19/98 03/19/98 03/26/98 03/26/98 03/26/98 03/15/98 03/15/98 03/18/98 03/19/98 03/19/98 03/19/98 03/18/98 03/19/98 03/19/98 03/19/98 03/19/98 03/19/98 03/15/98 03/19/98 03/19/98 03/19/98 03/19/98 03/19/98 03/19/98 03/18/98 03/19/98 03/19/98 03/19/98 03/18/98 03/19/98 03/19/98 03/19/98 03/18/98 03/19/98 03/19/98 03/19/98 03/19/98 03/15/98 03/19/98 03/19/98 03/19/98
345
11200 11300 11400 11500 11600 11700 11800 11900 12000 12100 12200 12300 12400 12500 12600 12700 12800 12900 13000 13100 13200 13300 13400 13500 13600 13700 13800 13900 14000 14100 14200 14300 14400 14500 14600 14700 14800 14900 15000 15100 15200 15300 15400 15500 15600 15700 15800 15900 16000 16100 16200 16300 16400 16500 16600 16700 16800 16900 17000 17100 17200 17300 17400 17500 17600 17700 17800 17900 18000
C******************************************************************** C* Check to see if *JRN specified for remote journal. If so, check to C* see if *LIBL or *CURLIB is specified for local journal name. If C* so, use Retrieve Object Description API to find local journal and C* change *LIBL or *CURLIB to library name where the journal was C* found. This is necessary because the API requires a library C* name for the remote journal and does not support *LIBL or *CURLIB C* C RMTJRNAME IFEQ *JRN C *LIBL SCAN JRNNAME SCANRESULT 2 0 90 C *IN90 IFNE *ON C *CURLIB SCAN JRNNAME SCANRESULT 90 C ENDIF C *IN90 IFEQ *ON C EXSR RTVLIB C ENDIF C ENDIF C******************************************************************** C* End program initialization subroutine C ENDSR C******************************************************************** C* Local Journal Subroutine C* C LCLJRN BEGSR C EVAL REQVARLEN = %SIZE(QJO0100R00) C EVAL REQFMTNAM = CJST0100 C EVAL RCVVARLEN = 0 C STATUS IFEQ I C* Status = Inactive C EVAL QJONJS = 0 C ENDIF C STATUS IFEQ A C* Status = Active C EVAL QJONJS = 1 C ENDIF C CALLB QJOCJS C PARM JRNNAME C PARM QJO0100R00 C PARM REQVARLEN C PARM REQFMTNAM C PARM QJO0100R00 C PARM RCVVARLEN C PARM QUSEC C ENDSR C******************************************************************** C* Remote Journal Subroutine C* C RMTJRN BEGSR C STATUS CASEQ I RMTINACT C* Status = Inactive C STATUS CASEQ A ACTRMTJRN C* Status = Active C ENDCS C ENDSR C******************************************************************** C* Inactivate Remote Journal Subroutine C* C* This is the only call to the QjoChangeJournalState API that C* provides a receiver variable. The use of this receiver is C* not demonstrated in this example, but would be used to C* record information about the inactivation, such as receiver C* name and sequence number which could be used when restarting C* remote journaling. C* C RMTINACT BEGSR C EVAL REQVARLEN = %SIZE(QJO0300R) C EVAL REQFMTNAM = CJST0300 C EVAL RCVVARLEN = %SIZE(QJO0300R00) C EVAL QJORDBDE = RDBDIRE
04/08/98 04/08/98 04/08/98 04/08/98 04/08/98 04/09/98 04/09/98 04/09/98 04/08/98 04/08/98 04/08/98 04/08/98 04/08/98 04/08/98 04/08/98 04/08/98 04/08/98 04/08/98 04/08/98 03/15/98 03/19/98 03/19/98 03/19/98 03/18/98 03/18/98 03/18/98 03/18/98 03/18/98 03/19/98 03/18/98 03/18/98 03/18/98 03/19/98 03/18/98 03/18/98 03/18/98 03/19/98 03/18/98 03/15/98 03/15/98 03/18/98 03/18/98 03/14/98 03/15/98 03/19/98 03/19/98 03/19/98 03/18/98 03/18/98 03/19/98 03/19/98 03/19/98 03/18/98 03/18/98 03/19/98 03/19/98 03/19/98 03/19/98 03/19/98 03/19/98 03/19/98 03/19/98 03/19/98 03/19/98 03/18/98 03/18/98 03/18/98 03/18/98 03/18/98
346
18100 18200 18300 18400 18500 18600 18700 18800 18900 19000 19100 19200 19300 19400 19500 19600 19700 19800 19900 20000 20100 20200 20300 20400 20500 20600 20700 20800 20900 21000 21100 21200 21300 21400 21500 21600 21700 21800 21900 22000 22100 22200 22300 22400 22500 22600 22700 22800 22900 23000 23100 23200 23300 23400 23500 23600 23700 23800 23900
C RMTJRNAME IFEQ *JRN C EVAL QJORJ = JRNNAME C* If RMTJRNNAME = *JRN, set QJORJ = local journal name. C* Otherwise, set to name passed. C ELSE C EVAL QJORJ = RMTJRNAME C ENDIF C PRFINACTYP IFEQ C C EVAL QJOPIT = 0 C* Preferred Inactive Type Controlled C ENDIF C PRFINACTYP IFEQ I C EVAL QJOPIT = 1 C* Preferred Inactive Type Immediate C ENDIF C CALLB QJOCJS C PARM JRNNAME C PARM QJO0300R C PARM REQVARLEN C PARM REQFMTNAM C PARM QJO0300R00 C PARM RCVVARLEN C PARM QUSEC C ENDSR C******************************************************************** C* Activate Remote Journal Subroutine C* C ACTRMTJRN BEGSR C SYNASY CASEQ S ACTRMTSYN C* Synchronous Maintained Remote Journal C SYNASY CASEQ A ACTRMTASY C* Asynchronous Maintained Remote Journal C ENDCS C ENDSR C******************************************************************** C* Activate Remote Journal Synchronously Subroutine C* C ACTRMTSYN BEGSR C EVAL REQVARLEN = %SIZE(QJO0400R) C EVAL REQFMTNAM = CJST0400 C EVAL RCVVARLEN = 0 C EVAL QJORDBDE01 = RDBDIRE C RMTJRNAME IFEQ *JRN C EVAL QJORJ01 = JRNNAME C* If RMTJRNNAME = *JRN, set QJORJ01 = local journal name. C* Otherwise, set to name passed. C ELSE C EVAL QJORJ01 = RMTJRNAME C ENDIF C EVAL QJOSJR = STRJRNRCV C CALLB QJOCJS C PARM JRNNAME C PARM QJO0400R C PARM REQVARLEN C PARM REQFMTNAM C PARM QJO0400R C PARM RCVVARLEN C PARM QUSEC C ENDSR
03/26/98 03/26/98 03/26/98 03/26/98 03/26/98 03/19/98 03/26/98 03/18/98 03/18/98 03/19/98 03/18/98 03/26/98 03/18/98 03/19/98 03/18/98 03/18/98 03/19/98 03/18/98 03/18/98 03/18/98 03/18/98 03/18/98 03/18/98 03/18/98 03/19/98 03/19/98 03/19/98 03/19/98 03/18/98 03/26/98 03/18/98 03/26/98 03/18/98 03/18/98 03/19/98 03/19/98 03/19/98 03/18/98 03/18/98 03/18/98 03/18/98 03/18/98 03/26/98 03/26/98 03/26/98 03/26/98 03/26/98 03/26/98 03/26/98 03/19/98 03/18/98 03/19/98 03/18/98 03/18/98 03/18/98 03/18/98 03/18/98 03/18/98 03/18/98
347
24000 24100 24200 24300 24400 24500 24600 24700 24800 24900 25000 25100 25200 25300 25400 25500 25600 25700 25800 25900 26000 26100 26200 26300 26400 26500 26600 26700 26800 26900 27000 27100 27200 27300 27400 27500 27600 27700 27800 27900 28000 28100 28200 28300 28400 28500 28600 28700
C******************************************************************** C* Activate Remote Journal Asynchronously Subroutine C* C ACTRMTASY BEGSR C EVAL REQVARLEN = %SIZE(QJO0500R) C EVAL REQFMTNAM = CJST0500 C EVAL RCVVARLEN = 0 C EVAL QJORDBDE02 = RDBDIRE C RMTJRNAME IFEQ *JRN C EVAL QJORJ02 = JRNNAME C* If RMTJRNNAME = *JRN, set QJORJ02 = local journal name. C* Otherwise, set to name passed. C ELSE C EVAL QJORJ02 = RMTJRNAME C ENDIF C EVAL QJOSJR00 = STRJRNRCV C EVAL QJOSTP = SNDTSKPRI C CALLB QJOCJS C PARM JRNNAME C PARM QJO0500R C PARM REQVARLEN C PARM REQFMTNAM C PARM QJO0500R C PARM RCVVARLEN C PARM QUSEC C ENDSR C******************************************************************** C* This subroutine is called when *LIBL or *CURLIB is specified for C* the journal name, and *JRN is specified for the remote journal C* name. The Retrieve Object Description API is used to find the C* local journal by the library list or current library, and then C* return the name of the library where the local journal was found. C* The returned library is moved to the last 10 positions of the C* JRNNAME field. This enables other subroutines that deal with C* *JRN to find a library name C* C RTVLIB BEGSR C EVAL RCVVARLEN = %SIZE(QUSD0100) C EVAL REQFMTNAM = OBJD0100 C CALL QUSROBJD C PARM QUSD0100 C PARM RCVVARLEN C PARM REQFMTNAM C PARM JRNNAME C PARM JRNOBJTYP C PARM QUSEC C MOVE QUSRL01 JRNNAME C ENDSR * * * * E N D O F S O U R C E * * * *
03/19/98 03/19/98 03/19/98 03/18/98 03/18/98 03/18/98 03/18/98 03/19/98 03/26/98 03/26/98 03/26/98 03/26/98 03/26/98 03/26/98 03/26/98 03/19/98 03/18/98 03/18/98 03/19/98 03/18/98 03/18/98 03/18/98 03/18/98 03/18/98 03/18/98 03/18/98 04/08/98 04/09/98 04/09/98 04/09/98 04/09/98 04/09/98 04/09/98 04/09/98 04/09/98 04/09/98 04/08/98 04/08/98 04/08/98 04/08/98 04/08/98 04/08/98 04/08/98 04/08/98 04/08/98 04/08/98 04/08/98 04/08/98
348
5769PW1 V4R2M0 980228 SEU SOURCE LISTING 04/08/98 SOURCE FILE . . . . . . . RMTJRN/QCMDSRC MEMBER . . . . . . . . . RMVRMTJRN SEQNBR*...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 ...+... 8 ...+... 100 CMD PROMPT( Remove Remote Journal ) 200 PARM KWD(JRNNAME) TYPE(QJRNNAME) MIN(1) + 300 PROMPT( Journal Name ) 400 PARM KWD(RDBDIRE) TYPE(*CHAR) LEN(18) MIN(1) + 500 PROMPT( Remote RDB Directory Entry ) 600 PARM KWD(RMTJRNAME) TYPE(QRMTJRNNM) + 700 PMTCTL(*PMTRQS) PROMPT( Remote Journal Name ) 800 QJRNNAME: QUAL TYPE(*NAME) LEN(10) MIN(1) 900 QUAL TYPE(*NAME) LEN(10) SPCVAL((*CURLIB) + 1000 (*LIBL)) MIN(1) PROMPT( Library ) 1100 QRMTJRNNM: QUAL TYPE(*NAME) LEN(10) DFT(*JRN) SPCVAL((*JRN)) 1200 QUAL TYPE(*NAME) LEN(10) PROMPT( Library ) * * * * E N D O F S O U R C E * * * * 5769PW1 V4R2M0 980228 SEU SOURCE LISTING 04/08/98 SOURCE FILE . . . . . . . RMTJRN/QRPGLESRC MEMBER . . . . . . . . . RMVRMTJRN SEQNBR*...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 ...+... 8 ...+... 100 H******************************************************************** 200 H* This program accepts input from a CMD to Remove a Remote Journal. 300 H* /COPY is used to reduce the size of the source. Appropriate 400 H* parts of the includes can also be copied directly to this source 500 H* member. 600 H* 700 H* Removing a remote journal only removes the definition on the source 800 H* system. If the journal is to be deleted from the remote system, 900 H* it must be deleted by the user. 1000 H******************************************************************** 1100 H* Compile options 1200 HDFTACTGRP(*NO) ACTGRP(*CALLER) 1300 D******************************************************************** 1400 D* Includes for Journal APIs 1500 D* 1600 D/COPY QSYSINC/QRPGLESRC,QJOURNAL 1700 D******************************************************************** 1800 D* 1900 D******************************************************************** 2000 D* Error code parameter include. Bytes available is set to 0 in *INZSR 2100 D* which causes program to function check if any errors are 2200 D* encountered. Error handling can be added to this program by 2300 D* changing the bytes available parameter to 16, or greater than 16. 2400 D* Changing this value without adding any error handling to the 2500 D* program will cause the program to appear to complete normally 2600 D* even when an error has occurred, other than messages logged to 2700 D* the job log. 3800 D/COPY QSYSINC/QRPGLESRC,QUSEC 2900 D********************************************************************
20:22:27
PAGE
9 ...+... 0 04/08/98 03/19/98 03/19/98 03/15/98 03/15/98 03/19/98 03/19/98 03/19/98 04/08/98 04/08/98 03/26/98 03/26/98 20:27:22 PAGE 1
9 ...+... 0 03/15/98 03/15/98 03/15/98 03/15/98 03/26/98 03/26/98 03/26/98 03/26/98 03/26/98 03/15/98 03/15/98 03/14/98 03/15/98 03/15/98 03/15/98 03/15/98 03/15/98 03/15/98 03/15/98 03/15/98 03/15/98 03/15/98 03/26/98 03/15/98 03/15/98 03/15/98 03/15/98 03/15/98 03/15/98
349
3000 3100 3200 3300 3400 3500 3600 3700 3800 3900 4000 4100 4200 4300 4400 4500 4600 4700 4800 4900 5000 5100 5200 5300 5400 5500 5600 5700 5800 5900 6000 6100 6200 6300 6400 6500 6600 6700 6800 6900 7000 7100 7200 7300 7400 7500 7600 7700 7800 7900 8000 8100 8200 8300 8400
D* D******************************************************************** D* Standalone fields D* D REQVARLEN S 9B 0 D* Length of request variable D REQFMTNAM S 8A D* Request format name D******************************************************************** C******************************************************************** C* Main Line C EXSR RMVJRN C MOVE *ON *INLR C* End of Main Line C******************************************************************** C******************************************************************** C* Program Initialization Subroutine C* C *INZSR BEGSR C *ENTRY PLIST C PARM JRNNAME 20 C* Journal Name C PARM RDBDIRE 18 C* Remote Relational DB C* Directory Entry C PARM RMTJRNAME 20 C* Remote Journal Name C EVAL QUSBPRV = 0 C* See comments in D specs for C* error code parameter. C* C ENDSR C******************************************************************** C* Remove Remote Journal Subroutine C* C RMVJRN BEGSR C EVAL REQVARLEN = %SIZE(QJOJ010000) C EVAL REQFMTNAM = RMRJ0100 C RMTJRNAME IFNE *JRN C EVAL QJOQRJN00 = RMTJRNAME C* Special value *JRN indicates remote C* journal name is the same as the local C* journal name. If this parameter = *JRN C* leave QJOQRJN blank. Otherwise set to C* passed name. C ENDIF C CALLB QJORRJ C PARM JRNNAME C PARM RDBDIRE C PARM QJOJ010000 C PARM REQVARLEN C PARM REQFMTNAM C PARM QUSEC C ENDSR C******************************************************************** * * * * E N D O F S O U R C E * * * *
03/15/98 03/15/98 03/15/98 03/15/98 03/15/98 03/26/98 03/15/98 03/26/98 03/15/98 03/26/98 03/26/98 03/15/98 03/15/98 03/26/98 03/26/98 03/26/98 03/26/98 03/26/98 03/15/98 03/15/98 03/19/98 03/26/98 03/15/98 03/26/98 03/26/98 03/19/98 03/26/98 03/15/98 03/26/98 03/26/98 03/26/98 03/15/98 03/26/98 03/26/98 03/26/98 03/26/98 03/15/98 03/15/98 04/09/98 04/09/98 04/09/98 04/09/98 04/09/98 04/09/98 04/09/98 03/26/98 03/15/98 03/19/98 03/15/98 03/15/98 03/15/98 03/15/98 03/14/98 03/15/98 03/26/98
Backup and Recovery Guide , SC41-5304 DB2 for OS/400 Database Programming , SC41-5701-01 DB2 for OS/400 Programming Book , SC41-5611-01 DB2/400 Advanced Functions , SG24-4249-01 System API Reference , SC41-5801-01 Whats New With DB2 article in the March 1998 issue of the AS/400 Magazine .
350
In most cases, the hub also acts as the database server. Since all systems can communicate with each other (providing that the hub is active), any system can be the client. Some OptiConnect configurations have AS/400 systems that act simultaneously as a server and a client. However, any system can act as a database server. The satellite system uses standard AS/400 fiber bus hardware, which may already exist in the installed system or need to be ordered. OptiConnect for OS/400 supports the clustering of selected Reduced Instruction Set Computing (RISC) and Complex Instruction Set Computing (CISC) 9406 AS/400 processor models. A given cluster can include up to 32 AS/400 systems, with a mixture of both RISC and CISC architectures. Interoperability between OS/400 versions is maintained so each system can operate at different release levels. This assumes that all the systems are at V3R1 or later.
Copyright IBM Corp. 1998
351
To determine the appropriate adapter for your AS/400 system, refer to Table 41 on page 359, which contains a list of applicable feature codes. Note: OptiConnect for OS/400 is a communication vehicle. OptiConnect for OS/400 products provide AS/400 systems with physical links for a high availability clustered solution. OptiConnect for OS/400 components support the infrastructure for applications to conduct data exchanges over high speed connections. OptiConnect for OS/400 does not offer high availability without applications that utilize the hardware links. OptiConnect for OS/400 can be the transport mechanism for in-house developed applications, business partner software, or remote journal support. See Appendix E, High Availability Solutions on page 391, to learn more about several high availability solutions highlighted in this redbook. Note: For the purpose of our discussion, this chapter focuses on RISC systems only.
352
For a detailed introduction to the terminology and hardware components of an OptiConnect high-availability solution, see Appendix D, OptiConnect for OS/400 Terminology and Hardware Overview on page 387.
OptiConnect/400 for OS/400 the base OptiConnect software functions OptiMovera software component that provides an API interface to OptiConnect hardware
353
software that allows you to connect multiple AS/400 systems on a shared optical bus. With the OptiMover for OS/400 PRPQ, applications can use the high-speed optical bus to communicate among systems on the shared bus. This includes the object transfer functions in ObjectConnect. The high speed DDM capabilities of OptiConnect are not available, however. These APIs are available free of charge to OptiConnect for OS/400 customers by ordering a PTF that serves as an ordering vehicle. OptiMover for OS/400 is available for those AS/400 RISC systems that require access to APIs to satisfy an application program prerequisite, but do not require full DDM support provided with OptiConnect. Use OS/400 option 22 (which supplies the ObjectConnect/400 commands) with OptiMover when you need an effective way to move objects between systems at optical bus speeds. Refer to Section 5.9, ObjectConnect/400 on page 65 for information on ObjectConnect/400. To confirm that OptiMover is installed on your system, use:
CHKPRDOPT PRDID(5799FWQ)
or
DSPPTF LICPGM(5799FWQ)
For more information, refer to OptiMover for OS/400 , SC41-0626.
354
Figure 105. Hardware Service Manager View of OptiConnect Logical Resources on System Bus
Note: A system attached to an OptiConnect card does not show the status of its own card on the bus.
355
356
The extra fiber cables and OptiConnect adapters of a dual path connection can appear confusing. When you look at each satellite separately, the connection is easier to understand. Notice the use of top-to-top and bottom-to-bottom cabling and the redundant link.
357
For full dual path OptiConnect, add a redundant connection for Hub 2, as shown in Figure 109. When you implement dual path OptiConnect, satellite-to-satellite and satellite-to-hub communication are ensured. The communication occurs even when one hub becomes unavailable or an OptiConnect adapter fails. This allows for the highest degree of availability in an OptiConnect cluster.
358
Feature Codes or RPQs 2669 2683 2685 2632 2670 2680 2674 2673 2686 2688 Bus Units
Hardware Description (Bus Speed in Mbps) IMPI Shared Bus Adapter (220) RISC Shared Bus Adapter (266) RISC Shared Bus Adapter (1063) 5042 Dual Bus Adapter (220) 5042 Single Bus Adapter (220) 5044 Single Bus Adapter (266) Bus Expansion Adapter (266) Bus Expansion Adapter (1063) Optical Link Processor (266) Optical Link Processor (1063)
Model D, E, F X
Model 500 X
Model 510 X
X X X
X X X
X X
X X X
X X X X X
843874 843875
359
Table 41 (Page 2 of 2). OptiConnect Feature Codes for 9406 AS/400 Systems
AS/400 Model 30S, 310, 320 X X RPQ X X X X X X X Model 530, 53S, 6XX
Feature Codes or RPQs 5042 5044 5062 5070 5072 5073 Standard HW 2632 2684 2670 2680 2682 2673 2674 25XX
Hardware Description (Bus Speed in Mbps) IMPI Dual Bus (220- 6+6 slots) Converted 5042 (RISC 266) 3X0 Single Bus (220 - 13 slots) 5X0 Single Bus (266 - 13 slots) 530 Single Bus (1063 - 13 slots) 6XX Single Bus (1063 - 13 slots)
Model D, E, F X
Model 500
Model 510
RPQ Number
5042 Dual Bus Adapter (220) 5044 Dual Bus Adapter 5062 Single Bus Adapter 5070 Single Bus Adapter (266) 5072 Single Bus Adapter (1063) Bus Expansion Adapter (1063) Bus Expansion Adapter (266) Bus Expansion Adapter (220)
X X X X X X X X X X X
Note: The feature codes listed are ordered as RPQ numbers for systems prior to V4R2 and some systems after V4R2. The RPQ number matches the feature code listed. After the feature code is available, the equivalent RPQ is withdrawn from marketing.
360
361
DB2 for AS/400Database Manager Limits Most columns in a table (number of fields in a record) Most columns in a view (number of fields in a record) Maximum length of a row including all overhead (number of bytes in a record) Maximum size of a table (number of bytes in a database physical file member) Maximum size of an index (number of bytes in an access path) Most rows in a table (number of records in a database physical file member) Longest index key (size of key for database files) Most columns in an index key (number of key fields in a database file) Most indexes on a table (number of access paths on a database physical file member) Most tables referenced in an SQL statement or a view (number of members that can be joined or number of physical file members in a logical file member) Most host variable declarations in a precompiled program Most host variables in an SQL statement
2
4 000
32 Amount of storage
1 024
32 766 32 767
Longest host variable used for insert or update Longest SQL statement Most elements in a select list
3
8 000
4 690 120 2 000 10 000 10 000 16 777 215 Amount of storage Amount of storage Amount of storage Amount of storage 300 32 2 000
Most predicates in a WHERE or HAVING clause Maximum number of columns in a GROUP BY clause Maximum total length of columns in a GROUP BY clause Maximum number of columns in an ORDER BY clause Maximum total length of columns in an ORDER BY clause Maximum size of an SQLDA Maximum number of prepared statements Most declared cursors in a program Maximum number of cursors opened at one time Most tables in a relational database Maximum number of constraints on a table Maximum levels allowed for a subselect Maximum length of a comment
362
DB2 for AS/400Database Manager Limits Maximum number of rows changed in a unit of work (number of records locked in a single transaction under commitment control) Maximum number of triggers per physical file Maximum number of recursive insert and update trigger calls Maximum size of a single journal receiver Maximum sequence number for journal entries Maximum number of objects that can be associated with one journal Maximum number of members affected by a single APYJRNCHG command Maximum number of remote journal target systems for broadcast mode Maximum number of members in a physical or logical file Maximum number of members in a database physical file that can be saved in a single save operation
4
Value 4 000 000 6 triggers 200 2GB 2 147 483 136 250 000 32 767 255 32 767 32 766 (only 16 383 if TYPE(*DATA) and keyed access path)
DB2 for AS/400SQL Identifier Limits Longest authorization name Longest correlation name Longest cursor name Longest host identifier Longest server name Longest SQL label Longest statement name Longest unqualified collection name Longest unqualified column name Longest unqualified constraint name Longest unqualified external program name Longest unqualified nodegroup name Longest unqualified package name Longest unqualified procedure name
5
2 3 4
The limit is based on the number of host variables that can fit within the longest SQL statement of 32 767 bytes. The limit is based on the size of internal structures generated for the parsed SQL statement. This maximum includes physical file members whose changes are currently being journaled, members for which journaling was ended while the current receiver was attached, and journal receivers that are or were associated with the journal while the current journal receiver is attached. If the number of objects is larger than this maximum, journaling does not start.
363
DB2 for AS/400SQL Identifier Limits Longest unqualified specific name Longest unqualified SQL parameter name Longest unqualified SQL variable name Longest unqualified table, view, and index name Unqualified system column name Unqualified system table, view, and index name
DB2 for AS/400Numeric Limits Smallest INTEGER value Largest INTEGER value Smallest SMALLINT value Largest SMALLINT value Largest decimal precision Smallest FLOAT value Largest FLOAT value Smallest positive FLOAT value Largest negative FLOAT value Smallest REAL value Largest REAL value Smallest positive REAL value Largest negative REAL value
Value
32 768
+ 3 2 767 31
1.79x10308 +1.79x10 308 +2.23x10 308 2.23x10 308 3.4x1038 + 3 . 4 x 1 0 38 +1.17x10 38 1.17x10 38
DB2 for AS/400String Limits Maximum length of CHAR Maximum length of VARCHAR Maximum length of C NUL-terminated Maximum length of GRAPHIC Maximum length of VARGRAPHIC Maximum length of C NUL-terminated graphic
364
DB2 for AS/400String Limits Maximum length of character constant Maximum length of a graphic constant Longest concatenated character string Longest concatenated graphic string
DB2 for AS/400Date and Time Limits Smallest DATE value Largest DATE value Smallest TIME value Largest TIME value Smallest TIMESTAMP value Largest TIMESTAMP value
General Communications Limits Maximum number of communications configuration objects that can be varied online at IPL Maximum number of communications configuration objects that can be in a varied on state Recommended maximum number of devices allocated to an interactive or communications subsystem Maximum number of virtual devices that can be specified as automatically configured (QAUTOVRT system value) Maximum Communications/LAN hardware capabilities
Value 32 767 64 926 250 to 300 32 500 or *NOMAX See AS/400e series System Handbook , GA19-5486
SNA Communications Limits Maximum number of SNA controllers per LAN line plus the Network controller
Value 256
365
SNA Communications Limits Maximum number of SNA CDs across a Frame Relays NWI lines Maximum number of lines per Frame Relay NWI Maximum number of logical channels per X.25 line Maximum number of controllers on SDLC multidrop lines Maximum number of active sessions per APPC mode Maximum number of modes per APPC device (or APPN location)
6
Value 256 256 256 254 512 14 25 300 9 999 254 476 1 898 294 4 995 450 254
Maximum combined number of APPC devices (in any state) and APPN devices (in varied on state) Maximum number of APPN intermediate sessions Maximum number of devices per controller Maximum size of APPN local location list Maximum size of APPN remote location list Maximum size of Asynchronous network address list Maximum size of Asynchronous remote location list Maximum size of Retail pass-through list Maximum size of SNA pass-through group
TCP/IP Communications Limits Maximum number of interfaces per line Maximum number of interfaces per system Maximum number of routes per system Maximum number of ports for TCP Maximum number of ports for UDP Maximum TCP receive buffer size Maximum TCP send buffer size Maximum size of a transmission unit on an interface Maximum number of Telnet server jobs Maximum number of sessions per Telnet server Default maximum number of socket descriptors per job Maximum number of socket descriptors on the system Maximum size of database files for FTP
8 7
Value 128 512 65 535 65 535 65 535 8MB 8MB 16 388 132 000 20 200 174 761 1TB
An APPN location refers to all devices that have the same values for RMTLOCNAME, RMTNETID, and LCLLOCNAME.
366
OptiConnect Limits Maximum number of systems that can be connected using OptiConnect Maximum number of logical connection paths that can be established between two systems using OptiConnect Maximum distance between systems that are connected using OptiConnect Maximum number of active jobs that can communicate with any one system using OptiConnect 9 Maximum total number of active jobs on one system that can use OptiConnect 9
Value 32 2 500 meters (1063 Mbps) or 2 kilometers (266 Mbps) 16 382 65 532
Communications Trace Service Tool Limits Maximum amount of storage allocated for a single communications trace buffer Maximum total amount of storage allocated for all communications trace buffers Maximum number of active traces per multiline IOP on pre-V4R1 IOP hardware (limit is removed with new V4R1 IOP hardware)
Default can be changed with DosSetRelMaxFH()Change the Maximum Number of File Descriptors (see OS/400 UNIX-Type APIs in the AS/400 Softcopy Library). Actual number may be lower if NFS is used on the system. The following count as jobs toward OptiConnect job limits: DDM/DRDA source jobs (user jobs), DDM/DRDA target jobs on server, DB2 multisystem system jobs, APPC controllers using OptiConnect (type *OPC, count as 2 jobs for each controller), jobs using ObjectConnect over OptiConnect, jobs using OptiMover API, and active Remote Journals. Some of these uses are transient for the duration of a function (for example, ObjectConnect SAVRSTxxx) and some are more long term (for example, DDM conversations until reclaimed by RCLDDMCNV or ending the job).
8 9
367
Work Management Limits Maximum number of jobs on the system Maximum number of jobs in a subsystem Maximum number of prestart jobs initially started when subsystem started Maximum number of spooled files per job Maximum amount of temporary auxiliary storage that can be specified for a job Maximum number of active memory storage pools
Maximum number of private authorities a user profile can have to successfully save the profile using SAVSYS or SAVSECDTA commands
200 000
2 097 070 1 048 573 2 147 483
Maximum number of objects that can be secured by an authorization list Maximum number of private authorities to an authorization list Maximum number of entries in a validation list Maximum number of user profiles on a system
13
340 000
10
A user profile contains four categories of entries: 1) every object owned by the profile, 2) every private authority the profile has to other objects, 3) every private authority other profiles have to objects owned by this profile, and 4) every object for which this profile is the primary group. The sum of these categories equals the total number of entries for the profile. OS/400 maintains internal user profiles that own objects that are shared or cannot be assigned to a single individual user (for example, QDBSHR owns shared database objects such as database formats, access paths, and so on). These internal user profiles are subject to the same limits as any other user profile on the system. Using authorization lists or group profiles reduces the number of private authorities and helps avoid this limit (see Security - Reference , SC41-5302). Limit is due to the maximum number of entries allowed for the user profile that owns the authorization list (one less because a category 01 entry is used for the ownership of the authorization list).
11
12
13
368
Save and Restore Limits Maximum number of related internal objects that can be saved in a single save operation 14 Maximum number of members in a database physical file that can be saved in a single save operation Maximum number of database files in a library that can be saved in a single save operation Maximum number of private authorities a user profile can have to successfully save the profile using SAVSYS or SAVSECDTA commands Maximum number of names in a save or restore command specifying which objects or libraries to include or exclude in the save or restore operation 15 Maximum number of concurrent save or restore operations Maximum size of an object that can be saved Maximum size of a save file
12
Value 32 766 32 766 (only 16 383 if TYPE(*DATA) and keyed access path)
1TB
256GB
14
database file objects in a library that are related to each other by dependent logical files. database file objects in a library that are journaled to the same journal when using the save-while-active function. objects in a library when SAVACT(*LIB) is specified. objects in a library when saving to a diskette device.
For most object types, one internal object is saved for each OS/400 object. Some exceptions are:
Subsystem descriptions: 9 internal objects per subsystem description. Database files: At least 1 internal object per physical file member. At least 2 internal objects per member for physical files of TYPE(*DATA) with keyed access paths or constraints. At least 1 internal object per dependent logical file member when ACCPTH(*YES) is specified.
15
Using generic names to specify groups of objects or libraries can help avoid this limit.
369
Miscellaneous Limits Maximum number of libraries in a library list Maximum number of libraries in the user portion of the library list Maximum number of objects in a library Maximum number of documents (DLOs) in a user ASP Maximum number of folders in an ASP Maximum number of auxiliary storage pools (ASPs) Maximum number of objects on the system or in one / root file system Maximum number of directories in one directory in the root, QopenSys, or user-defined file systems Maximum size of a stream file Maximum size of a user space Maximum system and I/O hardware configurations and capacities Maximum number of DASD arms Minimum number of DASD arms required for acceptable performance
16
Value 43 25
17
Maximum number of input fields that can be specified for a display file Maximum size of files when filing OfficeVision mail locally
16 17
IBM employees should refer to current guidelines contained in AS4ARMCT PACKAGE on MKTTOOLS. When the QSYSOPR message queue gets full, message CPF2460 is issued that states the QSYSOPR message queue could not be extended. PTFs SF47027 (V4R1) and SF45613 (V4R2) are available to avoid this situation and allow the QSYSOPR message queue to wrap. Refer to the PTF cover letters for special instructions. This fix will be incorporated into the next release of the operating system. Contact your software service provider if you have questions.
370
CALL QWCCRTEC
QWCCRTEC produces a QPSRVDMP spooled file. A sample report follows in Figure 111 on page 372. The SRC codes that mark the stage of the IPL process are highlighted with the date and time stamp noted in the right hand column. Refer to AS/400 Licensed Internal Code Diagnostic Aids Volume 1 , LY44-5900, for a further description of the SRCs and the IPL process.
371
5769SS1 V4R2M0 980228 OBJECT TYPESPACE NAMEQWCSRCDATAOUTPUT CREATION04/08/98 06:06:45 ATTRIBUTES0000 SPACE ATTRIBUTES000000 00FFFF00 00000060 19EFD8E6 000020 40404040 40404040 40020000 000040 00000000 00000000 00000000 SPACE000000 E7D7C640 D7E6D9C4 E6D54040 000020 0000C4F9 F0F000F2 F7F4F000 000040 0000C4F9 F0F000F2 F7F5F000 000060 0000C4F9 F0F000F2 F7F7F000 000080 0000C4F9 F0F000F2 F7F8F000 0000A0 0000C4F9 F0F000F2 F7F9F000 0000C0 0000C4F9 F0F000F2 F7C3F000 0000E0 C5958440 D7E6D9C4 E6D54040 000100 E7D7C640 C9D7D340 40404040 000120 0000C3F9 F0F000F2 F8F1F000 000140 0000C3F9 F0F000F2 F8F2F000 000160 00000000 F1F000F2 F000F0F0 000180 00000000 F1F000F2 F000F0F0 0001A0 00000000 F1F000F3 F000F0F0 0001C0 00000000 F1F000F3 F000F0F0 0001E0 00000000 F1F000F3 F000F0F0 000200 00000000 F1F000F3 F000F0F0 000220 00000000 F1F000F3 F000F0F0 000240 00000000 F1F000F3 C100F0F0 000260 0000C3F9 F0F000F2 F8F3F000 000280 00000000 F1F000F3 C100F0F0 0002A0 00000000 F1F000F3 C100F0F0 0002C0 00000000 F1F000F3 C100F0F0 0002E0 00000000 F1F000F3 C100F0F0 000300 00000000 F1F000F3 C100F0F0 000320 00000000 F1F000F3 C100F0F0 000340 00000000 F1F000F3 C100F0F0 000360 00000000 F1F000F3 C100F0F0 000380 00000000 F1F000F3 C100F0F0 0003A0 00000000 F1F000F3 C100F0F0 0003C0 00000000 F1F000F3 C100F0F0 0003E0 00000000 F1F000F3 C100F0F0 000400 00000000 F1F000F3 C100F0F0 000420 00000000 F1F000F3 C100F0F0 000440 00000000 F1F000F3 C100F0F0 000460 00000000 F1F000F3 C100F0F0 000480 00000000 F1F000F3 C100F0F0 0004A0 00000000 F1F000F3 C100F0F0 0004C0 00000000 F1F000F3 C100F0F0 0004E0 00000000 F1F000F3 C100F0F0 000500 00000000 F1F000F3 C100F0F0 000520 00000000 F1F000F3 C100F0F0 000540 00000000 F1F000F3 C100F0F0 000560 00000000 F1F000F3 C100F0F0 000580 00000000 F1F000F3 C100F0F0 0005A0 0000C3F9 F0F000F2 F8C3F000
AS/400 DUMP
04/08/98 6:06:45
PAGE PAGE
1 2
TYPESIZEADDRESSC3E2D9C3 00000000 00000000 404040F0 000000F0 000000F0 000000F0 000000F0 000000F0 000000F0 404040F0 404040F0 000000F0 000000F0 F1F000F0 F2F000F0 F1F000F0 F2F000F0 F3F000F0 F4F000F0 F5F000F0 F1F000F0 000000F0 F1F800F0 F2F000F0 F3F000F0 F3F500F0 F5F000F0 F6F000F0 F7F000F0 F8F000F0 F8F200F0 F9F000F0 F9F800F0 C1F000F0 C1F400F0 C1F800F0 C1C100F0 C1C300F0 C2F000F0 C2F400F0 C2F800F0 C2C100F0 C3F000F0 C4F000F0 C4F400F0 C5F000F0 C6F000F0 000000F0
EF
C4C1E3C1 D6E4E3D7 E4E34040 40404040 * 00003F00 00010000 00000000 00000000 * 00000000 00000000 00000000 00000000 * F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 F0F47AF0 F0F47AF0 F0F47AF0 F0F47AF0 F0F47AF0 F0F47AF0 F0F47AF0 F0F47AF0 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F07AF0F2 F07AF0F2 F17AF5F7 F17AF5F7 F17AF5F8 F17AF5F8 F17AF5F8 F27AF0F2 F07AF2F6 F07AF2F6 F07AF2F6 F07AF2F7 F07AF2F7 F07AF2F7 F07AF2F7 F07AF2F7 F07AF2F7 F07AF2F7 F07AF2F7 F07AF2F7 F07AF2F7 F07AF2F7 F07AF2F7 F07AF2F7 F07AF2F7 F07AF2F7 F07AF2F7 F07AF2F7 F07AF2F7 F07AF2F7 F07AF2F7 F07AF2F7 F07AF2F7 F07AF2F7 F07AF2F7 F07AF2F7 F07AF2F7 F07AF2F7 F07AF2F7 F07AF2F7 F07AF2F8 F07AF2F8 F07AF2F8 F07AF2F8 F07AF2F8 F07AF2F8 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
- QWCSRCDATAOUTPUT
* * *
XPF PWRDWN D900 2740 D900 2750 D900 2770 D900 2780 D900 2790 D900 27C0 End PWRDWN XPF IPL C900 2810 C900 2820 10 20 0010 10 20 0020 10 30 0010 10 30 0020 10 30 0030 10 30 0040 10 30 0050 10 3A 0010 C900 2830 10 3A 0018 10 3A 0020 10 3A 0030 10 3A 0035 10 3A 0050 10 3A 0060 10 3A 0070 10 3A 0080 10 3A 0082 10 3A 0090 10 3A 0098 10 3A 00A0 10 3A 00A4 10 3A 00A8 10 3A 00AA 10 3A 00AC 10 3A 00B0 10 3A 00B4 10 3A 00B8 10 3A 00BA 10 3A 00C0 10 3A 00D0 10 3A 00D4 10 3A 00E0 10 3A 00F0 C900 28C0
03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98
04:00:02 04:00:02* 04:01:57* 04:01:57* 04:01:58* 04:01:58* 04:01:58* 04:02:02 04:10:26 04:10:26 04:10:26 04:10:27* 04:10:27* 04:10:27* 04:10:27* 04:10:27* 04:10:27* 04:10:27* 04:10:27* 04:10:27 04:10:27* 04:10:27* 04:10:27* 04:10:27* 04:10:27* 04:10:27* 04:10:27* 04:10:27* 04:10:27* 04:10:27* 04:10:27* 04:10:27* 04:10:27* 04:10:27* 04:10:27* 04:10:27* 04:10:27* 04:10:27* 04:10:27* 04:10:27* 04:10:28* 04:10:28* 04:10:28* 04:10:28* 04:10:28* 04:10:28
372
0005C0 0005E0 000600 000620 000640 000660 000680 0006A0 0006C0 0006E0 000700 000720 000740 000760 000780 0007A0 0007C0 0007E0 000800 000820 000840 000860 000880 0008A0 0008C0 0008E0 000900 000920 000940 000960 000980 0009A0 0009C0 0009E0 000A00 000A20 000A40 000A60 000A80 000AA0 000AC0 000AE0 000B00 000B20 000B40 000B60 000B80 000BA0 000BC0 000BE0 000C00 000C20 000C40 000C60 000C80 000CA0 000CC0 000CE0
00000000 0000C3F9 0000C3F9 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0000C3F9 00000000 00000000 00000000 00000000 0000C3F9 00000000 0000C3F9 00000000 0000C3F9 00000000 00000000 00000000 00000000 0000C3F9 00000000 00000000
F1F000F3 F0F000F2 F0F000F2 F1F000F4 F1F000F4 F1F000F4 F1F000F5 F1F000F5 F1F000F5 F1F000F5 F1F000F5 F1F000F5 F1F000F6 F1F000F6 F1F000F7 F1F000F8 F1F000F8 F1F000F8 F1F000F8 F1F000C1 F1F000C1 F1F000C2 F1F000C2 F1F000C2 F1F000C4 F1F000C6 F1F000C6 F1F000C6 F1F000C6 F1F000C6 F1F000C6 F2F000F1 F2F000F1 F2F000F1 F2F000F1 F2F000F1 F2F000F1 F2F000F1 F2F000F1 F2F000F1 F2F000F1 F0F000F2 F2F000F1 F2F000F1 F2F000F2 F2F000F2 F0F000F2 F2F000F2 F0F000F2 F2F000F3 F0F000F2 F2F000F3 F2F000F3 F2F000F3 F2F000F5 F0F000F2 F2F000F5 F2F000F5
C600F0F0 F8F2F500 F8C3F500 F000F0F0 F000F0F0 F000F0F0 F000F0F0 F000F0F0 F000F0F0 F000F0F0 F000F0F0 F000F0F0 F000F0F0 F000F0F0 F000F0F0 F000F0F0 F000F0F0 F000F0F0 F000F0F0 F000F0F0 F000F0F0 F000F0F0 F000F0F0 F000F0F0 F000F0F0 F000F0F0 F000F0F0 F000F0F0 F000F0F0 F000F0F0 F000F0F0 F000F0F0 F000F0F0 F000F0F0 F000F0F0 F000F0F0 F000F0F0 F000F0F0 F000F0F0 F000F0F0 F800F0F0 F9F1F000 F800F0F0 F800F0F0 F000F0F0 F800F0F0 F9F2F000 F900F0F0 F9F2F500 F000F0F0 F9F3F000 F000F0F0 F400F0F0 F400F0F0 F100F0F0 F9F6F000 F100F0F0 F100F0F0
F1F000F0 000000F0 000000F0 F1F000F0 F2F000F0 F5F000F0 F1F000F0 F2F000F0 F3F000F0 F4F000F0 F5F000F0 F6F000F0 F1F000F0 F2F000F0 F1F000F0 F1F000F0 F3F000F0 F4F000F0 F5F000F0 F1F000F0 F2F000F0 F1F000F0 F4F000F0 F5F000F0 F1F000F0 F1F000F0 F2F000F0 F3F000F0 F4F000F0 F5F000F0 F6F000F0 F1F000F0 F1F500F0 F1F800F0 F2F000F0 F3F000F0 F4F000F0 F5F000F0 F6F000F0 F7F000F0 F1F000F0 000000F0 F3F000F0 F4F000F0 F1F000F0 F1F000F0 000000F0 F1F000F0 000000F0 F1F000F0 000000F0 F2F000F0 F1F000F0 F2F000F0 F1F000F0 000000F0 F2F000F0 F4F000F0
F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7
61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840
F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1
F07AF2F8 F07AF2F8 F07AF2F8 F07AF2F8 F07AF2F8 F07AF2F8 F07AF2F8 F07AF2F8 F07AF2F8 F07AF2F8 F07AF2F8 F07AF2F8 F07AF2F8 F07AF2F8 F07AF2F8 F07AF2F8 F07AF2F8 F07AF2F8 F07AF2F8 F07AF2F8 F07AF2F8 F07AF2F8 F07AF2F9 F07AF2F9 F07AF2F9 F07AF3F0 F07AF3F0 F07AF3F0 F07AF3F0 F07AF3F0 F07AF3F0 F07AF3F0 F07AF3F0 F07AF3F5 F07AF3F5 F07AF3F5 F07AF3F5 F07AF3F5 F07AF3F5 F07AF3F5 F07AF3F5 F07AF3F5 F07AF3F7 F07AF3F7 F07AF3F7 F07AF3F7 F07AF3F7 F07AF3F8 F07AF3F8 F07AF4F5 F07AF4F5 F07AF4F6 F07AF4F7 F07AF4F7 F07AF4F8 F07AF4F8 F07AF4F8 F07AF4F8
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
10 3F 0010 C900 2825 C900 28C5 10 40 0010 10 40 0020 10 40 0050 10 50 0010 10 50 0020 10 50 0030 10 50 0040 10 50 0050 10 50 0060 10 60 0010 10 60 0020 10 70 0010 10 80 0010 10 80 0030 10 80 0040 10 80 0050 10 A0 0010 10 A0 0020 10 B0 0010 10 B0 0040 10 B0 0050 10 D0 0010 10 F0 0010 10 F0 0020 10 F0 0030 10 F0 0040 10 F0 0050 10 F0 0060 20 10 0010 20 10 0015 20 10 0018 20 10 0020 20 10 0030 20 10 0040 20 10 0050 20 10 0060 20 10 0070 20 18 0010 C900 2910 20 18 0030 20 18 0040 20 20 0010 20 28 0010 C900 2920 20 29 0010 C900 2925 20 30 0010 C900 2930 20 30 0020 20 34 0010 20 34 0020 20 51 0010 C900 2960 20 51 0020 20 51 0040
03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98
PAGE 04:10:28* 04:10:28 04:10:28 04:10:28* 04:10:28* 04:10:28* 04:10:28* 04:10:28* 04:10:28* 04:10:28* 04:10:28* 04:10:28* 04:10:28* 04:10:28* 04:10:28* 04:10:28* 04:10:28* 04:10:28* 04:10:28* 04:10:28* 04:10:28* 04:10:28* 04:10:29* 04:10:29* 04:10:29* 04:10:30* 04:10:30* 04:10:30* 04:10:30* 04:10:30* 04:10:30* 04:10:30* 04:10:30* 04:10:35* 04:10:35* 04:10:35* 04:10:35* 04:10:35* 04:10:35* 04:10:35* 04:10:35* 04:10:35 04:10:37* 04:10:37* 04:10:37* 04:10:37* 04:10:37 04:10:38* 04:10:38 04:10:45* 04:10:45 04:10:46* 04:10:47* 04:10:47* 04:10:48* 04:10:48 04:10:48* 04:10:48*
373
000D00 0000C3F9 F0F000F2 000D20 00000000 F2F000F5 000D40 0000C3F9 F0F000F2 000D60 0000C3F9 F0F000F2 000D80 00000000 F2F000F5 000DA0 00000000 F2F000F5 000DC0 0000C3F9 F0F000F2 000DE0 00000000 F2F000F5 000E00 0000C3F9 F0F000F2 000E20 00000000 F2F000F5 000E40 00000000 F2F000F5 000E60 00000000 F2F000F5 000E80 00000000 F2F000F5 000EA0 00000000 F2F000F5 000EC0 00000000 F2F000F5 000EE0 00000000 F2F000F6 000F00 00000000 F2F000F6 000F20 00000000 F2F000F6 000F40 00000000 F2F000F6 000F60 00000000 F2F000F7 000F80 00000000 F2F000F7 000FA0 00000000 F2F000F7 000FC0 00000000 F2F000F7 000FE0 00000000 F2F000F7 001000 00000000 F2F000F8 001020 0000C3F9 F0F000F2 001040 00000000 F2F000F8 001060 0000C3F9 F0F000F2 001080 00000000 F2F000F8 0010A0 00000000 F2F000F8 0010C0 00000000 F2F000F8 0010E0 00000000 F2F000F9 001100 0000C3F9 F0F000F2 001120 00000000 F2F000F9 001140 00000000 F2F000F9 001160 00000000 F2F000F9 001180 00000000 F2F000F9 0011A0 00000000 F2F000C1 0011C0 0000C3F9 F0F000F2 0011E0 00000000 F2F000C1 001200 00000000 F2F000C1 001220 0000C3F9 F0F000F2 001240 00000000 F2F000C1 001260 0000C3F9 F0F000F2 001280 00000000 F2F000C1 0012A0 00000000 F2F000C1 0012C0 00000000 F2F000C1 0012E0 0000C3F9 F0F000F2 001300 00000000 F2F000C1 001320 00000000 F2F000C1 001340 00000000 F2F000C1 001360 00000000 F2F000C1 001380 00000000 F2F000C1 0013A0 00000000 F2F000C1 0013C0 00000000 F2F000C1 LINES 0013E0 TO 001440 00000000 F2F000C1 LINES 001460 TO
F9F6F500 F100F0F0 C1F8F500 F9F6F700 F100F0F0 F100F0F0 C1F8F700 F100F0F0 F9F6F800 F100F0F0 F100F0F0 F100F0F0 F700F0F0 F700F0F0 F700F0F0 F000F0F0 F000F0F0 F000F0F0 F800F0F0 F000F0F0 F800F0F0 F800F0F0 F800F0F0 F800F0F0 F000F0F0 F9F7F000 F800F0F0 F9F8F000 F800F0F0 F800F0F0 F800F0F0 F800F0F0 F9C1F000 F800F0F0 F800F0F0 F800F0F0 F800F0F0 F000F0F0 F9C2F000 F000F0F0 F000F0F0 F9C3F000 F000F0F0 C1F8F000 F100F0F0 F100F0F0 F400F0F0 C1F9F000 F800F0F0 F800F0F0 F800F0F0 F800F0F0 F900F0F0 F900F0F0 F900F0F0 00143F F900F0F0 00149F
000000F0 F361F2F7 F5F000F0 F361F2F7 000000F0 F361F2F7 000000F0 F361F2F7 F6F000F0 F361F2F7 F8F000F0 F361F2F7 000000F0 F361F2F7 F9F000F0 F361F2F7 000000F0 F361F2F7 C1F000F0 F361F2F7 C2F000F0 F361F2F7 C3F000F0 F361F2F7 F1F000F0 F361F2F7 F2F000F0 F361F2F7 F4F000F0 F361F2F7 F1F000F0 F361F2F7 F3F000F0 F361F2F7 F4F000F0 F361F2F7 F1F000F0 F361F2F7 F1F000F0 F361F2F7 F1F000F0 F361F2F7 F1F800F0 F361F2F7 F2F000F0 F361F2F7 F2F200F0 F361F2F7 F1F000F0 F361F2F7 000000F0 F361F2F7 F1F000F0 F361F2F7 000000F0 F361F2F7 F2F000F0 F361F2F7 F4F000F0 F361F2F7 F5F000F0 F361F2F7 F2F000F0 F361F2F7 000000F0 F361F2F7 F3F000F0 F361F2F7 F4F000F0 F361F2F7 F6F000F0 F361F2F7 F7F000F0 F361F2F7 F1F000F0 F361F2F7 000000F0 F361F2F7 F2F000F0 F361F2F7 F3F000F0 F361F2F7 000000F0 F361F2F7 F3F100F0 F361F2F7 000000F0 F361F2F7 F1F000F0 F361F2F7 F2F000F0 F361F2F7 F1F000F0 F361F2F7 000000F0 F361F2F7 F0F500F0 F361F2F7 F0F600F0 F361F2F7 F1F000F0 F361F2F7 F1F500F0 F361F2F7 F1F500F0 F361F2F7 F1F000F0 F361F2F7 F3F100F0 F361F2F7 SAME AS ABOVE F3F100F0 F361F2F7 SAME AS ABOVE
61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840
F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1
F07AF4F8 F07AF5F5 F07AF5F5 F17AF2F1 F17AF2F1 F37AF5F8 F37AF5F8 F47AF0F1 F47AF0F1 F47AF0F1 F47AF0F1 F47AF0F1 F47AF0F1 F47AF0F1 F47AF0F1 F47AF0F1 F47AF0F1 F47AF0F1 F47AF0F1 F47AF0F1 F47AF0F1 F47AF0F1 F47AF0F1 F47AF0F1 F47AF0F2 F47AF0F2 F47AF4F8 F47AF4F8 F47AF4F8 F47AF4F8 F47AF4F8 F47AF4F8 F47AF4F8 F47AF4F8 F47AF4F8 F47AF4F8 F47AF4F8 F47AF4F8 F47AF4F8 F47AF5F5 F47AF5F9 F47AF5F9 F57AF4F5 F57AF4F5 F57AF4F5 F57AF4F5 F57AF4F6 F57AF4F6 F57AF4F6 F57AF4F6 F57AF4F6 F57AF4F8 F57AF4F8 F57AF4F8 F57AF4F8
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
C900 2965 20 51 0050 C900 2A85 C900 2967 20 51 0060 20 51 0080 C900 2A87 20 51 0090 C900 2968 20 51 00A0 20 51 00B0 20 51 00C0 20 57 0010 20 57 0020 20 57 0040 20 60 0010 20 60 0030 20 60 0040 20 68 0010 20 70 0010 20 78 0010 20 78 0018 20 78 0020 20 78 0022 20 80 0010 C900 2970 20 88 0010 C900 2980 20 88 0020 20 88 0040 20 88 0050 20 98 0020 C900 29A0 20 98 0030 20 98 0040 20 98 0060 20 98 0070 20 A0 0010 C900 29B0 20 A0 0020 20 A0 0030 C900 29C0 20 A0 0031 C900 2A80 20 A1 0010 20 A1 0020 20 A4 0010 C900 2A90 20 A8 0005 20 A8 0006 20 A8 0010 20 A8 0015 20 A9 0015 20 A9 0010 20 A9 0031
03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98
PAGE 04:10:48 04:10:55* 04:10:55 04:11:21 04:11:21* 04:13:58* 04:13:58 04:14:01* 04:14:01 04:14:01* 04:14:01* 04:14:01* 04:14:01* 04:14:01* 04:14:01* 04:14:01* 04:14:01* 04:14:01* 04:14:01* 04:14:01* 04:14:01* 04:14:01* 04:14:01* 04:14:01* 04:14:02* 04:14:02 04:14:48* 04:14:48 04:14:48* 04:14:48* 04:14:48* 04:14:48* 04:14:48 04:14:48* 04:14:48* 04:14:48* 04:14:48* 04:14:48* 04:14:48 04:14:55* 04:14:59* 04:1 4:5 04:15:45* 04:15:45 04:15:45* 04:15:45* 04:15:46* 04:15:46 04:15:46* 04:15:46* 04:15:46* 04:15:48* 04:15:48* 04:15:48* 04:15:48*
374
0014A0 0014C0 0014E0 001500 001520 001540 001560 001580 0015A0 0015C0 0015E0 001600 001620 001640 001660 001680 0016A0 0016C0 0016E0 001700 001720 001740 001760 001780 0017A0 0017C0 0017E0 001800 001820 001840 001860 001880 0018A0 0018C0 0018E0 001900 001920 001940 001960 001980 0019A0 0019C0 0019E0 001A00 001A20 001A40 001A60 001A80 001AA0 001AC0 001AE0 001B00 001B20 001B40 001B60 001B80 001BA0 001BC0
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0000C3F9 00000000 0000C3F9 00000000 0000C3F9 00000000 00000000
F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F2F000C1 F0F000F2 F2F000C1 F0F000F2 F2F000C1 F0F000F2 F2F000C2 F2F000C2
F900F0F0 F900F0F0 F900F0F0 F900F0F0 F900F0F0 F900F0F0 F900F0F0 F900F0F0 F900F0F0 F900F0F0 F900F0F0 F900F0F0 F900F0F0 F900F0F0 F900F0F0 F900F0F0 F900F0F0 F900F0F0 F900F0F0 F900F0F0 F900F0F0 F900F0F0 F900F0F0 F900F0F0 F900F0F0 F900F0F0 F900F0F0 F900F0F0 F900F0F0 F900F0F0 F900F0F0 F900F0F0 F900F0F0 F900F0F0 F900F0F0 F900F0F0 F900F0F0 F900F0F0 F900F0F0 F900F0F0 F900F0F0 F900F0F0 F900F0F0 F900F0F0 F900F0F0 F900F0F0 F900F0F0 F900F0F0 F900F0F0 F900F0F3 F900F0F4 C1C1F000 C300F0F0 C1C1F500 C400F0F0 C1C2F000 F000F0F0 F000F0F2
F3F000F0 F3F100F0 F3F000F0 F3F100F0 F3F000F0 F3F100F0 F3F000F0 F3F100F0 F3F000F0 F3F100F0 F3F000F0 F3F100F0 F3F000F0 F3F100F0 F3F000F0 F3F100F0 F3F000F0 F3F100F0 F3F000F0 F3F100F0 F3F000F0 F3F100F0 F3F000F0 F3F100F0 F3F000F0 F3F100F0 F3F000F0 F3F100F0 F3F000F0 F3F100F0 F3F000F0 F3F100F0 F3F000F0 F3F100F0 F3F000F0 F3F100F0 F3F000F0 F3F100F0 F3F000F0 F3F100F0 F3F000F0 F3F100F0 F3F000F0 F3F100F0 F3F000F0 F3F100F0 F3F000F0 F3F100F0 C6F000F0 F5F000F0 F0F000F0 000000F0 F1F000F0 000000F0 F1F000F0 000000F0 F1F000F0 F0F000F0
F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7
61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840
F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AFf
F57AF4F9 F57AF4F9 F57AF5F0 F57AF5F0 F57AF5F0 F57AF5F0 F57AF5F0 F57AF5F0 F57AF5F0 F57AF5F0 F57AF5F0 F57AF5F0 F57AF5F0 F57AF5F0 F57AF5F1 F57AF5F1 F57AF5F1 F57AF5F1 F57AF5F1 F57AF5F1 F57AF5F1 F57AF5F1 F57AF5F1 F57AF5F1 F57AF5F2 F57AF5F2 F57AF5F2 F57AF5F2 F57AF5F2 F57AF5F2 F57AF5F2 F57AF5F2 F57AF5F2 F57AF5F2 F57AF5F3 F57AF5F3 F57AF5F3 F57AF5F3 F57AF5F3 F57AF5F3 F57AF5F3 F57AF5F3 F57AF5F4 F57AF5F4 F57AF5F4 F57AF5F4 F57AF5F4 F57AF5F4 F57AF5F4 F57AF5F4 F57AF5F4 F57AF5F4 F57AF5F5 F57AF5F5 F57AF5F6 F57AF5F6 F57AF5F8 F57AF5F8
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
20 A9 0030 20 A9 0031 20 A9 0030 20 A9 0031 20 A9 0030 20 A9 0031 20 A9 0030 20 A9 0031 20 A9 0030 20 A9 0031 20 A9 0030 20 A9 0031 20 A9 0030 20 A9 0031 20 A9 0030 20 A9 0031 20 A9 0030 20 A9 0031 20 A9 0030 20 A9 0031 20 A9 0030 20 A9 0031 20 A9 0030 20 A9 0031 20 A9 0030 20 A9 0031 20 A9 0030 20 A9 0031 20 A9 0030 20 A9 0031 20 A9 0030 20 A9 0031 20 A9 0030 20 A9 0031 20 A9 0030 20 A9 0031 20 A9 0030 20 A9 0031 20 A9 0030 20 A9 0031 20 A9 0030 20 A9 0031 20 A9 0030 20 A9 0031 20 A9 0030 20 A9 0031 20 A9 0030 20 A9 0031 20 A9 00F0 20 A9 0350 20 A9 0400 C900 2AA0 20 AC 0010 C900 2AA5 20 AD 0010 C900 2AB0 20 B0 0010 20 B0 0200
03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98
PAGE 04:15:49* 04:15:49* 04:15:50* 04:15:50* 04:15:50* 04:15:50* 04:15:50* 04:15:50* 04:15:50* 04:15:50* 04:15:50* 04:15:50* 04:15:50* 04:15:50* 04:15:51* 04:15:51* 04:15:51* 04:15:51* 04:15:51* 04:15:51* 04:15:51* 04:15:51* 04:15:51* 04:15:51* 04:15:52* 04:15:52* 04:15:52* 04:15:52* 04:15:52* 04:15:52* 04:15:52* 04:15:52* 04:15:52* 04:15:52* 04:15:53* 04:15:53* 04:15:53* 04:15:53* 04:15:53* 04:15:53* 04:15:53* 04:15:53* 04:15:54* 04:15:54* 04:15:54* 04:15:54* 04:15:54* 04:15:54* 04:15:54* 04:15:54* 04:15:54* 04:15:54 04:15:55* 04:15:55 04:15:56* 04:15:56 04:15:58* 04:15:58*
375
001BE0 001C00 001C20 001C40 001C60 001C80 001CA0 001CC0 001CE0 001D00 001D20 001D40 001D60 001D80 001DA0 001DC0 001DE0 001E00 001E20 001E40 001E60 001E80 001EA0 001EC0 001EE0 001F00 001F20 001F40 001F60 001F80 001FA0 001FC0 001FE0 002000 002020 002040 002060 002080 0020A0 0020C0 0020E0 002100 002120 002140 002160 002180 0021A0 0021C0 0021E0 002200 002220 002240 002260 002280 0022A0 0022C0 0022E0 002300
00000000 00000000 00000000 00000000 00000000 0000C3F9 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0000C3F9 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
F2F000C2 F2F000C2 F2F000C2 F2F000C2 F2F000C2 F0F000F2 F2F000C2 F2F000C2 F2F000C2 F2F000C3 F2F000C3 F2F000C3 F3F000F1 F3F000F1 F3F000F1 F0F000F2 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1
F000F0F2 F000F0F2 F000F0F2 F000F0F2 F900F0F0 C1C3F000 C400F0F0 C400F0F0 C400F0F0 F000F0F0 F000F0F0 F000F0F0 F000F0F0 F000F0F0 F000F0F1 C2F1F000 F000F0F1 F000F0F1 F000F0F3 F000F0F3 F000F0F1 F000F0F4 F000F0F4 F000F0F4 F000F0F5 F000F0F5 F000F0F5 F000F0F5 F000F0F6 F000F0F6 F000F0F6 F000F0F6 F000F0F6 F000F0F6 F000F0F7 F000F0F7 F000F0F7 F000F0F7 F000F0F7 F000F0F8 F000F0F8 F000F0F8 F000F0F8 F000F0F9 F000F0F9 F000F0F9 F000F0F9 F000F0C2 F000F0C3 F000F0C4 F000F0C4 F000F0C4 F000F0C4 F000F0C4 F000F0C4 F000F0C4 F000F0C4 F000F0C4
F1F000F0 F2F000F0 F3F000F0 F4F000F0 F1F000F0 000000F0 F1F000F0 F5F000F0 F5F500F0 F5F700F0 F5F800F0 F6F000F0 F1F000F0 F9F000F0 F0F000F0 000000F0 F2F000F0 F3F000F0 F2F000F0 F4F000F0 F8F000F0 F4F000F0 F5F000F0 F6F000F0 F2F000F0 F4F000F0 F6F000F0 F8F000F0 F0F000F0 F1F000F0 F2F000F0 F4F000F0 F6F000F0 F8F000F0 F0F000F0 F2F000F0 F4F000F0 F6F000F0 F8F000F0 F0F000F0 F4F000F0 F6F000F0 F8F000F0 F0F000F0 F2F000F0 F4F000F0 F6F000F0 F8F000F0 F5F000F0 F0F000F0 F0F200F0 F0F600F0 F1F000F0 F1F200F0 F1F400F0 F1F600F0 F1F800F0 F2F000F0
F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7
61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840
F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1
F57AF5F8 F57AF5F8 F57AF5F8 F57AF5F8 F57AF5F8 F57AF5F8 F57AF5F9 F57AF5F9 F57AF5F9 F57AF5F9 F57AF5F9 F57AF5F9 F57AF5F9 F57AF5F9 F57AF5F9 F57AF5F9 F57AF5F9 F57AF5F9 F57AF5F9 F57AF5F9 F67AF0F1 F67AF0F1 F67AF0F1 F67AF0F1 F67AF0F1 F67AF0F1 F67AF0F1 F67AF0F1 F67AF0F1 F67AF0F1 F67AF0F1 F67AF0F1 F67AF0F1 F67AF0F1 F67AF0F1 F67AF0F1 F67AF0F1 F67AF0F1 F67AF0F1 F67AF0F1 F67AF0F1 F67AF0F1 F67AF0F1 F67AF0F1 F67AF0F1 F67AF0F1 F67AF0F1 F67AF0F1 F67AF0F1 F67AF0F1 F67AF0F1 F67AF0F1 F67AF0F1 F67AF0F1 F67AF0F1 F67AF0F1 F67AF0F1 F67AF0F1
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
20 B0 0210 20 B0 0220 20 B0 0230 20 B0 0240 20 B9 0010 C900 2AC0 20 BD 0010 20 BD 0050 20 BD 0055 20 C0 0057 20 C0 0058 20 C0 0060 30 10 0010 30 10 0090 30 10 0100 C900 2B10 30 10 0120 30 10 0130 30 10 0320 30 10 0340 30 10 0180 30 10 0440 30 10 0450 30 10 0460 30 10 0520 30 10 0540 30 10 0560 30 10 0580 30 10 0600 30 10 0610 30 10 0620 30 10 0640 30 10 0660 30 10 0680 30 10 0700 30 10 0720 30 10 0740 30 10 0760 30 10 0780 30 10 0800 30 10 0840 30 10 0860 30 10 0880 30 10 0900 30 10 0920 30 10 0940 30 10 0960 30 10 0B80 30 10 0C50 30 10 0D00 30 10 0D02 30 10 0D06 30 10 0D10 30 10 0D12 30 10 0D14 30 10 0D16 30 10 0D18 30 10 0D20
03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98
PAGE 04:15:58* 04:15:58* 04:15:58* 04:15:58* 04:15:58* 04:15:58 04:15:59* 04:15:59* 04:15:59* 04:15:59* 04:15:59* 04:15:59* 04:15:59* 04:15:59* 04:15:59* 04:15:59 04:15:59* 04:15:59* 04:15:59* 04:15:59* 04:16:01* 04:16:01* 04:16:01* 04:16:01* 04:16:01* 04:16:01* 04:16:01* 04:16:01* 04:16:01* 04:16:01* 04:16:01* 04:16:01* 04:16:01* 04:16:01* 04:16:01* 04:16:01* 04:16:01* 04:16:01* 04:16:01* 04:16:01* 04:16:01* 04:16:01* 04:16:01* 04:16:01* 04:16:01* 04:16:01* 04:16:01* 04:16:01* 04:16:01* 04:16:01* 04:16:01* 04:16:01* 04:16:01* 04:16:01* 04:16:01* 04:16:01* 04:16:01* 04:16:01*
376
002320 002340 002360 002380 0023A0 0023C0 0023E0 002400 002420 002440 002460 002480 0024A0 0024C0 0024E0 002500 002520 002540 002560 002580 0025A0 0025C0 0025E0 002600 002620 002640 002660 002680 0026A0 0026C0 0026E0 002700 002720 002740 002760 002780 0027A0 0027C0 0027E0 002800 002820 002840 002860 002880 0028A0 0028C0 0028E0 002900 002920 002940 002960 002980 0029A0 0029C0 0029E0 002A00 002A20 002A40
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0000C3F9 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0000C3F9 00000000 00000000 00000000 00000000 00000000 00000000 0000C3F9 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F0F000F2 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F3F000F1 F0F000F2 F3F000F2 F3F000F2 F3F000F2 F3F000F2 F3F000F2 F3F000F2 F0F000F2 F2F000C3 F2F000C3 F2F000C3 F2F000C3 F2F000C3 F2F000C3 F2F000C3 F2F000C3 F2F000C3 F2F000C3
F000F0C4 F000F0C4 F000F0C4 F000F0C4 F000F0C4 F000F0C4 F000F0C4 F000F0C4 F000F0C4 F000F0C4 F000F0C4 F000F0C4 F000F0C4 F000F0C4 F000F0C4 F000F0C4 F000F0C4 F000F0C4 F000F0C4 F000F0C4 F000F0C4 F000F0C4 F000F0C4 F000F0C4 F000F0C4 C2F3F000 F000F0C4 F000F0C4 F000F0C5 F000F0C5 F000F0C5 F000F0C5 F000F0C5 F000F0C5 F000F0C5 F000F0C5 F000F0C6 F000F0C6 F000F0C6 F000F0C6 C2F4F000 F000F0F0 F000F0F1 F000F0F2 F000F0F2 F000F0F2 F000F0F3 C3F1F000 F000F0F0 F000F0F0 F000F0F0 F000F0F0 F000F0F0 F000F0F0 F000F0F0 F000F0F0 F000F0F0 F000F0F0
F2F200F0 F2F400F0 F2F600F0 F2F800F0 F3F000F0 F3F200F0 F3F400F0 F3F600F0 F3F800F0 F4F000F0 F4F200F0 F4F400F0 F4F600F0 F4F800F0 F5F000F0 F5F200F0 F5F400F0 F5F600F0 F5F700F0 F5F800F0 F5C100F0 C1F300F0 C1F400F0 C2F000F0 C2F800F0 000000F0 C3F000F0 C5F000F0 F0F000F0 F2F000F0 F4F000F0 F6F000F0 F8F000F0 C1F000F0 C3F000F0 C5F000F0 F0F000F0 F2F000F0 F4F000F0 C6C600F0 000000F0 F5F000F0 F0F000F0 F0F000F0 F5F000F0 F7F000F0 F0F000F0 000000F0 F5F700F0 F5F800F0 F6F000F0 F5F700F0 F5F800F0 F6F000F0 F5F700F0 F5F800F0 F6F000F0 F5F700F0
F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7
61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840
F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1
F67AF0F1 F67AF0F1 F67AF0F1 F67AF0F1 F67AF0F1 F67AF0F1 F67AF0F1 F67AF0F1 F67AF0F1 F67AF0F2 F67AF0F2 F67AF0F2 F67AF0F2 F67AF0F2 F67AF0F2 F67AF0F2 F67AF0F2 F67AF0F2 F67AF0F2 F67AF0F2 F67AF0F2 F67AF0F2 F67AF0F2 F67AF0F2 F67AF0F2 F67AF0F2 F67AF0F2 F67AF0F2 F67AF0F2 F67AF0F2 F67AF0F2 F67AF0F2 F67AF0F2 F67AF0F2 F67AF0F2 F67AF0F2 F67AF0F2 F67AF1F5 F67AF1F5 F67AF1F5 F67AF1F5 F67AF1F5 F67AF1F7 F67AF1F8 F67AF2F5 F67AF2F5 F67AF2F5 F67AF3F0 F67AF3F0 F67AF3F1 F67AF3F1 F67AF3F3 F67AF3F3 F67AF3F3 F67AF3F3 F67AF3F3 F67AF3F3 F67AF3F3
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
30 10 0D22 30 10 0D24 30 10 0D26 30 10 0D28 30 10 0D30 30 10 0D32 30 10 0D34 30 10 0D36 30 10 0D38 30 10 0D40 30 10 0D42 30 10 0D44 30 10 0D46 30 10 0D48 30 10 0D50 30 10 0D52 30 10 0D54 30 10 0D56 30 10 0D57 30 10 0D58 30 10 0D5A 30 10 0DA3 30 10 0DA4 30 10 0DB0 30 10 0DB8 C900 2B30 30 10 0DC0 30 10 0DE0 30 10 0E00 30 10 0E20 30 10 0E40 30 10 0E60 30 10 0E80 30 10 0EA0 30 10 0EC0 30 10 0EE0 30 10 0F00 30 10 0F20 30 10 0F40 30 10 0FFF C900 2B40 30 20 0050 30 20 0100 30 20 0200 30 20 0250 30 20 0270 30 20 0300 C900 2C10 20 C0 0057 20 C0 0058 20 C0 0060 20 C0 0057 20 C0 0058 20 C0 0060 20 C0 0057 20 C0 0058 20 C0 0060 20 C0 0057
03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98
PAGE 04:16:01* 04:16:01* 04:16:01* 04:16:01* 04:16:01* 04:16:01* 04:16:01* 04:16:01* 04:16:01* 04:16:02* 04:16:02* 04:16:02* 04:16:02* 04:16:02* 04:16:02* 04:16:02* 04:16:02* 04:16:02* 04:16:02* 04:16:02* 04:16:02* 04:16:02* 04:16:02* 04:16:02* 04:16:02* 04:16:02 04:16:02* 04:16:02* 04:16:02* 04:16:02* 04:16:02* 04:16:02* 04:16:02* 04:16:02* 04:16:02* 04:16:02* 04:16:02* 04:16:15* 04:16:15* 04:16:15* 04:16:15 04:16:15* 04:16:17* 04:16:18* 04:16:25* 04:16:25* 04:16:25* 04:16:30 04:16:30* 04:16:31* 04:16:31* 04:16:33* 04:16:33* 04:16:33* 04:16:33* 04:16:33* 04:16:33* 04:16:33*
377
002A60 002A80 002AA0 002AC0 002AE0 002B00 002B20 002B40 002B60 002B80 002BA0 002BC0 002BE0 002C00 002C20 002C40 002C60 002C80
00000000 00000000 00000000 00000000 0000C3F9 00000000 00000000 0000C3F9 00000000 0000C3F9 00000000 00000000 0000C3F9 00000000 C5958440 00000000 00000000 00000000
F2F000C3 F2F000C3 F2F000C3 F2F000C4 F0F000F2 F2F000C4 F2F000C4 F0F000F2 F2F000C4 F0F000F2 F2F000C4 F2F000C4 F0F000F2 F2F000C4 968640C9 F2F000C4 F2F000C4 F2F000C4
F000F0F0 F000F0F0 F000F0F0 F000F0F1 C3F4F000 F000F0F8 F800F0F0 C3F2F000 F800F0F0 C3F2F500 F800F0F0 F800F0F0 C6F0F000 F800F0F8 D7D34040 F900F0F0 F900F0F0 F900F0F0
F5F800F0 F6F000F0 F9F000F0 F0F000F0 000000F0 F1F000F0 F2F000F0 000000F0 F2F300F0 000000F0 F2F500F0 F2F700F0 000000F0 F2F000F0 404040F0 F1F000F0 F2F000F0 F3F000F0
F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7 F361F2F7
61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840 61F9F840
F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1 F0F47AF1
F67AF3F3 F67AF3F3 F67AF3F4 F67AF3F4 F67AF3F4 F67AF3F4 F67AF3F4 F67AF3F4 F67AF3F4 F67AF3F4 F67AF3F4 F67AF3F4 F67AF3F7 F67AF3F7 F67AF3F7 F67AF3F7 F67AF3F7 F67AF4F6
* * * * * * * * * * * * * * * * * *
20 C0 0058 20 C0 0060 20 C0 0090 20 D0 0100 C900 2C40 20 D0 0810 20 D8 0020 C900 2C20 20 D8 0023 C900 2C25 20 D8 0025 20 D8 0027 C900 2F00 20 D8 0820 End of IPL 20 D9 0010 20 D9 0020 20 D9 0030
03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98 03/27/98
PAGE 04:16:33* 04:16:33* 04:16:34* 04:16:34* 04:16:34 04:16:34* 04:16:34* 04:16:34 04:16:34* 04:16:34 04:16:34* 04:16:34* 04:16:37 04:16:37* 04:16:37 04:16:37* 04:16:37* 04:16:46*
If you run this tool on a regular basis, you can use the output to estimate how long the IPL remains at each phase. Recommendation Run the QWCCRTEC tool periodically to keep track of both normal and abnormal IPL times. An analysis of where time is spent can reveal where you can make improvements in the time to IPL your system.
For more information, the SRCs associated with each IPL phase are listed in Section 4.6, Marking the Progress of an IPL with SRC Codes on page 44.
378
Appendix C. Save and Restore Rates of IBM Tape Drives for Sample Workloads
As you plan for offline media to handle your save and restore requirements, use the information in this appendix as a reference. Note that the throughput that we obtained was measured for the workload described in dedicated mode. Results on your system may not be the same as what is represented here. However, the figures should be relative and useful as you plan to minimize the time for saving and restoring your system. The following workloads were designed to help evaluate the performance of save and restore operations at the same time. Familiarization with the makeup of the workloads helps clarify the differences in the save and restore rates presented in Chapter 8, Save, Restore, and System Performance for Availability on page 95. It also helps you understand how they may apply to your environment. USERENV The user environment workload (USERENV) consists of four libraries:
The first library contains four source files (for a total of 1 204 members) that comprise about 39MB of space. The second library consists of 28 database files, ranging in size from 2MB to 200MB, for a total of 470MB in size. The third library consists of 200 program objects, with an average size of about 100KB, for a total size of 20MB. The fourth library is 12MB in size and consists of 2 156 objects of various types.
Therefore, the USERENV workload consists of about 556MB. SRC The SRC workload consists of: Four source files that are in the first library of the USERENV. These source files occupy about 39MB of space and contain a total of 1,204 members. 200MB The 200MB workload is: A single member database file that is about 200MB in size. This workload is saved using the Save Object (SAVOBJ) command and restored using the Restore Object (RSTOBJ) command. 2GB The 2GB workload is: A single member database file that is about 2GB in size. This workload is saved using the SAVOBJ command and restored using the RSTOBJ command. DLO The DLO workload consists of: Eight folders with 3,700 documents in them. The documents range in size from 53KB to 233KB for a combined size of 396MB. All of the documents reside in the first level folder structure. integrated file system The type of data stored in the integrated file system has been changing since it was made available in OS/400 V3R1. In the past, the type of data stored in the file system mainly consisted of client programs. Programs do not compact or compress so they are saved
379
or restored at the basic rate of the tape drive that is used. With the introduction of Lotus Notes and Web functions, more files containing data are stored in the integrated file system. With these changes, the rate at which the RST and SAV commands complete has changed because these objects can take advantage of the compaction capabilities of the tape drives. On a system with an even mixture of client programs, for example, Lotus Notes databases and Web home pages should save and restore in the range of the USERENV workload described in our charts. If the data stored on the system is largely made up of database files, the save and restore rates probably reflect the 200MB or larger file-workload type, depending on the size and number of database files. If the data is largely made up of Web files, the save rates reflect those of the USERENV workload down to the SRC workload. You may see similar save and restore rates, as demonstrated in this example, depending upon your data and its compaction capabilities. (Web files tend to be numerous but contain many small HTML files such as small home pages.) Keep in mind that Web objects can be large images and client databases, just as Lotus Notes database files can be numerous, empty or near empty mail files. This composition reverses the previous description. In all situations, the actual data dictates the save and restore rates. Be familiar with the type of data on your system to estimate save and restore rates for your environment. The concurrent save and restore workload offers the ability to save and restore a single library to multiple tape drives at the same time, a function that is available at V4R2. You can generally expect to save 1.8 times as much data than when using one tape drive in the same amount of time. The workloads used for this test were two 2GB files in the same library and the USERENV workload. All objects from the four USERENV libraries were combined into one library, and all of the objects were duplicated. The duplicate objects were named so that the original objects were saved to one tape drive and the duplicate objects were saved to another. Note: Most of the save and restore rates were obtained from a restricted state when all subsystems were brought to an end status using the ENDSBS(*ALL) command. The workloads for concurrent saves were on a dedicated system. On a dedicated system, as opposed to a restricted system, the QBATCH subsystem runs so concurrent jobs can process.
380
Generally speaking, the large file data used in this test scenario compacted around a 3:1 ratio. The following formula illustrates how performance ratings are obtained:
TapeSpeed * LossFromWorkLoadType
Use the following LossFromWorkLoadType approximations (for save operations) in the formula when looking at lower performing tape drives.
Table 56. LossFromWorkLoadType Approximations (Save Operations)
Workload Type 2GB USERENV, 200M, DLO SRC Amount of loss 95% 85% 50%
Compression of the 6380 = 1.8, and compaction for the 6390 = 1.8.
6390
TapeSpeed * LossFromWorkLoadType * Compaction .5 * .95=(.475) * 1.8 =(.713) MB/S * 3600 = 3078 MB/HR
Appendix C. Save and Restore Rates of IBM Tape Drives for Sample Workloads
381
Note: The 3490 does not make full use of compaction. The 1.8 factor was derived for simulation purposes only.
TapeSpeed * LossFromWorkLoadType * Compaction 1.5 * .85=(1.28) * 1.8 = (2.3) MB/S * 3600 = 8280 MB/HR 2.2 * .85=(1.87) * 2.5 = (4.68) MB/S * 3600 = 16848 MB/HR 3.0 * .85=(2.60) * 1.8 = (4.42) MB/S * 3600 = 15912 MB/HR
6385, 3570, and 3490 Saving Large Files Example
Figure 113.
382
Note: The 3590 does not make full use of compaction. The 1.6 factor was derived for simulation purposes only.
3590
TapeSpeed * LossFromWorkLoadType * Compaction 9.0 * .95=(8.6) * 1.6 =(13.76) MB/S *3600 = 49536 MB/HR
Workload USERENV 1740 2500 10200 11550 200M 1800 2100 9500 14000 2GB 1890 2600 15500 20000 DLO 1780 3190 14990 14000
Workload USERENV 1740 2000 6840 8000 200M 1800 2500 6560 17000 2GB 1890 2600 15640 19000 DLO 1780 3190 3520 3800
Table 61 (Page 1 of 2). Save Rates for Model 510 Feature 2144
Tape Device SRC 6380 6382 6390 7208-342 1 1410 1830 1280 2240 USERENV 1760 3560 2470 9970 Workload 200M 1770 3610 2050 9620 2GB 1900 4050 2625 15580 DLO 1780 3640 3310 14790
Appendix C. Save and Restore Rates of IBM Tape Drives for Sample Workloads
383
Table 61 (Page 2 of 2). Save Rates for Model 510 Feature 2144
Tape Device 6385 3490 3570 1 3590 1
1
Workload 1320 4400 4500 6100 5300 11000 11800 18600 6590 11000 16000 25690 9640 14800 20600 44750 1980 13850 12400 24300
Workload USERENV 1680 2010 2400 8220 2390 8000 9000 12100 200M 1760 2260 2400 12470 7922 11200 15700 27700 2GB 1894 2180 2700 15850 9530 14300 20500 39900 DLO 1730 2690 3170 4540 2260 4650 4700 5010
Workload USERENV 12800 14100 24000 200M 13500 14900 30000 2GB 19000 20800 49800 DLO 15000 15000 25000
Workload USERENV 11400 14400 23900 200M 13300 17000 37000 2GB 17300 21000 49900 DLO 10400 10500 20000
384
Appendix C. Save and Restore Rates of IBM Tape Drives for Sample Workloads
385
386
387
388
In an OptiConnect network, it is helpful to understand how the AS/400 bus is used. First, an OptiConnect solution always consists of at least two AS/400 systems. One of these AS/400 systems is designated as the hub and at least one other system as a satellite. The hardware to create a hub system for an OptiConnect cluster consists of a standard System Unit Expansion tower or frame with a Central Processing Unit (CPU) and a system unit. All system expansion buses on the AS/400 connect to the system with optical cables. Systems can be connected together in the same manner. The possible cable connections, starting from the bus card, include those identified in Table 68 on page 390.
389
2686 500 50S 510 CISC Fxx, 3xx 2686 2688 Note *
I/O T o w e r I/O T o w e r OptiConnect Card I/O Frame OptiConnect Card I/O T o w e r I/O Frame OptiConnect Card I/O Frame, two buses I/O Frame, one bus DASD T o w e r I/O T o w e r OptiConnect to System B
Note: The Bus Card can be of any of the following cards: Feature Code 2529, 2547, 2548, 2550, 2565, 2566, or 259F.
390
391
Will we benefit from using synchronized distributed databases? Do our users need access to the AS/400 system 24 hours a day, 365 days a year? Do our users operate in different time zones? Is there enough time for nightly backups, scheduled maintenance, or installing new releases? If our telephone sales application is not always up and running, will we lose our customers to the competition? Is there a single point of failure for any data center? Can we avoid the loss of data or access to the system in the event of a disaster or sabotage? When the production machine is overloaded, can we move some users to a different machine for read-only jobs?
This appendix demonstrates that High Availability Solutions exist. It also highlights some of the functions that are relevant to AS/400 high-availability considerations.
392
In this appendix, we outline four High Availability Solutions. Three are offered by IBM business partners:
IBM offers a solution that fulfills some of the requirements of an HSA solution:
DataPropagator Relational/400
The DataPropagator Relational/400 product was not designed as a high availability solution. In some cases, it can cover the needs for data availability, as discussed in the next section. The following table outlines some of the requirements of a HSA solution to help simplify your investigation of High Availability Solutions.
Table 69 (Page 1 of 2). Requirements of a High Availability Solution
Features 24x7 availability Eliminate downtime for backup and maintenance Replication of database Replication of other objects Data replication to non-AS/400 systems Handle unplanned outages Automatically switch users to a target system Workload distribution Error recovery Distribution to multiple AS/400 systems Commitment control support Sync checks Filtering of m i r r o r e d objects Execute rem ot e commands OptiConnect support Yes Yes (DB only) No Yes Solution A Solution B Solution C DataPropagator No No
Yes No Yes
No No
393
Note: Some of the software vendors mentioned in this appendix may have products with functions that are not directly related to the high availability issues on the AS/400 system. To learn more about these products, visit these vendors on the World Wide Web. You can locate their URL address at the end of the section that describes their solution.
E.3 DataMirror
DataMirror Corporation, an IBM business partner, has products that address a number of issues such as data warehousing, data and workload distribution, and high availability. DataMirrors products run on IBM and non-IBM platforms. DataMirrors High Availability Suite uses high performance replication to ensure reliable and secure delivery of data to backup sites. In the event of planned or unplanned outages, the suite ensures data integrity and continuous business operations. To avoid transmission of redundant data, only changes to the data are sent to the backup system. This allows resources to be more available for production work. After an outage is resolved, systems can be resynchronized while they are active. Figure 118 illustrates the components of DataMirrors High Availability Suite.
394
E.3.2 ObjectMirror
ObjectMirror enables critical application and full system redundancy to ensure access to both critical data and the applications that generate and provide use of the data. ObjectMirror supports real-time object mirroring from a source AS/400 system to one or more target systems. It provides continuous mirroring, as well as an on-demand full refresh of AS/400 objects, which are grouped by choice of replication frequency and priority. ObjectMirrors features include:
Grouping by choice to mirror like-type objects based on frequency or priority Continuous real-time mirroring of AS/400 objects Intelligent replication for guaranteed delivery to backup systems even during a system or communication failure Object refreshment on a full-refresh basis as needed Fast, easy setup including an automatic registration of objects Ability to send an object or group of objects immediately without going through product setup routines
395
396
Supplying consistent real-time reference information across an enterprise Bringing real-time information closer to the business units that require access to insulate users from failures elsewhere on the network Reducing network traffic or the reliance on a central system On-demand access disrupts production or response Migrating systems and designing a transition plan to move the data while keeping the systems in sync Deploying a data warehouse with an automated movement of data Current disaster plan strategies do not adequately account for site-failure recovery
DataPropagator/400 is not a total High Availability Solution because it only replicates databases. It does not replicate all the objects that must be mirrored for a true High Availability Solution in a dynamic environment. However, consider DataPropagator/400 for availability functions in a stable environment where the following criteria can be met:
Only the database changes during normal production on the AS/400. Such objects as user profiles, authorities, and other nondatabase objects are saved regularly on the source system and restored on the target system when changed.
In other words, in a stable environment where only the database changes, replicating the database to a backup system and transferring users manually to this system may be a sufficient availability and recovery plan. See Figure 120 on page 398, which illustrates DataPropagator/400 as a data replicator tool.
397
398
An automatic copy of databases Full support for SQL (enabling summaries, derived data, and subsetted copies) During a system or network outage, the product restarts automatically from the point where it stopped. If this is not possible, a complete refresh of the copies can be performed if the administrators allow it. And, for example, if one of the components fails, the product can determine that there is a break in sequence of the data being copied. In this case, DataPropagator restarts the copy from scratch. Open architecture to enable new applications DataPropagator/400 commands that support AS/400 system definitions Full usage of remote journal support in V4R2
Control server This system contains all the information on the registered tables, the snapshot definitions (the kind of data we want to copy and how to copy it), the ownership of the copies, and the captures in reference to registrars and subscribers.
Depending on the structure of the company, the platforms involved and the customers preferences, a system in the network can play one or more of these three roles. DataPropagator, for instance, works powerfully on a single AS/400 system, which, at the same time, serves as Control, Copy, and Data Server.
The Capture processfor reading the data The Apply processfor applying updated data
399
Support for the remote journal function to offload the source CPU Automated deletion of journal receivers Replication over native TCP/IP
400
Multi-vendor replication with DataJoiner (replication to and from Oracle, Sybase, Informix, and Microsoft SQL Server databases) Integration with the Lotus Notes databases
401
E.5.1 MIMIX/400
MIMIX/400 is the lead module in Lakeview Technologys MIMIX high availability management software suite for the IBM AS/400 system. It creates and maintains one or more exact copies of a DB2/400 database by replicating application transactions as they occur. The AS/400 system pushes the transaction data to one or more companion AS/400 systems. That way, a viable system with up-to-date information is always available when planned maintenance or unplanned disasters bring down the primary system. MIMIX/400 also supports intra-system database replication. The following graphic shows the basic principles of the MIMIX/400.
The Send function scrapes the source systems journal and sends the data to one or more target systems. This function offers these characteristics:
Is written in ILE/C for high performance Use CPI-C to provide a low-level generic interface that keeps CPU overhead to a minimum Supports filtering to eliminate files from MIMIX copies, and to optimize communication throughput, auxiliary storage usage, and performance on the target system Generates performance stamps, which continue throughout the replication cycle for a historic view of performance bottlenecks
402
The Receive function collects transactions from the Send function. The Receive function stores and manages the transactions on the backup system for processing using the Apply function. The Receive function offers these features:
A temporary staging step where transactions are pushed off the sending system as soon as possible to eliminate the load from the source system s CPU Fast performance because it is written in ILE/C Variable length log-space entries to make the most of available CPU and DASD resources Filtering capabilities for greater capacity exists on the target system to boost performance on the Send side
The Apply function reads all transactions and updates the duplicate databases on the target systems accordingly. The Apply function supports these features:
Offers a file or member control feature to manage file name aliases and define files to the member level (files are locked during the Apply process for maximum configuration flexibility and to prevent files from being unsynchronized) Opens up to 9 999 files simultaneously within a MIMIX Apply session Supports record lengths up to 32K in size Manages DB2/400 commitment control boundaries during the Apply and Switch processes Uses a log process to protect against data loss during a source system outage Includes a graphical status report of source and target system activity. It displays the report in an easy-to-read format for operators to quickly identify MIMIX operating environment issues.
The Synchronize function verifies that the target system has recorded exact copies of the source system data. The Synchronize function supports these features:
Offers keyed synchronization to keep target and source databases in synchronization with the unique key field in each record Provides support tools to analyze and correct file synchronization errors by record
The Switch function prepares target systems for access by users during a source system outage. The Switch function performs the following tasks:
Defines systems, journals, fields, and data areas. The Send, Receive, and Apply sessions are linked into a logical unit called a data group. Uses a data group manager to reverse the direction of all MIMIX/400 transmissions during an outage Offers a journal analysis tool to identify transactions that may be incomplete after an outage
403
E.5.2 MIMIX/Object
The MIMIX/Object component creates and maintains duplicate images of critical AS/400 objects. Each time a user profile, device description, application program, data area, data queue, spool file, PC file, image file, or other critical object is added, changed, moved, renamed or deleted on an AS/400 production system, MIMIX/Object duplicates the operation on one or more backup systems. The key elements of MIMIX/Object include:
Audit Journal Reader scrapes the source systems security audit journal for object operations and passes them to the distribution reader. The features of the Audit Journal Reader include:
Management of objects within a library by object and type; document library objects (DLOs) by folder path, document name, and owner; and integrated file system objects by directory path and object name. Management of spooled-file queues based on their delivery destination Explicit, generic (by name), and comprehensive (all) identification of library, object, DLO, and integrated file system names An include and exclude flag for added naming precision Integrated file system control to accommodate hierarchical directories, support long names, and provide additional support for byte stream files
The Distribution Reader sends, receives, confirms, retries, and logs objects to history and message queues. The features of the Distribution Reader include:
Multi-thread asynchronous job support to efficiently handle high volumes of object operations A load-leveling journal monitor to automatically detect a large backlog for greater parallelism in handling requests A history log to monitor successful distribution requests; offering reports by user, job, and date; and effective use of time for improving security control and management analysis A failed request queue to provide error information, and to delete and retry options for ongoing object integrity and easy object resolution An automatic retry feature to resubmit requests when objects are in use by another application until the object becomes available Automatic management of journal receivers, history logs, and transaction logs to minimize the use of auxiliary storage
The Send Network Object relies on the Audit Journal Reader, which interactively saves and restores any object from one system to another. It offers:
404
E.5.3 MIMIX/Switch
The MIMIX/Switch component detects system outages and initiates the MIMIX recovery process. It automatically switches users to an available system where they can continue working without losing information or productivity. The key elements of MIMIX/Switch include:
The Logical Switch controls the physical switch, communication and device descriptions, network attributes, APPC/APPN configurations, TCP/IP attributes, and timing of the communication switchover. The features of the Logical Switch include:
User exits to insert user-specified routines almost anywhere in the command stream to customize the switching process A message logging feature to send status messages to multiple queues and logs for ensuring the visibility of critical information
The Physical Switch automatically and directly communicates with the gang switch controller to create a switch over. The features of the Physical Switch include:
A custom interface to the gang switch controller to switch communication lines directly An operator interface to facilitate manual control over the gang switch controller Remote support to initiate a switch through the gang switch controller from a distance Interface support of: twinax, coax, RJ11, RS232, V.24, v.35., X.21, DB9 or other devices that the user can plug into a gang switch
The Communications Monitor tracks the configuration object status to aid in automating retry and recovery. An automatic verification loop ensures that MIMIX/Switch only moves users to a backup system when a genuine source system outage occurs.
E.5.4 MIMIX/Monitor
The MIMIX/Monitor component combines a command center for the administration of monitor programs and a library of plug-in monitors so the user can track, manage, and report on AS/400 processes. MIMIX/Monitor regulates the system 24 hours a day. It presents all monitor programs on a single screen with a uniform set of commands, minimizing the time and effort required to insert or remove monitors or change their parameters. The MIMIX/Monitor also accepts other data monitoring tools created by customers and third-party companies into its interface. The user can set the programs included with MIMIX/Monitor to run immediately, continually at scheduled intervals, or after a particular event (for example, a communications restart).
405
MIMIX/Monitor includes prepackaged monitor programs that the user can install to check the levels in an uninterruptible power supply (UPS) backup system, or to evaluate the relationship of MIMIX to the application environment.
E.5.5 MIMIX/Promoter
The MIMIX/Promoter component helps organizations maintain continuous operations while carrying out database reorganizations and application upgrades, including year 2000 date format changes. It uses data transfer technology for revising and moving files to production without seriously affecting business operations. MIMIX/Promoter builds copies of database files record-by-record, working behind the scenes while users maintain read-and-write access to their applications and data. It allows the user to fill the new file with data, change field and record lengths, and at the same time, keep the original file online. After copying is complete, MIMIX/Promoter moves the new files into production in a matter of moments. This is the only time when the application must be taken off line. Implementing an upgrade also requires promoting such nondatabase objects as programs and display files. To handle these changes, many organizations use change management tools, some of which can be integrated with MIMIX/Promoters data transfer techniques.
406
maintenance projects. The user can temporarily move their operations to the backup machine and upgrade or change the primary machine. This High Availability Solution offers an easy and structured way to keep AS/400 business applications and data available 24 hours a day, 7 days a week. The Vision Solutions, Inc. High Availability Solution, called Vision Suite, includes three components:
Object Mirroring System (OMS/400) Object Distribution System (ODS/400) System Availability Monitor (SAM/400)
Automatic repair of such abnormal conditions as communication, synchronization, or system failure recoveries Synchronization of enterprise-wide data by simulcasting data from a source system to more than 9 000 target destinations User space technology that streamlines the replication process
Appendix E. High Availability Solutions
407
An optional ongoing validity check to ensure data integrity Automatic restart after any system termination Automatic filtration of unwanted entries, such as opens and closes The power to operate programs or commands from a remote system The ability to dynamically capture data and object changes on the source system and copy them to the target system without custom commands or recompiles The option to create an unlimited number of prioritized AS/400 links between systems Total data protection by writing download transactions to tape Support of RPG/400 for user presentation, and ILE/C for system access, data transmission, and process application Full support of the IBM OptiConnect/400 system Global journal management when a fiber optic bus-to-bus connection is available The use of CPI-C to increase speed of data distribution using minimal CPU resources
Continuous monitoring of all mirrored systems for operational status and ongoing availability A fully programmable response to react automatically during a system failure, which reduces the need to depend on uninformed or untrained staff
408
The ability to immediately and safely switch to the target system, which contains an exact duplicate of the source objects and data during a source system failure (unattended systems are automatically protected 24 hours a day, 7 days a week) User-defined access to the target system based on a specific user class or customized access levels
Up to ten alternate communication links for monitoring from the target system to the source system Automatic initiation of user-defined actions when a primary system failure occurs Exit programs to allow the operator to customize recovery and operations for all network protocols and implementations
Analysis of the customers environment in terms of system availability needs and expectations, critical business applications, databases, and workload distribution capabilities
409
An implementation plan written in terms of solution design and the required resources for its deployment Installation and configuration of the software products and the required hardware Education for the customers staff on operational procedures Solution implementation test and validation Software from Vision Solutions, Inc., as previously described
410
Licensees of this program who wish to have information about it for the purpose of enabling: (i) the exchange of information between independently created programs and other programs (including this one) and (ii) the mutual use of the information which has been exchanged, should contact IBM Corporation, Dept. 600A, Mail Drop 1329, Somers, NY 10589 USA. Such information may be available, subject to appropriate terms and conditions, including in some cases, payment of a fee. The information contained in this document has not been submitted to any formal IBM test and is distributed AS IS. The information about non-IBM (vendor) products in this manual has been supplied by the vendor and IBM assumes no responsibility for its accuracy or completeness. The use of this information or the implementation of any of these techniques is a customer responsibility and depends on the customers ability to evaluate and integrate them into the customers operational environment. While each item may have been reviewed by IBM for accuracy in a specific situation, there is no guarantee that the same or similar results will be obtained elsewhere. Customers attempting to adapt these techniques to their own environments do so at their own risk. Any pointers in this publication to external Web sites are provided for convenience only and do not in any manner serve as an endorsement of these Web sites. Any performance data contained in this document was determined in a controlled environment, and therefore, the results that may be obtained in other
411
operating environments may vary significantly. Users of this document should verify the applicable data for their specific environment. 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:
AnyNet APPN AS/400 Client Access Client Series DATABASE 2 DataJoiner DB2 DB2 Client Application Enablers DB2 Universal Server DProp IBM Information Assistant Magstar OfficeVision Operating System/2 POWER Architecture RPG/400 SystemView Application System/400 AS/400 PerformanceEdge Business Partner Client Access/400 COBOL/400 DATABASE 2 OS/400 DataPropagator DB2 Connect DB2 Universal Database Distributed Relational Database Architecture IBM Business Partner (logo) IBMLink Integrated Language Environment Object Connection OfficeVision/400 Operating System/400 RETAIN RS/6000 Workplace
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. Other company, product, and service names may be trademarks or service marks of others.
412
Fire in the Computer Room, What Now? Disaster Recovery, Planning for Business Survival , SG24-4211 AS/400 System Availability and Recovery for V2R2 , GG24-3912 AS/400 Advanced Series System Builder V4R2 , SG24-2155 AS/400 Advanced Series System Handbook V4R2 , GA19-5486-16 Speak the Right Language with Your AS/400 System , SG24-2154 AS/400 Performance Management V3R6/V3R7 , SG24-4735 AS/400 Implementing Windows NT on the Integrated PC Server , SG24-2164 DB2/400 Advanced Database Functions , SG24-4249 Database Parallelism on the AS/400 , SG24-4826 So You Want to Estimate the Value of Availability , GG22-9318 AS/400 E-Commerce: Internet Connection Servers , SG24-2150
AS/400 Security Basic V4R1 , SC41-5301 Security Reference , SC41-5302 OptiMover for OS/400 PRPQ V3R6 , SC41-0626 WRKASP Utility User s Guide PRPQ V3R6 , SC41-0652
413
WRKASP Utility User s Guide PRPQ V4 , SC41-0675 Tips and Tools for Securing Your AS/400 V4R2 , SC41-5300 AS/400 Licensed Internal Code Diagnostic Aids Volume 1 , LY44-5900 (available to IBM licensed customers only) AS/400 Licensed Internal Code Diagnostic Aids Volume 2 , LY44-5901 (available to IBM licensed customers only) Performance Tools/400 , SC41-5340 Backup Recovery and Media Services V3R7 , SC41-4345 Job Scheduler for OS/400 V3R6 , SC41-4324 Managed System Services/400 Use V3R7 , SC41-3323 Report/Data Archive and Retrieval System Installation and User s Guide V3R2, SC41-3325 System Manager Use V4R2 , SC41-5321 SystemView for OS/400: Up and Running V3R7 , SC41-4330 TME 10 NetFinity for AS/400 V3R7 , SC41-4331 ADSM for OS/400: Administrator s Guide , SC35-0196 ADSM for OS/400: Administrator s Reference , SC35-0197 OS/400 Advanced Series ILE RPG/400 Reference Summary , SX09-1306 OS/400 Advanced Series ILE RPG/400 Programmer s Guide , SC09-2074 OS/400 Advanced Series ILE RPG/400 Reference Version 3 , SC09-2077 AS/400 Languages:RPG/400 Reference , SC09-1817 AS/400 Languages:RPG/400 User s Guide , SC09-1816 Distributed Database Programming V4R2 , SC41-5702 DB2 for AS/400 Database Programming V4R2 , SC41-5701 DB2 for AS/400 SQL Programming V4R2 , SC41-5611 AS/400 Alerts Support V4R1 , SC41-5413 APPN Support V4R2 , SC41-5407 Communications Configuration V4R1 , SC41-5401 Communications Management V4R2 , SC41-5406 AS/400 LAN and Frame Relay Support V4R2 , SC41-5404 Remote Work Station Support V4R1 , SC41-5402 OptiConnect for OS/400 V3R7 , SC41-4414 OptiConnect for OS/400 V3R2 , SC41-3414 DB2 for AS/400 Database Progamming V4R2 , SC41-5701 DB2 Multisystem for AS/400 V4R1 , SC41-5705 DataPropogator Relational Capture and Apply for OS/400 V4R2 , SC41-5346 ADSM: Using the Application Programming Interface V2R1 , SH26-4002 ADTS/400: Application Development Manager API Reference V3R2 , SC09-1809 Common Programming APIs Toolkit/400 Reference V3R7 , SC41-4802
414
System API Programming V4R1 , SC41-5800 System API Reference V4R2 , SC41-5801 CL Programming V4R2 , SC41-5721 CL Reference V4R2 , SC41-5722 System/400 International Application Development , SC41-5603 National Language Support V4R2 , SC41-5101 AS/400 Physical Planning Reference V4R2 , SA41-5109 AS/400 Software Installation V4R2 , SC41-5120 TCP/IP Configuration and Reference , SC41-5420 Firewall for AS/400 V4R1 , SC41-5424 Internet Connection Server and Internet Connection Secure Server for AS/400 Webmaster s Guide V4R2 , GC41-5434 Integrating AS/400 with Novell NetWare V4R1 , SC41-5124 Integration Services for the Integrated PC Server V4R1 , SC41-5123 OS/2 Warp Server for AS/400 Administration V4R1 , SC41-5423 AS/400 Client Access Host Servers V4R2 , SC41-5740 OS/400 Integration of Lotus Notes V4R1 , SC41-5431 Basic System Operation, Administration, and Problem Handling , SC41-5206 AS/400 System Operation V3R6 , SC41-4203 AS/400 System Operation for New Users V3R1 , SC41-3200 Automated Tape Library Planning and Management V4R2 , SC41-5309 OS/400 Backup and Recovery V4R2 , SC41-5304 OS/400 Central Site Distribution V4R1 , SC41-5308 OS/400 Work Management V4R2 , SC41-5306 Distributed Database Programming V4R2 , SC41-5702 Data Management V4R1 , SC41-5710 OS/400 Distributed Data Management V4R1 , SC41-5307 Integrated File System Introduction V4R2 , SC41-5711
415
416
http://w3.itso.ibm.com/
PUBORDER to order hardcopies in the United States Tools Disks To get LIST3820s of redbooks, type one of the following commands:
TOOLCAT REDPRINT TOOLS SENDTO EHONE4 TOOLS2 REDPRINT GET SG24xxxx PACKAGE TOOLS SENDTO CANVM2 TOOLS REDPRINT GET SG24xxxx PACKAGE (Canadian users only)
To get BookManager BOOKs of redbooks, type the following command:
TOOLCAT REDBOOKS
To get lists of redbooks, type the following command:
REDBOOKS Category on INEWS Online send orders to: USIB6FPL at IBMMAIL or DKIBMBSH at IBMMAIL Redpieces
For information so current it is still in the process of being written, look at Redpieces on the Redbooks Web Site ( http://www.redbooks.ibm.com/redpieces.html). Redpieces are redbooks in progress; not all redbooks become redpieces, and sometimes just a few chapters will be published this way. The intent is to get the information out much quicker than the formal publishing process allows.
417
Telephone Orders
United States (toll free) Canada (toll free) Outside North America (+45) 4810-1320 - Danish (+45) 4810-1420 - Dutch (+45) 4810-1540 - English (+45) 4810-1670 - Finnish (+45) 4810-1220 - French 1-800-879-2755 1-800-IBM-4YOU (long (+45) (+45) (+45) (+45) (+45) distance charges apply) 4810-1020 - German 4810-1620 - Italian 4810-1270 - Norwegian 4810-1120 - Spanish 4810-1170 - Swedish
Redpieces For information so current it is still in the process of being written, look at Redpieces on the Redbooks Web Site ( http://www.redbooks.ibm.com/redpieces.html). Redpieces are redbooks in progress; not all redbooks become redpieces, and sometimes just a few chapters will be published this way. The intent is to get the information out much quicker than the formal publishing process allows.
418
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.
419
420
List of Abbreviations
IBM ITSO PROFS CISC RISC IMPI API ADSM CPU DOS IBM IT ITSO LAN IP TCP
International Business Machines Corporation International Technical Support Organization Professional Office System Complex Instruction Set Computing Reduced Instruction Set Computing Internal Microprogrammed Instruction Application Programming Interface ADSTAR Distributed Storage Manager central processing unit disk operating system International Business Machines information technology International Technical Support Organization local area network internal protocol transmission control protocol
KB TB HA HAS ECS ERP PSP CPM CUM MB ISV APPC RETAIN URL SRC APPN SNA SNADS PTF UPS
one thousand bytes one billion bytes high availability high availabilty solution electronic customer support error recovery procedures preventive service planning continuous power memory cumulative PTF package one million bytes independent solution vendor advanced program to program communications REmote Technical Assistance and Information Network Uniform Resource Locator system reference code application programming networking systems network architecture SNA distribution services program temporary fix uninterruptible power supply
421
422
Numerics
2683 adapter 352 2685 adapter 352 2726 MFIOP feature code 28 3590 tape device 30 64-bit addressing 33 9337 Disk Array Subsystem 28 9751 MFIOP 28 9751 MFIOP feature code 28
A
a-side of Licensed Internal Code (LIC) abbreviations 421 abnormal IPL 33, 37, 47 access log 218 access log setup 219 access path journal entry 39 168
423
apply journal changes 311 apply process 399 Apply PTF (APYPTF)command 177 APPN High-Performance Routing (HPR) function 183 APPN HPR (High-Performance Routing) 183 APYPTF (Apply PTF) command 177 archive function 111 ARCserve for NetWare Version 6 285 AS/400 (BRMS) backup 114 media service 114 recovery 114 AS/400 Forum AS/400 Model 400 system 387 AS/400 NetServer 262 AS/400 Performance Edge AS/400 Performance Management (PM/400) ASP configuration 121 management 122 monitoring 121 ASP (auxiliary storage pool) 56 asynchronous delivery mode 331 asynchronous replication 330 audit journal 138 Audit Journal Reader 404 August 23, 1928 (system default date) 152 authorization list 246 auto configuration parameter 201 autodelete function 205 Automated Tools for System Management Functions automatic refresh interval parameter 139 automatic tuner process 101 automating message management 131 automating security management 137 Automation of Message Management Automation of Security Management auxiliary storage lower limit (QSTGLOWLMT) system value 149 auxiliary storage lower limit action (QSTGLOWACN) system value 149 *CRITMSG action 150 *ENDSYS action 150 *MSG action 150 *PWRDWNSYS action 150 *REGFAC action 150 auxiliary storage pool (ASP) 56 availability DASD 23 availability options 63 available value 145, 146
backing up (continued) user objects 259 backup for AS/400 (BRMS) 114 integrated file system 221 internal battery 29 licensed program 85 PRPQ 85 server database 113 storage pool 113 strategy 61 backup and recovery plan 17 backup and recovery plan 16 backup client 110, 111 backup domain controller (BDC) 263 backup function 111 backup function, directory-tree 111 Backup Recovery and Media Services for AS/400 backup to AS/400 tape 261 BDC (backup domain controller) 263 benchmark configuration 47 bibliography 413 block size 97 block special file (*BLKSF) 223 block special file object (*BLKSF) 231 break handling program 132 break handling program, creating 132 BRM15A5 message 117 BRM15A6 message 117 BRMLOG report 117 BRMS maintenance activities 116 message handling 115 recovery report 115 skip-shipped 115 user exits 115 BRMS/400 interoperability 114 brown outs 28 bus speed 99 bus-level mirroring 25 business impact analysis 14
C
cannot allocate device message 187 capacity limitations 361 capture process 399 cascading 330 CCSID (character set ID) 72 CCSID system 89 Change Cleanup Options (CHGCLNUP) display 161 change control server function 130 Change IPL Attributes (CHGIPLA) command 34, 42 change job (QWTCHGJB) API 165 Change Journal (CHGJRN) command 313 Change Message Description (CHGMSGD) command 115
B
b-side of Licensed Internal Code (LIC) 168 BACKACC command 296 backing up specific objects from your Windows NT 260 system objects 259
424
Change Message Queue (CHGMSGQ) command 132 Change Physical File (CHGPF) command 40 Change Shared Pool (CHGSHRPOOL) display 101 change shared storage pool (CHGSHRPOOL) API 166 character set ID (CCSID) 72 check job tables function 44 checksum 28 CHGASPDSC command 120 CHGIPLA (Change IPL Attributes) command 34, 42 CHGJRN (Change Journal) command 313 CHGMSGD (Change Message Description) command 115 CHGMSGQ (Change Message Queue) command 132 CHGPF (Change Physical File) command 40 CHGSHRPOOL (Change Shared Pool) display 101 CHGSHRPOOL (change shared storage pool) API 166 CHIGIPLA command 35 chip-to-chip circuitry test 35 CL command CHGASPDSC 120 CPYLIBASP 120 creating to save spooled files 70 MOVLIBASP 120 PRDBDP 120 PRTASPLIB 120 SAVLIBASP 120 WRKASP 120 client access mode description 207 client characteristics 112 client failure 209 client-to-client optical link communication 356 client-to-server communication 356 clustered environments 327 clustering 351 co-requisite PTF 167, 175 cold start 37 command ADDPFTRG (Add Physical File Trigger) command 306 ANZDBF (Analyze Database File) 304 APYPTF (Apply PTF) 177 BACKACC 296 CHGIPLA (Change IPL Attributes) 34, 42 CHGJRN (Change Journal) 313 CHGMSGD (Change Message Description) 115 CHGMSGQ (Change Message Queue) 132 CHGPF (Change Physical File) 40 CPYF (Copy File) 160 CPYMEDIBRM 117 CRTJRN (Create Journal) 313 CRTNWSD (Create Network Server Description) 273 CRTUDFS (Create User Defined File System) 234 DSPCTLD (Display Controller Description) 183 DSPJOBTBL (Display Job Tables) 38, 143 DSPMFSINF (Display Mounted File System Information) 233 DSPMFSINF (Display Mounted FS Information) 235
command (continued) DSPRCYAP (Display Recovery for Access Paths) 39, 41 DSPRCYAP (Display Recovery for Access Paths) command 39 DSPUDFS (Display User-Defined System) 236 DUPTAP (Duplicate Tape) 80 Edit Recovery for Access Paths (EDTRCYAP) 39 EDTRCYAP (Edit Recovery for Access Paths) 39, 41 EDTRCYAP (Edit Recovery for Access Paths) command 39 ENDDOMSRV (End Domain Server) 251 INSNTWSVR (Install NetWare Server) 272 INSNWSAPP (Install Network Server Application) 268 integrated file system 240 LOOPBACK 214 NETSTAT 214 ObjectConnect/400 65 PING 214 PRTSYSINF (Print System Information) PWRDWNSYS (Power Down System) 43, 161 QRYDOCLIB (Query Document Library) 241 RCLDLO (Reclaim Document Library Object) 158 RCLSPLSTG (Reclaim Spool Storage) 159 RCLSTG (Reclaim Storage) 153 RCVJRNE (Receive Journal Entry) 327 RCVMSG (Receive Message) 132 RESTACC 296 RMVPTF (Remove PTF) 169 RST (Restore) 223 RSTDLO (Restore Document Library Object) 244, 247 RSTLICPGM 86 RTVCFGSRC (Retrieve Configuration Source) 268 SAV (Save Object) 76 SAV (Save) 223 SAVCFG 54 SAVCHGOBJ (Save Changed Objects) 76 SAVDLO (Save Document Library Object) 247 SAVDLO (Save Document Library Objects) 76 Save Licensed Program (SAVLICPGM) 278 SAVLIB (Save Library) 76 SAVLICPGM 86 SAVLICPGM (Save Licensed Program) 278 SAVOBJ (Save Object) 76 SAVSYS 53 SAVSYSBRM 119 SBMNWSCMD (Submit Network Server Command) 271 SNDNETF (Send Network File) 177 SNDPTFORD (Send PTF Order) 172 STRMNTBRM 116 TCP AS/400 alias CL 213 VRYCFG (Vary Configuration) 186 WRKACTJOB (Work With Active Jobs) 139 WRKNTWVOL (Work NetWare Volume) 272
Index
425
command (continued) WRKNTWVOL (Work With NetWare Volumes) 284 WRKPCYBRM (Work With Move Policies) 117 command line interface 271 commitment control 51 common format 219 communications arbiter 182 communications error recovery procedures (ERP) 181 Communications Monitor 405 communications recovery 203 first-level recovery 203 second-level recovery 203 COMPACT (compaction) 383 compaction (COMPACT) 383 compaction algorithm 96 compatibility DTACPR parameter 80 TGTRLS parameter 79 USEOPTBLK parameter 79, 80 compress job tables 143 compress job tables (CPRJOBTBL) parameter 142 compression (DTACPR) 383 concurrent 55 concurrent save 2, 50, 98, 246 conditional PTF 175 configuration ring services (CRS) function 198 considerations, object locks 66 continuous availability 17 continuous operations 17 continuous power main storage (CPM) 37 continuously available 17 continuously operational 17 continuously powered main storage (CPM) 26 control byte 97 control panel 35 control server 399 controller level protection 24 Copy File (CPYF) command 160 copy server 399 CPA2610 inquiry message 186 CPA5316 message 133 CPC2957 message 160 CPC6260 message 161 CPC8208 status message 156 CPD0940 message 106 CPD3244 message 160 CPD3728 message 75 CPD3754 message 81 CPD376E message 81 CPD378A message 79, 80 CPD3796 message 60 CPD6265 message 161 CPF1187 message 187 CPF1269 message 198 CPF1273 message 187 CPF1274 message 187
CPF1275 message 187 CPF2119 error message 157 CPF2120 error message 157 CPF2126 error message 157 CPF2127 error message 157 CPF2460 escape message 151 CPF32A1 message 153 CPF32A2 message 154 CPF32A3 message 154 CPF32A4 message 154 CPF384E message 80 CPF594C message 207 CPF8113 message 153 CPF8201 error message 157 CPF8204 error message 157 CPF8205 error message 157 CPF8209 error message 157 CPF8211 error message 157 CPF8224 error message 157 CPF8251 error message 157 CPF8252 error message 157 CPI099B message 150 CPI099C message 150 CPI1468 message 142 CPI3712 message 51 CPI3818 message 80 CPI5970 message 207 CPI8206 status message 156 CPI8210 status message 156 CPI8212 status message 156 CPI8213 status message 156 CPI8214 status message 156 CPI8215 status message 156 CPI8216 status message 156 CPI8217 status message 156 CPI8218 status message 156 CPI8219 status message 156 CPI8220 status message 156 CPM (continuous power main storage) 37 CPM (continuously powered main storage) 26, 29 CPM function 29 CPRJOBTBL (compress job tables) parameter 142 CPU usage on the source system 333 on the target system 334 CPYF (Copy File) command 160 CPYLIBASP command 120 CPYMEDIBRM command 117 Create Journal (CRTJRN) command 313 Create Network Server Description (CRTNWSD) command 273 Create User Defined File System (CRTUDFS) command 234 creating user spaces, considerations for backup when CRS (configuration ring services) function 198 CRTJRN (Create Journal) command 313 CRTNWSD (Create Network Server Description) command 273
426
CRTUDFS (Create User Defined File System) command 234 cumulative (CUM) PTF package 168, 176 cumulative backup, restoring changed objects from 257 current-release-to-previous-release support 76
D
D-IPL 30 DASD availability 23 data compaction 95 tape drive 95 data compression (DTACPR) 58, 97 data description specifications (DDS) format 219 data replication 2, 397 data replication process 399 apply process 399 capture process 399 data server 399 data transfer time 97 database files, saving for recovery 303 database journaling 310 performance 312 database protection 303 database server 351 database server job 322 DataJoiner 398 DataMirror Corporation 394 High Availability Suite 394 ObjectMirror 395 OptiConnect 396 SwitchOver System 395 DataMirror HA Data 395 high availability options 395 DataPropagator 69 configuration 399 DataPropagator Relational Capture and Apply for AS/400 397 DataPropagator Relational/400 393 DataPropagator/400 397, 398 DB2 Multisystem for OS/400 322 DCDB (domain controller database) 292 DDM (distributed data management) 351 DDS (data description specifications) format 219 Decision Control Matrix 395 default on savxxx command 320 delayed PTF 168 device allocated message 187 device I/O error action (QDEVRCYACN) system value 150 *DSCENDRQS action 150 *DSCMSG action 150 *ENDJOB action 150 *ENDJOBNOLIST action 151 *MSG action 150 device parity 23, 26, 27 device parity protection 28
device recovery action (DEVRCYACN) parameter 190 *DSCENDRQS (disconnect end request)option 190 *DSCMSG (disconnect message) option 190 DEVRCYACN (device recovery action) parameter 190 DHCP (dynamic host configuration protocol) 212 diagnostic hardware 35 processor 35 directory-tree backup function 111 disaster recovery 112 disconnect end request (*DSCENDRQS) option 190 disconnect message (*DSCMSG) option 190 disk failures 19 disk space report 59 Display Controller Description (DSPCTLD) command 183 Display Device Description display 187 Display Job Tables (DSPJOBTBL) command 38, 143 Display Mounted File System Information (DSPMFSINF) command 233 Display Mounted FS Information (DSPMFSINF) command 235 Display Recovery for Access Paths (DSPRCYAP) command 39, 41 Display User-Defined System (DSPUDFS) command 236 distributed data management (DDM) 351 distributed file backup example 324 restoring 323 distributed files, backup considerations 323 distributed relational database architecture (DRDA) 401 distributing PTFs 177 distribution object, restoring 247 Distribution Reader 404 DLO maximum sequence number 50 DLO (document library object) 241 DLO(*SEARCH) parametric search 242 DNS (domain name services) 212 document library object (DLO) 241 authority and ownership issues while restoring 247 performance considerations 245 restoring 244, 245 saving 241 document library services 241 document library services file system (QDLS) 222 domain controller restoring 263 domain controller database (DCDB) 292 saving 293 domain name services (DNS) 212 Domino database recovery examples 256
Index
427
Domino databases, limiting the location of 250 Domino for AS/400 248 baking up 249 libraries and directories for 249 recovery 254 Domino for AS/400 server backing up 248, 250 backing up changed objects from 252 recovering the entire 254 restoring changed objects to 256 Domino mail, recovering 255 Domino server backing up mail from 251 MAIL.BOX database 251 Domino subdirectory, restoring changed objects to a specific 258 DRDA (distributed relational database architecture) 401 DSMNOTES program 271 DSPCTLD (Display Controller Description) command 183 DSPJOBTBL (Display Job Tables) command 38, 143 DSPMFSINF (Display Mounted File System Information) command 233 DSPMFSINF (Display Mounted FS Information) command 235 DSPRCYAP (Display Recovery for Access Paths) command 39, 41 DTACPR (compression) 383 DTACPR (data compression) 58, 97 DTACPR (data compression) parameter compatibility 80 dual path optical link 356 Duplicate Tape (DUPTAP) command 80 DUPTAP (Duplicate Tape) command 80 dynamic host configuration protocol (DHCP) 212 dynamic priority scheduling 105
Entries field 145 ERP (error recovery procedures) 181 error log 218 error log filtering 199 error log setup 220 error logging protocol errors 189 error recovery TCP 188 testing 208 error recovery failure client failure 209 network failure 208 server failure 209 types 208 error recovery procedures (ERP) 181 testing tips 209 error, human 19 exit program 327 expert cache function 104 explicit journaling of access paths 316 extended main storage diagnostic test 35
F
failure disk 19 p r o g r a m 19 system 19 faults-per-second parameter 103 fiber bus hardware 351 file level restore 263 file server file system (QFileSvr.400) 223 file server job restructure 197 filter rule saving and restoring with the COPY command 302 firewall 297 creating a library for back-up files 299 restoring 300 restoring communication configuration objects 301 restoring operational data 301 restoring the configuration data 302 saving 298 saving communication configuration objects saving the configuration 300 saving the operational data 300 stopping 299 firewall NWSD varying off 299 varying on 300 folder (FLR) parameter 56 force vary off (FRCVRYOFF) parameter 186 force write ratio 40 FRCVRYOFF (force vary off) parameter 186 full programmed 36
E
ECS (electronic customer support) 168 PTF delivery 178 Edit Rebuild of Access Paths (EDTRBDAP) display 38 Edit Recovery for Access Paths (EDTRCYAP) command 39, 41 EDTRBDAP (Edit Rebuild of Access Paths) display 38 EDTRCYAP (Edit Recovery for Access Paths) command 39, 41 electronic customer support (ECS) 168 emergency power off 37 End Domain Server (ENDDOMSRV) command 251 End Job Abnormal (ENDJOBABN) command 152 end subsystem option (ENDSBSOPT) parameter 162 ENDDOMSRV (End Domain Server) command 251 ENDJOBABN (End Job Abnormal) 152 ENDJOBABN (End Job Abnormal) command 152 ENDSBSOPT (end subsystem option) 162 ENDSBSOPT (end subsystem option) parameter 162
299
428
G
global log setup 219 graphical workstation interface 271
hub-to-hub communication
357
I
IBM DataJoiner 398 IBM Job Scheduler for OS/400 IBM System View System Manager for AS/400 IBM SystemView Managed System Services for AS/400 IDRC drive 96 immediate PTF 168 In-use entries field 145 available value 146 in-use value 146 other value 146 size value 145 table value 145 total value 146 in-use value 146 incremental backup, restoring Domino database f r o m 257 incremental function 111 incremental saves 61 initial value 144, 145 INSNTWSVR (Install NetWare Server) command 272 INSNTWSVR method 282 INSNWSAPP (Install Network Server Application) command 268 Install NetWare Server (INSNTWSVR) command 272 Install Network Server Application (INSNWSAPP) command 268 integrated file system 221 commands 240 restore 223 save 223 structure 221 integrated file system object, saving 212 Integrated PC Server saving a directory for 293 Integration for NetWare program restoring 284 saving 278 internal battery backup 29 internal journal entry, remove 332 internal journal receivers 39 Internet connection servers 213 Internetwork Packet Exchange (IPX) support saving and restoring 286 interoperability ADSM/400 114 BRMS/400 114 IOP level 25 IPL 30, 33 abnormal 33, 37, 47 affecting the time to 36 benchmarks 46 changing attributes 42 cleanup tasks 33 fast (default) 35
H
HA data, DataMirror 395 hang, CPM or main store dump processing 152 hardware availability options 23 hardware data compression (HDC) 95 DTACPR 96 HDC algorithm 96 hardware diagnostics 35 hardware diagnostics (HDWDIAG) parameter *ALL 43 *MIN 43 hardware disk compression 73 harwardware diagnostics (HDWDIAG) parameter 43 HAS/400 (High Availability Services) 409 HDC (hardware data compression) 95 HDC algorithm 96 HDWDIAG (hardware diagnostics) parameter 43 Hierarchical Storage Management (HSM) 73 high availability 17, 24, 75, 329 features 393 functions 393 RAID-V 27 high availability application 2 high availability clustered solution 351 High Availability Services (HAS/400) 409 High Availability Solution 69 consideration 392 DataMirror 393 DataPropagator Relational Capture and Apply for AS/400 397 example 391 Lakeview Technology 393 Vision Solutions, Inc. 393 High Availability Solutions high impact or pervasive (HIPER) PTF 168 high systems availability 391 High-Performance Routing (HPR) 183 high-speed optical bus 354 highly available 17 HIPER (high impact or pervasive) PTF 168, 169 hog hunter function 105 hot site backup 69 HPR (High-Performance Routing) 183 HSM (Hierarchical Storage Management) 73 HTML object authority 217 HTTP files, backing up 217 HTTP log file setup 219 HTTP server configuration 217 HTTP server protection setup 217 hub 351 hub dual path connection 357 hub system 387
Index
429
IPL (continued) full p r o g r a m m e d 36 hardware configuration 37 manual 37 marking progress with SRC codes modes 34 normal 37, 371 performance 33 performance improvements 44 process 34 p r o g r a m m e d 37 short programmed 35 slow 35 software configuration 37 startup tasks 33 types 34 IPL time 371 IPX circuit entry, saving 277
44
J
job message queue full action (QJOBMSGQFL) system value 151 job scheduler (OS/400) 125 Job Scheduler/400 148 job scheduling 127 journal entry asynchronous replication 330 synchronous replication 330 journal entry latency 331 journal receiver ASP, create 331 journal receiver protection 321 journal receivers 83 journal replication 327 journaling of access paths journaling, performance tips 313
L
Lakeview Technology 401 MIMIX/400 401, 402 MIMIX/Monitor 401 MIMIX/Object 401 MIMIX/Promoter 401 MIMIX/Switch 401 LAN administrator authority 291 LAN response timer (LANRSPTMR) parameter LAN Server for OS/400 (OS/2 Warp Server for AS/400) 287 LAN Server/400, restoring 296 language, secondary 88 LANRSPTMR (LAN response timer) parameter level of service 17 levels of protection 18 library file system (QSYS.LIB) 222 library in use message 53 library names 2, 89 list of 85
186
LIC (Licensed Internal Code) 23, 30 LIC PTF apply 171 LIC trace 191 Licensed Internal Code (LIC) 23, 30 a-side 168 b-side 168 licensed program backup 85 considerations 85 installation considerations 88 library names 89 recovery 85 restore considerations 88 restore methods 87 save methods 86 saving 278 user profile authority 89 licensed program library restoring commands to QSYS 92 licensed program product (LPP) 85 restore 85 save 85 LICPGM menu 87 link 387 link redundancy 388 list job (QUSLJOB) API 165 load source 24 load source mirroring protection 25 r e m o t e 25 load source unit 23 lock conflict CHGJRN 315 RCVJRNE 315 locking conflicts 2 locks considerations, object 66 logical dependencies 51 logical file 304 Logical Switch 405 LOOPBACK command 214 Lotus Notes backup 267 recovery 267 Lotus Notes on the Integrated PC Server LPP (licensed program product) 85 LZ1 compression algorithm 73
264
M
186 mail, restoring 247 main store dump 47 manual IPL 37 MAXFRAME (maximum frame size) value maximum frame size (MAXFRAME) value maximum tape performance 98 media class 117 CPYMEDIBRM command 117 media errors 53 185 185
430
media order 179 media service 114 message BRM15A5 117 BRM15A6 117 cannot allocate device 187 CP13712 51 CPA2610 186 CPA5316 133 CPC2957 160 CPC6260 161 CPD0940 106 CPD3244 160 CPD3728 75 CPD3754 81 CPD376E 81 CPD378A 79, 80 CPD3796 60 CPD6265 message 161 CPF1187 187 CPF1269 198 CPF1273 187 CPF1274 187 CPF1275 187 CPF2460 151 CPF32A1 153 CPF32A2 154 CPF32A3 154 CPF32A4 154 CPF384E 80 CPF595C 207 CPF8113 153 CPI099B 150 CPI099C 150 CPI1468 142 CPI3818 80 CPI5970 207 device allocated 187 library in use 53 object not found 89 RCLSTG (reclaim storage) status 156 reclaim storage error 157 MFIOP (multi-function I/O processor) 24 initialization 36 microcode PTF 170 MIMIX with OptiConnect 406 MIMIX/400 401, 402 Apply function 403 Receive function 403 Send function 402 Switch function 403 Synchronize function 403 MIMIX/Monitor 401, 405 prepackaged monitor program 406 MIMIX/Object 401, 404 Audit Journal Reader 404 Distribution Reader 404 Send Network Object 404
MIMIX/Promoter 401, 406 MIMIX/Switch 401, 405 Communications Monitor 405 Logical Switch 405 Physical Switch 405 mini-reclaim storage 155 minimizing save and restore time 379 minimum fixed length (*MINFIXLEN) option 332 minimum switched status (MINSWTSTS) 202 MINSWTSTS (minimum switched status) 202 mirrored protection 24 bus level 25 r e m o t e 25 m i r r o r i n g 23 bus-level 25 Model 400 system 387 mounted UDFS 237 restoring 240 saving 237 MOVLIBASP command 120 MSS/400 (SystemView Managed System Services for AS/400) 130 multi-function I/O processor (MFIOP) 24 multi-member database file save performance 321 multilingual support 72 multilingual system environment 72 multinational environment 325 multinational system 89 multiple documents, saving 242 multiple file systems restoring across 228 saving across 224
N
NDS** (Netware Directory Services**) 272 NETSTAT command 214 NetWare configuration restoring 282 saving 275 NetWare data restoring 274 restoring from QNetWare directory 285 saving 274 saving from the QNetWare directory 280 Netware Directory Services** (NDS**) 272 NetWare file system (QNetWare) 223 NetWare on Integrated PC Server 272 NetWare server configuration saving 278 NetWare volume 279 restoring from /QFPNWSSTG directory 284 saving from /QFPNWSSTG directory 279 network server storage space 272 v o l u m e 272 network server description restoring 269 saving 268
Index
431
network server storage space 274, 290 restoring 270 saving 269 network storage space restoring 284 saving 279, 294 network time zone synchronization (BRMS) 117 nightly backup, restoring changed objects from 257 no lock option 51 non-updateable action PTF 171 normal IPL 37, 371 Notes agent, restoring databases 271 Notes backup agent backing up 271 DSMNOTES program 271 user interface 271
O
Object Distribution System (ODS/400) 408 object in use message 53 object locks considerations 66 Object Mirroring System (OMS/400) 407 object not found message 89 ObjectConnect/400 65 availability 65 benefits 68 command sets 66 implementation considerations 69 ObjectConnect/400 command 65 ObjectMirror 395 observability 77 remo vin g 78 observable object 77 program template 77 ODS/400 (Object Distribution System) 408 office services information, saving 243 omit options 2 OMIT parameter 119 SAVSYSBRM command support for 119 OMS/400 (Object Mirroring System) 407 online at IPL parameter 201 open systems file system (QOpenSys) 222 Operational Assistant Operational Assistant menu 134 operational LAN manager activation 198 Operations Control Center/400 128 optical bus cable 100 optical file system (QOPT) 223 optical link hardware 353 OptiConnect 396 dual path connection 357 hub selection 356 link 387 path 387 RPQ 359 satellite 355 satellite dual path connection 356 single path 356
OptiConnect (continued) with MIMIX 406 OptiConnect cluster 352, 387 OptiConnect for OS/400 351 remote journal 353 OptiConnect hardware 352 OptiConnect terminology 387 opticonnect/400 67 OptiMover 353 orphan 154 orphan data 21 OS/2 Warp server saving specific objects 293 OS/2 Warp Server for AS/400 backup and recovery 290 restoring 295 saving on RISC machines 291 OS/2 Warp Server for AS/400 (LAN Server for OS/400) saving 287 saving objects with multiple names 292 OS/2 Warp Server for AS/400 file system (QLanSrv) 222 OS/2 Warp Server for AS/400 structure 288 OS/400 Alert Support 135 OS/400 Job Scheduler 125 OS/400 Security Tools 137 other value 146 outages 17
P
Packet Internet Groper (PING) 214 parameter ACTLANMGR (activate LAN manager) 198 auto configuration 201 automatic refresh interval 139 CPRJOBTBL (compress job tables) 142 DEVRCYACN (device recovery action) 190 faults-per-second 103 folder (FLR) 56 FRCVRYOFF (force varyoff) 186 LANRSPTMR (LAN response timer) 186 OMIT 53, 119 online at IPL 201 priority 102 PRTVSNRPT 116 RCVSIZOPT (receiver size options) 332 recovery locations 116 RSTFLR (restore folder) 247 RTVVOLSTAT 116 RUNCLNUP 116 SAVACT (save while active) 75 size percentage 102 TGTRLS (target release) 75 TIMOUTOPT (timeout option) 162 use optimum block size (USEOPTBLK) 97 USEOPTBLK (use optimum block) 57, 78 parametric search 242
432
parity protection 28 pass-through server job 195 path 387 path redundancy 388 PC client 297 PDC (primary domain controller) 263 performance management 18 Permanent job structures field 144 additional value 144 initial value 144 permanent PTF 169 physical file 304 physical link 352 Physical Switch 405 PING (Packet Internet Groper) 214 PING command 214 point of failure 21 Power Down System (PWRDWNSYS) command 43, 161 power down times 29 PRDBDP command 120 prepackaged monitor program (MIMIX/Monitor) 406 prerequisite PTF 167, 175 prestart jobs 206 preventive service planning (PSP) 168, 169 previous release system 83 primary bus receiver 354 primary domain controller (PDC) 263 Print System Information (PRTSYSINF) command 123 print system information parameter 65 priority parameter 102 priority, sending task 334 processor diagnostics 35 product-level PTF 171 production system 392 program start request message threshold 198 program template 77 program temporary fix (PTF) 167 programmed IPL 37 protection controller level 24 device parity 28 m i r r o r e d 24 remote mirrored 25 protocol error logging 189 PRPQ backup 85 considerations 85 recovery 85 WRKASP utility for OS/400 120 PRTASPLIB command 120 PRTSYSINF (Print System Information) command 123 PRTVSNRPT parameter 116 PSP (preventive service planning) 168, 169 PTF 54 PTF (program temporary fix) 167 PTF cover letter 167
PTF cover letter order 179 PTF package 2 PTFs for CHGJRN performance improvement 314 PWRDWNSYS (Power Down System) command 43, 161 PWRDWNSYS RESTART (*YES *YES) command 35
Q
QAUTOVRT system value 188 QCMNARB system value 182 QDEVRCYACN (device I/O error action) system value 150 QDFTJOBSCD job-schedule object 148 QDLS (document library services file system) 222 QDLS file system, restoring objects to 230 QDLS physical file system 241 QFileSvr.400 (file server file system) 223 QFPINT library QFBSYS4 AS/400 object name 274 QFPBSYS2 AS/400 object name 273 QFPBSYS2 storage space 264 QGPL library 81 qjoaddremotejournal API 334 QJOBMSGQFL (job message queue full action) system value 151 QJOBSCD job scheduler 148 qjochangejournalstate API 334 qjoremoveremotejournal API 334 qjoretrievejournalinformation API 334 qjortvjrnreceiverinformation API 334 QLanSrv (OS/2 Warp Server for AS/400 file system) 222 QlpHandleCdState API 80 QNetWare (NetWare file system) 223 QNetWare characteristics 272 QOpenSys (open systems file system) 222 QOPT (optical file system) 223 QPASTHRSVR system value 194 QPFRADJ system job 100 QPSRVDMP spooled file 371 QRYDOCLIB (Query Document Library) command 241 QSRSAVO API 78 USEOPTBLK parameter (V3R7) 78 QSTGLOWACN (auxiliary storage lower limit action) system value 149 QSTGLOWLMT (auxiliary storage lower limit) system value 149 QSYS physical file 159 QSYS.LIB (library file system) 222 QSYS.LIB file system restoring objects from 229 saving objects from 226 QSYSARB system arbiter job name 147 QSYSARBN system arbiter job name 147 Qsysinc implementation 335 QSYSMSG message queue 131 creating 131
Index
433
QSYSOPR message queue 151 removing obsolete messages 188 Query Document Library (QRYDOCLIB) command 241 QUSCHGPA Change Pool Attributes API 166 QUSLJOB (list job) API 165 QUSRJOBI (retrieve job information) API 164 QUSRSYS library 81, 274 QYNALNCD storage space 265 QYNASYS1 storage space 265 SERVER 13 storage space 265 SERVER11 storage space 264 QWCBTCLNUP (work control block table cleanup) 143 QWCCRTEC tool 378 QWCCTREC tool 46 QWTCHGJB (change job) API 165
R
RAID support 28 RAID-V 27 RCLDLO (Reclaim Document Library Object) command 158 RCLSPLSTG (Reclaim Spool Storage) command 159 RCLSTG (Reclaim Storage) command 153, 156 CPC8208 status message 156 CPI8206 status message 156 CPI8210 status message 156 CPI8212 status message 156 CPI8213 status message 156 CPI8214 status message 156 CPI8215 status message 156 CPI8216 status message 156 CPI8217 status message 156 CPI8218 status message 156 CPI8219 status message 156 CPI8220 status message 156 RCLSTG (reclaim storage) status message 156 RCVJRNE (Receive Journal Entry) command 327 RCVMSG (Receive Message) command 132 RCVSIZOPT (receiver size options) parameter 332 Receive function 403 Receive Journal Entry (RCVJRNE) command 327 Receive Message (RCVMSG) command 132 receiver size options (RCVSIZOPT) parameter 332 Reclaim Document Libary Object (RCLDLO) command 158 Reclaim Spool Storage (RCLSPLSTG) command 159 Reclaim Storage (RCLSTG) command 153 reclaim storage error message 157 CPF2119 157 CPF2120 157 CPF2126 157 CPF2127 157 CPF8201 157 CPF8204 157 CPF8205 157 CPF8209 157
reclaim storage error message (continued) CPF8211 157 CPF8224 157 CPF8251 157 CPF8252 157 recommendation 14, 28, 35, 40, 44, 54, 73, 76, 89, 96, 105, 118, 152, 163, 182, 189, 197, 201, 202, 205, 206, 209, 224, 268, 302, 315, 319, 320, 331 recovery for AS/400 (BRMS) 114 licensed program 85 PRPQ 85 server database 113 storage pool 113 testing 61 recovery locations parameter 116 recovery plan 14 recovery steps 20 recovery time 19 reducing the length of 332 redundant fiber link solutions 352 redundant optical link 356 referential integrity, save and restore considerations 306 relational database directory entries 330 saving and restoring 307 release-to-release support 75 REM (ring-error monitor) function 198 remote journal 353 remote journal function 2, 327, 391, 396 remote journal implementation 331 remote journal replication mode 330 remote journal transport protocol 330 remote journals implementing with C 335 implementing with RPG 339 remote load source 23 remove internal entry (*RMVINTENT) option 332 Remove PTF (RMVPTF) command 169 removing obsolete messages in QSYSOPR 188 replication, data 397 RESTACC command 296 RESTART (restart type) parameter 43 restart type (RESTART) parameter 43 *FULL 43 *SYS 43 type 36 restore 49 commands from licensed program library to QSYS 92 concurrent operations 57 integrated file system 220 licensed program 87 licensed program product (LPP) 85 observability 77 observable object 77 performance 95, 98
434
restore (continued) spooled files 69 Restore (RST) command 223 Restore Document Library Object (RSTDLO) command 244, 247 restore folder (RSTFLR) parameter 247 restoring an individual document 272 restoring NetWare server configuration 284 restoring NWSD 282 restoring server storage space 284 restricted state 291 restrictions 361 RETAIN 167, 178 Retrieve Configuration Source (RTVCFGSRC) command 268 retrieve job information (QUSRJOBI) API 164 RETRIEVE method 282 ring-error monitor (REM) function 198 RMVPTF (Remove PTF) command 169 root (/ file system) 223 RPQ 85 RST (Restore) command 223 RSTDLO (Restore Document Library Object) command 244, 245, 247 authority for 246 RSTFLR (restore folder) parameter 247 RSTLICPGM command 86 RTVCFGSRC (Retrieve Configuration Source) command 268 RTVVOLSTAT parameter 116 RUNCLNUP parameter 116
S
SAM/400 (System Availability Monitor) 408 satellite dual path connection 356 satellite system 351, 387 SAV (Save Object) command 76 SAV (Save) command 223 USEOPTBLK parameter (V3R7) 78 SAVACT (Save While Active) option 53 SAVACT (save while active) parameter 75 SAVCFG command 54 SAVCFG(Save Configuration) command USEOPTBLK parameter (V4R1) 78 SAVCHGOBG (Save Changed Objects) command USEOPTBLK parameter (V3R7) 78 SAVCHGOBJ (Save Changed Objects) command SAVDLO (Save Document Library Object) command 247 USEOPTBLK parameter (V4R1) 78 SAVDLO (Save Document Library Objects) command 76 SAVDLO command, authority for 243 save 49 authority requirements 290 concurrent 50, 98 concurrent for DLOs 56 concurrent operations on libraries 55
76
save (continued) incremental 61 licensed p r o g r a m 86 licensed program product (LPP) 85 performance 78, 95, 98 postprocessing 55 preprocessing 55 spooled files 69 start time 63 strategy 59 unattended 61 USEOPTBLK parameter 78 version-based 111 Save (SAV) command 223 save and restore rates 379, 380, 383 save and restore spooled file (SAVRSTSPLF) tool 69 Save Changed Objects (SAVCHGOBJ) command 76 Save Document Library Object (SAVDLO) command 247 Save Document Library Ojects (SAVDLO) command 76 Save Library (SAVLIB) command 76 Save Licensed Program (SAVLICPGM) command 278 save list 55 SAVE menu 65, 85 unattended saves 61 Save Object (SAV) command 76 Save Object (SAVOBJ) command 76 Save While Active (SAVACT) function 76 Save While Active (SAVACT) option 53 save while active (SAVACT) parameter 75 Save While Active (SWA) function 2, 50, 77 o v e r v i e w 52 restrictions 52 shadow file 52 side file 52 Save While Active function checkpoint 51 checkpoint processing 51 saving access path 318 saving licensed program 278 saving mail 244 SAVLIB (Save Library) command 76 USEOPTBLK parameter (V3R7) 78 SAVLIBASP command 120 SAVLICPGM (Save Licensed Program) command 278 SAVLICPGM command 86 SAVOBJ (Save Object) command 76 USEOPTBLK parameter (V3R7) 78 SAVRSTSPLF (save and restore spooled file) tool 69 ZRSTSPLF command 69 ZSAVSPLF command 69 SAVSAVFDTA(Save Save File Data) command USEOPTBLK parameter (V4R1) 78 SAVSECDTA (Save Security Data) command USEOPTBLK parameter (V4R1) 78 SAVSYS (Save System) command USEOPTBLK parameter (V4R1) 78
Index
435
SAVSYS command OMIT parameter 53 ommiting objects on 53 SAVSYSBRM command 119 SBACKUP restore option 285 SBMNWSCMD (Submit Network Server Command) command 271 scatter loading 23 SDC (software data compression) 96 search index database 246 secondary language 88 selective function 111 Send function 402 Send Network File (SNDNETF) command 177 Send Network Object 404 Send PTF Order (SNDPTFORD) command 172 sending task priority 334 se rve r 110 server database, backup and recovery 113 server function 112 server message block (SMB) 262 server storage space 273, 290 C: drive 264, 273 D: drive 264, 273 E: drive 264, 273 F: drive 265, 274 G: drive 265 K: drive 265 restoring 269 saving 268, 278 types 264 service reference code (SRC) 106 service time 98 settings for optimum performance 98 shadow file 52 SHRRD option 51 side file 52 single-level storage 23 site loss 19 size percentage parameter 102 size value 145 sizing tape requirements 381 skip-shipped 115 sleep mode 30 SLIC (System Licensed Internal Code) 30 SMAPP *MIN 48 #JOEVAT task 39 #JOIJSS task 39 #JOTUNT task 39 modifying 40 performance considerations 40 tasks 39 SMAPP (system managed access path protection) 38, 316 SMB (server message block) 262 SNADS (systems network architecture distribution services) 38
SNDNETF (Send Network File) 177 SNDPTFORD (Send PTF Order) command 172 software data compression (SDC) 96 DTACPR 96 solution High Availability Solutions 391 redundant fiber link 352 solution, high availability clustered 351 source sink component trace 191 SPCN (System Power Control Network) 29 Specify Command Defaults display 62 SRC (service reference code) 106 SRC codes 44, 371 SST (system service tools) LIC interface 191 steps, recovery 20 storage pool backup and recovery 113 storage space 290 network server storage space 274 server storage space 273 types 273 stored procedures 310 STRMNTBRM command 116 Submit Network Server Command (SBMNWSCMD) command 271 subsystem configuration 200 superseded PTF 167 SWA (Save While Active) function 50 Switch function 403 switched disconnect 202 SwitchOver System 395 Decision Control Matrix 395 Synchronize function 403 synchronous delivery mode 330 synchronous replication 330 system availability work management 139 System Availability Monitor (SAM/400) 408 system checksum 28 system crash 318 system date 152 system default date (August 23, 1928) 152 system failure 19 System Licensed Internal Code (SLIC) 30 system managed access path protection (SMAPP) 38, 316 system management, tools for automating 109 System Power Control Network (SPCN) feature 29 system recovery 318 system redundancy 327 system reply list 134 system service tools (SST) LIC interface 191 system tuner, tuning 104 systems network architecture distribution services (SNADS) 38 SystemView Managed System Services for AS/400 (MSS/400) 130
436
128
T
table value 145 tape devices 30 tape drive data compaction 95 ratings 96 tape file sequence number 119 tape requirements, sizing 381 target 5250 display station pass through 191 target release (TGTRLS) parameter 75 target work station function 192 task priority, sending 334 task scheduler 105 TCP AS/400 alias CL commands 213 TCP error recovery 188 TCP function, logical file 211 TCP/IP common problems 215 TCP/IP configuration saving 211, 299 TCP/IP network stability 211 TCP/IP tips 213 Telnet devices 189 device recovery action 190 inactivity timeout 189 Temporary job structures field 145 additional value 145 available value 145 initial value 145 temporary PTF 169 test chip-to-chip 35 extended main storage diagnostic 35 testing recovery procedures 61 text search service, recovery of text index files for 248 text search services files, saving 244 TGTRLS (target release) parameter 75 compatibility 79 The PRTSYSINF Command The SystemView Launch Window for OS/400 time to save 2 timeout option (TIMOUTOPT) parameter 162 TIMOUTOPT (timeout option) parameter 162 actions 163 total value 146 transfer time of data 97 transport mechanisms 330 transport method 333 trigger program, save and restore tips 306
uninterruptible power supply (UPS) 28 unmount file system 64 unmounted UDFS 235 restoring 237 restoring an individual object from 237 saving 236 updateable action PTF 171 UPS (uninterruptible power supply) 28 use optimum block (USEOPTBLK) parameter 57, use optimum block size (USEOPTBLK) parameter USEOPTBLK (use optimum block size) parameter USEOPTBLK (use optimum block) parameter 57, compatibility 79 USEOPTBLK(use optimum block) parameter compatibility 80 considerations 80 user class parameter 89 user data 261 user profile authority 89 user storage space 263 user-defined file system (UDFS) 223, 231 mounting 231 user-defined file systems (UDFS) 61
78 97 97 78
V
Vary Configuration (VRYCFG) command 186 vary off network server parameter 63 *ALL 64 *LANSERVER 64 *NONE 64 vary off the network server parameter Version 1 (V1R1, V1R2, and V1R3) 2 Version 2 (V2R1, V2R2, V2R3, and V3R05) 2 Version 3 (V3R1, V3R2, V3R6, and V3R7) 2 Version 4 (V4R1 and V4R2) 2 version-based save 111 virtual controller autocreate device (VRTAUTODEV) value 184 Vision Solutions, Inc. 406 High Availability Services (HAS/400) 409 Object Distribution System (ODS/400) 408 Object Mirroring System (OMS/400) 407 System Availability Monitor (SAM/400) 408 Vision Suite 407 Vision Suite 407 VLIC log 106 VLOG improvement 190 VLOG log 106 volume media management 114 VRTAUTODEV (virtual controller autocreate device) value 184 VRYCFG (Vary Configuration) command 186
U
UDFS (user-defined file system) 223, 231 UDFS (user-defined file systems) 61 unavailability 167
W
WCBT (work control block table) 141 WCBTE (work control block table entry) 142
Index
437
white outs 29 Windows NT directories and objects for 258 operating system and registry 263 restoring 262 saving and restoring 258 Windows NT operating system and registry 260 Windows NT server re-install 263 system files 262 work control block table (WCBT) 141 work control block table cleanup (QWCBTCLNUP) 143 work control block table entry 143 work control block table entry (WCBTE) 142 work management 139 work management API 164 Work NetWare Volume (WRKNTWVOL) command 272 Work With Active Jobs (WRKACTJOB) command 139 Work With Job Schedule Entries display 125 Work With Move Policies (WRKPCYBRM) command 117 Work With NetWare Volumes (WRKNTWVOL) command 284 Work With Shared Pools (WRKSHRPOOL) display 101 write cache 331 write capability 99 WRKACTJOB (Work With Active Jobs) command 139 WRKASP command 120 WRKASP Utility for OS/400 WRKASP utility for OS/400 PRPQ 120 WRKASP utility, CL commands 120 WRKCFGSTS display change 194 WRKNTWVOL (Work NetWare Volume) command 272 WRKNTWVOL (Work With NetWare Volumes) command 284 WRKPCYBRM (Work With Move Policies) command 117 WRKSHRPOOL (Work With Shared Pools) display 101
438
Use the online evaluation form found at http://www.redbooks.ibm.com Fax this form to: USA International Access Code + 1 914 432 8264 Send your comments in an Internet note to [email protected]
Which of the following best describes you? __Customer __Business Partner __Solution Developer __None of the above
__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!) _____________________________________________________________________________________________________ _____________________________________________________________________________________________________ _____________________________________________________________________________________________________ _____________________________________________________________________________________________________ _____________________________________________________________________________________________________
439
SG24-2161-00
IBML