Skip to content

dx_ctl_db

Marcin Przepiorowski edited this page Oct 10, 2016 · 10 revisions

SYNOPSIS

dx_ctl_db.pl [ -engine|d <delphix identifier> | -all ] [ -group group_name | -name db_name | -host host_name | -type dsource|vdb ] [-instance inst_no] <-action start|stop|enable|disable>  
             [-restore filename][-force] [ --help|? ] [ -debug ]

DESCRIPTION

Run the action specified in action argument for all database(s) selected by filter on selected engine(s)

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

Filters

Filter databases using one of the following filters

  • -group Group Name
  • -name Database Name
  • -host Host Name
  • -type Type (dsource|vdb)
  • -envname Environment name

Instance option

Specify a instance number to perfom operation on ( this is not a filer )

  • -instance inst_no Instance number

Actions

  • -action start|stop|enable|disable Run an action specified for all databases selected by filter

OPTIONS

  • -help
    Print this screen
  • -debug Turn on debugging
  • -restore <filename > Restore database status using a file <filename.engine_name> generated by dx_get_db_env's save option
  • -parallel n Run action on N targets in parallel
  • -force Run action using a force option

Delphix

Clone this wiki locally