Db2

Expand all | Collapse all

Db2 Data Management Console 3.1.3 Responsiveness

  • 1.  Db2 Data Management Console 3.1.3 Responsiveness

    Posted Fri November 20, 2020 01:53 AM
    Hello DMC Team,

    After upgrade the DMC 3.1.2 to 3.1.3 I'm not able to see any values for "Responsiveness" for HADR databases.
    Whether in the Overview nor in the Summary overview for a database.


    non-HADR System

    HADR System
    Best regards,
    Joachim


    ------------------------------
    Joachim Müller
    ------------------------------

    #Db2


  • 2.  RE: Db2 Data Management Console 3.1.3 Responsiveness

    Posted Fri November 27, 2020 07:22 AM
    Hello DMC Team.

    After a few days of checking, it turns out that only the HADR databases are affected. Could you already verify this?

    Best regards,
    Joachim

    ------------------------------
    Joachim Müller
    ------------------------------



  • 3.  RE: Db2 Data Management Console 3.1.3 Responsiveness

    Posted Wed December 02, 2020 09:52 AM
    Hi Joachim,

    I'll pass the question to DMC dev team for confirmation. Will let you know the updates. thanks.


    ------------------------------
    KAI DING
    ------------------------------



  • 4.  RE: Db2 Data Management Console 3.1.3 Responsiveness

    Posted Fri December 04, 2020 01:53 AM
    Hi Joachim,

    To confirm, the non-HADR DBs are good. For HADR DBs, "Responsiveness" is empty.  May I know that whether both primary and standby DB are empty?


    ------------------------------
    KAI DING
    ------------------------------



  • 5.  RE: Db2 Data Management Console 3.1.3 Responsiveness

    Posted Fri December 04, 2020 02:05 AM
    Hello Kai,

    non-HADR database are looking good, but HADR databases show no figures for "Responsiveness". We have no license for RoS, so we will only see empty responsiveness on the primary database. After a takeover we see empty responsiveness on the old standby (now the primary).

    This is the screenshot form our Test DMC System:


    Best regards,
    Joachim


    ------------------------------
    Joachim Müller
    ------------------------------



  • 6.  RE: Db2 Data Management Console 3.1.3 Responsiveness

    Posted Fri December 04, 2020 02:27 AM
    Hi Joachim,

    I'll pass the issue to DMC dev team for investigation. Will let you know the updates. thanks.


    ------------------------------
    KAI DING
    ------------------------------



  • 7.  RE: Db2 Data Management Console 3.1.3 Responsiveness

    Posted Fri December 04, 2020 02:36 AM
    Hi Joachim,

    Could you provide the monitor log for investigation? thanks.

    ------------------------------
    KAI DING
    ------------------------------



  • 8.  RE: Db2 Data Management Console 3.1.3 Responsiveness

    Posted Fri December 04, 2020 02:52 AM
    Hello Kai,

    attached you will find the monitor files from DMC.

    Best regards,
    Joachim

    ------------------------------
    Joachim Müller
    ------------------------------



  • 9.  RE: Db2 Data Management Console 3.1.3 Responsiveness

    Posted Fri December 04, 2020 06:47 AM
    Seems static event monitor doesn't setup on it. you can click the new primary name to jump to summary page, there will be a link on that widget to guide how to setup static event monitor.

    ------------------------------
    Zhen Ling Yu
    ------------------------------



  • 10.  RE: Db2 Data Management Console 3.1.3 Responsiveness

    Posted Fri December 04, 2020 07:13 AM
    Hello Zhen,

    I believe all looks fine:




    Best regards,
    Joachim


    ------------------------------
    Joachim Müller
    ------------------------------



  • 11.  RE: Db2 Data Management Console 3.1.3 Responsiveness

    Posted Sun December 06, 2020 08:50 PM
    Hi Joachim,

    Would you please try to execute the following sqls  on the HADR database (with none data in RESPONSIVENESS) and show me the results? Thanks!
    select evmonname,event_mon_state(evmonname) from syscat.eventmonitors;​
    SELECT WORKLOADID, WORKLOADNAME, ENABLED, COLLECTAGGACTDATA, COLLECTACTDATA, REMARKS FROM SYSCAT.WORKLOADS ORDER BY WORKLOADID;
    select tbspace from syscat.tablespaces where tbspaceid in (select tbspaceid from syscat.tables where tabname='HISTOGRAMBIN' and tabschema = 'IBM_RTMON');


    ------------------------------
    XIAO MIN ZHAO
    ------------------------------



  • 12.  RE: Db2 Data Management Console 3.1.3 Responsiveness

    Posted Mon December 07, 2020 01:24 AM
    Hello XIAO,

    See the result from the sql queries from one of our HADR monitored databases, which have no "Responsiveness" figures.

    db2ict@r6l43
    [/db2/db2ict]> db2 "select evmonname,event_mon_state(evmonname) from syscat.eventmonitors"
    
    EVMONNAME                                                                                                                        2
    -------------------------------------------------------------------------------------------------------------------------------- -----------
    MON_UTIL1498742453812                                                                                                                      0
    PROFILE                                                                                                                                    0
    RTMON_EVMON_ACTIVITIES                                                                                                                     0
    RTMON_EVMON_LOCKING                                                                                                                        1
    RTMON_EVMON_STATS                                                                                                                          1
    RTMON_EVMON_UTILITY                                                                                                                        0
    
      6 record(s) selected.
    
    
    db2ict@r6l43
    [/db2/db2ict]> db2 "SELECT WORKLOADID, WORKLOADNAME, ENABLED, COLLECTAGGACTDATA, COLLECTACTDATA, REMARKS FROM SYSCAT.WORKLOADS ORDER BY WORKLOADID"
    
    WORKLOADID  WORKLOADNAME                                                                                                                     ENABLED COLLECTAGGACTDATA COLLECTACTDATA REMARKS                                                                                                                                                 
    ----------- -------------------------------------------------------------------------------------------------------------------------------- ------- ----------------- -------------- --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
              1 SYSDEFAULTUSERWORKLOAD                                                                                                           Y       B                 D              -                                                                                                                                                       
              2 SYSDEFAULTADMWORKLOAD                                                                                                            Y       B                 D              -                                                                                                                                                       
              3 DSM_WORKLOAD                                                                                                                     N       N                 N              -                                                                                                                                                       
              4 CONSOLE_WORKLOAD                                                                                                                 Y       N                 N              -                                                                                                                                                       
    
      4 record(s) selected.
    
    
    db2ict@r6l43
    [/db2/db2ict]> paceid from syscat.tables where tabname='HISTOGRAMBIN' and tabschema = 'IBM_RTMON')"                                                                 <
    
    TBSPACE
    --------------------------------------------------------------------------------------------------------------------------------
    TS4MONITOR
    
      1 record(s) selected.
    
    
    ​

    Best regards,
    Joachim


    ------------------------------
    Joachim Müller
    ------------------------------



  • 13.  RE: Db2 Data Management Console 3.1.3 Responsiveness

    Posted Mon December 07, 2020 04:47 AM

    Hello Joachim,
    From Xiao Min's suggestion, would you please specify
    a new tablespace on Event Monitor Profile Page? and then disable statistics event monitor and enable again. please help upload monitor.* log files after doing these. Thank you.




    ------------------------------
    Zhen Ling Yu
    ------------------------------



  • 14.  RE: Db2 Data Management Console 3.1.3 Responsiveness

    Posted Mon December 07, 2020 05:14 AM
    Hello Zhen,

    Could it be, that you have another view as me?
    I can't find the first view to change the tablespace.


    Best regards,
    Joachim

    ------------------------------
    Joachim Müller
    ------------------------------



  • 15.  RE: Db2 Data Management Console 3.1.3 Responsiveness

    Posted Mon December 07, 2020 06:19 AM
    Hi, Joachim
    Please click 'Event Monitor Profile' and then find the name is same with your db, then click it.


    ------------------------------
    Zhen Ling Yu
    ------------------------------



  • 16.  RE: Db2 Data Management Console 3.1.3 Responsiveness

    Posted Mon December 07, 2020 06:35 AM
    Hello Zhen,

    That's what I did. 

    click on Event monitor profile

    click on the blue database name


    But I didn't see your screen to create a new tablespace or select a tablespace.
    What I'm missing?

    Best regards,
    Joachim




    ------------------------------
    Joachim Müller
    ------------------------------



  • 17.  RE: Db2 Data Management Console 3.1.3 Responsiveness

    Posted Mon December 07, 2020 07:35 AM
    Hi Joachim,
    Maybe it is held by some logic to not allow to modify it, I will investigate it .
    And could you skip this step then disable and enable statistics event monitor profile?

    ------------------------------
    Zhen Ling Yu
    ------------------------------



  • 18.  RE: Db2 Data Management Console 3.1.3 Responsiveness

    Posted Mon December 07, 2020 07:44 AM
    Hello Zhen,

    That's what I also do before, but without success.
    Do it again and send the monitor files from the logs directory.



    Bets regards,
    Joachim

    ------------------------------
    Joachim Müller
    ------------------------------



  • 19.  RE: Db2 Data Management Console 3.1.3 Responsiveness

    Posted Fri December 11, 2020 01:49 AM
    Edited by System Fri January 20, 2023 04:15 PM
    Hello Joachim,
    How about status of  the problem now?
    I checked log files and found event monitors don't complete for more then 12 hours. so I guess if there are some busy workload on the DB ICT. Do you know it? 
    Is it possible to restart DMC after disabling all event monitors on ICT? and after that, could you please enable statistics event monitor only ? and please help upload all monitor logs again after waiting for about 10 minutes. Thank you .


    Tip:
    How to disable all event monitors
    1.Go to Event monitor profile page
    2. Click ' ICT '
    3. Set  ' Off ' for Activity event monitor, Locking event monitor, Utility event monitor, Statistics event monitor

    How to enable Statistics event monitors
    1.Go to Event monitor profile page
    2. Click ' ICT '
    3. Set  ' On ' for Statistics event monitor
      

    ------------------------------
    Zhen Ling Yu
    ------------------------------



  • 20.  RE: Db2 Data Management Console 3.1.3 Responsiveness

    Posted Fri December 11, 2020 02:05 AM
    Hello Zheng,

    The same as before, no improvement. It works smooth before I updated to the new DMC 3.1.3.
    The ICT is a test system, so no heavy workload.

    We have two new updated DMC systems from DMC 3.1.2 to 3.1.3, one on Linux and one on AIX. Both can't deliver "Responsiveness" figures for HADR databases. Afterwards I did a new installation for DMC and a refreshed repository database, but without success.

    I will follow your advice and then let you know.

    Best regards,
    Joachim

    ------------------------------
    Joachim Müller
    ------------------------------



  • 21.  RE: Db2 Data Management Console 3.1.3 Responsiveness

    Posted Fri December 11, 2020 02:46 AM
    Hello Zhen,

    disabled all event monitors for ICT, restart DMC and afterwards enables only statistics event monitor.

    Step 1:

    Step 2:
    dmcmon:~ # dmcrestart
    Fri Dec 11 08:12:10 CET 2020 Stopping IBM Db2 Data Management Console

    Server dsweb wird gestoppt.
    Der Server dsweb wurde gestoppt.
    Fri Dec 11 08:12:12 CET 2020 Successfully stopped IBM Db2 Data Management Console.
    Updating the application server bootstrap and environment properties ...
    Updating the applications ...
    Fri Dec 11 08:12:12 CET 2020 Starting IBM Db2 Data Management Console.

    Server dsweb wird gestartet.
    Der Server dsweb wurde mit der Prozess-ID 2199 gestartet.
    Fri Dec 11 08:12:38 CET 2020 Successfully started IBM Db2 Data Management Console.
    ******************************************************************************

    Step 3:


    Now after a few minutes I see values for "Responsiveness".

    At a glance, does this work if I switch only the Statistics event monitor on.

    Step 4: upload all monitor files after 10 min.

    Best regards,
    Joachim





    ------------------------------
    Joachim Müller
    ------------------------------



  • 22.  RE: Db2 Data Management Console 3.1.3 Responsiveness

    Posted Fri December 11, 2020 05:31 AM
    Edited by System Fri January 20, 2023 04:24 PM
    Hi Joachim,
    I am not sure which event monitor blocks others, so far as I know statistics event monitor is lightweight, but activity event monitor and locking event monitor are heavy. Would you like to help me to try which event monitor is the root cause when you are free? That will take long time for you. And also I will try to do these using our playground, but not sure I can reproduce your problem on my environment.


    Prepare:
    Stop DMC and delete all monitor log file : monitor.(0-3)
    Start DMC

    Senario 1:Enable activity event monitor and statistics event monitor 
    1.Go to Event monitor profile page
    2. Click ' ICT '
    3. Set ' ON ' for Activity event monitor, Statistics event monitor
    How to check:
    Waiting for 10 minutes, you can check log file monitor.0, please search 'it time to start collect by last time haven't return :ICTConfigName = HistogramsData'. If log file doesn't contain it. please wait for 1.5 hour or more. If it still doesn't contain it. then go to senario 2. If contains, so please keep carefully when needing enable it.
    Or Waiting for 1.5 hour or more, check UI if there is no data with last 1 hour for the Responsiveness widget, if no data on it, then the root cause is activity event monitor. If Responsiveness widget has data, please continue to senario 2.



    Senario 2: Enable locking event monitor
    1.Go to Event monitor profile page
    2. Click ' ICT '
    3. Set ' ON ' for locking event monitor, Activity event monitor, Statistics event monitor

    Using same method, If find 'it time to start collect by last time haven't return :ICTConfigName = HistogramsData', the root cause should be locking and activity event monitor, please keep carefully when needing enable both them . 
    To make sure if the locking event monitor is the root cause, please disable activity and locking (please wait more than 1 minute, because disable them will take some time)then restart DMC , set 'ON' for locking and statistics,  wait for same time period to check log again. 

    By the end, If when you enable locking, Activity, Statistics, but doesn't find the key message in log and Responsiveness widget also has data. that should keep carefully when needing enable them all.

    ------------------------------
    Zhen Ling Yu
    ------------------------------



  • 23.  RE: Db2 Data Management Console 3.1.3 Responsiveness

    Posted Mon December 14, 2020 07:32 AM
    Hello Zhen,

    Unfortunately, due to the Christmas business, I can no longer perform the activities this year.
    I will start with the issue early next year.

    I wish you and the whole team a peaceful and reflective Christmas and a good start into the New Year 2020.

    Best regards,
    Joachim

    ------------------------------
    Joachim Müller
    ------------------------------