Skip to content

dx_ctl_js_container

Marcin Przepiorowski edited this page Oct 12, 2016 · 7 revisions

SYNOPSIS

dx_ctl_js_container    [ -engine|d <delphix identifier> | -all ] -action reset|refresh|recover -container_name container_name 
                       [-template_name template_name]  
                       [-timestamp timestamp]
                       [ -help|? ] [ -debug ]

DESCRIPTION

Run a action on the JetStream container

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
  • -action reset|refresh|recover Run a action on the container
    • -reset - reset JS container to latest point
    • -refresh - refresh JS container from latest point of template
    • -recover - recover a JS container to point in time or bookmark
  • -container_name container_name Name of container to run action on
  • -template_name template_name Name of container's templates

OPTIONS

  • **-timestamp "YYYY-MM-DD HH24:MI:SS" or bookmark name **
    Use timestamp or bookmark name to recover container
  • -help
    Print this screen
  • -debug Turn on debugging

Examples

Reset of the container

dx_ctl_js_container -d Landshark5 -container_name cont -action reset
Starting job JOB-5043 for container cont.
0 - 3 - 4 - 23 - 26 - 29 - 30 - 34 - 47 - 52 - 54 - 57 - 58 - 59 - 60 - 61 - 76 - 90 - 100 
Job JOB-5043 finished with state: COMPLETED

Refresh of the container from latest point in time in source

dx_ctl_js_container -d Landshark5 -container_name cont -action refresh
Starting job JOB-5050 for container cont.
0 - 3 - 4 - 12 - 26 - 29 - 30 - 34 - 45 - 47 - 52 - 54 - 57 - 58 - 59 - 60 - 61 - 70 - 77 - 83 - 100 
Job JOB-5050 finished with state: COMPLETED

Recover of the cointainer to a bookmark "fixeddate"

dx_ctl_js_container -d Landshark5 -container_name cont1 -action recover -timestamp fixeddate
Starting job JOB-7637 for container cont1.
0 - 3 - 4 - 23 - 26 - 29 - 30 - 34 - 45 - 47 - 52 - 54 - 57 - 58 - 59 - 60 - 61 - 68 - 77 - 82 - 100
Job JOB-7637 finished with state: COMPLETED

Delphix

Clone this wiki locally