Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
5 replies Latest Post - ‏2012-08-03T18:45:50Z by Baran0wa
Baran0wa
Baran0wa
4 Posts
ACCEPTED ANSWER

Pinned topic ITCAM for Transactions 7.3 with Rational Robot 7.0.3 no data!

‏2012-07-28T14:38:20Z |
Hello, currently I have a productive environment of ITCAM RTT 6.1 and we are planning to migrate to ITCAM for Transactions 7.3.

I'm testing in a lab environment the sctript ExampleMultiStep that comes with Rational Robot 7.0.2 and I can't see on TEP the subtransactions and response times. See attached

My lab environment currently have a server on AIX 6.2.2 with ITM FP4 with the following agents: ms, kf, cq, sy, t3, is, hd and ux. And a Windows agent with Rational Robot and Agent 7.0.3 and operating system agent and ITCAM for RRT agent.

I checked the directory c:\IBM\ITM\TMAITM6\arm\log\KT6 and no .dat files only a gendata.dat with 0kb.

Do I need to configure something more in ITM or is a problem with the agent?
Updated on 2012-08-03T18:45:50Z at 2012-08-03T18:45:50Z by Baran0wa
  • RobertCKCheung
    RobertCKCheung
    1 Post
    ACCEPTED ANSWER

    Re: ITCAM for Transactions 7.3 with Rational Robot 7.0.3 no data!

    ‏2012-07-31T06:15:17Z  in response to Baran0wa
    Hi,

    It is difficult without more information as to why robotic scripts are not generating the ARM_<pid>_<timestamp>.dat files. Keep in mind that even under normal operations, the .dat files will be deleted by the T6 agent after it has processed it (ie you really have to watch the filesystem). You can add the following parameter to prevent the T6 from deleting it's .dat files (moves them to "delete" subdirectory instead).
    • ARM_KEEP_DATA_FILES=Y
    On Windows, it is located in
    • ITMHOME\TMAITM6\kt6env
    On Unix
    • ITMHOME/config/kt6.ini, additionally you need to "reconfigure" the T6 agent, which will then regenerate
    • ITMHOME/config/kt6.config (the file that the agent actually use).

    The most common cause of no generation of ARM_*.dat files is due to permissions (either ARM library not loadable, or the output directory is not writable). Was the agent installed "run as Adminitrator" and the account which the service run under "LocalSystem"? Doing this will help isolate whether it is permission problems quickly.

    T6 agent uses libarm* libraries to write the ARM_.dat files. Make sure you agent is installed such that the invoking user can access them; ie which ever user your T6 services is starting as have permission to read the libraries libarm.dll libraries (ITMHOME\TMAITM6\libarm*.dll).

    If the above don't help, you would need to submit a support ticket. To expedite matters, you can gather the required information and submit at the same time as the ticket. The "Must Gather" for the T6 agent is documentation in this technote:
    https://www-304.ibm.com/support/docview.wss?uid=swg21326667
    Based on your description, I would suggest following sections 1,2,4 and 6.
    • enrico.vannini
      enrico.vannini
      28 Posts
      ACCEPTED ANSWER

      Re: ITCAM for Transactions 7.3 with Rational Robot 7.0.3 no data!

      ‏2012-07-31T06:33:56Z  in response to RobertCKCheung
      The few times I have seen this is when there are old arm libs (for instance from an old RTT installation) on the machine, and code is picking those instead of the new ones.
      Also there should be some kind of armtest executable somewhere on the agent (unless removed in the latest versions) that should help troubleshooting.
      I am sure there is a tech note about the conflict with old ARM libs, but can't find it now. Try surfing here
      http://www-01.ibm.com/support/docview.wss?uid=swg21396291
      (and bookmark it, it might be useful in the future too).
      If I figure out something more specific I will get back to you
  • Baran0wa
    Baran0wa
    4 Posts
    ACCEPTED ANSWER

    Re: ITCAM for Transactions 7.3 with Rational Robot 7.0.3 no data!

    ‏2012-08-02T14:46:15Z  in response to Baran0wa
    Thanks for your responses. This week I installed a new lab environment and I have the same problem, so I guess I'm forgetting something or am I doing something wrong.
    Now I have 2 agents that do not generate ARM, so I enabled the debug logs ARM and I have the following:

    +501A8985.0062 AgentType = "T6"
    +501A8985.0062 ApplicationGroup = "ARM2"
    +501A8985.0062 ApplicationInstance = ""
    +501A8985.0062 ApplicationName = "GenWin"
    +501A8985.0062 Hostname = "TEST02"
    +501A8985.0062 IP = "19.17.150.85"
    +501A8985.0062 IPV4ClassASubNet = "19.*"
    +501A8985.0062 IPV4ClassBSubNet = "19.17.*"
    +501A8985.0062 IPV4ClassCSubNet = "19.17.150.*"
    +501A8985.0062 ProcessID = "1652"
    +501A8985.0062 ServerName = "TEST02"
    +501A8985.0062 ThreadID = "2412"
    +501A8985.0062 TransactionName = "ExampleMultiStep__Level1_Step1"
    +501A8985.0062 URI = " "
    +501A8985.0062 User = "tmtpagent"
    (501A8985.0063-96C:config_manager.cpp,617,"TTARM_apply_profile") Failed to match a profile: applying defaults
    (501A8985.0064-96C:arm4.c,596,"arm_start_transaction") CYTAD00I Applied configuration profile
    (501A8985.0065-96C:correlator.c,148,"arm_generate_correlator") Comp:ARM Level:0, May 3 2011 22:45:49
    (501A8985.0066-96C:correlator.c,148,"arm_generate_correlator") Active RAS1 Classes: EVERYT EVERYE EVERYU
    (501A8985.0067-96C:correlator.c,148,"arm_generate_correlator") Entry
    (501A8985.0068-96C:correlator.c,221,"arm_generate_correlator") Exit: 0x0
    (501A8985.0069-96C:arm4.c,627,"arm_start_transaction") CYTAD00I Transaction is being ignored: skipping event tracking
    (501A8985.006A-96C:arm4.c,676,"arm_start_transaction") Exit: 0x0
    (501A8985.006B-96C:arm2.c,378,"arm_start") Exit: 0x0
    (501A8985.006C-96C:arm2.c,287,"arm_getid") Entry
    (501A8985.006D-96C:arm2.c,668,"get_app_id") Entry
    (501A8985.006E-96C:arm2.c,685,"get_app_id") Exit: 0x50DA018
    (501A8985.006F-96C:arm2.c,873,"get_unused_trans_id") Entry
    (501A8985.0070-96C:arm2.c,954,"get_unused_trans_id") Exit: 0x50FBEF8
    (501A8985.0071-96C:register.c,343,"arm_register_transaction") Entry
    (501A8985.0072-96C:register.c,424,"arm_register_transaction") CYTAD00I Registered transaction: ExampleMultiStep__Level2_Step1
    (501A8985.0073-96C:register.c,429,"arm_register_transaction") CYTAD00I Property Count: 0
    (501A8985.0074-96C:register.c,441,"arm_register_transaction") CYTAD00I Context Count: 0
    (501A8985.0075-96C:register.c,474,"arm_register_transaction") Exit: 0x0
    (501A8985.0076-96C:arm2.c,325,"arm_getid") Exit: 0x1
    (501A8985.0077-96C:arm2.c,335,"arm_start") Entry
    (501A8985.0078-96C:arm2.c,1028,"get_trans_id") Entry
    (501A8985.0079-96C:arm2.c,1053,"get_trans_id") Exit: 0x0
    (501A8985.007A-96C:arm2.c,731,"get_unused_trans_handle") Entry
    (501A8985.007B-96C:arm2.c,804,"get_trans_tls_storage") Entry
    (501A8985.007C-96C:arm2.c,822,"get_trans_tls_storage") Exit: 0x512B9E0
    (501A8985.007D-96C:arm2.c,798,"get_unused_trans_handle") Exit: 0x5164018
    (501A8985.007E-96C:arm4utils.c,27,"create_arm_buffer4_from_user_id") Entry
    (501A8985.007F-96C:arm4utils.c,74,"create_arm_buffer4_from_user_id") Exit: 0x50F79F8
    (501A8985.0080-96C:arm2utils.c,25,"extract_parent_correlator") Entry
    (501A8985.0081-96C:arm2utils.c,64,"extract_parent_correlator") Exit: 0x0
    (501A8985.0082-96C:arm4.c,501,"arm_start_transaction") Entry
    (501A8985.0083-96C:transaction.c,266,"TTARM_create_transaction_instance") Active RAS1 Classes: EVERYT EVERYE EVERYU
    (501A8985.0084-96C:transaction.c,308,"TTARM_create_transaction_instance") CYTAD00I Grew storage to 2 elements (1120 bytes)
    (501A8985.0085-96C:arm4.c,257,"copy_user_subbuffer") Entry
    (501A8985.0086-96C:arm4.c,294,"copy_user_subbuffer") Exit: 0x0
    (501A8985.0087-96C:config_manager.cpp,479,"TTARM_apply_profile")
    Properties

    In the AMC console I have defined as follows:

    Application name: ExampleMultiStep
    Profile name: ExampleMultiStep
    Transaction name: ExampleMultiStep
    • Baran0wa
      Baran0wa
      4 Posts
      ACCEPTED ANSWER

      Re: ITCAM for Transactions 7.3 with Rational Robot 7.0.3 no data!

      ‏2012-08-03T14:57:06Z  in response to Baran0wa
      Robert the agent was installed with the Adminitrator account and the service is running with LocalSystem!
      • Baran0wa
        Baran0wa
        4 Posts
        ACCEPTED ANSWER

        Re: ITCAM for Transactions 7.3 with Rational Robot 7.0.3 no data!

        ‏2012-08-03T18:45:50Z  in response to Baran0wa
        Well, after trying many things I found the problem. My last test was to upload a script without instrumenting and let the mfu do it.... and wala!

        After check the script I see the difference in the instrumentation:

        This don't work on ITCAM for TR 7.3

        arm_set_name_rt("Example")
        arm_start_using_name_rt("Example")

        arm_start_using_name_rt("Example_01_inicio_app")
        .
        .
        .
        arm_stop_rt
        arm_stop_rt

        This work on ITCAM for TR 7.3

        arm_set_app_name_rt "Example"
        arm_start_with_name_rt "Example", ""

        arm_start_with_name_rt "Example_01_inicio_app", ""
        .
        .
        .
        arm_stop_all_with_status_rt ARM_GOOD

        Thanks!