Instalação do iFix - APAR

AIX

Referencia
- IBM

Solução
- Enviar o arquivo *.epkg.Z no formato binário via FTP para o diretório /tmp.

- Simulando a aplicação do ifix.
#emgr -pXe IV11188s01.111212.epkg.Z

maq01@root:/tmp:#emgr -pXe IV11188s01.111212.epkg.Z
*******************************************************************************
EFIX MANAGER PREVIEW START
*******************************************************************************
+-----------------------------------------------------------------------------+
Efix Manager Initialization
+-----------------------------------------------------------------------------+
Initializing log /var/adm/ras/emgr.log ...
Efix package file is: /tmp/IV11188s01.111212.epkg.Z
MD5 generating command is /usr/bin/csum
MD5 checksum is 024181fff901192c9be25518f1209519
Accessing efix metadata ...
Processing efix label "IV11188s01" ...
Verifying efix control file ...

+-----------------------------------------------------------------------------+
Installp Prerequisite Verification
+-----------------------------------------------------------------------------+
Verifying prerequisite file ...
Checking prerequisites ...

Prerequisite Number: 1
   Fileset: bos.rte.printers
   Minimal Level: 6.1.7.0
   Maximum Level: 6.1.7.0
   Actual Level: 6.1.7.0
   Type: PREREQ
   Requisite Met: yes

All prerequisites have been met.

+-----------------------------------------------------------------------------+
Processing APAR reference file
+-----------------------------------------------------------------------------+
ATTENTION: Interim fix is enabled for automatic removal by installp.

+-----------------------------------------------------------------------------+
Efix Attributes
+-----------------------------------------------------------------------------+
LABEL:            IV11188s01
PACKAGING DATE:   Mon Dec 12 05:58:30 CST 2011
ABSTRACT:         efix for IV11188.
PACKAGER VERSION: 7
VUID:             00CCCC5B4C00121205123011
REBOOT REQUIRED:  no
BUILD BOOT IMAGE: no
PRE-REQUISITES:   yes
SUPERSEDE:        no
PACKAGE LOCKS:    no
E2E PREREQS:      no
FIX TESTED:       no
ALTERNATE PATH:   None
EFIX FILES:       2

Install Scripts:
   PRE_INSTALL:   yes
   POST_INSTALL:  no
   PRE_REMOVE:    yes
   POST_REMOVE:   no

File Number:      1
   LOCATION:      /usr/lib/lpd/pio/etc/piomisc_ext
   FILE TYPE:     Standard (file or executable)
   INSTALLER:     installp
   SIZE:          32
   ACL:           DEFAULT
   CKSUM:         15016
   PACKAGE:       printers.rte
   MOUNT INST:    no

File Number:      2
   LOCATION:      /usr/lib/lpd/pio/etc/piorlfb
   FILE TYPE:     Standard (file or executable)
   INSTALLER:     installp
   SIZE:          16
   ACL:           DEFAULT
   CKSUM:         61547
   PACKAGE:       printers.rte
   MOUNT INST:    no

+-----------------------------------------------------------------------------+
Efix Description
+-----------------------------------------------------------------------------+
========================== EFIX DESCRIPTION =============================
Enter the EFIX description. Please include the symptoms that are fixed by
this EFIX, all additional install details, and any other information that
would be useful to the USER. Save and exit the editor to return to epkg.
=========================================================================
IV11188         - Add a Remote queue with local filter fails with 6100-07.
Symptoms        - Adding a remote queue with local filter gives error.
Cause           - In smit -p option is already used in case of local filter to specify the printer type.
                With code change in 61Q -p is used twice in case of local filter.
Workaround      - Change -p(small) to -P(capital) in smit screen. Modify the piorlfb file to accept -p option.

Note : Stop the qdaemon before installing the efix.

+-----------------------------------------------------------------------------+
Efix Lock Management
+-----------------------------------------------------------------------------+
Checking locks for file /usr/lib/lpd/pio/etc/piomisc_ext ...
Checking locks for file /usr/lib/lpd/pio/etc/piorlfb ...

All files have passed lock checks.

+-----------------------------------------------------------------------------+
Space Requirements
+-----------------------------------------------------------------------------+
Checking space requirements ...

Space statistics (in 512 byte-blocks):
File system: /usr, Free: 6231656, Required: 1306, Deficit: 0.
File system: /tmp, Free: 11513592, Required: 2567, Deficit: 0.

+-----------------------------------------------------------------------------+
Reboot Processing
+-----------------------------------------------------------------------------+
Reboot is not required by this efix package.

*******************************************************************************
EFIX MANAGER PREVIEW END
*******************************************************************************

+-----------------------------------------------------------------------------+
Operation Summary
+-----------------------------------------------------------------------------+
Log file is /var/adm/ras/emgr.log

EPKG NUMBER       LABEL               OPERATION              RESULT
===========       ==============      =================      ==============
1                 IV11188s01          INSTALL PREVIEW        SUCCESS

Return Status = SUCCESS

- Para instalar o ifix, execute o comando emgr. Não é necessário reiniciar o sistema operacional.

Ex:
#emgr -Xe IV11188s01.111212.epkg.Z

maq01@root:/tmp:#emgr -Xe IV11188s01.111212.epkg.Z
+-----------------------------------------------------------------------------+
Efix Manager Initialization
+-----------------------------------------------------------------------------+
Initializing log /var/adm/ras/emgr.log ...
Efix package file is: /tmp/IV11188s01.111212.epkg.Z
MD5 generating command is /usr/bin/csum
MD5 checksum is 024181fff901192c9be25518f1209519
Accessing efix metadata ...
Processing efix label "IV11188s01" ...
Verifying efix control file ...

+-----------------------------------------------------------------------------+
Installp Prerequisite Verification
+-----------------------------------------------------------------------------+
Verifying prerequisite file ...
Checking prerequisites ...

Prerequisite Number: 1
   Fileset: bos.rte.printers
   Minimal Level: 6.1.7.0
   Maximum Level: 6.1.7.0
   Actual Level: 6.1.7.0
   Type: PREREQ
   Requisite Met: yes

All prerequisites have been met.

+-----------------------------------------------------------------------------+
Processing APAR reference file
+-----------------------------------------------------------------------------+
ATTENTION: Interim fix is enabled for automatic removal by installp.

+-----------------------------------------------------------------------------+
Efix Attributes
+-----------------------------------------------------------------------------+
LABEL:            IV11188s01
PACKAGING DATE:   Mon Dec 12 05:58:30 CST 2011
ABSTRACT:         efix for IV11188.
PACKAGER VERSION: 7
VUID:             00CCCC5B4C00121205123011
REBOOT REQUIRED:  no
BUILD BOOT IMAGE: no
PRE-REQUISITES:   yes
SUPERSEDE:        no
PACKAGE LOCKS:    no
E2E PREREQS:      no
FIX TESTED:       no
ALTERNATE PATH:   None
EFIX FILES:       2

Install Scripts:
   PRE_INSTALL:   yes
   POST_INSTALL:  no
   PRE_REMOVE:    yes
   POST_REMOVE:   no

File Number:      1
   LOCATION:      /usr/lib/lpd/pio/etc/piomisc_ext
   FILE TYPE:     Standard (file or executable)
   INSTALLER:     installp
   SIZE:          32
   ACL:           DEFAULT
   CKSUM:         15016
   PACKAGE:       printers.rte
   MOUNT INST:    no

File Number:      2
   LOCATION:      /usr/lib/lpd/pio/etc/piorlfb
   FILE TYPE:     Standard (file or executable)
   INSTALLER:     installp
   SIZE:          16
   ACL:           DEFAULT
   CKSUM:         61547
   PACKAGE:       printers.rte
   MOUNT INST:    no

