Date:   June 23, 2000


Patch:  3.6.1-TEC-0020

Component: Tivoli Enterprise Console (ACF)

General Description:

    Tier2: This patch fixes APAR IY09197 - Logfile adapter on Linux 
    consumes 90% cpu for non-tme Linux logfile adapters. 

Problems Fixed: 

    APAR IY09197
    Symptoms:  Logfile adapter on Linux consumes 90% cpu.

Architecture(s): linux-ix86

Patches superseded by this patch: none 

Dependencies: none 

Database Changes and Special Considerations: None

Files Replaced or Added by this Patch:
    bin/tecad_logfile
    bin/postemsg
    bin/tecad_logfile.cfg
    bin/init.tecad_logfile
    bin/tecad-remove-logfile.sh
    bin/update_conf
    bin/logfile_gencds
    etc/tecad_logfile.baroc
    etc/tecad_logfile.cds
    etc/tecad_logfile.conf
    etc/tecad_logfile.err
    etc/tecad_logfile.fmt
    etc/log_default.rls


Patch Contents:

    - This README file
    - LOGFILE.LINUX.TAR 


Applying the Patch:

 NOTE: This tarfile is a patch update for the Linux nonTME logfile
 adapter tar file (ADAPTERS/NON_TME/LINUX-IX86/LOGFILE.TAR)
 found on TEC 3.6.1 cdrom (CD-ROM LK3T-5073-00).

    1)  Extract the patch:

        On a Linux system:
        
        Extract the contents into a scratch directory. For the purpose
        of this release note, assume that the symbol $PATCH points to
        this directory.

        # cd $PATCH
        # tar -xvf 3.6.1-TEC-0020.tar



    2)  LOGFILE.LINUX.TAR can be used in two ways:

        a) To install the Linux nonTME logfile adapter from scratch.
        
        b) To replace the Linux logfile adapter binary
           in an existing nonTME adapter installation.
        
        
        Installation steps follow:
        
        Note: These patch instructions are necessarily abbreviated.
        Refer to your TEC installation manual for complete details
        on configuring and running nonTME adapters.
        
        
        1) Define environment variable TECADHOME as the
           directory path where you will install the
           adapter from scratch (a), or where the Linux
           nonTME adapter is already installed (b).  If
           (a) applies, then create directory $TECADHOME
           if it doesn't already exist.
        
           ksh example:
           % export TECADHOME=/etc/tivoli/nonTME/logfile
        
        
        2) To install the Linux nonTME logfile adapter from
           scratch:
        
           * Make $TECADHOME your current working directory:
        
             % cd $TECADHOME
        
        
           * Extract the entire contents of the patch tarfile:
        
             % tar xvf $PATCH/LOGFILE.LINUX.TAR
        
             This will create two subdirectories:
             $TECADHOME/bin and $TECADHOME/etc
             and populate each with various adapter files.
        
        
           * Jump to the $TECADHOME/bin directory and
             run the adapter configuration script as follows:
        
             % cd $TECADHOME/bin
             % ./tecad_logfile.cfg
        
             The script will prompt you for the name of the
             machine running the TEC event server; then
             configure and start the adapter for you.
        
        or:
        
        
        3) To replace the Linux logfile adapter binary
           in an existing nonTME adapter installation
           directory $TECADHOME:
        
        
           * Make $TECADHOME your current working directory:
        
             % cd $TECADHOME
        
             Subdirectories bin and etc should exist here.
        
        
           * Stop the existing adapter if it is active,
             by running the appropriate adapter script:
        
             % ./bin/init.tecad_logfile stop
        
        
           * Extract the updated adapter binary from the tar file:
        
             % tar xvf /wherever/LOGFILE.LINUX.TAR  bin/tecad_logfile
        
             This will replace the adapter binary,
             $TECADHOME/bin/tecad_logfile
        
        
           * Restart the nonTME adapter:
             
             ./bin/init.tecad_logfile start &


Additional Installation Instructions:

Known Defects: None
