Installing Ifix using NIM on a client

This post wil describe how to install a Ifix using NIM on a client. You may also use smitty nim.

1. I assume you have a existing LPP_Source and a defined client.

# lsnim -l LPP_61_TL7
LPP_61_TL7:
   class       = resources
   type        = lpp_source
   arch        = power
   Rstate      = ready for use
   prev_state  = unavailable for use
   location    = /export2/aix61ml7/lpps
   simages     = yes
   alloc_count = 0
   server      = master

Put your Ifix into the emgr/ppc directory into the LPP_Source

 # cd /export2/aix61ml7/lpps
 # mkdir -p emgr/ppc 
 # ls
 RPMS      emgr      installp  usr
....

 # ls emgr/ppc
 IV16587s02.epkg.Z

Now install the fix on the client

Operation    This is a Ifix Installation        LPP source name     Client
       |                  |                                   |          | 
# nim -o cust -a filesets=E:IV16587s02.epkg.Z -a lpp_source=LPP_61_TL7 power2

Initializing log /var/adm/ras/emgr.log ...
EPKG NUMBER       LABEL               OPERATION              RESULT            
===========       ==============      =================      ==============    
1                 IV16587s02          INSTALL                SUCCESS           
ATTENTION: system reboot is required. Please see the "Reboot Processing"
sections in the output above or in the /var/adm/ras/emgr.log file.
Return Status = SUCCESS


Now on the client

# emgr -l

ID  STATE LABEL      INSTALL TIME      UPDATED BY ABSTRACT
=== ===== ========== ================= ========== ======================================
1   *Q*   IV16587s02 07/12/12 15:07:19            Ifix for IV16587@6.1TL7SP2          

STATE codes:
 S = STABLE
 M = MOUNTED
 U = UNMOUNTED
 Q = REBOOT REQUIRED
 B = BROKEN
 I = INSTALLING
 R = REMOVING
 T = TESTED
 P = PATCHED
 N = NOT PATCHED
 SP = STABLE + PATCHED
 SN = STABLE + NOT PATCHED
 QP = BOOT IMAGE MODIFIED + PATCHED
 QN = BOOT IMAGE MODIFIED + NOT PATCHED
 RQ = REMOVING + REBOOT REQUIRED

After reboot

# emgr -l

ID  STATE LABEL      INSTALL TIME      UPDATED BY ABSTRACT
=== ===== ========== ================= ========== ======================================
1    S    IV16587s02 07/12/12 15:07:19            Ifix for IV16587@6.1TL7SP2          

STATE codes:
 S = STABLE
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: