Delphix Toolkits (dxToolkit and dxmToolkit)

 View Only
Expand all | Collapse all

dx_get_vdbthroughput Issue After Upgrading to version 23

  • 1.  dx_get_vdbthroughput Issue After Upgrading to version 23

    Posted 06-24-2024 02:46:00 PM

    Issue with dx_get_vdbthroughput after upgrade to v23.  with error message like this:

    Use of uninitialized value in sprintf at /tmp/par-6f7261636c65/cache-ce9c80be7fb07c8f2451b4131b973f17f5aecac3/inc/lib/Toolkit_helpers.pm line 475.
    No data returned for resources/json/delphix/database/performanceHistory?fromDate=2024-06-23T08:34:28.000Z&toDate=0000-00-00T00:00:00.000Z&samplingInterval=60. Try to increase timeout
    No data found. Please check start/end date and interval



    ------------------------------
    kihong wong
    dba
    California Statewide Automated Welfare System (CalSAWS) Consortium
    ------------------------------


  • 2.  RE: dx_get_vdbthroughput Issue After Upgrading to version 23

    Posted 06-24-2024 03:00:00 PM

    Hi Kihong,

    Which version of dxtoolkit are you using?

    Can you run the command again with the "-debug 3" as an argument to give us more details?

    Thanks,

    Neal



    ------------------------------
    Neal Stack
    Senior Principal Technical Support Engineer
    Delphix
    ------------------------------



  • 3.  RE: dx_get_vdbthroughput Issue After Upgrading to version 23

    Posted 06-24-2024 04:48:00 PM
      |   view attached
    Dxtoolkit version 2.4.17
     
    It can connect to the Engine but no data return.
    Please see the attached log.
    Thanks

    kihong



    ------------------------------
    kihong wong
    dba
    California Statewide Automated Welfare System (CalSAWS) Consortium
    ------------------------------

    Attachment(s)



  • 4.  RE: dx_get_vdbthroughput Issue After Upgrading to version 23

    Posted 06-25-2024 02:28:00 AM

    Hello,

    Based on the error message it is likely that API timeout is too low.

    Please add the following like to your dxtools.conf into a section for engine in question.

    "timeout" : 600

    Depends on the position there you put the line  you may need to add comma at the end 

    and please make sure it is still a valid JSON document after you edit.

    regards,

    Marcin



    ------------------------------
    Marcin Przepiorowski
    Director, Technical Services
    Delphix
    ------------------------------



  • 5.  RE: dx_get_vdbthroughput Issue After Upgrading to version 23

    Posted 06-25-2024 10:51:00 AM
      |   view attached

    I have increased the timeout value but that does not help.

    Please advise.

    kihong



    ------------------------------
    kihong wong
    dba
    California Statewide Automated Welfare System (CalSAWS) Consortium
    ------------------------------

    Attachment(s)

    txt
    vdbthroughput.txt   620 B 1 version


  • 6.  RE: dx_get_vdbthroughput Issue After Upgrading to version 23

    Posted 06-25-2024 11:37:00 AM

    Hi Kihong,

    The version of dxtoolkit you have is old. Newer versions of the toolkit are listed as being compatible with newer versions of Delphix ( https://github.com/delphix/dxtoolkit/blob/master/CHANGELOG.md ). If you search this page for "compa", you can see where 2.4.21 added compatibility for Delphix Engine 16 and higher ( "compability with new engines (up to 16)").

    I'm not saying upgrading would fix this particular issue but rather keeping dxtoolkit up to date is a good practice.

    Do other commands work (./dx_get_appliance --engine neal1800 -debug 2)? Are you only having issues with dx_get_vdbthroughput?

    Thanks,

    Neal



    ------------------------------
    Neal Stack
    Senior Principal Technical Support Engineer
    Delphix
    ------------------------------



  • 7.  RE: dx_get_vdbthroughput Issue After Upgrading to version 23

    Posted 06-26-2024 11:39:00 AM

    yes, I only have issues with dx_get_vdbthroughput.   

    Thanks,

    Kihong



    ------------------------------
    kihong wong
    dba
    California Statewide Automated Welfare System (CalSAWS) Consortium
    ------------------------------



  • 8.  RE: dx_get_vdbthroughput Issue After Upgrading to version 23

    Posted 06-26-2024 12:49:00 PM

    Hi Kihong,

    I've reproduced the issue internally.

    I'm investigating to see if this is an issue with the API or the Delphix Engine.

    I'll let you know what I find.

    Thanks,

    Neal



    ------------------------------
    Neal Stack
    Senior Principal Technical Support Engineer
    Delphix
    ------------------------------



  • 9.  RE: dx_get_vdbthroughput Issue After Upgrading to version 23
    Best Answer

    Posted 06-26-2024 04:52:00 PM

    I have download and install the latest toolkit. My issues has been resolved.

    Thanks,

    kihong



    ------------------------------
    kihong wong
    dba
    California Statewide Automated Welfare System (CalSAWS) Consortium
    ------------------------------



  • 10.  RE: dx_get_vdbthroughput Issue After Upgrading to version 23

    Posted 06-26-2024 05:11:00 PM

    Hi Kihong,

    Yes, that fixed it for me too.

    I think the "timestamp fix" on the files change history ( https://github.com/delphix/dxtoolkit/commits/master/bin/dx_get_vdbthroughput.pl ) resolved it. Looks like this change went into 2.4.21 ( https://github.com/delphix/dxtoolkit/blob/master/CHANGELOG.md#2421 ).

    Glad it is working!

    Thanks,

    Neal



    ------------------------------
    Neal Stack
    Senior Principal Technical Support Engineer
    Delphix
    ------------------------------



  • 11.  RE: dx_get_vdbthroughput Issue After Upgrading to version 23

    Posted 06-27-2024 10:01:00 AM

    Thank you so much!

    Kihong



    ------------------------------
    kihong wong
    dba
    California Statewide Automated Welfare System (CalSAWS) Consortium
    ------------------------------