IBM Power Systems
About This Blog
Warm wishes and welcome to all AS400 Administrators and Operators.
This is exclusive blog for iSeries system Administrators working anywhere in the world. Also a place for guys and gals who want to share knowledge pertaining to iSeries. This blog has been designed for exchanging knowledge on AS400 or iSeries server administration and operations.
Friday, March 12, 2010
Installing PTFs from an Image File Ordered through the SNDPTFORD FTP Option
If the default directory was used in SNDPTFORD on the Image Directory parameter, the PTF image(s) will be found in /QIBM/UserData/OS/Service/ECS.
Steps to create another directory, if the default is not wanted (needs to be noted in the SNDPTFORD command, once created).
Steps to create another directory, if the default is not wanted (needs to be noted in the SNDPTFORD command, once created). Steps to create another directory, if the default is not wanted (needs to be noted in the SNDPTFORD command, once created.)
However, if another directory is wanted, the following can be used to create one:
a Open iSeries Navigator.
b Expand My Connections.
c Expand the system.
d Expand File Systems.
e Expand Integrated File System.
f Right-click on the Root and create a new folder called Fixes.
g Right-click on Fixes and select Sharing > New share.
h Select Read/Write Access and click OK.
2 Create a virtual optical device. On the operating system command line, type the following:
CRTDEVOPT DEVD(OPTVRT01) RSRCNAME(*VRT) ONLINE(*YES) TEXT('text-description')
Press the Enter key.
3 Ensure that only one virtual optical device, type 632B, is active. On the operating system command line, type the following:
WRKDEVD DEVD(*OPT)
Press the Enter key and press F14.
4 Create an image catalog. On the operating system command line, type the following:
CRTIMGCLG IMGCLG(ptfcatalog) DIR(/QIBM/UserData/OS/Service/ECS) CRTDIR(*YES) TEXT('text-description')
Press the Enter key.
Notes:
a) A directory can be associated with only one image catalog.
b) ptfcatalog is the example image catalog used in this document. This name can be changed.
5 Add an image catalog entry for fixes that you downloaded from Fix Central into an Integrated File System directory. Add the directory into an image catalog by using one of the following methods:
Method 1: From the same directory that is associated with the image catalog directory, type the following commands:
ADDIMGCLGE IMGCLG(PTFCATALOG) FROMFILE(SI#####_1.bin) TOFILE(*FROMFILE)
ADDIMGCLGE IMGCLG(PTFCATALOG) FROMFILE(SI#####_2.bin) TOFILE(*FROMFILE)
and repeat the commands until all image files are added.
Method 2: From a different directory, type the following commands:
ADDIMGCLGE IMGCLG(PTFCATALOG) FROMFILE('/differentdirectory/SI#####_1.bin') TOFILE(*FROMFILE)
ADDIMGCLGE IMGCLG(PTFCATALOG) FROMFILE('/differentdirectory/SI#####_2.bin') TOFILE(*FROMFILE) and repeat until all image files are added.
6 Make the virtual device OPTVRT01 available for use. On the operating system command line, type the following:
WRKCFGSTS CFGTYPE(*DEV)
Press the Enter key. Then select Option 1, Make Available, for OPTVRT01.
7 Load the image catalog. On the operating system command line, type the following:
LODIMGCLG IMGCLG(ptfcatalog) DEV(OPTVRT01) OPTION(*LOAD)
Press the Enter key.
8 Verify the images are in the correct order. On the operating system command line, type the following:
VFYIMGCLG IMGCLG(ptfcatalog) TYPE(*PTF) SORT(*YES)
Press the Enter key.
9 Install the PTFs from the image catalog as you would if you were using a physical CD-ROM. The only difference is that the device you will be applying the PTFs from is OPTVRT01 rather than OPT01.
Note: Use GO PTF Option 1 and 2 or GO PTF Option 8 to install PTFs from this image catalog.
10 Unload the image catalog. On the operating system command line type the following:
LODIMGCLG IMGCLG(ptfcatalog) DEV(OPTVRT01) OPTION(*UNLOAD)
Press the Enter key.
11 Delete the images from the image catalog. On the operating system command line, type the following:
WRKIMGCLGE IMGCLG(ptfcatalog)
Press the Enter key. Select Option 9 to unload the image catalog entry. Then select Option 4 to remove the image catalog entry.
Note: This option will also remove the bin file from the Fixes directory. If you want to keep the files, use the RMVIMGCLGE command.
Steps to create another directory, if the default is not wanted (needs to be noted in the SNDPTFORD command, once created).
Steps to create another directory, if the default is not wanted (needs to be noted in the SNDPTFORD command, once created). Steps to create another directory, if the default is not wanted (needs to be noted in the SNDPTFORD command, once created.)
However, if another directory is wanted, the following can be used to create one:
a Open iSeries Navigator.
b Expand My Connections.
c Expand the system.
d Expand File Systems.
e Expand Integrated File System.
f Right-click on the Root and create a new folder called Fixes.
g Right-click on Fixes and select Sharing > New share.
h Select Read/Write Access and click OK.
2 Create a virtual optical device. On the operating system command line, type the following:
CRTDEVOPT DEVD(OPTVRT01) RSRCNAME(*VRT) ONLINE(*YES) TEXT('text-description')
Press the Enter key.
3 Ensure that only one virtual optical device, type 632B, is active. On the operating system command line, type the following:
WRKDEVD DEVD(*OPT)
Press the Enter key and press F14.
4 Create an image catalog. On the operating system command line, type the following:
CRTIMGCLG IMGCLG(ptfcatalog) DIR(/QIBM/UserData/OS/Service/ECS) CRTDIR(*YES) TEXT('text-description')
Press the Enter key.
Notes:
a) A directory can be associated with only one image catalog.
b) ptfcatalog is the example image catalog used in this document. This name can be changed.
5 Add an image catalog entry for fixes that you downloaded from Fix Central into an Integrated File System directory. Add the directory into an image catalog by using one of the following methods:
Method 1: From the same directory that is associated with the image catalog directory, type the following commands:
ADDIMGCLGE IMGCLG(PTFCATALOG) FROMFILE(SI#####_1.bin) TOFILE(*FROMFILE)
ADDIMGCLGE IMGCLG(PTFCATALOG) FROMFILE(SI#####_2.bin) TOFILE(*FROMFILE)
and repeat the commands until all image files are added.
Method 2: From a different directory, type the following commands:
ADDIMGCLGE IMGCLG(PTFCATALOG) FROMFILE('/differentdirectory/SI#####_1.bin') TOFILE(*FROMFILE)
ADDIMGCLGE IMGCLG(PTFCATALOG) FROMFILE('/differentdirectory/SI#####_2.bin') TOFILE(*FROMFILE) and repeat until all image files are added.
6 Make the virtual device OPTVRT01 available for use. On the operating system command line, type the following:
WRKCFGSTS CFGTYPE(*DEV)
Press the Enter key. Then select Option 1, Make Available, for OPTVRT01.
7 Load the image catalog. On the operating system command line, type the following:
LODIMGCLG IMGCLG(ptfcatalog) DEV(OPTVRT01) OPTION(*LOAD)
Press the Enter key.
8 Verify the images are in the correct order. On the operating system command line, type the following:
VFYIMGCLG IMGCLG(ptfcatalog) TYPE(*PTF) SORT(*YES)
Press the Enter key.
9 Install the PTFs from the image catalog as you would if you were using a physical CD-ROM. The only difference is that the device you will be applying the PTFs from is OPTVRT01 rather than OPT01.
Note: Use GO PTF Option 1 and 2 or GO PTF Option 8 to install PTFs from this image catalog.
10 Unload the image catalog. On the operating system command line type the following:
LODIMGCLG IMGCLG(ptfcatalog) DEV(OPTVRT01) OPTION(*UNLOAD)
Press the Enter key.
11 Delete the images from the image catalog. On the operating system command line, type the following:
WRKIMGCLGE IMGCLG(ptfcatalog)
Press the Enter key. Select Option 9 to unload the image catalog entry. Then select Option 4 to remove the image catalog entry.
Note: This option will also remove the bin file from the Fixes directory. If you want to keep the files, use the RMVIMGCLGE command.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment