Enabling Replication on an existing instance

This page describes how to enable Replication on an existing Cloud Data Fusion instance.

Before you begin

If your instance uses Cloud Data Fusion version 6.2.3, upgrade your instance to 6.3.0 or above:

  1. Go to the Instances page in the Google Cloud Console and select the instance.

    Go to the Instances page

  2. Click Upgrade > version 6.3.0 or higher > Upgrade.

For more information, see Upgrading instances and pipelines.

Enable replication

After your upgrade to version 6.3.0 or higher is complete, follow these steps:

  1. Open a terminal.
  2. Enable the replication accelerator in your instance by running this command:

    curl -H "Authorization: Bearer $(gcloud auth print-access-token)" \
    -H "Content-Type: application/json" \
    https://datafusion.googleapis.com/v1/projects/PROJECT-NAME/locations/LOCATION/instances/INSTANCE-NAME  -X PATCH -d '{ "accelerators":[{"accelerator_type":"CDC", "state":"ENABLED"}]} '
    

    This sample command shows how to include labels, Google Cloud's operations suite settings, and options that are already applied to an instance:

    curl -H "Authorization: Bearer $(gcloud auth print-access-token)" \
    -H "Content-Type: application/json" \
    https://datafusion.googleapis.com/v1/projects/PROJECT-NAME/locations/LOCATION/instances/INSTANCE-NAME  -X PATCH -d '{ "labels":{"key1":"value1","key2":"val2"} ,"options":{"enable.unrecoverable.reset":"true"}, "enable_stackdriver_monitoring":"true", "enable_stackdriver_logging":"true"}
    

    You can verify the change was successful by clicking System Admin. Delta Assessor appears in the list of services.

  3. Restart the instance using the restart() method.

    The Replication tile appears on the Cloud Data Fusion home page.

  4. Click System Admin to check the status of the Delta Assessor service. When the status is green, you can create Replication jobs.

What's next