Delphix Toolkits (dxToolkit and dxmToolkit)

 View Only
  • 1.  dxToolkit on Share drive

    Posted 29 days ago

    I have been using dxtoolkit from my C: drive but finally got around to putting it on a Share drive so others can use it and we have one copy of dxtookit. 
    When I execute a script that is stored in my userid folder, it changes directory to dxtoolkit2 in the Share folder and runs dx_get_appliance on each of the engines for the purpose of logging in and prompts me to enter the password for each engine. All good to this point.

    It's fine for me to use it but i I'd like others to use it too. I tried using null in for the userid (like we do for password) hoping it would prompt me to enter the userid but that didnt work.

    What is everyone else doing to solve this situation? 

    TY, Joe


            "hostname" : "engine",
            "ip_address" : "delphixt03.ibx.com",
            "username" : "My ID",
            "password" : "",
            "port" : "999",
            "default" : "true",
                    "protocol" : "https",
            "encrypted" : "false",
            "timeout" : "1200"



    ------------------------------
    Joseph Sernicola
    Application Development Technical Delivery Lead
    Independence Blue Cross
    ------------------------------


  • 2.  RE: dxToolkit on Share drive
    Best Answer

    Posted 28 days ago

    Hi Joseph.

     You can specify an alternative config file to use either by providing a "-configfile" argument on the command line, or by setting the "DXTOOLKIT_CONF" environment variable, this way each of your staff members will be able to have their own config file in their home directory.



    ------------------------------
    Matt Watson
    Staff Engineer
    Delphix
    ------------------------------



  • 3.  RE: dxToolkit on Share drive

    Posted 28 days ago

    Thanks Matt.

    I didn't know about those options, but I think it's exactly what I need.

     

    I'm trying the -config parm in the dx_get_appliance cmd I use to just make the initial connection to the engine but getting the below error.
    I tried a few different syntaxes but getting the same message.

    Any suggestions?

     

    Thank you, Joe

     

     

    E:\Delphix\dxtoolkit2>dx_get_appliance -d delphixt03 -configfile

    Can't load config file file : No such file or directory at C:\Users\c62ds14\AppData\Local\Temp\1\par-63363264733134\cache-3bdca8a2171e2a83f4f3d7a14b1e80718ea517ea\inc\lib/Engine.pm line 129.

     

    E:\Delphix\dxtoolkit2>dx_get_appliance -d delphixt03 -configfile dxtools.conf

    Can't load config file dxtools.conf : No such file or directory at C:\Users\c62ds14\AppData\Local\Temp\1\par-63363264733134\cache-3bdca8a2171e2a83f4f3d7a14b1e80718ea517ea\inc\lib/Engine.pm line 129.

     

    E:\Delphix\dxtoolkit2>dx_get_appliance -d delphixt03 -configfile file dxtools.conf

    Can't load config file file : No such file or directory at C:\Users\c62ds14\AppData\Local\Temp\1\par-63363264733134\cache-3bdca8a2171e2a83f4f3d7a14b1e80718ea517ea\inc\lib/Engine.pm line 129.



     

    Script that points to share drive and executes get_appliance:

    cd /d E:

    cd Delphix

    cd dxtoolkit2  

    dx_get_appliance  -d delphixt03

    dx_get_appliance  -d delphixt05

     

     

     

    I do have a copy of the config file in the location specified in the error message.






  • 4.  RE: dxToolkit on Share drive

    Posted 28 days ago

    Hello,

    I think you have to give it a path. All of these variations work for me:

    .\dx_get_snapshots -engine neal1800 -configfile .\dxtools.conf

    .\dx_get_snapshots -engine neal1800 -configfile c:\temp\dxtools.conf

    .\dx_get_snapshots -engine neal1800 -configfile "c:\temp\dxtools.conf"

    If the path has spaces in it, you might have to use quotes.

    Hope this helps,

    Neal



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



  • 5.  RE: dxToolkit on Share drive

    Posted 28 days ago

    Thanks Neal. Worked perfectly!

     



    Test Environment Management

    Joseph Sernicola

    Lead Test Database Analyst

    1901 Market street, 6th Floor
    Philadelphia, PA 19103
    P  215-241-3649