Delphix Toolkits (dxToolkit and dxmToolkit)

 View Only
  • 1.  Dxtoolkit not working for us after migrate to Red Hat Enterprise Linux 8.9

    Posted 7 days ago

    One of our server were migrate from redhat 7 to redhat 8.   So we have download the dxtoolkit2-v2.4.24-redhat8-installer.tar.gz but we still have this issue when issue any delphix command.  nothing return.

    For example:

    cat /etc/os-release
    NAME="Red Hat Enterprise Linux"
    VERSION="8.9 (Ootpa)"
    ID="rhel"
    VERSION_ID="8.9"

    [dxtoolkit2]$ ./dx_get_snapshots -help
    [dxtoolkit2]$

    In our redhat7 server will return information.

    Please help us find the root cause.

    Thanks,

    kihong



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


  • 2.  RE: Dxtoolkit not working for us after migrate to Red Hat Enterprise Linux 8.9

    Posted 6 days ago

    Hi Kihong-

    I've tried to reproduce this issue in my own Environment, but I don't see an immediate behavioral issue with the dxToolkit and OS versions.

    [root@myhost dxtoolkit2]# cat /etc/os-release
    NAME="Red Hat Enterprise Linux"
    VERSION="8.9 (Ootpa)"
    ID="rhel"
    ID_LIKE="fedora"
    VERSION_ID="8.9"
    PLATFORM_ID="platform:el8"
    PRETTY_NAME="Red Hat Enterprise Linux 8.9 (Ootpa)"
    
    [root@myhost dxtoolkit2]# dx_get_appliance -d deobj
    
    Appliance            Status   Version  Total [GB] Used [GB]  Free [GB]  PctUsed(%) dSource# VDBs#    Total Ob
    -------------------- -------- -------- ---------- ---------- ---------- ---------- -------- -------- --------
    deobj                UP       22.0.0.0     100.00      21.80      78.20 21.80      3        3        6
    
    [root@myhost dxtoolkit2]# dx_get_snapshots -help
    SYNOPSIS
         dx_get_snapshots    [ -engine|d <delphix identifier> | -all ] [ -configfile file ]
                             [ -group group_name | -name db_name | -host host_name | -type dsource|vdb | -dsource name ]
                             [ -timeloc t|l]
                             [ -startDate startDate]
                             [ -endDate endDate]
                             [ -snapshotname snapshotname]
                             [-output_unit K|M|G|T]
                             [ -format csv|json ]
                             [ -notime ]
                             [ -help|? ] [ -debug ]
    
         dx_get_snapshots    [ -engine|d <delphix identifier> | -all ] [ -configfile file ]
                             -size [ asc | desc ]
                             [ -group group_name | -name db_name | -host host_name | -type dsource|vdb | -dsource name ]
                             [ -format csv|json ]
                             [ -help|? ] [ -debug ]
    

    You may need to share additional debug information to get further feedback. Can you try executing one of the problem commands with -debug appended (there are multiple debug levels, so you can also consider higher levels such as -debug 4), as this may provide better detail on the functional problem.

    You may also consider using strace to look at the execution; this may expose a permission or other issue in the installation or environment... for example, in some instances we've seen permission issues in /tmp where dxToolkit creates temporary objects.



    ------------------------------
    Sean Nothdurft
    Senior Principal Technical Support Engineer
    Delphix
    ------------------------------



  • 3.  RE: Dxtoolkit not working for us after migrate to Red Hat Enterprise Linux 8.9

    Posted 4 days ago

    This is typically due to the new ACL access in /tmp that is enabled by default in RHEL 8.

    Create a new temporary folder and define your TMP environment variable to point there like so:
    mkdir ~/tmp

    export TMP=~/tmp

    Then try your dxtoolkit commands as usual and let us know the outcome.



    ------------------------------
    Jose Manuel Rodriguez Prieto
    Technical Account Manager
    Delphix
    ------------------------------



  • 4.  RE: Dxtoolkit not working for us after migrate to Red Hat Enterprise Linux 8.9

    Posted 2 days ago

    Yes, it is the issue with /tmp.    Our Unix team is asking if dxtoolkit use other location instead of /tmp?

    Please advise.

    Kihong



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



  • 5.  RE: Dxtoolkit not working for us after migrate to Red Hat Enterprise Linux 8.9

    Posted 2 days ago

    Hi Kihong-

    Jose provided a workaround above that you can use for dxToolkit operation, was that not successful in your own testing?



    ------------------------------
    Sean Nothdurft
    Senior Principal Technical Support Engineer
    Delphix
    ------------------------------



  • 6.  RE: Dxtoolkit not working for us after migrate to Red Hat Enterprise Linux 8.9

    Posted 2 days ago

    @Kihong - just to clarify, I think idea here is to define a different TMP environment variable so it's not defaulting to /tmp. The sugesstion is to create a folder in your home directory (the '~' part in front of /tmp) and then assign the TMP variable to '~/tmp'.

    So I think the answer to your question is yes, a separate location defined by your team if that makes sense.  I'm far from a technical expert - just wanted to throw that out there in case there was confusion.



    ------------------------------
    Jake Wright
    Delphix Community Members
    ------------------------------