You need to perform these preliminary tasks to prepare for replication:
Important! The first time you implement a replication scheme, use test databases. Do not configure Ingres Replicator on production tables before verifying the validity of your scheme. Propagation path configuration errors can result in lost data.
When creating database objects in an Ingres Replicator environment, be aware of the following restrictions:
Note: If you plan to replicate into a gateway database, limit the table and column name lengths to the OpenSQL-recommended standard of 18 characters.
Ingres Replicator cannot replicate:
The DBA responsible for Ingres Replicator operations needs the trace privilege.
If you want to replicate tables owned by users other than the DBA, the DBA must be granted privileges for select, insert, update, and delete operations with the grant option at all Full Peer and Protected Read-only targets.
The DBA of each database that contains a full peer or protected read-only CDDS must have the security privilege or be granted database administrator privileges in all other full peer or protected read-only targets within the replication system.
If the DBAs of the source and target databases are different, before a Replicator Server is started, the ingrep role must be created in the iidbdb database of every installation that has a database participating in the replication scheme and that contains a full peer or protected read-only CDDS. For more information on creating a role, see the SQL Reference Guide.
Installations running Ingres must also grant the ingrep role to the DBA by executing a grant statement in the iidbdb, as follows:
grant ingrep to public
or
grant ingrep to user replicator_dba
where:
Is the database administrator for Replicator.
You must have Ingres Net installed on every machine in your replication scheme. Ingres Replicator uses Ingres Net to communicate between databases on different installations and different machines. Each database that is in a different database installation must have an Ingres Net entry. For detailed instructions on installing Ingres Net and creating connection data entries, see the Connectivity Guide.
Make a note of the Ingres Net virtual node name, which you need when you fill out the Database Worksheet.
Ingres Net allows you to control authorization to databases. For a discussion on how Ingres Net ensures security on your system, see Security for Replicator.