Planning worksheet¶
Use this worksheet to collect the values you need before you install and set up SQDR: the connection details and users of each source database, the Stelo VM's settings, the destination user and the notification settings. Print it, or copy it, and fill in your values as you go through the setup path.
The examples are the usual or default values. Fill in only the tables for your source databases. Who needs each user, and the authority it needs, is explained in the Prepare the database section of the source's page under Databases.
Source database: Db2 for i¶
| Value | Example | Your value | Password | What it's for |
|---|---|---|---|---|
| Host name | myas400 |
|||
| DRDA port | 446 | |||
| Relational database (RDB) | MYRDB |
The DSPRDBDIRE command lists the RDB directory. |
||
| Installing user | QSECOFR |
A user with *SECOFR authority, which the SQDR Control Center uses to create the Capture Agent. |
||
| Agent user and schema | SQDR |
Created by the SQDR Control Center when it creates the Capture Agent, if it doesn't exist; needs no special authority. A library (schema) of the same name holds the agent's control tables and stored procedures. | ||
| Privileged owner | SQDRADM |
Created by the SQDR Control Center when it creates the Capture Agent, if it doesn't exist. Owns the journal reader service program; needs *SECADM authority. |
||
| Database administrator | Only if you bind the StarSQL packages yourself in another collection, with StarAdmin: a user with authority to bind SQL packages. The Add Capture Agent wizard binds them in the agent's library. Can be the installing user. | |||
| Source database user | SQDRUSER |
The user the Replicator Service (the SQDR source) connects with: it can select from the tables you replicate and run the stored procedures in the agent's library. Typically an existing user. |
See Db2 for i: Prepare the database.
Source database: Db2 for LUW¶
| Value | Example | Your value | Password | What it's for |
|---|---|---|---|---|
| Host name | myhost |
|||
| DRDA port | 50000 | |||
| Database | MYRDB |
db2 list database directory lists the databases. |
||
| Database user | db2admin, db2inst1 |
A user with SYSADM or DBADM authority. The SQDR Control Center uses it to create the agent's schema and its contents, and the agent uses it to read the database logs. | ||
| Agent schema | SQDR |
Created by the SQDR Control Center when it creates the Capture Agent, if it doesn't exist; holds the agent's control tables and stored procedures. | ||
| Database administrator | Only if you bind the StarSQL packages yourself in another collection, with StarAdmin: a user with authority to bind SQL packages. The Add Capture Agent wizard binds them. Can be the database user. | |||
| Source database user | SQDRUSER |
The user the Replicator Service connects with: it can select from the tables you replicate and run the stored procedures in the agent's schema. Typically an existing user. | ||
| Authentication | SERVER |
The database manager's AUTHENTICATION. If it isn't SERVER (for example SERVER_ENCRYPT), set the agent's udbAuthentication property to match. |
See Db2 for LUW: Prepare the database.
Source database: SQL Server¶
| Value | Example | Your value | Password | What it's for |
|---|---|---|---|---|
| Host name | myhost |
|||
| Port | 1433 | |||
| Database | MyDatabase |
|||
| SQL Server login | sa |
With SQL Server authentication: the login the Capture Agent uses. It can create tables and stored procedures in a new schema (such as SQDR) and turn on Change Tracking for the database and the tables you replicate, which may need administrative privileges. |
||
| Windows user for SQL Server | mydomain\myID |
With Windows authentication: the Windows user the Stelo Capture services run as, with the same authority as the SQL Server login above. | ||
| Source database user | SQDRUSER |
The user the Replicator Service connects with (a SQL Server login, or a Windows user with integrated security): it can select from the tables you replicate and run the stored procedures in the agent's schema. Typically an existing user. |
See SQL Server: Prepare the database.
Source database: Oracle¶
| Value | Example | Your value | Password | What it's for |
|---|---|---|---|---|
| Host name | myhost |
|||
| Port | 1521 | |||
| Database | MYDB |
The SID or service name. | ||
| Pluggable database (PDB) | For a multitenant container database: the pluggable database. | |||
| Installing user | SYSTEM |
A user that can create users and grant them authority. The SQDR Control Center uses it to create the Capture Agent. | ||
| Agent user and schema | SQDR, C##SQDR |
Created by the SQDR Control Center when it creates the Capture Agent, if it doesn't exist. The schema of the same name holds the agent's control tables and stored procedures. | ||
| Source database user | SQDRUSER |
The user the Replicator Service connects with: it can select from the tables you replicate and run the stored procedures in the agent's schema. Typically an existing user. |
See Oracle: Prepare the database.
Source database: Informix¶
| Value | Example | Your value | Password | What it's for |
|---|---|---|---|---|
| Host name | myhost |
|||
| Ports | 9088, 9089 | The Informix port and the DRDA port. The Capture Agent connects to the Informix port; the Replicator Service uses either, depending on its ODBC driver. | ||
| Database | mydatabase |
To list the databases, run SELECT name FROM sysmaster:sysdatabases;, or use dbaccess or OpenAdmin Tool. |
||
| Database user | informix |
A user with DBA authority. The SQDR Control Center uses it to create the agent's schema and its contents, and the agent uses it to read the database logs. | ||
| Agent schema | sqdr |
Created by the SQDR Control Center when it creates the Capture Agent, if it doesn't exist; holds the agent's control tables and stored procedures. | ||
| Source database user | sqdruser |
The user the Replicator Service connects with: it can select from the tables you replicate and run the stored procedures in the agent's schema. Typically an existing user. |
See Informix: Prepare the database.
Source database: MySQL, MariaDB or Aurora¶
| Value | Example | Your value | Password | What it's for |
|---|---|---|---|---|
| Host name | myhost |
|||
| Port | 3306 | |||
| Agent user | SQDR |
Create it before you create the Capture Agent, with the privileges in Prepare the database. | ||
| Agent database (schema) | SQDR |
Created by the SQDR Control Center when it creates the Capture Agent, if it doesn't exist; holds the agent's control tables. | ||
| Source database user | sqdruser |
The user the Replicator Service connects with: it can select from the tables you replicate and from the agent's control tables. Typically an existing user. |
See MySQL and MariaDB: Prepare the database.
Source database: PostgreSQL¶
| Value | Example | Your value | Password | What it's for |
|---|---|---|---|---|
| Host name | myhost |
|||
| Port | 5432 | |||
| Agent user | sqdr |
Create it before you create the Capture Agent, with the privileges in Prepare the database. | ||
| Schema | sqdr |
Created by the SQDR Control Center when it creates the Capture Agent, if it doesn't exist; holds the agent's control tables. Its name is also used for the publication (in the database) and the replication slot (in the instance). | ||
| Source database user | sqdruser |
The user the Replicator Service connects with: it can select from the tables you replicate and from the agent's control tables. Typically an existing user. |
See PostgreSQL: Prepare the database.
The Stelo VM¶
The server that runs SQDR (see The Stelo VM). On Docker, see Install on Docker instead.
| Value | Example | Your value | Password | What it's for |
|---|---|---|---|---|
| Installing user | A local or domain Windows user that can sign in to the server, install software, create local users and manage services. | |||
| Db2 service user | db2admin |
The account the Db2 for LUW services run as, chosen when you install Db2: the Local System account, or a new user such as db2admin. |
||
| Db2 user | sqdr |
The Windows user (local or domain) Stelo Capture connects to Db2 with: the control database SQDRC and the staging databases. Create it before you install Stelo Capture, and enter it in the installer. You also sign in to the SQDR Control Center with it, and the Replicator Service connects to SQDRC with it. See Install Db2 for LUW and SQDR Plus Service Parameters. | ||
| SQDR Control Center port | 8080 | |||
| SQDR Control Center SSL port | 8443 | |||
| Location of Db2 databases | D: |
The drive for SQDRC and the staging databases, asked by the installer. Default: the drive Db2 is installed on. See DB2 LUW Parameters. | ||
| Location of Db2 logs | E: |
The drive for the databases' logs, asked by the installer. Default: the drive Db2 is installed on. | ||
| SQL Server administrator | sa |
Only with a SQL Server control database instead of SQDRC: a login with the sysadmin role, or Windows administrator rights to install SQL Server. See Control database. |
Destination database¶
| Value | Example | Your value | Password | What it's for |
|---|---|---|---|---|
| Destination database user | The user the Replicator Service connects with: it can create tables in the destination database and write to them. See the Prepare the database section of your destination's page under Destinations. |
Logging and notifications¶
| Value | Example | Your value |
|---|---|---|
| Capture Agent Log Level | INFO |
|
| Email Notification Level | SEVERE |
|
| SMTP server | mail.example.com |
|
| From | sqdrplus@example.com |
|
| To | sqdradmin@example.com |
See Email notifications and logLevel.
Related¶
- The setup path
- Requirements and Ports, for the firewall rules