IBM Support

IV09745: ITMCMD AGENT -O INSTANCE STOP BN CAN STOP THE WRONG INSTANCE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • itmcmd agent -o instance -f stop bn stops the wrong agent
    instance when cinfo reports that instance as "process not
    running".
    
    
    RECREATE INSTRUCTIONS:
    [root@sysa]# /opt/IBM/ITM/bin/cinfo -r
    
    systema bn   167  root   11:11  SY00_sysa  ...running
    systema bn   176  root   11:11  SY02_sysa  ...running
    
    [root@sysa]# ps -ef | grep ITM | grep bn
    root     167     1  6 11:11 pts/0    00:00:16
    /opt/IBM/ITM/lx8266/bn/bin/kbnagent sysa_SY00_systema
    root     176     1  3 11:11 pts/0    00:00:12
    /opt/IBM/ITM/lx8266/bn/bin/kbnagent sysa_SY02_systema
    
    [root@sysa]# kill 176
    [root@sysa]# /opt/IBM/ITM/bin/cinfo -r
    
    systema bn   167  root   11:11  SY00_sysa  ...running
    systema bn   176                SY02_sysa  ...process not
    running
    
    [root@sysa]# /opt/IBM/ITM/bin/itmcmd agent -o SY02_sysa -f stop
    bn
    Stopping DataPower Monitoring Agent ...
    Product DataPower Monitoring Agent was stopped gracefully.
    Agent stopped...
    
    [root@sysa]# /opt/IBM/ITM/bin/cinfo -r
    
    systema bn   176                SY02_sysa  ...process not
    running
    
    SY00_sysa was stopped instead of SY02_sysa as requested.
    

Local fix

  • cinfo -R before attempting to stop an agent instance
    

Problem summary

  • Command "itmcmd agent -o <INSTANCE> stop bn" can stop the wrong
    instance.  For example, when multiple instances (inst1, inst2)
    of the bn agent are started and inst2 terminates, the "itmcmd
    agent -o inst2 stop bn" may stop inst1 instead.
    

Problem conclusion

  • The code was fixed to only stop the instance specified.
    
    
    The fix for this APAR is contained in the following maintenance
    packages:
    
      | fix pack | 6.2.2-TIV-ITM-FP0008
      | fix pack | 6.2.3-TIV-ITM-FP0002
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV09745

  • Reported component name

    OMEG DIST INSTA

  • Reported component ID

    5608A41CI

  • Reported release

    622

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-10-25

  • Closed date

    2012-01-09

  • Last modified date

    2012-05-29

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    OMEG DIST INSTA

  • Fixed component ID

    5608A41CI

Applicable component levels

  • R622 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSTFXA","label":"Tivoli Monitoring"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"622","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
14 November 2022