2. Using Ingres Commands : repcfg Command—Configure Replicator
 
Share this page                  
repcfg Command—Configure Replicator
The repcfg command lets you configure Replicator installations from the command line (instead of using Replicator Manager or Visual DBA).
The repcfg command has the following format:
repcfg dbname obj_type action [-uusername] [-q] object {object} [-help]
dbname
Specifies the name of the database.
obj_type
Specifies the object type: cdds or table. Both arguments can be abbreviated to the initial character and are case-sensitive.
action
Specifies the action to be performed:
activate
Activates the specified object.
deactivate
Deactivates the specified object.
createkeys
Creates replicated transaction keys for every row in the base table and populates the shadow table. It can also populate the input queue when used with the -q flag. You must use the option if you install Replicator on an existing database that contains data.
These arguments can be abbreviated to the initial character and are case-sensitive.
-q
Populates the shadow table and the input queue. This option is used only when the action parameter is createkeys. Use this option if your databases are not synchronized; the altered rows are placed in the input queue for reconciliation or distribution. This option also must be used if the table is horizontally partitioned.
-uusername
Specifies the effective user for the session.
object
Specifies the object to configure. The object can be a CDDS number or table number.
Note:  No more than 100 objects can be specified. This limit can be raised by modifying the utexe.def file. For more information, see the Database Administrator Guide.