This guide outlines the steps required to migrate existing projects when upgrading from versions earlier than Connect CDC 6.1.00.00 and Connect Hub 1.16.0. Projects created on or upgraded from these versions do not require migration.
Prerequisites
Before beginning the migration, ensure that the
dynamic-runtime-manager service is running on your agent.
Run the following command:
./discli agent status | grep 'dynamic-runtime-manager'
If the service is not running, make sure that you are on the latest operator version (follow operator update help section).
After ensuring the operator is on the latest version, run the following command to
update the dynamic-runtime-manager certificates:
kubectl exec -it -n precisely-agent-operator-ns <operator_pod> -- sh -c '/home/scripts/ensure_dynamic_runtime_manager_certs.sh'
You can obtain the operator pod name using:
kubectl get pods –n precisely-agent-operator-ns
connect-hub– Monitors replication activityconnect-cdc– Handles continuous replicationcloud-applier– Applies data to cloud targetssqdata-management– Supports mainframe replication
Service updates
Before proceeding with project migration:
- Upgrade
connect-cdcandconnect-hubto the latest supported versions by referring to the upgrade section.
If your environment includes BigQuery targets, configure the BigQuery region before proceeding (see Setting BigQuery region below).
Reset resources requests for tuned services (if applicable)
If you have previously applied resource tuning to the connect-cdc or cloud-applier pods, reset the Kubernetes requests values to their defaults before migrating projects. This ensures migrated projects can reserve the required resources.
For connect-cdc
Edit the StatefulSet using the appropriate command for your installation.
Agents installed in June 2026 or later
/usr/local/bin/k3s kubectl edit statefulset connect-cdc
Agents installed between February and June 2026
/usr/local/bin/k3s kubectl edit statefulset -n precisely-connect-cdc-ns connect-cdc
Agents installed before February 2026
sudo KUBECONFIG=/home/k3s/.kube/k3s.yaml /usr/local/bin/k3s kubectl edit statefulset -n precisely-connect-cdc-ns connect-cdc
In the resources section, change only the requests values back to their defaults.
requests:
cpu: 50m
memory: 500Mi
Do not modify any custom limits values.
For cloud-applier
Edit the StatefulSet using the appropriate command for your installation.
Agents installed in June 2026 or later
/usr/local/bin/k3s kubectl edit statefulset connect-cloud-applier
Agents installed between February and June 2026
/usr/local/bin/k3s kubectl edit statefulset -n precisely-cloud-applier-ns connect-cloud-applier
Agents installed before February 2026
sudo KUBECONFIG=/home/k3s/.kube/k3s.yaml /usr/local/bin/k3s kubectl edit statefulset -n precisely-cloud-applier-ns connect-cloud-applier
In the resources section, change only the requests values back to their defaults.
requests:
cpu: 100m
memory: 2Mi
Do not modify any custom limits values.
Project migration procedure
Perform the following steps for each project labeled for migration:
- Log in to your workspace.
- Open the target project.
- Stop LogReaders (if applicable):
- Select all pipelines.
- Open the options menu (⋮) and click Stop All LogReaders.
- Confirm the action.
- Allow pipeline backlogs to drain completely.
- Stop pipelines:
- For cloud targets (for example, BigQuery or Snowflake): Wait an additional duration equivalent to the pipeline batch interval before stopping pipelines.
- For non-cloud targets: Stop pipelines immediately.
- Verify backlog clearance (cloud targets only):
- Follow the backlog verification steps in the next section.
- Stop all pipelines:
- Select all pipelines and click Stop.
- Confirm the action when prompted.
- Stop the project.
- Initiate migration:
- Click Migrate at the top of the project page.
- Select Apply to begin migration.
Verifying Cloud Applier Kafka backlog
To ensure that all data has been processed before migration, verify the Kafka backlog for Cloud Applier pipelines.
- Download the
cloud_applier_backlog.shscript to your agent VM. Click here to get the script. - Make the script executable:
chmod +x cloud_applier_backlog.sh - Execute the script:
./cloud_applier_backlog.sh
The script outputs a ranked summary of Kafka consumer lag, sorted by highest backlog.
Filtering results
To check a specific project:
./cloud_applier_backlog.sh | grep <project_name>
- If the project does not appear, there is no backlog.
Configure the BigQuery dataset region
If your environment uses BigQuery targets, configure the BigQuery dataset region before migrating projects. For instructions, see Configure BigQuery region.