• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • Admin Alert: Time Gobbling Tasks for a System Upgrade

    February 4, 2009 Joe Hertvik

    Last week, I discussed four critical things to beware of during an i5/OS system upgrade. This week, let’s look at a fifth critical item: upgrade time. I’ll examine a few necessary and optional procedures that can add extra time to your upgrade process, and I’ll explain the benefits that each procedure can bring you.

    When planning your i5/OS upgrade window, be sure to take into account the following critical issues that will add extra time to your upgrade process. Some of these issues are optional and provide additional benefits as you move to a new operating systems. Other items are required duties that need to be performed to make your upgrade successful. I recommend that you review all of these items as they apply to your situation, and make sure that you perform whichever functions are necessary as you upgrade.

    Prepare for Install PTFs–For many upgrades, IBM supplies a CD containing “Prepare for Install PTFs” that will prep your system to be upgraded. Installing these PTFs is easy, but it will take an additional IPL to apply them to your operating system so be sure to budget time for this before you upgrade your system. If you have some flexibility in taking your target partition down, you can save time on upgrade day by IPLing your system to apply these PTFs several days before the upgrade.

    Pre-upgrade full system backup–When you upgrade your box, you are changing a number of things about your configuration that cannot easily be rolled back. I would never think about starting a system upgrade without taking a full system backup of my entire system. With a backup, if something goes wrong with the upgrade you will have a pre-upgrade version of the system for restoration, if necessary.

    Post-upgrade backup–If you have the luxury of performing a second full system backup after the upgrade is finished, I encourage you to do so. Depending on how often you take down your machine, it may be a long time before you can backup the new operating system and its converted data. With a post-upgrade backup, you will be able to restore the upgraded system in the event of a catastrophic failure. If you don’t have a post-upgrade backup and disaster occurs, you would have to go back and restore the system to its prior release and then perform the upgrade again.

    If time prevents you from backing up the entire system, I recommend that you at least perform a partial system backup after the upgrade. A good partial backup will consist of the following two items that you may be able to use to restore your system.

    1. A system and user configuration data backup. You can perform this backup by running the Save System (SAVSYS) command. SAVSYS saves three critical sets of data to your backup media: your OS/400 licensed internal code (LIC) and i5/OS objects that are stored in the QSYS library; security data, including your user profiles and private authorities; and your system configuration objects. These are the baseline objects that you would need to restore to get your newly upgraded system running again.

    2. Your IBM-supplied libraries. You can save all the IBM libraries by running the following Save Library (SAVLIB) command with the Library (LIB) parameter set to *IBM.

    SAVLIB LIB(*IBM) DEV(tape_drive_name)
    

    This will save all the IBM libraries that contain your new operating system code. Be aware, however, that there are certain IBM libraries that are not saved by this command. The following IBM-supplied libraries are not included when you run SAVLIB with the *IBM parameter.

    QDOC        QRCYxxxxx   QTEMP       QUSRRDARS 
    QDOCxxxx    QRECOVERY   QUSER38     QUSRSYS   
    QDSNX       QRPLOBJ     QUSRADSM    QUSRVI    
    QGPL        QRPLxxxxx   QUSRBRM     QUSRVxRxMx
    QGPL38      QSPL        QUSRDIRCL 
    QMGTC       QSPLxxxx    QUSRDIRDB 
    QMGTC2      QSRV        QUSRIJS   
    QMPGDATA    QSRVAGT     QUSRINFSKR
    QMQMDATA    QSYS        QUSRNOTES 
    QMQMPROC    QSYSxxxxx   QUSROND   
    QPFRDATA    QSYS2       QUSRPOSGS 
    QRCL        QSYS2xxxxx  QUSRPOSSA 
    QRCLxxxxx   QS36F       QUSRPYMSVR
    

    Even though these libraries start with a ‘Q’ (the usual specification for IBM-supplied libraries), they are not considered system libraries and will not be saved with this command. If you want to save any of these libraries after your upgrade, you’ll need to run a special backup. You may want to save the QGPL library, in particular, because many shops store user-modified versions of IBM objects in that library.

    Database File Header Conversion–After upgrading the system, you may temporarily notice that the machine is suffering from slow database access. On i5/OS V5R3-to-V5R4 upgrades, the operating system will convert and rebuild all existing files’ database file header information the first time each file is accessed. The operating system does this to eliminate performance degradation that could be introduced when the files start running under the Enhanced Hardware Storage Protection support that was introduced in V5R4. The problem is that if you have a large number of database files, the database header rebuilds can cause your user applications to run slowly until all the rebuild activity is finished.

    To minimize any system delays that can occur while i5/OS rebuilds the database headers, you can front-load the rebuilds and have the system convert a large number of your user files before the users ever touch the system. To front-load the rebuilds, run any of these three i5/OS functions before the users get on the system.

    1. Run a Display Object Description (DSPOBJD) command over a single file or over a group of files. DSPOBJD opens each object’s file headers to display user file information. To run DSPOBJD over all the user-supplied files on your system, use the following Submit Job (SBMJOB) command to rebuild the headers in the batch QSYSWRK subsystem.

    SBMJOB CMD(DSPOBJD OBJ(*ALLUSR/*ALL) 
    OBJTYPE(*FILE) OUTPUT(*PRINT)) JOB(DSPOBJD)
    JOBQ(QSYS/QSYSNOMAX) 
    

    This command may take a while to run but by the time it finishes, all the database file headers will be converted to their new format.

    2. Run the Display Library (DSPLIB) command over all your user libraries. Like DSPOBJD, DSPLIB also kicks off the database file header conversion process for any file in its target libraries. To submit DSPLIB to start the conversion on all your user libraries, run the following SBMJOB command:

    SBMJOB CMD(DSPLIB LIB(*ALLUSR) OUTPUT(*PRINT))
    JOB(DSPLIB)JOBQ(QSYS/QSYSNOMAX)
    

    When this command finishes running, all your database file headers will be converted.

    3. Perform a backup on your user libraries. If you add a user library backup to your post-upgrade backups, the operating system will convert each file’s header before that file is saved to media. To only save your user libraries, run the following Save Library (SAVLIB) command:

    SAVLIB LIB(*ALLUSR) DEV(tape_device_name)
    

    All three commands will convert your database file headers. It’s just a matter of which command you feel most comfortable with running. In terms of timing, you should budget extra time for these commands to complete after your upgrade (at least one to two hours, depending on which command you are running and the number and size of your user files).

    PTF Application–Don’t forget to apply the latest cumulative and group PTFs after the system upgrade is finished. PTF application will bring your system up to its most current level. It will also apply fixes for common problems that IBM has issued since the operating system was originally released.

    To find the most recent PTF IDs, descriptions, workgroup levels, and the date each PTF group was released for all active i5/OS operating system, go to IT Jungle’s System i PTF Guide. Maintained by DLB Associates, this PTF guide is updated weekly and contains the latest information on all IBM PTFs that are now available.

    When you order PTFs, you should first order the latest cumulative PTF package for the new release, which is always shipped with the most recent High Impact/Pervasive (HIPERs) PTF group, as well as the latest Database PTF group. In addition to these PTFs, you also need to order and apply the latest updates for any other PTF groups that are installed on your system. To get the current list of PTF groups, run the Work with Program Temporary Fix Groups (WRKPTFGRP) command. WRKPTFGRP will give you a list of all the current PTF groups on your systems, their PTF IDs, and the current software level of each PTF group. Once you know which PTF groups are installed on your system, you can compare this information against the PTF listings at IT Jungle’s System i PTF Guide to determine which group PTFs you need to order.

    Enter IBM license keys–Whenever you upgrade your operating system, IBM requires that you enter new license keys for all its licensed products. If you fail to enter the keys, the products will only work for a specified grace period. You may receive the new license keys with your hardware order. If not, be sure to contact IBM or a business partner to retrieve the keys before you perform your upgrade.

    IBM license key application is not difficult and it doesn’t take too long. Once you have your keys, you can usually enter all the licenses in 15 minutes to a half-hour.

    Time Wasted? Not At All!

    Although these tasks will take extra time when you upgrade an i5/OS system, they are not a waste of time. Rather, they are important items that need to be done for a successful system upgrade. When performing your upgrade, be sure to factor in additional time to complete each of these important steps.

    RELATED STORY AND RESOURCE

    Four Things to Beware of During a System Upgrade

    System i PTF Guide



                         Post this story to del.icio.us
                   Post this story to Digg
        Post this story to Slashdot

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Tags:

    Sponsored by
    WorksRight Software

    Do you need area code information?
    Do you need ZIP Code information?
    Do you need ZIP+4 information?
    Do you need city name information?
    Do you need county information?
    Do you need a nearest dealer locator system?

    We can HELP! We have affordable AS/400 software and data to do all of the above. Whether you need a simple city name retrieval system or a sophisticated CASS postal coding system, we have it for you!

    The ZIP/CITY system is based on 5-digit ZIP Codes. You can retrieve city names, state names, county names, area codes, time zones, latitude, longitude, and more just by knowing the ZIP Code. We supply information on all the latest area code changes. A nearest dealer locator function is also included. ZIP/CITY includes software, data, monthly updates, and unlimited support. The cost is $495 per year.

    PER/ZIP4 is a sophisticated CASS certified postal coding system for assigning ZIP Codes, ZIP+4, carrier route, and delivery point codes. PER/ZIP4 also provides county names and FIPS codes. PER/ZIP4 can be used interactively, in batch, and with callable programs. PER/ZIP4 includes software, data, monthly updates, and unlimited support. The cost is $3,900 for the first year, and $1,950 for renewal.

    Just call us and we’ll arrange for 30 days FREE use of either ZIP/CITY or PER/ZIP4.

    WorksRight Software, Inc.
    Phone: 601-856-8337
    Fax: 601-856-9432
    Email: software@worksright.com
    Website: www.worksright.com

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Sponsored Links

    PowerTech:  Ensure your IBM i data is secure. Join a complimentary Webinar now!
    Vision Solutions:  Journaling for System i resilience. Learn more.
    COMMON:  Join us at the 2009 annual meeting and expo, April 26-30, Reno, Nevada

    IT Jungle Store Top Book Picks

    Easy Steps to Internet Programming for AS/400, iSeries, and System i: List Price, $49.95
    Getting Started with PHP for i5/OS: List Price, $59.95
    The System i RPG & RPG IV Tutorial and Lab Exercises: List Price, $59.95
    The System i Pocket RPG & RPG IV Guide: List Price, $69.95
    The iSeries Pocket Database Guide: List Price, $59.00
    The iSeries Pocket Developers' Guide: List Price, $59.00
    The iSeries Pocket SQL Guide: List Price, $59.00
    The iSeries Pocket Query Guide: List Price, $49.00
    The iSeries Pocket WebFacing Primer: List Price, $39.00
    Migrating to WebSphere Express for iSeries: List Price, $49.00
    iSeries Express Web Implementer's Guide: List Price, $59.00
    Getting Started with WebSphere Development Studio for iSeries: List Price, $79.95
    Getting Started With WebSphere Development Studio Client for iSeries: List Price, $89.00
    Getting Started with WebSphere Express for iSeries: List Price, $49.00
    WebFacing Application Design and Development Guide: List Price, $55.00
    Can the AS/400 Survive IBM?: List Price, $49.00
    The All-Everything Machine: List Price, $29.95
    Chip Wars: List Price, $29.95

    Remain Teams with Original to Combine Testing and Change Management Database Server/400, Anyone?

    Leave a Reply Cancel reply

Volume 9, Number 5 -- February 4, 2009
THIS ISSUE SPONSORED BY:

WorksRight Software
Help/Systems
System i Developer

Table of Contents

  • A Bevy of BIFs: Look Up to %LookUp
  • Treasury Of New DB2 6.1 Features, Part 1: Query Enhancements
  • Admin Alert: Time Gobbling Tasks for a System Upgrade

Content archive

  • The Four Hundred
  • Four Hundred Stuff
  • Four Hundred Guru

Recent Posts

  • Public Preview For Watson Code Assistant for i Available Soon
  • COMMON Youth Movement Continues at POWERUp 2025
  • IBM Preserves Memory Investments Across Power10 And Power11
  • Eradani Uses AI For New EDI And API Service
  • Picking Apart IBM’s $150 Billion In US Manufacturing And R&D
  • FAX/400 And CICS For i Are Dead. What Will IBM Kill Next?
  • Fresche Overhauls X-Analysis With Web UI, AI Smarts
  • Is It Time To Add The Rust Programming Language To IBM i?
  • Is IBM Going To Raise Prices On Power10 Expert Care?
  • IBM i PTF Guide, Volume 27, Number 20

Subscribe

To get news from IT Jungle sent to your inbox every week, subscribe to our newsletter.

Pages

  • About Us
  • Contact
  • Contributors
  • Four Hundred Monitor
  • IBM i PTF Guide
  • Media Kit
  • Subscribe

Search

Copyright © 2025 IT Jungle