-
Notifications
You must be signed in to change notification settings - Fork 36
Home
DxToolkit is a set of scripts, which are delivered by Delphix professional services team. DxToolkit scripts look and feel like UNIX executables, following the typical conventions of using flags for arguments. DxToolkit is written in Perl, but no knowledge of Perl is required unless you want to extend it. In fact, no programming experience whatsoever is required to use the DxToolkit.
DxToolkit reads the configuration file in JSON format. By default it's looking for dxtools.conf file in location of dxtoolkit script. Configuration file location can specified by -configfile parameter or value of environment variable DXTOOLKIT_CONF.
Field description
- hostname Delphix identifier
- ip__address Delphi appliance IP address or hostname
- username Delphix username
- password Delphix username password [ if password is blank or not specified script will ask for it and create a session ]
- port Delphix port no
- default true|false
- encrypted true|false <true – encrypted password in dxtools.conf>
- protocol http|https
Example
{
"data":[
{
"hostname" : "Landshark",
"ip_address" : "delphix01",
"username" : "delphix_admin",
"password" : "delphix",
"port" : "80",
"default" : "false",
"encrypted" : "false",
"timeout" : "60"
},
{
"hostname" : "Landshark2",
"ip_address" : "delphix02",
"username" : "delphix_admin",
"password" : "delphix",
"port" : "443",
"default" : "true",
"protocol" : "https",
"encrypted" : "false"
},
{
"hostname" : "Delphix32",
"ip_address" : "192.168.1.32",
"username" : "delphix_admin",
"password" : "#papapaewiru32472931u12",
"port" : "80",
"default" : "true",
"encrypted" : "true"
}
]
}
DxToolkit can run an operation on one or all engines configured in configuration file. After successful connection to the Delphix Engine a session is saved for a future usage. Default expired time for a session is set to 30 min and it's a Delphix Engine not a DxToolkit parameter. An existing user session can be destroyed using dx_logout command.
- -d name or –engine name Run command for one Delphix Engine specified by name
- -all Run command for all Delphix Engines defined in configuration file
- -dever Set version of API to particular Delphix Engine version. Supported values are 4.1, 4.2, 4.3, 5.0
- -configfile file Location of configuration file
- -version Display version
- -debug n Enable debug mode at level n
- -help Display help
- -format Format ( [pretty] | csv | json )
- -nohead Turns off header
List of DxToolkit command can be found here
Delphix