Db2

 View Only
Expand all | Collapse all

DMC

  • 1.  DMC

    Posted Mon February 13, 2023 09:40 AM

    Is there a way to override this check in dmctop (version 1.0.4.1):

    level=error msg=DbConfig error="DB version ******** not supported"

    Dmctop documentation states that dmctop supports Db2 11.1 and above. Masked by me field in a/m is definitely above 11.1 :-)



    ------------------------------
    Jan Nelken
    ------------------------------


  • 2.  RE: DMC

    Posted Mon February 13, 2023 09:51 AM

    Hello Jan,

    dmctop does not check the db2level (instance level), it checks the database level.

    Can you please run the following command, and see if your database level is the same as your instance level:

    db2 "select versionnumber from sysibm.sysversions order by 1 desc"

    If they are not the same, you will need to run the db2updv111 command as described in the Db2 manual at:

    https://www.ibm.com/docs/en/db2/11.1?topic=sc-db2updv111-update-database-version-111-fix-pack-command

    The reason that we check the database level is because dmctop uses internal Db2 APIs, and if they are not on the correct level, Db2 returns SQLCODE=-206 "<column_name> is not valid in the context where it is used." error, and dmctop can't get the information from Db2.

    I hope that helps!



    ------------------------------
    Cintia Ogura
    ------------------------------



  • 3.  RE: DMC

    Posted Mon February 13, 2023 10:01 AM

    Indeed my database version number is higher than 11.1 ...

    I was suspecting that Db2 API's play a role - I was assuming that "supporting version 11.1 and above will allow dmctop to be executed on higher database versions.



    ------------------------------
    Jan Nelken
    ------------------------------



  • 4.  RE: DMC

    Posted Mon February 13, 2023 11:13 AM

    Hello Jan,

    Yes, dmctop supports Db2 11.1 or higher, as long as your APIs are on the same instance level:

    https://www.ibm.com/docs/en/db2-data-mgr-console/3.1.x?topic=monitoring-utility-dmctop

    If you still have problems with it, please create a case with Db2 Data Management Console support team for further investigation.

    Thanks!



    ------------------------------
    Cintia Ogura
    ------------------------------



  • 5.  RE: DMC

    Posted Sat February 18, 2023 12:01 AM

    Indeed version of database = version of instance and both are higher than 11.1:

    time="2023-02-18T05:55:57.277671Z" level=info msg=ConfigUtils event=Information info="*************Initializing dmctop*************" moreInfo= trace=babba900-8ab6-4cda-baf2-4fc162f1b076
    time="2023-02-18T05:56:24.565631Z" level=info msg=ConfigUtils event=Information info="*************Initializing dmctop*************" moreInfo= trace=0354e83b-3f5a-4900-9f3f-c8430b89f586
    time="2023-02-18T05:56:35.271955Z" level=info msg=DbUtils event=Information info="Setting DB Connection Info" moreInfo= trace=0354e83b-3f5a-4900-9f3f-c8430b89f586
    time="2023-02-18T05:56:35.271955Z" level=info msg=DbUtils event=Information info="Connecting to DB" moreInfo=";25000;sample;db2admin" trace=0354e83b-3f5a-4900-9f3f-c8430b89f586
    time="2023-02-18T05:56:35.940927Z" level=info msg=DbUtils event=Information info="Connected to DB" moreInfo=";25000;sample;db2admin" trace=0354e83b-3f5a-4900-9f3f-c8430b89f586
    time="2023-02-18T05:56:35.940927Z" level=info msg=ConfigUtils event=Information info="Initializing DB config" moreInfo= trace=0354e83b-3f5a-4900-9f3f-c8430b89f586
    time="2023-02-18T05:56:36.267717Z" level=error msg=DbConfig error="DB version 12010000 not supported" event="Encountered exception" moreInfo= trace=0354e83b-3f5a-4900-9f3f-c8430b89f586



    ------------------------------
    Jan Nelken
    ------------------------------



  • 6.  RE: DMC

    Posted Mon February 20, 2023 08:14 PM

    Thanks Jan for the information. 

    May you pls open a case against Data Management Console to let team do further investigation on this issue?



    ------------------------------
    Su Li Hou
    ------------------------------



  • 7.  RE: DMC

    Posted Wed March 08, 2023 07:21 AM

    Hi!
    I feel that case is a bit premature now (I may be wrong - it sometimes happened before) - what I am asking is this:
    with Db2 Vnext DMC included is of 1.0.2.0 flavour; current one is 1.0.4.1; both take exception at Db2/Database version 12.1.0.0.
    Which version of DMC will be compatibme with Db2 V12.1.0.0 and when?



    ------------------------------
    Jan Nelken
    ------------------------------



  • 8.  RE: DMC

    IBM Champion
    Posted Thu March 30, 2023 09:10 AM

    Any news on Db2 V12.1 being supported in DMTop?



    ------------------------------
    Jan Nelken
    ------------------------------



  • 9.  RE: DMC

    IBM Champion
    Posted Thu May 11, 2023 09:48 AM

    When this restriction will be lifted:

    time="2023-05-11T15:45:34.837905Z" level=info msg=ConfigUtils event=Information info="*************Initializing dmctop*************" moreInfo= trace=a1848be8-366d-4aa3-bb75-c16175d7f3ad
    time="2023-05-11T15:45:34.838907Z" level=info msg=DbUtils event=Information info="Setting DB Connection Info" moreInfo= trace=a1848be8-366d-4aa3-bb75-c16175d7f3ad
    time="2023-05-11T15:45:34.838907Z" level=info msg=DbUtils event=Information info="Connecting to DB" moreInfo=";25000;sample;db2admin" trace=a1848be8-366d-4aa3-bb75-c16175d7f3ad
    time="2023-05-11T15:45:35.634904Z" level=info msg=DbUtils event=Information info="Connected to DB" moreInfo=";25000;sample;db2admin" trace=a1848be8-366d-4aa3-bb75-c16175d7f3ad
    time="2023-05-11T15:45:35.634904Z" level=info msg=ConfigUtils event=Information info="Initializing DB config" moreInfo= trace=a1848be8-366d-4aa3-bb75-c16175d7f3ad
    time="2023-05-11T15:45:35.634904Z" level=info msg=ConfigUtils event=Information info="Retriving DB config" moreInfo= trace=a1848be8-366d-4aa3-bb75-c16175d7f3ad
    time="2023-05-11T15:45:35.965010Z" level=error msg=DbConfig error="DB version 12010000 not supported" event="Encountered exception" moreInfo= trace=a1848be8-366d-4aa3-bb75-c16175d7f3ad



    ------------------------------
    Jan Nelken
    ------------------------------



  • 10.  RE: DMC

    IBM Champion
    Posted Thu May 25, 2023 10:18 AM

    I will repeat my question: when DMCTop will recognize Db2 LUW V12.1.0.o or later?

    Are we waiting for Db2 LUV V13.1.0.0?



    ------------------------------
    Jan Nelken
    ------------------------------



  • 11.  RE: DMC

    Posted Thu May 25, 2023 10:22 AM

    Hello Jan,
    Are you using dmctop to monitor z/OS databases?
    dmctop only supports LUW databases, just like DMC, we don't monitor z/OS databases.
    I hope that answers your question.



    ------------------------------
    Cintia Ogura
    ------------------------------



  • 12.  RE: DMC

    IBM Champion
    Posted Thu May 25, 2023 10:53 AM

    As I stated several times in this thread - I am using Db2 for LUW (Linux, Unix and Windows).

    What I am asking is when restriction of using Db2 for LUW (Linux, Unix and Windows) version > "11010000" be lifted?

    time="2023-05-11T15:45:34.837905Z" level=info msg=ConfigUtils event=Information info="*************Initializing dmctop*************" moreInfo= trace=a1848be8-366d-4aa3-bb75-c16175d7f3ad
    time="2023-05-11T15:45:34.838907Z" level=info msg=DbUtils event=Information info="Setting DB Connection Info" moreInfo= trace=a1848be8-366d-4aa3-bb75-c16175d7f3ad
    time="2023-05-11T15:45:34.838907Z" level=info msg=DbUtils event=Information info="Connecting to DB" moreInfo=";25000;sample;db2admin" trace=a1848be8-366d-4aa3-bb75-c16175d7f3ad
    time="2023-05-11T15:45:35.634904Z" level=info msg=DbUtils event=Information info="Connected to DB" moreInfo=";25000;sample;db2admin" trace=a1848be8-366d-4aa3-bb75-c16175d7f3ad
    time="2023-05-11T15:45:35.634904Z" level=info msg=ConfigUtils event=Information info="Initializing DB config" moreInfo= trace=a1848be8-366d-4aa3-bb75-c16175d7f3ad
    time="2023-05-11T15:45:35.634904Z" level=info msg=ConfigUtils event=Information info="Retriving DB config" moreInfo= trace=a1848be8-366d-4aa3-bb75-c16175d7f3ad
    time="2023-05-11T15:45:35.965010Z" level=error msg=DbConfig error="DB version 12010000 not supported" event="Encountered exception" moreInfo= trace=a1848be8-366d-4aa3-bb75-c16175d7f3ad



    ------------------------------
    Jan Nelken
    ------------------------------



  • 13.  RE: DMC

    Posted Thu May 25, 2023 11:14 AM

    Hello Jan,
    Can you please open a case with support as suggested by Su Li, so we can investigate the issue?
    I will need to get a developer involved for that.
    Here is the link to create a case: 
    https://www.ibm.com/mysupport/s/?language=en_US



    ------------------------------
    Cintia Ogura
    ------------------------------



  • 14.  RE: DMC

    IBM Champion
    Posted Thu May 25, 2023 11:32 AM

    I do not have customer number - what would you like me to put instead?



    ------------------------------
    Jan Nelken
    ------------------------------



  • 15.  RE: DMC

    Posted Thu May 25, 2023 03:17 PM

    Hello Jan,
    You can use the customer number when you are creating Db2 cases.
    If you don't have that, you will need to check with your company, what is the customer number that you use to create Db2 cases.
    I hope that helps!



    ------------------------------
    Cintia Ogura
    ------------------------------