IBM i is full of powerful secrets. Some are useful, some are complex, and some are even dangerous. Most of these secrets are for the advanced users who seek to move beyond simplicity and find maximum efficiency. This article will give you the key to unlock a vastly untapped resource--a gem that's properly called Central Site Distribution, but is sometimes referred to as Redistribution or Distributed System License Option (DSLO). Although DSLO is an incorrect name for Central Site Distribution, it is the most common name. In fact, the term is so common that many users and IBM reps won’t even know what you are talking about unless you use the term DSLO. Since the term DSLO has been so widely accepted, I will interchange Central Site Distribution and DSLO throughout this article.
As defined by the IBM i Information center, Central Site Distribution is “the process of duplicating the software of one system or logical partition and distributing it to multiple systems or logical partitions.” Basically, you create your own install media based off of a source system. This install media will contain the software licensed programs and PTFs that are on the source system where the media was created. DSLO media can be used for new installs, upgrades, and even previous release to current release migrations.
Later in the article, we will go through the creation and installation process, but first, we’ll go over more detail to help you determine if Central Site Distribution is right for you. There are many benefits to using Central Site Distribution media over the IBM supplied install media. The main benefit is that your DSLO install time is usually much faster than the standard media install. The largest amount of saved time is due to the fact that DSLO media already contains the PTFs (program temporary fixes) from the source system. Whereas with a standard install, after the licensed programs are installed, the cumulative and group PTFs need to be loaded and at least one IPL is required to apply the PTFs. Depending on your system and the PTF groups needed, the standard PTF install process can add an additional one-to-four hours to your install. This additional time is saved when using DSLO media. Another contributing factor to faster installs is the fact that the read rates of tape media are generally much faster than the read rates of optical media. The average configuration for an Ultrium drive is more than 10 times faster than the average configuration for an optical drive! Also, if you're using current tape media or virtual volumes, then most likely your entire Central Site Distribution media will be contained on a single volume. A single volume will save some time from switching volumes and answering messages, but it also brings us to the second major benefit: less operator intervention. Of course, the less an operator needs to intervene, the better. DSLO media requires less operator intervention during the install because there is no switching of media, no additional PTFs to install, and the software agreements are already accepted. The last of the major benefits of using Central Site Distribution media is that you can be assured that the licensed programs and their PTFs will be an exact match on the target systems.
Before you send out an office memo that all future installs will be from Central Site Distribution media, you need to understand some considerations when preparing the DSLO media. The biggest downside to Central Site Distribution media is that the source system needs to be in a restricted state during its creation. If you are lucky enough to have a development box or a skinny partition, then this may not be an issue for you at all. Before creating your DSLO media, there are several PTFs that should be applied in order for the install to run smoothly, which we'll cover later in this article. Another important point is that the Licensed Internal Code PTFs (MFxxxxx) must be permanently applied for them to be valid on your DSLO media. Some people like to permanently apply all of the PTFs on their system before creating their DSLO media. You can permanently apply all of your Licensed Internal Code PTFs with the following command:
For V6R1:
APYPTF LICPGM(5761999) APY(*PERM) DELAYED(*YES)
For V5R1 – V5R4:
APYPTF LICPGM(5722999) APY(*PERM) DELAYED(*YES)
One frustrating factor with DSLO media is that any time a new or superseded PTF is needed, the PTF(s) need to be applied on the source system and a new version of the DSLO media needs to be created. This is why licensed program and PTF planning is very important. There are still many PTFs being developed and updated for Central Site Distribution because this process hasn’t really been heavily used even though it has been available for several years. It has only been in the last couple of years that I have started recommending DSLO installs for those who could really use it. Since there have not been too many users of Central Site Distribution, there is not much in terms of documentation, benchmarks, and support knowledge. The main form of documentation is the IBM “Distributing software” guide section “Distributing software using Central Site Distribution” and the IBM Information Center website http://publib.boulder.ibm.com/iseries. The Distributing software guide gives good information, but the older Central Site Distribution guide (SC41-5308) shows some convenient screenshots of the creation of custom installation profiles.
Another consideration for using Central Site Distribution media is to ensure that the target system installation device is compatible with the media. If you are performing an upgrade, this isn’t too much of a problem since you can use virtual media as long as the target system has enough disk space. If there is not enough disk space, you can still create DSLO media onto optical media if your tape devices are not compatible.
Finally, Central Site Distribution does not currently have the built-in functionality to automatically support the installation/upgrade of secondary languages. If you have secondary languages, I’ll explain how these can still be automatically installed with just a few extra steps when preparing your creation media on the source system.
Like many other tasks, preparation is very important when creating your Central Site Distribution media. For creating your media, all of your preparation is performed on the source system. Of course you will want to follow IBM’s “Distributing software” guide and the Central Site Distribution link in the IBM InfoCenter: http://publib.boulder.ibm.com/infocenter/iseries/v6r1m0/topic/rzai4/rzai.... Here are the main steps for preparation:
Licensed Program Products
Part of the DSLO creation process is to save the licensed programs (SAVLICPGM). Of course, it can only save the licensed programs that are currently on the source system. This means that you will need to determine what licensed programs are needed on the target system(s) and ensure that all of the needed licensed programs are installed on the source system. If you are upgrading multiple systems, the default is not to install any additional licensed programs that are missing and to only upgrade the existing licensed programs. On the source system, it is also a good idea to run a CHKPRDOPT against all of the licensed programs to verify that they are installed correctly before creating your distribution media.
PTFs
Program Temporary Fixes (PTFs) are code updates that are a part of the actual code. This means that the PTFs are saved with the objects when the DSLO media is created. You will want to make sure that you have installed the latest cume, group, and individual PTFs for all of the products on your source system. Also, since the target system will be on the A side while installing or upgrading, you need to make sure that the licensed internal code PTFs (57xx999) are permanently applied on the source system before creating your Central Site Distribution media. If the licensed internal code PTFs are not permanently applied, then the updated code cannot be utilized, which may be needed to properly perform the actual install. For a list of recommended Central Site Distribution PTFs, see IBM Knowledgebase document KB491991074. At the time this article was written, this document only listed the PTFs for the currently supported releases of V5R4 and V6R1.
QLPUSER Program
In order to allow for additional customized installation steps, IBM allows for users to create a program that will run automatically after the licensed program products install. This program must be called QLPUSER and must reside in the QGPL library before the DSLO media is created. The QLPUSER program can be used to run any customized actions but will only run after the licensed programs are installed successfully. These customized actions could include such things as installing third party applications (or any licensed program not found on the GO LICPGM option 10), installing secondary languages (See IBM Knowledgebase document KB525007416), or for any other desired actions. The build of the QLPUSER program is very specific (such as only having the initial two parameters of only &DEVICE and &SUCCESS), so make sure that you follow the correct format explained in the IBM Information Center: http://publib.boulder.ibm.com/infocenter/iseries/v6r1m0/index.jsp?topic=...
Installation Profiles
Installation profiles are used for automatic installation using Central Site Distribution media. These profiles contain pre-defined values for upgrade and installation options. IBM pre-creates four default installation profiles.
QCHGPRILNG is a preconfigured installation profile for the purpose of changing the primary language on an existing system.
QIBMRPLRLS is the most common profile used to perform an upgrade of a target system to a higher OS release. The default is to upgrade the Licensed Internal Code, Operating system, and any licensed programs that need to be upgraded.
QINSNEWSYS is the default profile used to install a new target system.
QRPLRELLVL is used to perform an upgrade of a target system to a higher OS release. Unlike the QIBMRPLRLS installation profile, the default for QRPLRELLVL is to upgrade/reinstall the Licensed Internal Code, Operating system, and ALL licensed programs, even the ones that are already compatible with the new release.
If you prefer to use different install options during an automatic upgrade, IBM provides an easy way for you to create your own customized installation profiles. The following will give you step by step screenshots for creating a customized installation profile and will explain the different options.
In Figure 1, the installation profiles are located under GO LICPGM option 41, Work with installation profiles.
In Figure 2, to create your own customized installation profile, On the ‘Work with installation profiles’, place a 1 on the Opt field and the name of the new profile under the Installation Profile field.
In Figure 3, the ‘Create Profile Details’ screen is where you determine the install type.
1=Replace current release with new release
2=Install new system
3=Change primary language using media
containing secondary language
In Figure 4, on the ‘Create Operating System Installing Options’ screen:
1=Restore programs and language objects
from distribution media
2=Do not restore programs or language
objects
3=Restore only language objects from
distribution media
Option 1 is typically for a new install, reinstall, or upgrade of the OS release. Option 2 doesn’t restore the program or language objects. This option can be used to perform an abbreviated installation of the operating system which will recreate damaged libraries or objects (but they will be empty) and recreate the system entry-point table. Option 3 is used to only change or reinstall the primary language of the system.
This screen also gives you the option to clear job and output queues on the target system.
In Figure 5, you can choose the following values for each option on the ‘Change restore Options’ screen:
1=Restore from Central Site Distribution media
2=Do not restore from Central Site Distribution media
3=If the objects or values already exist on the target system, then nothing is restored from media. If the objects or values do not exist, then they will be restored from the Central Site Distribution media.
On the screenshot, I decided to keep the system information and edit descriptions on the target system being upgraded. However, if these objects don’t exist, then they will be restored from the source system’s DSLO media. As far as the reply list entries, they are forced to be restored from the DSLO media whether it be adding new entries or replacing the existing entries on the target system. Lastly, the job descriptions and subsystem descriptions will not be restored from tape even if they don’t already exist on the target system.
In Figure 6, the next screen is the ‘Create Major System Options’ screen. The Enable automatic configuration option lets you decide whether or not to automatically create descriptions for any new resources that the system finds (such as TAP01 for a tape device). Device configuration naming and Default special environment will typically remain as *SAME unless changing to or from System 36 environment during the install.
In Figure 7, the ‘Change Licensed Program Options’ screen allows some controls on how to install/upgrade the licensed programs.
In Figure 8, after you press enter on the ‘Create Licensed Program Options’, the system should take you back to the ‘Work with Installation Profiles menu and the bottom of the screen should have the following message: “Installation profile xxxxx created”.
Create Central Site Distribution Media
Now that you are familiar with the installation profiles, we will go over the steps used to create the Central Site Distribution media. The first steps involve the preparation listed above. This includes the installation of the proper licensed programs and PTFs (57xx999 PTFs need to be permanently applied to be valid during the target system’s installation/upgrade of the Licensed Internal Code), creating your QLPUSER program, and creating or choosing your installation profile. In order to create the distribution media, you must be signed onto the console and should be signed in as QSECOFR. Usually you will go through all of the steps in creating the Central Site Distribution media. However, if you want to skip any steps or save commands, then you can press F12 on that step to cancel and then continue with the next step. If you are using a tape library device instead of a single tape drive, then be sure to list the volume id for all of the steps requiring a volume. Alternatively, you could mount a tape with a CHKTAP or DSPTAP command and then issue a SETTAPCGY with an OPTION(*MOUNTED) so that you don’t have to keep entering the volume id.
Here are the step-by-step instructions for creating your Central Site Distribution media:
After a successful completion, it is a good idea to verify the joblog and also the media. With the joblog, make sure that there are not any error messages and that all of the parts were saved correctly. To verify the media, mount the volume and display it. This will verify that it is readable and you can also get a printout of its contents. For example, if you are using tape, issue a DSPTAP to OUTPUT(*PRINT). If you have the luxury of a test system, then definitely test your Central Site Distribution media. DSLO is synonymous with the two clichés of “practice makes perfect” and “time is money”.
Now that the distribution secrets have been revealed, you can venture into the realms of alternative installation to unlock its powers.
Brian Bohner has been a software engineer for the IBM Rochester System i Support Center since 2001. He is a senior member of the Save/Restore, BRMS, Fixes, and Work Management teams. His expertise includes upgrades, backups, recoveries, PTFs, BRMS, and virtual media.