Skip to main content
Delphix

How To Cancel a Self Service Job

 

Applicable Delphix Versions

 

Major Release

All Sub Releases

5.1

5.1.0.0, 5.1.1.0, 5.1.2.0, 5.1.3.0, 5.1.4.0, 5.1.5.0, 5.1.5.1, 5.1.6.0, 5.1.7.0, 5.1.8.0, 5.1.8.1

5.0

5.0.1.0, 5.0.1.1, 5.0.2.0, 5.0.2.1, 5.0.2.2, 5.0.2.3, 5.0.3.0, 5.0.3.1, 5.0.4.0, 5.0.4.1 ,5.0.5.0, 5.0.5.1, 5.0.5.2, 5.0.5.3, 5.0.5.4

4.3

4.3.1.0, 4.3.2.0, 4.3.2.1, 4.3.3.0, 4.3.4.0, 4.3.4.1, 4.3.5.0

Issue

Currently, it is not possible to cancel a Jet Stream job from the Jet Stream GUI. The only method to cancel a job is to use the CLI, please see the method below:

Resolution

First make an ssh connection to the to Delphix engine using an ssh client, for example Putty

ssh JSuser@delphixengine.delphix.com

Enter your password

Password:

When the connection is made type 'job'

delphixengine.delphix> job

Typing 'ls' will list all the Delphix jobs 

delphixengine.delphix job> ls
Objects
NAME     JOBSTATE   PARENTACTIONSTATE  STARTTIME                 TARGETNAME                       TITLE
JOB-344  RUNNING    WAITING            2017-11-17T16:16:29.221Z  Windows/VAdventureWorks2012_B9B  Refresh database "VAdventureWorks2012_B9B".
JOB-343  RUNNING    WAITING            2017-11-17T16:16:24.365Z  AWorks                           Update Jet Stream data source "AWorks".
JOB-342  COMPLETED  COMPLETED          2017-11-17T16:16:04.388Z  Windows/VAdventureWorks2012_B9B  Run SnapSync for database "VAdventureWorks2012_B9B".
JOB-341  RUNNING    WAITING            2017-11-17T16:16:04.255Z  test                             Refresh Jet Stream data container "test".

Look for the text "Refresh Jet Stream data container" and type 'select JOB-XXX', in the example above type 'select JOB-341'

delphixengine.delphix job> select JOB-341

Type 'cancel'

delphixengine.delphix job 'JOB-341'> cancel

Type 'commit' to commit the cancel operation

delphixengine.delphix job 'JOB-341' cancel *> commit

At this point the job should be CANCELED, to confirm you can type 'up' then 'ls' and the JOBSTATE should show canceled.

delphixengine.delphix job 'JOB-341'> up
delphixengine.delphix job> ls
Objects
NAME     JOBSTATE   PARENTACTIONSTATE  STARTTIME                 TARGETNAME                       TITLE
JOB-346  RUNNING    WAITING            2017-11-17T16:17:23.905Z  AWorks                           Recover from a failed or canceled TimeFlow operation.
JOB-345  RUNNING    WAITING            2017-11-17T16:17:23.643Z  test                             Recover data layout "test" automatically after a failed or canceled operation.
JOB-344  CANCELED   CANCELED           2017-11-17T16:16:29.221Z  Windows/VAdventureWorks2012_B9B  Refresh database "VAdventureWorks2012_B9B".
JOB-343  CANCELED   CANCELED           2017-11-17T16:16:24.365Z  AWorks                           Update Jet Stream data source "AWorks".
JOB-342  COMPLETED  COMPLETED          2017-11-17T16:16:04.388Z  Windows/VAdventureWorks2012_B9B  Run SnapSync for database "VAdventureWorks2012_B9B".
JOB-341  CANCELED   CANCELED           2017-11-17T16:16:04.255Z  test                             Refresh Jet Stream data container "test".

Jet Stream at this point will attempt to revert the VDB to its original state.

 

 

  • Was this article helpful?