IBM Support

How to Install an Ifix when you run NIMADM

Question & Answer


Question

How do I install an interim fix (ifix) when I run a NIMADM operation?

Answer

Tested in the following environment:

NIM Master's oslevel: 
7100-04-04-1717



Resources used for NIMADM:
lpp_source=7100_04_03_lpp
spot=7100_04_03_spot
installp_bundle=IV92240m3a_bnd



Ifix used: 
IV92240m3a.170112.epkg.Z 

Client's oslevel: 
6100-09-05-1524 
We first need to place the interim fix into your lpp_source. Interim fixes should be placed in their own directory in the lpp_source directory emgr/ppc.

Using 7100_04_03_lpp as an example:
 
# cd /export/lpp_source
# ls
7100_04_03_lpp

# cd 7100_04_03_lpp
# ls
RPMS      installp  usr

# mkdir -p emgr/ppc

Next, copy the interim fix into that directory:
# cp /testcase/bellmail_fix2/IV92240m3a.170112.epkg.Z emgr/ppc
# ls -l emgr/ppc
total 40
-rw-r-----    1 root     system        20382 Aug 23 14:56 IV92240m3a.170112.epkg.Z


# cd /
Next, create a file and add the interim fix name into that file. For this example, an efix.bnd file was created in the exports directory.
# vi /export/efix.bnd


Add this line:

E:IV92240m3a.170112.epkg.Z

Save the file.

Now, create an installp_bundle.
 
# nim -o define -t installp_bundle -a server=master -a location=/export/efix.bnd IV92240m3a_bnd
lsnim -l IV92240m3a_bnd

IV92240m3a_bnd:
   class       = resources
   type        = installp_bundle
   Rstate      = ready for use
   prev_state  = unavailable for use
   location    = /export/efix.bnd
   alloc_count = 0
   server      = master
Towards the end of phase 6 of the NIMADM, you should see the following output if you placed the interim fix in the 7100_04_03_lpp/emgr/ppc directory:
Installing user bundle: /export/efix.bnd.
Installing software with the geninstall installer.
+-----------------------------------------------------------------------------+
Efix Manager Initialization
+-----------------------------------------------------------------------------+
Initializing log /var/adm/ras/emgr.log ...
+-----------------------------------------------------------------------------+
Processing Efix Package 1 of 1.
+-----------------------------------------------------------------------------+
Efix package file is: /nimadm.SPOT/usr/sys/inst.images/emgr/ppc/IV99497m5a.171115.epkg.Z
MD5 generating command is /usr/bin/csum
MD5 checksum is 6c5f99fc4284c3db0eb84598844a6742
Accessing efix metadata ...
Processing efix label "IV99497m5a" ...
Verifying efix control file ...

<Not pasting all the output>
+-----------------------------------------------------------------------------+
Efix State
+-----------------------------------------------------------------------------+
Setting efix state to: STABLE
+-----------------------------------------------------------------------------+
Operation Summary
+-----------------------------------------------------------------------------+
Log file is /var/adm/ras/emgr.log

EPKG NUMBER       LABEL               OPERATION              RESULT
===========       ==============      =================      ==============
1                 IV99497m5a          INSTALL                SUCCESS

Return Status = SUCCESS
install_all_updates: Initializing system parameters.
install_all_updates: Log file is /var/adm/ras/install_all_updates.log
install_all_updates: Checking for updated install utilities on media.
install_all_updates: Processing media.
install_all_updates: Generating list of updatable installp filesets.

#---------------------------------------------------------------------
# No filesets on the media could be used to update the currently
# installed software.
#

# Either the software is already at the same level as on the media, or
# the media contains only filesets which are not currently installed.
#---------------------------------------------------------------------
If the interim fix is placed in the wrong directory, (for example, 7100_04_03_lpp/installp/ppc), the following errors will occur towards the end of phase 6 of the NIMADM operation.
Installing user bundle: /export/efix.bnd.
Installing software with the geninstall installer.
0503-114 geninstall: EFIX Product IV99497m5a.171115.epkg.Z does not exist.
0503-003 geninstall:  The specified device /nimadm.SPOT/usr/sys/inst.images is not a valid device or file.
install_all_updates: Initializing system parameters.
install_all_updates: Log file is /var/adm/ras/install_all_updates.log
install_all_updates: Checking for updated install utilities on media.
install_all_updates: Processing media.
install_all_updates: Generating list of updatable installp filesets.
#---------------------------------------------------------------------
# No filesets on the media could be used to update the currently
# installed software.
#
# Either the software is already at the same level as on the media, or
# the media contains only filesets which are not currently installed.
#---------------------------------------------------------------------

[{"Product":{"code":"SWG10","label":"AIX"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"}],"Version":"7.1;7.2","Edition":"Advanced","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Product":{"code":"SWG10","label":"AIX"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Product":{"code":"SWG10","label":"AIX"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
06 September 2022

UID

ibm16485947