Configure IBM DB2 as a Replication Destination

Using CData Sync, you can replicate DataRobot data to IBM DB2. To add a replication destination, navigate to the Connections tab.

Click Add Connection.

Select IBM DB2 as a destination.

Enter the necessary connection properties. To connect to IBM DB2, set the following:

Server: The address or host name of the server followed by the port.

Database: The name of the database.

UID: The username provided for authentication with the DB2 database.

PWD: The password provided for authentication to the database.

Click Test Connection to ensure that the connection is configured properly.

Click Save Changes.

Configure the DataRobot Connection

You can configure a connection to DataRobot from the Connections tab. To add a connection to your DataRobot account, navigate to the Connections tab.

Click Add Connection.

Select a source (DataRobot).

Configure the connection properties.

To connect to DataRobot, the following connection properties are required: User, Password, and PredictionInstance. DataRobotKey may also be required depending on your type of DataRobot predictions instance. If using the Predictions API, DataFile is required. The CSV DataFile should include a header row as the first row of the datafile. APIKey is not required, but can be supplied. If not supplied, the driver will handle obtaining an APIKey.

User, DataRobotKey, and APIKey are the credentials for the DataRobot account.

ProjectID, DataFile, and ModelId are the parameters for the project, dataset, and model type.

Click Connect to ensure that the connection is configured properly.

Click Save Changes.

Configure Replication Queries

CData Sync enables you to control replication with a point-and-click interface and with SQL queries. For each replication you wish to configure, navigate to the Jobs tab and click Add Job. Select the Source and Destination for your replication.

Replicate Entire Tables

To replicate an entire table, click Add Tables in the Tables section, choose the table(s) you wish to replicate, and click Add Selected Tables.

Customize Your Replication

You can use the Transform feature to customize your replication. The Transform feature allows you to specify which columns to replicate, rename the columns at the destination, and even perform operations on the source data before replicating. To customize your replication, click the Transform button in the Tables section and customize the replication.

Schedule Your Replication

In the Schedule section, you can schedule a job to run automatically, configuring the job to run after specified intervals ranging from once every 15 minutes to once every month.

Once you have configured the replication job, click Save Changes. You can configure any number of jobs to manage the replication of your DataRobot data to IBM DB2.