Skip to main content
Delphix

Canceling a Delphix Self-Service Job (KBA1518)

 

KBA

KBA1518

Troubleshooting Canceling Self-Service Job

Currently, it is not possible to cancel a Delphix Self-Service job from the Delphix Self-Service GUI. The only method to cancel a job is to use the CLI.

Resolution

To Cancel Job using CLI:

  1. Use an SSH connection to the Delphix engine using an SSH client, for example Putty.

ssh JSuser@delphixengine.delphix.com

  1. Enter your password
    Password:
  2. When the connection is made, type 'job'.
    delphixengine.delphix> job
  3. 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".
  1. 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
  2. Type 'cancel'
    delphixengine.delphix job 'JOB-341'> cancel
  3. Type 'commit' to commit the cancel operation
    delphixengine.delphix job 'JOB-341' cancel *> commit
  4. <At this point the job should be canceled.> To confirm you can type up then ls.
    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".

Delphix Self-Service at this point will attempt to revert the VDB to its original state.

Applicable Delphix Versions 

 

Major Release

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