Previous Topic

Next Topic

repdbcfg Command—Configure Multiple Mobile Databases

The repdbcfg command allows you to configure multiple Ingres mobile databases simultaneously from the operating system prompt of the host machine to which Ingres Replicator on mobile Replicator will connect.

Note: In Full Peer situations, the paths created by repdbcfg will not be sufficient to permit all changes from each mobile database to be replicated to all other mobile databases. For more information, see the Replicator User Guide.

The repdbcfg command has the following format:

repdbcfg [vnode::]dbname filename [-udba_name]

The input file should have the following format:

user_name [db_no] [dbname] [cdds_no] [target_type]

where:

Previous Topic

Next Topic

repdbcfg Examples

  1. In this example, repdbcfg is invoked against an input file containing 26 user names:

    albert

    barbara

    charlie

    zoe

    The repdbcfg utility defines 26 new full peer mobile databases, numbered 101 through 126. Connection names are in the form "mobile::charlie." Data propagation paths are added for CDDS 50 to and from the local database and each new mobile database. If the local database number is 5, the first four paths are 5-5-101, 101-101-5, 5-5-102, and 102-102-5.

  2. In this example, the repdbcfg uses the input file:

    albert 201 albert 3 FP

    barbara

    charlie 301 charlie 4 PR

    daniel

    The repdbcfg utility defines four new mobile databases numbered 201, 202, 301, and 302. The first two are full peer and each has two data propagation paths for CDDS 3. The other two databases are protected read-only and each has one propagation path for CDDS 4.


© 2007 Ingres Corporation. All rights reserved.