Delphix Toolkits (dxToolkit and dxmToolkit)

 View Only
  • 1.  DXToolKit Issue

    Posted 12-28-2022 09:29:00 AM
      |   view attached
    When i call this dxtoolkit exe(dx_get_appliance.exe) getting below error message, it was work fine before Nov 12th 2022 after applied OS( Microsoft Windows Server 2019 Datacenter) patch its start failing.

    The term 'E:\Delphix\DXToolKit\DxToolKit\dx_get_appliance.exe' is not recognized as the name of a cmdlet, function, script
    file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
    At line:1 char:13
    + $response = E:\Delphix\DXToolKit\DxToolKit\dx_get_appliance.exe -all ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : ObjectNotFound: (E:\Delphix\DXTo...t_appliance.exe:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

    ConvertFrom-Json : Cannot bind argument to parameter 'InputObject' because it is null.
    At line:2 char:27
    + $appliances = $response | ConvertFrom-Json
    + ~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidData: (:) [ConvertFrom-Json], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.ConvertFromJsonCommand

    ------------------------------
    Sivakumar M
    Database Administrator Team Lead
    Delphix Community Members
    ------------------------------


  • 2.  RE: DXToolKit Issue

    Posted 12-29-2022 08:42:00 AM
    Hello Sivakumar, 
    could you please share the dxtools.conf so we can check the parameter or you can try with below command
    ./dx_get_appliance -d <<engine name from dx.conf file>>

    configure the dx.conf with sysadmin credentials and try it should work.

    {
    "timeout" : 120,
    "hostname" : "engine name",
    "encrypted" : "true",
    "username" : "sysadmin",
    "password" : "PASSWORD",
    "protocol" : "https" or http,
    "ip_address" : "IP of the engine",
    "port" : "443", or 80 in case of http
    "default" : "true"
    }

    ------------------------------
    PANKAJ ASEGAONKAR
    Delphix
    Infosys
    ------------------------------