Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Problems with multimaster replication

626711Mar 5 2008 — edited Mar 6 2008
I'm trying to create a multimaster replication using two PCs. In both of these PCs Oracle Enterprise Manager 11g is installed.

Cause of my lack of experience in replication, I'm following the steps given in this link:

http://download.oracle.com/docs/cd/B10500_01/server.920/a96568/toc.htm

I'm not interested in materialized views, so I'm skipping steps about them.

Everything seems to be right:

- Create repadmin user
- Grant privileges
- Register propagator and receiver
- Schedule purge
- Creation of public and private links
(These steps were given in both of the nodes)

Only in the first node, following steps were given:

- Creation of master group
- Adition of objects to this master group

The error was found when I tried to add aditional master sites. As documentation says, master group definition implies the node in which the group is defined becomes master definition site by default. To add a new master site, I'm using this code:


BEGIN
DBMS_REPCAT.ADD_MASTER_DATABASE (
gname => 'hr_repg',
master => 'orc2',
use_existing_objects => TRUE,
copy_rows => FALSE,
propagation_mode => 'ASYNCHRONOUS');
END;

In documentation in not clear where this code should be executed and which user have to do it. I've tried every possible combination site/user: Two sites and user system/repadmin, getting an error in every case.

In which site should I execute this code? (site in which the master group was created or site to be added)

Which user has to execute the procedure call? (system/repadmin)

Do I have to give a previous step to this code execution?

Depending where/who executes this code, I get different error codes:

repadmin / first site: ORA-23375
repadmin / second site: ORA-23312
system / first site: ORA-23375
system / second site: ORA-23312

Thanks in advance

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Apr 3 2008
Added on Mar 5 2008
4 comments
362 views