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.

Applicable Delphix Versions

Click here to view the versions of the Delphix engine to which this article applies
Major Release All Sub Releases
6.0 6.0.0.0, 6.0.1.0, 6.0.1.1, 6.0.2.0, 6.0.3.0, 6.0.3.1

5.3

5.3.0.0, 5.3.0.1, 5.3.0.2, 5.3.0.3, 5.3.1.0, 5.3.1.1, 5.3.1.2, 5.3.2.0, 5.3.3.0, 5.3.3.1, 5.3.4.0, 5.3.5.0 5.3.6.0, 5.3.7.0, 5.3.7.1, 5.3.8.0, 5.3.8.1, 5.3.9.0

5.2

5.2.2.0, 5.2.2.1, 5.2.3.0, 5.2.4.0, 5.2.5.0, 5.2.5.1, 5.2.6.0, 5.2.6.1

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.1.9.0, 5.1.10.0

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

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.

 

Note

Note:

If you are on a version prior to 5.3, the CLI uses the term jetstream.

In all versions 5.3 and later, the CLI uses the term selfservice. For example, the command <code>selfservice bookmark</code> is <code>jetstream bookmark</code> in versions prior to 5.3.