dx_ctl_jobs - delphix/dxtoolkit GitHub Wiki

SYNOPSIS

dx_ctl_jobs    [ -engine|d <delphix identifier> | -all ] [ -configfile file ]
               -action CANCEL|SUSPEND|RESUME
               [-jobref ref]
               [-st timestamp]
               [-et timestamp]
               [-state state]
               [-help|? ]
               [-debug ]

DESCRIPTION

Run an action for a list of jobs from Delphix Engine.

ARGUMENTS

Delphix Engine selection - if not specified a default host(s) from dxtools.conf will be used.

  • -engine|d Specify Delphix Engine name from dxtools.conf file
  • -all Display databases on all Delphix appliance
  • -configfile file Location of the configuration file. A config file search order is as follow:
  • configfile parameter
  • DXTOOLKIT_CONF variable
  • dxtools.conf from dxtoolkit location

Filters

Filter faults using one of the following filters

  • -state Job state - COMPLETED / FAILED / RUNNING / SUSPENDED / CANCELED
  • -jobref ref Job reference

OPTIONS

  • -action actionname Run a particular action for a list of jobs - CANCEL | RESUME | SUSPEND
  • -st timestamp Start time for faults list - default value is 7 days
  • -et timestamp End time for faults list
  • -help Print this screen
  • -debug Turn on debugging

EXAMPLES

Cancel a job JOB-267199

dx_ctl_jobs -d Delphix32 -action cancel -jobref JOB-267199
Job - JOB-267199 - cancelled