Delphix Toolkits (dxToolkit and dxmToolkit)

 View Only
Expand all | Collapse all

Trouble running the dxtoolkit commands on a Linux machine

  • 1.  Trouble running the dxtoolkit commands on a Linux machine

    Posted 09-12-2023 05:08:00 PM

    Hi everyone,

    I'm having trouble running the dxtoolkit command on my Linux machine. I followed these steps:

    1. I checked the current working directory.
    2. I created a directory called delphix.
    3. I changed to the delphix directory.
    4. I used the wget command to download the dxtoolkit2-v2.4.20-redhat8-installer.tar.gz file from GitHub.
    5. I used the gunzip command to unzip the file.
    6. I used the tar command to extract the files from the archive.
    7. I changed to the dxtoolkit2 directory.
    8. I used the ls command to list the contents of the directory.
    9. I used the sh command to run the install.sh script.
    10. I created a file called dxtools.conf and modified the following entry:
      {

        "data":[
            {
                "hostname" : "xxxxx.xxx.com",
                "ip_address" : "xxx.1xx.xxx.xxx",
                "username" : "username",
                "password" : "pwd",
                "port" : "80",
                "default" : "false",
                "encrypted" : "false",
                "timeout" : "60"
            }
        ]
    }

    1. I ran the following command:
    ./dx_get_appliance -all

    Actual Output: Command did not return any output. DX Toolkit is installed and that the source_dir setting in the dxtools.conf file is correct.

    I hope this is more clear. Let me know if you have any other questions.

    command not working


    ------------------------------
    Nagalakshmi Thangavelu
    Delphix Community Members
    ------------------------------


  • 2.  RE: Trouble running the dxtoolkit commands on a Linux machine

    Posted 09-12-2023 05:19:00 PM

    Hello,

    If you run the command with the "--debug" argument, does it give you more information on the failure? Can you post the output of running with that flag?

    Thanks,

    Neal



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



  • 3.  RE: Trouble running the dxtoolkit commands on a Linux machine

    Posted 09-13-2023 06:41:00 AM

    Hi Neal,

    To follow up on our conversation about the debugging issue. I've attached the output from the -debug command, which I ran on the Linux machine.

    image

    I followed the same steps on my Windows machine, and the command worked as expected. However, I'm not getting the same results on the Linux machine.

    Can you please take a look at the output and let me know if you have any ideas?



    ------------------------------
    Nagalakshmi Thangavelu
    Delphix Community Members
    ------------------------------



  • 4.  RE: Trouble running the dxtoolkit commands on a Linux machine

    Posted 09-18-2023 09:15:00 AM

    Hello Nagalaxmi, 

    if you are using HTTPS then use port 443

    for HTTP check with 8080 or 80

    also can you try with this command and send logs

    ./dx_get_appliance -d ENGINE -configfile PATH_OF_CONF_FILE -debug



    ------------------------------
    Pankaj Asegaonkar
    Masking/Virtualization Specialist
    +91 9689996500
    ------------------------------



  • 5.  RE: Trouble running the dxtoolkit commands on a Linux machine