+-----------------------------------------------------------------------------+
Efix Description
+-----------------------------------------------------------------------------+
========================== EFIX DESCRIPTION =============================
Enter the EFIX description. Please include the symptoms that are fixed by
this EFIX, all additional install details, and any other information that
would be useful to the USER. Save and exit the editor to return to epkg.
=========================================================================
IV11188         - Add a Remote queue with local filter fails with 6100-07.
Symptoms        - Adding a remote queue with local filter gives error.
Cause           - In smit -p option is already used in case of local filter to specify the printer type.
                With code change in 61Q -p is used twice in case of local filter.
Workaround      - Change -p(small) to -P(capital) in smit screen. Modify the piorlfb file to accept -p option.

Note : Stop the qdaemon before installing the efix.

+-----------------------------------------------------------------------------+
Efix Lock Management
+-----------------------------------------------------------------------------+
Checking locks for file /usr/lib/lpd/pio/etc/piomisc_ext ...
Checking locks for file /usr/lib/lpd/pio/etc/piorlfb ...

All files have passed lock checks.

+-----------------------------------------------------------------------------+
Space Requirements
+-----------------------------------------------------------------------------+
Checking space requirements ...

Space statistics (in 512 byte-blocks):
File system: /usr, Free: 6231656, Required: 1306, Deficit: 0.
File system: /tmp, Free: 11513592, Required: 2567, Deficit: 0.

+-----------------------------------------------------------------------------+
Efix Installation Setup
+-----------------------------------------------------------------------------+
Unpacking efix package file ...
Initializing efix installation ...

+-----------------------------------------------------------------------------+
Pre-Install Script
+-----------------------------------------------------------------------------+
Executing pre-install script ...
ODM data changed sucessfully
Return code from pre-install script is: 0

+-----------------------------------------------------------------------------+
Efix State
+-----------------------------------------------------------------------------+
Setting efix state to: INSTALLING

+-----------------------------------------------------------------------------+
File Archiving
+-----------------------------------------------------------------------------+
Saving all files that will be replaced ...
Save directory is: /usr/emgrdata/efixdata/IV11188s01/save
File 1: Saving /usr/lib/lpd/pio/etc/piomisc_ext as EFSAVE1 ...
File 2: Saving /usr/lib/lpd/pio/etc/piorlfb as EFSAVE2 ...

+-----------------------------------------------------------------------------+
Efix File Installation
+-----------------------------------------------------------------------------+
Installing all efix files:
Installing efix file #1 (File: /usr/lib/lpd/pio/etc/piomisc_ext) ...
Installing efix file #2 (File: /usr/lib/lpd/pio/etc/piorlfb) ...

Total number of efix files installed is 2.
All efix files installed successfully.

+-----------------------------------------------------------------------------+
Package Locking
+-----------------------------------------------------------------------------+
Processing package locking for all files.
File 1: locking installp fileset printers.rte.
File 2: installp fileset printers.rte is already locked by emgr.

All package locks processed successfully.

+-----------------------------------------------------------------------------+
Reboot Processing
+-----------------------------------------------------------------------------+
Reboot is not required by this efix package.

+-----------------------------------------------------------------------------+
Efix State
+-----------------------------------------------------------------------------+
Setting efix state to: STABLE

+-----------------------------------------------------------------------------+
Operation Summary
+-----------------------------------------------------------------------------+
Log file is /var/adm/ras/emgr.log

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

Return Status = SUCCESS

- Para remover um ifix.

Ex:
#emgr -rL IV11188s01

Abraços

Restart serviço IBM TSM Client


- Verificamos qual o UID do processo em execução.



maq01@root:/:#ps -ef | grep dsmc
    root  4849864        1   0   Aug 03      -  0:03 /usr/tivoli/tsm/client/ba/bin/dsmcad

- Finalizamos este processo.