Hi, I'm Ask INFA!
What would you like to know?
ASK INFAPreview
Please to access Ask INFA.

Ingesting Db2 for i Change Data into Snowflake with Cloud Mass Ingestion Databases

Ingesting Db2 for i Change Data into Snowflake with Cloud Mass Ingestion Databases

Deploying the database ingestion task

Deploying the database ingestion task

After you define a
database ingestion
task and save it, deploy the task to create an executable job instance on the on-premises system that contains the Secure Agent and the Database Ingestion agent service and DBMI packages. You must deploy the task before you can run the job. The deploy process also validates the task definition.
Before you deploy a task that has a Snowflake target, drop any existing target tables that do not match the structure of the source tables, for example, because of added or dropped source columns or altered column null constraints or data types. When you deploy the task, the target tables are generated based the latest source structure.
  1. In the
    database ingestion
    task wizard, save the completed task definition.
  2. To deploy a task, click
    Deploy
    .
After you deploy a task successfully, the associated job instance has the status of Deployed. You can run the job from either the
My Jobs
page in Mass Ingestion or from the
All Jobs
tab on the
Mass Ingestion
page in
Operational Insights
.
Deployment considerations:
  • If you included spaces in the database ingestion task name, the spaces are omitted from the corresponding job name for the generated job instance.
  • If the deployment process fails, the job status switches to Failed. You can then Undeploy the job. To diagnose the error, download the error log from the
    My Jobs
    page in Mass Ingestion or from the
    All Jobs
    tab on the
    Mass Ingestion
    page in
    Operational Insights
    . In the Actions menu for the job, click
    Error Log
    . After you resolve the problem, deploy the task again from the
    database ingestion
    task wizard.
  • If you undeploy a job and then want to run a job for the associated ingestion task again, you must deploy the task again to create a new job instance. The new job instance name ends with an incremented number in the format
    taskname
    -
    job_instance_number
    . The job instance number is incremented each time you deploy the ingestion task by adding 1 to the maximum instance number across all ingestion jobs.
  • If the Secure Agent is restarted while the task is deploying, the job status switches to Failed. Avoid restarting the Secure Agent while tasks are being deployed.
  • If a task appears to be hung in the Deploying state, restart the Secure Agent. The associated job instance acquires the status of Failed. You can undeploy it and then deploy it again.

0 COMMENTS

We’d like to hear from you!