Delphix Toolkits (dxToolkit and dxmToolkit)

 View Only
  • 1.  dxtoolkit2.3.2/dxtoolkit2/dx_get_instance fails with error

    Posted 10-12-2018 11:43:00 AM


    dxtoolkit2.3.2/dxtoolkit2/dx_get_instance fails with error

    It was working fine till yesterday and now without any changes to it, suddenly it start failing with below error


    "Can't use string ("UNKNOWN") as an ARRAY ref while "strict refs" in use at script/dx_get_instance.pl line 130"
    #dxToolkit


  • 2.  RE: dxtoolkit2.3.2/dxtoolkit2/dx_get_instance fails with error

    Posted 10-12-2018 01:14:00 PM
    Hello,

    Could you please run this command again with -debug 3 option and zip an output directory and upload into upload.delphix.com and let us know ? 

    Also I would recommend to upgrade dxtoolkit to a newest version 2.3.6 or 2.3.7

    regards,
    Marcin


  • 3.  RE: dxtoolkit2.3.2/dxtoolkit2/dx_get_instance fails with error

    Posted 10-15-2018 12:21:00 PM
    Hi Marcin,

    I feel it fails , when I run it against host dtraflocodel03 only , when looking for Dsources.

    $ ./dx_get_instance -d dtraflocodel03 -type dsource
    Can't use string ("UNKNOWN") as an ARRAY ref while "strict refs" in use at script/dx_get_instance.pl line 130.
    $
    $ ./dx_get_instance -d dtraflocodel03 -type vdb

    Appliance  Env name             Hostname                       Group           Database                       Instance   Type     Status
    ---------- -------------------- ------------------------------ --------------- ------------------------------ ---------- -------- ----------
    dtraflocod dtraflocorh589       dtraflocorh589-delphix         Oracle VDBs     FDM002                         FDM002     VDB      up
    dtraflocod dtraflocorh255       dtraflocorh255-delphix         Oracle VDBs     FORDW DEV04                    FDW002     VDB      up
    dtraflocod dtraflocorh255       dtraflocorh255-delphix         Oracle VDBs     FORDW DEV05                    FDW005     VDB      up
    dtraflocod dtraflocorh381       dtraflocorh381-delphix         Oracle VDBs     FORDW Live Copy                FDW008     VDB      up
    dtraflocod ttraflocoe02         ttraflocoe02n01                Oracle VDBs     FORDW Pre-Prod(EXA)            FDW0011    VDB      down
    dtraflocod dtraflocorh299       dtraflocorh299-delphix         Oracle VDBs     FORDW QA05                     FDW003     VDB      up
    dtraflocod dtraflocorh299       dtraflocorh299-delphix         Oracle VDBs     FORDW QA06                     FDW004     VDB      up
    dtraflocod dtraflocorh255       dtraflocorh255-delphix         Oracle VDBs     FORDW QA07                     FDW006     VDB      up
    dtraflocod dtraflocorh381       dtraflocorh381-delphix         Oracle VDBs     FORDW QA08                     FDW007     VDB      up
    dtraflocod dtraflocorh381       dtraflocorh381-delphix         Oracle VDBs     FORDW UAT03                    FDW009     VDB      up
    dtraflocod dtraflocorh299       dtraflocorh299-delphix         Oracle VDBs     FORDW UAT04                    FDW010     VDB      up
    dtraflocod dtraflocorh1185      dtraflocorh1185-delphix        Oracle VDBs     Informatica MDM SIT02          INF013     VDB      up
    dtraflocod dtraflocorh1185      dtraflocorh1185-delphix        Oracle VDBs     Informatica REP SIT02          INF014     VDB      up
    dtraflocod dtraflocorh386       dtraflocorh386-delphix         Oracle VDBs     OMS LiveCopy                   OMS002     VDB      up
    dtraflocod ttraflocoe02         10.62.78.33                    Oracle VDBs     OMS Pre-Production (EXA)       OMS0011    VDB      down
    dtraflocod ttraflocoe02         10.62.78.33                    Oracle VDBs     SVNG Pre-Production (EXA)      SVG0011    VDB      down
    dtraflocod dtraflocorh480       dtraflocorh480-delphix         Oracle VDBs     TAX_RULES_QA                   TXR003     VDB      up
    dtraflocod dtraflocorh480       dtraflocorh480-delphix         Oracle VDBs     TAX_RULES_UAT                  TXR002     VDB      up
    dtraflocod ttraflocoe02         10.62.78.33                    Oracle VDBs     Tax Rules Pre-Production (EXA) TXR001     VDB      down



  • 4.  RE: dxtoolkit2.3.2/dxtoolkit2/dx_get_instance fails with error

    Posted 10-15-2018 12:48:00 PM
    I also downloaded 2.3.7 and tried and it gave same error.

    ./dx_get_instance -d dtraflocodel03 -type dsource
    Can't use string ("UNKNOWN") as an ARRAY ref while "strict refs" in use at script/dx_get_instance.pl line 126.



  • 5.  RE: dxtoolkit2.3.2/dxtoolkit2/dx_get_instance fails with error

    Posted 10-15-2018 02:00:00 PM
    Hi,

    I'm sorry that it doesn't work for you.
    Could you please run with -debug 3, zip an output directory and send to me ?

    regards,
    Marcin


  • 6.  RE: dxtoolkit2.3.2/dxtoolkit2/dx_get_instance fails with error

    Posted 10-15-2018 02:21:00 PM
    i have uploaded dubug command.txt on upload.delphix.com


  • 7.  RE: dxtoolkit2.3.2/dxtoolkit2/dx_get_instance fails with error

    Posted 10-16-2018 03:57:00 PM
    A dxtoolkit bug has been raised to address this issue:

    https://github.com/delphix/dxtoolkit/issues/58


  • 8.  RE: dxtoolkit2.3.2/dxtoolkit2/dx_get_instance fails with error

    Posted 10-18-2018 12:07:00 PM
    thanks Neal.

    Please keep me posted on progress