To install PTFs that you receive on physical
media, that you receive as images (using SNDPTFORD DLVRYFMT(*IMAGE),
or by downloading the images from Fix Central using either Download
Director or FTP, follow these steps.
Note: You cannot install PTFs directly from an image catalog
with Management Central, but you can use the copy from media function
to copy PTFs into save files from an image catalog associated with
a virtual optical device. For instructions, see
Copying fixes from media.
To
install your fixes from an image catalog, do the following steps:
- Create a virtual optical device
It
is possible that you used an image catalog that is associated with
a virtual optical device to perform a software upgrade. If you did,
you do not need to perform this step. If you do not have a virtual
optical device, you must create one.
- To create a device description, type the following on any command
line:
CRTDEVOPT DEVD(OPTVRT01) RSRCNAME(*VRT) ONLINE(*YES) TEXT(text-description)
- To determine whether a virtual optical device exists, type the
following:
WRKDEVD DEVD(*OPT)
A virtual optical
device is indicated by a device type of 632B.
To ensure that
the device is active, press F14 (Work with configuration status).
If the device is not active, type 1 to vary it on.
- Create an image catalog
Create an
image catalog for the set of PTFs that you want to install. The Create
Image Catalog (CRTIMGCLG) command associates an image catalog with
a target directory where the preloaded images are loaded.
CRTIMGCLG IMGCLG(ptfcatalog) DIR('/MYCATALOGDIRECTORY')
CRTDIR(*YES) TEXT(text-description)
Note: A directory
can be associated with only one image catalog.
As
of IBM® i 7.2, users can automatically
add all images found in the image catalog directory as follows:
CRTIMGCLG IMGCLG(ptfcatalog) DIR('/MYCATALOGDIRECTORY')
ADDVRTVOL(*DIR) TEXT(text-description)
If you use this method, skip to step 4.
- Add an image catalog entry
You can
add an image catalog entry for each physical media that you have.
You can also add an image catalog entry for fixes that you received
using FTP, for example, you downloaded fixes from Fix Central.
- Load the image catalog
This step associates
the virtual optical device to the image catalog. Only one image catalog
can be associated with a specific virtual optical device. Type the
following command to load the image catalog:
LODIMGCLG IMGCLG(ptfcatalog) DEV(OPTVRT01) OPTION(*LOAD)
- Verify that the images are in the correct order
VFYIMGCLG IMGCLG(ptfcatalog) TYPE(*PTF) SORT(*YES)
The
system puts the images in the correct order. By default, the volume
with the lowest index is mounted; all the other volumes are loaded.
Use the Work with Catalog Entries (WRKIMGCLGE) command to see the
order of the images.
Note: If you are attempting to load individual
PTFs with the Load PTF (LODPTF) command, only the PTFs on the volume
set that is mounted can be loaded.
- Install PTFs from virtual optical device
To
install PTFs from an image catalog associated with a virtual optical
device, see Installing fixes from media or Installing cumulative PTF packages. For the device name, enter
the name of the virtual optical device that is associated with your
image catalog. All the PTFs from the images that are either mounted
or loaded will be installed.
- Delete images from image catalog
Once
you have successfully installed the fixes, you should remove the images
from the catalog with the Remove Image Catalog Entries (RMVIMGCLGE)
command. If you continue to add new images to the same image catalog
without removing the old images, PTF install processing will attempt
to install the fixes from all of the loaded images in the catalog.