Skip to content

The setup path

From a new server to the first changes reaching the destination. Setting up usually involves several people (one person can be several): the source database administrator, the destination database administrator, and whoever installs and runs SQDR.

One guide for your databases

Build my setup guide puts these steps together with the sections for your platform, source databases and destinations, in one page you can print or save as a PDF.

What you set up

A typical setup replicates some tables incrementally (copied once, then kept in step change by change) and others as snapshots (copied in full on demand or on a schedule). Incremental replication starts at the source database:

  1. A Capture Agent (Stelo Capture) captures the changes on the source database and stages them.
  2. A source and a destination in the Data Replicator Manager (SQDR) connect to the two databases. The source points at the Capture Agent.
  3. An incremental group and its subscriptions, one per table, take a full copy of each table (the baseline) and then apply the captured changes.

Snapshot replication needs no Capture Agent, except for destinations that Stelo Capture writes to through an Apply extension, such as Snowflake (see your destination's page).

This path sets up SQDR on one server, the Stelo VM.

1. Plan and check the requirements

Choose Windows or Docker (see What you install where), check the requirements, and plan for the license keys. The planning worksheet helps you collect the values you'll need.

2. Prepare the Stelo VM

Create the server, sized and with the antivirus exclusions as in Server sizing (on Docker, see Prepare the host), and open the ports in Network for Stelo Capture and SQDR and the rules your destination needs on this server (see its page under Databases).

3. Prepare the source database

See the Prepare the database section of your source's page under Databases: for example journaling on Db2 for i, or supplemental logging on Oracle.

4. Prepare the destination database

Create the database or schema SQDR replicates into, and a user that can create tables and write to them: see the Prepare the database section of your destination's page under Destinations.

5. Install SQDR

6. Add a Capture Agent

Sign in to the SQDR Control Center, click Add Capture Agent and complete the wizard for your source database (see Add Capture Agent wizard and the page for your database). If the agent requires it (Oracle agents do), publish the tables. Start the agent and check it (see the Check that capture is running section of the page for your database); the first start can take several minutes.

7. Create the source and the destination

In the Data Replicator Manager, create a source for the database the Capture Agent captures from, and check that Allow Incremental Replication from this Source is ticked and Capture Agent Schema is the agent's control schema (see Incremental Replication). Then create a destination, and click Verify to test each connection (see Testing the connection).

8. Create the groups and subscriptions

9. Check that it's replicating

10. Set up email notifications

So that you hear about a failed run, a paused group or a failing Capture Agent without watching the screens:

  • Replicator Service: set how it sends email and which events it emails, in the Data Replicator Manager's Service Settings (see Replicator Service).
  • Capture Agents: set each agent's Email Notification Level. By default an agent uses the Replicator Service's email settings (see Capture Agents).