Single Job Management

Existing CDM jobs can be viewed, modified, deleted, started, and stopped. This section describes how to view and modify a job.

Viewing a Job

  • Viewing job status

    The job status can be New, Pending, Booting, Running, Failed, or Succeeded.

    Pending indicates that the job is waiting to be scheduled by the system, and Booting indicates that the data to be migrated is being analyzed.

  • Viewing historical records

    On the Historical Record page, view job execution records, read/write statistics, and job execution logs.

  • Viewing job logs

    On the Historical Record page, view all logs of a job.

    Alternatively, in the Operation column, choose More > Log to view the latest logs of the job.

  • Viewing the JSON file of a job

    Directly edit the JSON file of a job, which is equivalent to modifying the parameter settings of the job.

  • Querying the job statistics

    Open the preview window of a configured database job to preview a maximum of 1,000 pieces of data. By comparing the number of data records of the migration source and destination, you can check whether the migration is successful and whether data is lost.

  • Viewing historical jobs

    CDM stores the jobs executed in the latest month, including one-time jobs (jobs that are automatically deleted after execution) and jobs that are periodically executed. You can view and re-execute the jobs on the Historical Jobs tab page.

    For a job that is periodically executed, a historical job is generated on the Historical Jobs tab page each time when the job is executed, regardless of whether the job is successfully executed. Because the original job name is the same, the names of the historical jobs will carry a random character string for distinction.

Modifying a Job

  • Modifying the job parameters

    You can reconfigure job parameters, but cannot reselect source and destination links.

  • Editing the JSON file of a job

    Directly edit the JSON file of a job, which is equivalent to modifying the parameter settings of the job.

Procedure

  1. Log in to the DGC console, select a DGC instance, and click Access.

    On the displayed page, click the Workspaces tab. In the workspace list, locate the required workspace.

  1. Click Data Integration of the corresponding workspace.

    The Data Integration page is displayed.

  1. Choose Cloud Data Migration. The Cluster Management page is displayed. Click Job Management in the Operation column of the cluster.
  2. Click Historical Jobs to view all historical jobs executed in the latest month.

    CDM stores the jobs executed in the last month, including one-time jobs (jobs that are automatically deleted after execution) and jobs that are executed periodically. You can view and re-execute the jobs on the Historical Jobs tab page.

    For a job that is executed periodically, a historical job is generated on the Historical Jobs tab page each time when the job is executed, regardless of whether the job is executed successfully. The names of historical jobs will be the same as the original job but with a random character string appended.

  3. Click Table/File Migration. The job list is displayed. You can perform the following operations on a single job:
    • Modify the job parameters: Click Edit in the Operation column to modify the job parameters.
    • Run the job: Click Run in the Operation column to manually start the job.
    • View the historical records: Click Historical Record in the Operation column. On the Historical Record page that is displayed, view the job's historical execution records and read/write statistics. Click Log to view the job logs.
    • Delete the job: Choose More > Delete in the Operation column to delete the job.
    • Stop the job: Choose More > Stop in the Operation column to stop the job.
    • View the job JSON: Choose More > View Job JSON in the Operation column to view the job JSON.
    • Edit the job JSON: Choose More > Edit Job JSON in the Operation column to edit the job JSON file, which is similar to modify the job parameters.
  4. After the modification, click Save or Save and Run.