About 2 months ago I posted a step-by-step guide for performing this on a hosted LPAR. In this post I want to cover how to upgrade a single LPAR or Host LPAR.
This is my streamlined process but I will add in additional notes and suggestions of things you will want to review. I am not going to cover the process of securing the 7.3 media and uploading it to the system but I will give a list of high level steps. I hope in a future post to cover this process from a more in depth perspective.
Before You Start
- Check if your hardware is compatible with the OS Release. IBM’s System i Maps
- Order the OS Media several weeks before you plan to perform the upgrade (or you can download it from the ESS website)
- Secure License keys for the software (you can create a CL to apply these or copy and paste them to a command line to apply them after the upgrade)
- Several weeks before order the latest PTF Groups for the OS (in this case 7.3). This can be found on IBM’s Fix Central website
- If you are performing a save to physical tape make sure that you have it on hand
- Review documentation
- Check Third Party Software for compatibility
- Check the load source to ensure that it is big enough. This is a check in GO LICPGM then option 5 when you are running through getting the OS prepared for install. IBM has published this article to help with this: Determine Load Source. 7.3 needs a load source greater than 35GB for virtual disks, >41GB with 512-byte sectors, and >70GB for Native-attached SAS/SCSI
Getting Started – Prepare the System for Upgrade
- Pre-check : Review the list of required PTFs. I added them below but you can review IBM’s article as well: here
DSPPTF OUTPUT(*PRINT)
NOTE: I found it easiest to print the list of all PTFs, pull up the spool file, and then search through it for the PTFs listed below. (there are a number of ways you can look for them)
If you are upgrading from: | PTFs | If you are upgrading from: | PTFs |
V7R1M0 | SI59470 | V7R2M0 | SI67589 |
SI67578 | SI65435 | ||
MF50235 | SI52981 * | ||
MF51411 | MF59284 | ||
MF53918 | MF59329 | ||
MF53919 | MF60264 *** | ||
MF59277 | MF60475 * | ||
MF59283 | MF63892 **** | ||
MF60229 ** | |||
MF60263 ** | |||
MF63879 **** |
If you are upgrading from: | PTFs | If you are upgrading from: | PTFs |
V7R1M0 | SI67578 | V7R2M0 | SI67589 |
SI52927 | SI52910 | ||
SI52990 | SI52991 | ||
SI65908 | SI65907 |
7.1 Load Source: MF59277
7.2 Load Source: MF59329
** If at 7.1 TR10 or higher
*** If at 7.2 TR2 or higher
**** Required if load source is VIOS 520 byte disks
- Walk through all of the options under GO LICPGM then option 5 Prepare for Install; starting with Allocate additional space for LIC. In my case I had to allocate the storage for V7R3M0 to take effect at the next IPL (more on this later).
NOTE: make sure you have the load source PTF listed above installed before performing this or it will fail!
- Mount the 7.3 media and select Work with licensed programs for target release. At this point you will point it at the media source (in my case I loaded the 7.3 media to an Image Catalog and mounted it to OPTVRT01 — I am going to create a separate blog post on how to do this later. If you need help leave a comment)
- Step through the other option for upgrade
NOTE: MAKE SURE TO ACCEPT ALL LICENSE AGREEMENTS!! If you do not the install will fail!
System Preparation Complete – Shutdown LPAR and Backup
- Connect to the HMC if one is present or configure a session to run in the QCTL subsystem or another subsystem that does not go down
- Remove Startup PGM and record what it was (I did this for my own sanity so I wouldn’t have issues with it starting things I didn’t want it to)
WRKSYSVAL SYSVAL(QSTRUPPGM)
DSPSYSVAL SYSVAL(QSTRUPPGM) OUTPUT(*PRINT)
CHGSYSVAL SYSVAL(QSTRUPPGM) VALUE(*NONE) - You can record other system values to be on the safe side as well (QSYSLIBL, QUSRLIBL, QALWOBJRST (needs to be *ALL), QVRYOBJRST, and QSCANCTL)
- Put on hold any jobs that may run (make sure to record them)
- Remove Startup PGM and record what it was (I did this for my own sanity so I wouldn’t have issues with it starting things I didn’t want it to)
- At this point you can perform a SAVE 21 or SAVE 22 if tape is the desired medium for backup:
- GO SAVE
- Select the desired option (SAVE 21 is the best option but if you don’t have time for that a SAVE 22 is okay)
- Specify the Tape device and kick off the save
System Ready – Perform Upgrade
- Mount Image Catalog
LODIMGCLG IMGCLG(V7R3M0RSE) OPTION(*LOAD) DEV(OPTVRT01)
NOTE: If OPTVRT01 does not exist you can create it (Instructions from IBM here or CRTDEVOPT DEVD(OPTVRT01) RSRCNAME(*VRT) ) - Verify Image Catalog
VFYIMGCLG IMGCLG(V7R3M0RSE) TYPE(*UPGRADE) SORT(*YES)
NOTE: If the verify fails check the job log (DSPJOBLOG) for errors and correct any that exist. - End Subsystems and restart with upgrade media
ENDSBS SBS(*ALL) OPTION(*IMMED)
PWRDWNSYS OPTION(*IMMED) RESTART(*YES) IPLSRC(*IMGCLG) IMGCLG(V7R3M0RSE)
NOTE: The system will restart and begin installing 7.3. Everything should install automatically - The system may reboot several times and once complete it will return you to a sign on screen.
System Upgrade Complete – Install PTF Groups
- From Fix Central you should have downloaded the latest PTF Groups, uploaded them to your system, and created an image catalog. Now we want to load the image catalog.
Go to WRKIMGCLG and load the SF99730 image catalog (or whatever you named your PTF Group Image Catalog) onto OPTVRT01 and make sure first volume is mounted
NOTE: You would create this image catalog by going to Fix Central, downloading all of the PTF Groups, and uploading them to the Host (see my post here) - At this point you can add back the Startup PGM from the Preparation Complete Step 1 above (the value for QSTRUPPGM will be in the SPLF from earlier)
- To kick off the PTF install, run GO PTF and take option 8 to install the package. Enter the name of the optical device and press Enter (let it IPL)
- Once the IPL and PTF install is complete, run WRKPTFGRP and make sure all are installed
NOTE: It will return you to a sign on screen once complete - Go to GO LICPGM then option 50 and make sure you see INZSYS started and INZSYS processing completed successfully
- Check and release scheduled jobs if needed — WRKJOBSCDE
- Apply License Program license keys
- Perform a SAVE 21 again if you have the time or run a SAVE 22
System Upgrade and PTFs Complete
Hey there!
I would like to congratulate you on this very well written and self explanatory blog post. This is indeed a good one for progressive administrators of IBM i.
I saw you on twitter as well and will follow there for posts.
Thanks a lot for considering my request. May God bless you and stay safe in this pandemic !!