Replication DEAD_LOCK
I am using BDB 4.6.21 . I am using the default RepMgr class in my program.
Below are some problems that we faced in BDB replications
1. The slaves seemed to have gone into a DEADLOCK while retrieving data from the Db. Although the db_deadlock daemon killed the locker and things worked fine later. Can anyone tell me why this happens? Is there some thing that i could have over looked in my program?
2. When the above scenario occured the replications stopped completly, when we restarted the slaves the replications didnt seem to resume it threw a error "redundant incoming connections are blocked" and the master side it show EOF connections from the slaves. Could this be because of a broken pipe since i had to kill the slave forcefully?
Thanks
Sandeep
Version 4.6.21 had a bug where in some configurations it could incorrectly reject what it thought was a redundant connection. This bug has been fixed in version 4.7. Is it possible for you to use 4.7?
Alan Bram
Oracle
Similar Messages
-
Error while creating MV replication group object
Hi,
I am getting error while creating replication group object. I tried to create using OEM and SQLPlus
OEM error
This error while creating M.V. rep. group object
There is a table or view named SCOTT.EMP.
It must be dropped before a materialized view can be created.
In SQLPLUS
SQL> CONNECT MVIEWADMIN/MVIEWADMIN@SWEET
Connected.
SQL>
SQL> BEGIN
2 DBMS_REPCAT.CREATE_MVIEW_REPOBJECT (
3 gname => 'SCOTT',
4 sname => 'KARTHIK',
5 oname => 'emp_mv',
6 type => 'SNAPSHOT',
7 min_communication => TRUE);
8 END;
9 /
BEGIN
ERROR at line 1:
ORA-23306: schema KARTHIK does not exist
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 2840
ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 773
ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 5570
ORA-06512: at "SYS.DBMS_REPCAT_SNA", line 82
ORA-06512: at "SYS.DBMS_REPCAT", line 1332
ORA-06512: at line 2
Please not already I have created KARTHIK schema.Arthik,
I think I know what may have happened.
As I can see you are trying to create support for an updateable materialized view.
You have to make sure the name of the schema that owns the materialized view is the same as the schema owner of the master table (at master site).
From the code you have shown, I bet the owner of table EMP is SCOTT.
From the other hand, you want to create materialized view EMP_MV under schema KARTHIK that refers to table SCOTT.EMP at master site.
According to the documentation, the schema name used in DBMS_REPCAT.CREATE_MVIEW_REPOBJECT must be same as the schema that owns the master table.
Please check the documentation at the link below
http://download.oracle.com/docs/cd/B19306_01/server.102/b14227/rarrcatpac.htm#i109228
I tried to reproduce your example in my environment, and I got exactly the same error which actually confirms my assumption that the reason for the error is the fact that you tried to create the materialized view in a schema with different name than the one where master table exists.
I'll skip some of the steps that I used to create the replication environment.
I have two databases, DB1.world and DB2.world
On DB2.world I will generate replication support for table EMP which belongs to user SCOTT
SQL> conn scott/*****@DB2.world
Connected.
SQL>create materialized view log on EMP with primary key;
Materialized view log created.
SQL>
SQL>conn repadmin/*****@DB2.world
Connected.
SQL>BEGIN
2 DBMS_REPCAT.CREATE_MASTER_REPGROUP(
3 gname => 'GROUPA',
4 qualifier => '',
5 group_comment => '');
6* END;
PL/SQL procedure successfully completed.
SQL>BEGIN
2 DBMS_REPCAT.CREATE_MASTER_REPOBJECT(
3 gname => 'GROUPA',
4 type => 'TABLE',
5 oname => 'EMP',
6 sname => 'SCOTT',
7 copy_rows => TRUE,
8 use_existing_object => TRUE);
9* END;
10 /
PL/SQL procedure successfully completed.
SQL> BEGIN
2 DBMS_REPCAT.GENERATE_REPLICATION_SUPPORT(
3 sname => 'SCOTT',
4 oname => 'EMP',
5 type => 'TABLE',
6 min_communication => TRUE);
7 END;
8 /
PL/SQL procedure successfully completed.
SQL>execute DBMS_REPCAT.RESUME_MASTER_ACTIVITY(gname => 'GROUPA');
PL/SQL procedure successfully completed.
SQL> select status from dba_repgroup;
STATUS
NORMAL Now let's create updateable materialized view at DB1. Before that I want to let you know that I created one sample in DB1 user named MYUSER. MVIEWADMIN is Materialized View administrator.
SQL>conn mviewadmin/****@DB1.world
Connected.
SQL> BEGIN
2 DBMS_REFRESH.MAKE(
3 name => 'MVIEWADMIN.MV_REFRESH_GROUPA',
4 list => '',
5 next_date => SYSDATE,
6 interval => '/*1:Hr*/ sysdate + 1/24',
7 push_deferred_rpc => TRUE,
8 refresh_after_errors => TRUE,
9 parallelism => 1);
10 END;
11 /
PL/SQL procedure successfully completed.
SQL> BEGIN
3 DBMS_REPCAT.CREATE_SNAPSHOT_REPGROUP(
5 gname => 'GROUPA',
7 master => 'DB2.wolrd',
9 propagation_mode => 'ASYNCHRONOUS');
11 END;
12 /
PL/SQL procedure successfully completed.
SQL>conn myuser/*****@DB1.world
Connected.
SQL>CREATE MATERIALIZED VIEW MYUSER.EMP_MV
2 REFRESH FAST
3 FOR UPDATE
4 AS SELECT EMPNO, ENAME, JOB, MGR, SAL, COMM, DEPTNO, HIREDATE
5* FROM [email protected];
Materialized view created.
SQL>conn mviewadmin/******@DB1.world
Connected.
SQL> BEGIN
2 DBMS_REFRESH.ADD(
3 name => 'MVIEWADMIN.MV_REFRESH_GROUPA',
4 list => 'MYUSER.EMP_MV',
5 lax => TRUE);
6 END;
7 /
PL/SQL procedure successfully completed.And now lets run CREATE_MVIEW_REPOBJECT.
SQL> BEGIN
2 DBMS_REPCAT.CREATE_MVIEW_REPOBJECT(
3 gname => 'GROUPA',
4 sname => 'MYUSER',
5 oname => 'EMP_MV',
6 type => 'SNAPSHOT',
7 min_communication => TRUE);
8 END;
9 /
BEGIN
ERROR at line 1:
ORA-23306: schema MYUSER does not exist
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 2840
ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 773
ORA-06512: at "SYS.DBMS_REPCAT_SNA_UTL", line 5570
ORA-06512: at "SYS.DBMS_REPCAT_SNA", line 82
ORA-06512: at "SYS.DBMS_REPCAT", line 1332
ORA-06512: at line 3 I reproduced exactly the same error message.
So the problem is clearly in the schema name that owns the materialized view.
Now lets see if what would happen if I create the MV under schema SCOTT which has the same name as the schema on DB2.world where the master table exists.
SQL>conn scott/****@DB1.world
Connected.
SQL>CREATE MATERIALIZED VIEW SCOTT.EMP_MV
2 REFRESH FAST
3 FOR UPDATE
4 AS SELECT EMPNO, ENAME, JOB, MGR, SAL, COMM, DEPTNO, HIREDATE
5* FROM [email protected];
Materialized view created.
SQL>conn mviewadmin/******@DB1.world
Connected.
SQL> BEGIN
2 DBMS_REFRESH.ADD(
3 name => 'MVIEWADMIN.MV_REFRESH_GROUPA',
4 list => 'SCOTT.EMP_MV',
5 lax => TRUE);
6 END;
7 /
PL/SQL procedure successfully completed.And now lets run CREATE_MVIEW_REPOBJECT.
SQL> BEGIN
2 DBMS_REPCAT.CREATE_MVIEW_REPOBJECT(
3 gname => 'GROUPA',
4 sname => 'SCOTT',
5 oname => 'EMP_MV',
6 type => 'SNAPSHOT',
7 min_communication => TRUE);
8 END;
PL/SQL procedure successfully completed.As you can see everything works fine when the name of the schema owner of the MV at DB1.world is the same as the schema owner of the master table at DB2.world .
-- Mihajlo
Message was edited by:
tekicora -
Replication of a BP in CRM as a FI Vendor in ECC for Grants Management
Hi,
We are implenting SAP CRM 7 with SAP ECC for Grants Management, integrated with FI AP (we're not using PSCD).
For BP replication we followed the next steps, however something looks it is incorrect because my BDOC still shows errors:
The middleware settings had been completed between the CRM and the ECC system.
- Site, Suscription and replication from CRM to SAP ECC are in placed
-The next replication object are activated:
-All Business Partners (MESG) (BUPA_MAIN)
-All Busines Partner Relationships (MESG) (BUPA_REL)
-All Business Transactions (MESG)
-Grantor Program Management
Also we implemented the next steps:
1) Define the number ranges for BP groupings in CRM: This number range would be internal in CRM and External in ECC.
CRM (IMG) -> Customer Relationship Management -> Cross-Application Components -> SAP Business Partner -> Basic Settings ->
Number Ranges and Groupings
2) Since the BP would be replicated as a BP in ECC we define the same number ranges in ECC too:
ERP (IMG) -> Customer Relationship Management -> Cross-Application Components -> SAP Business Partner -> Basic Settings ->
Define Groupings and Assign Number Ranges
3) Activate the post-processing framework: (Business processes CVI_02 and CVI_04 in Component AP-MD)
ERP (IMG) -> Cross-Application Components -> General Application Functions ->Postprocessing Office -> Business Processes->
Activate Creation of Postprocessing Orders
4) Activate PPO Requests for Platform Objects in the Dialog:
ERP (IMG) -> Cross-Application Components -> Master Data Synchronization -> Synchronization Control -> Synchronization
Control -> Activate PPO Requests for Platform Objects in the Dialog
Edited by: Lyda Osorio on Oct 9, 2009 7:25 AMFor CRM I had the following FM activated:
BPOUT BUPA 100000 CRM_BUPA_OUTB_RENTED_ADDRESS X
BPOUT BUPA 200000 BUPA_MWX_BDOC_CREATE_MAIN X
BPOUT BUPA 300000 CRM_BUPA_OUTB_MARKETING_ATTR X
BPOUT BUPA 400000 VEND_MWX_CREATE_MAIN_BDOC X
BPOUT BUPA 1000000 BUPA_OUTBOUND_MAIN X
BPOUT BUPR 100000 BUPA_MWX_BDOC_CREATE_REL X
BPOUT BUPX 1000000 MDS_BUPA_OUTBOUND X
CLEAR BUPA 1000000 BUPA_OUTBOUND_CLEAR_FLAGS X
CRMIN BUAG 100000 CRM_BUAG_MWX_PROCESS_EXT_STRUC X
CRMIN BUPA 90100 CRM_BUPA_INBOUND_SET_BUAG_FLAG X
CRMIN BUPA 1000000 BUPA_INBOUND_MAIN_CENTRAL X
CRMIN BUPA 1100000 CRM_BUPA_INBOUND_MAIN_MD X
CRMIN BUPA 1200000 CRM_BUPA_BDOC_MAP_MAIN X
CRMIN BUPA 1400000 CRM_BUPA_KOREA_INBOUND_MAP X
CRMIN BUPA 2000000 ABA_FSBP_INBOUND_MAIN X
CRMIN BUPR 1000000 BUPA_INBOUND_REL_CENTRAL X
CRMIN BUPR 1100000 CRM_BUPA_INBOUND_REL_MD X
CRMIN BUPR 1200000 CRM_BUPA_BDOC_MAP_REL X
CRMOU BUAG 100000 CRM_BUAG_MWX_FILL_EXT_FROM_MEM X
CRMOU BUPA 1000000 BUPA_OUTBOUND_BPS_FILL_CENTRAL X
CRMOU BUPA 1200000 CRM_BUPA_OUTB_BPS_FILL_MD X
CRMOU BUPR 1000000 BUPA_OUTBOUND_BPR_FILL_CENTRAL X
CRMOU BUPR 1200000 CRM_BUPA_OUTB_BPR_FILL_MD X
CRMOU BUPR 1300000 CRM_BUPA_BDOC_BPR_FILL_DATA X
EXTR BUAG 100000 CRM_BUAG_MAIN_GET_ID_LIST X
MERGE BUPA 1000000 MERGE_BUPA_CENTRAL X
MERGE BUPA 2000000 MERGE_BUPA_FINSERV X
MERGE BUPR 1000000 MERGE_BUPR_CENTRAL X
PXYIN BUPA 1000000 BUPA_INBOUND X
R3AOU BUPA 100000 BUPA_MWX_BDOC_UP_CURRSTATE_SET X
XIIN BUPA 1000000 ABA_BUPA_MAP_PROXY_TO_DDIC X
XIIN BUPA 2000000 ABA_FSBP_MAP_PROXY_TO_DDIC X
XIIN BUPA 2100000 ABA_FSBP_MAP_PROXY_TO_DDIC_1 X
XIIN BUPR 1000000 ABA_BUPR_MAP_PROXY_TO_DDIC X
XIOUT BUPA 1000000 ABA_BUPA_MAP_DDIC_TO_PROXY X
XIOUT BUPR 1000000 ABA_BUPR_MAP_DDIC_TO_PROXY X -
ISE 1.2 CWA with Multiple PSNs - SessionID Replication / Session Expired
Hi all.
I have a (2) Policy Services Nodes (PSNs) in an ISE 1.2 deployment running patch 1. We are using Wireless MAB and CWA on 5760 Wireless LAN Controllers running v3.3.3.
We are hitting an issue wherein a client first passes MAB and then gets redirected to a CWA custom portal. The client then receives a Session Expired message. This seems to be related to the fact that CWA is technically a 2-stage authentication (MAB by the WLC and then CWA by the client). Specifically, it seems to happen when the WLC makes its MAB RADIUS access-request to PSN-1 and then the client comes in to PSN-2 to complete the CWA. This issue does not happen when only one PSN is in use and all authentication traffic (both MAB RADIUS and CWA) is directed at a single PSN.
Clients resolve the FQDN in the redirect URL using public DNS and a public DNS zone file (call it cwa-portal.example.com). cwa-portal.example.com has two A records for the two PSN nodes. DNS is responding to queries using DNS round-robin.
I have the PSNs configured in a Node Group for session information replication between PSNs, but this doesn't seem to make a difference in behavior.
So I ask:
What is the recommended architecture for CWA when using more than one PSN? It seems that you would need to keep the two authentication flows pinned together so that they both hit the same PSN when using more than one PSN in a deployment. A load balancer balancing on the SessionID string comes to mind (both the RADIUS MAB request and the CWA URL contain this unique per-client SessionID), but that seems terribly overbuilt for a seemingly simple problem. On the other hand, it also seems like using a Node Group setup should easily be able to replicate client SessionIDs to all nodes in the deployment so that this isn't an issue. I.e., if the WLC authenticates MAB on PSN-1, then PSN-1 should tell the Node Group about it such that when the client CWA's on PSN-2, PSN-2 doesn't respond with a Session Expired message.
Is there any Cisco documentation that talks about this?
Possibly related:
https://supportforums.cisco.com/discussion/12131531/ise-12-guest-access-session-expired
JustinTim,
Thanks for your reply and confirming my suspicion. Hopefully a future version of ISE will provide automated SessionID synchronization among PSNs so that front-end finagling in a multi-PSN environment won't be necessary.
For anyone else with this issue who for whatever reason can't implement a load balancer(s), I built an automated EEM applet running on a "watchdog" switch (3750 running 12.2(55)SEE9) using IPSLA tracking that senses when PSN1 is down and then
modifies an ASA to change its client-facing NAT statement for PSN1 to PSN2
modifies the primary and HA wireless LAN controllers to change its MAB RADIUS aaa server group to use PSN2
reverts the ASA and WLCs to using PSN1 when PSN1 is detected up and running again
The applet ensures the SessionID authentications stay "glued" together so that both WLCs and the client hit the same PSN for both stages of authentication. It's failover only, not a load balancing solution, but it meets our current project's need for an automated HA environment.
PM me if you want the code. I'm have a little too much going on ATM to sanitize and post it. :)
Justin -
MYSQL 55 to Oracle 11gr1 replication(oneway) - can not replicate
I have setup golden gate replication between mysql 55 and oracle 11gr1. While trying to setup the initial load, I do'nt see any data push to oracle from mysql.
What could be wrong in my setup.? has anyone tried this kind of setup? i see the the report for replicat and it says data is not replicated. while extract shows that 4 rows from table are taken for insert.Hi Stev
I am trying to do the initial load process
On source (MYSQL 55)
database (ggtest and table test)
table test has
TEST(COL1 INT)
manager is running on default port 7809
manager parameter file is defined with (PORT 7809)
There is initial load extract (EINI01) -->
ADD EXTRACT EINI01
param file
EXTRACT EINI01
SOURCEDB [email protected], USERID ggsdev, PASSWORD ggsdev
RMTHOST 192.168.75.116, MGRPORT 7809
RMPTTASK REPLICAT, GROUP RINI01
TABLE ggtest.TEST
On target oracle 11gr1 (11.1.0.6)
Database in archive log mode, with minimum supplemental logging.
replicat process
ADD REPLICAT RINI01
Parameter file for replicat
REPLICAT RINI01
USERID ggs_owner, PASSWORD ggs_owner ( added in target database)
ASSUMTARGETDEFS
SETENV (NLS_LANG="AMERICAN_AMERICA.WE8MSWIN1252")
MAP ggtest.TEST , TARGET GGTEST.TEST;
-- to start the initial load ( mysql side has 4 rows, oracle has no row )
on source, i ran the command
ggsci> start extract eini01
I can see on report, extract has picked 4 rows for insert, but on replicat side no replication done. No error reported in gserr.log and there was a communication between source side of extract with traget side manager and sunsequently repliacat on target was started by manager and stopped normally. but no rows replicated.
Between oracle-to-oracle there is no problem. But my actual project is to setup from mysql to oracle (one way replication).
let me know if you need any other info.
Thanks
rafey -
Snapshot replication slow during purge of master table
I have basic snapshot/materialized view replication of a big table (around 6 million rows).
The problem that I run into is that when I run a purge of the master table at the master site (delete dml), the snapshot refresh time becomes slower. After the purge the snapshot refresh time goes back to the normal time interval.
I had thought that the snapshot does a simple select so any exclusive lock on the table should not hinder the performance.
Has anyone seen this problem before and if so what has been the workaround?
The master site and the snapshot site both are 8.1.7.4 and are both unix tru64.
I don't know if this has any relevence but the master database is rule based while the snapshot site is cost based.
thanks in advanceHello Alan,
Your problem is, to know inside a table-trigger if the actual DML was caused
by a replication or a normal local DML.
One way (I'm practising) to solve (in Oracle 8.1.7) this is the following:
You can use in the trigger code the functions DBMS_SNAPSHOT.I_AM_A_REFRESH(),
DBMS_REPUTIL.REPLICATION_IS_ON() and DBMS_REPUTIL.FROM_REMOTE()
(For details see oracle documentation library)
For example: a trigger (before insert of each row) at the master side
on a table which is an updatable snapshot:
DECLARE
site_x VARCHAR2(128) := DBMS_REPUTIL.GLOBAL_NAME;
timestamp_x DATE;
value_time_diff NUMBER;
BEGIN
IF (NOT (DBMS_SNAPSHOT.I_AM_A_REFRESH) AND DBMS_REPUTIL.REPLICATION_IS_ON) THEN
IF NOT DBMS_REPUTIL.FROM_REMOTE THEN
IF inserting THEN
:new.info_text := 'Hello table; this entry was caused by local DML';
END IF;
END IF;
END IF;
END;
By the way: I've got here at work nearly the same configuration, now in production since a year.
Kind regards
Steffen Rvckel -
Reg: Replication of org from client A To client B
Hi
I have created one organization(after download from r/3) in client let us take CLIENT A.
I want to see the same organization which i had created in client A in CLIENT B
what should i do for this and what is the replication procedure for this?
Can anybody clarify this by step by step.
Thanks & Regards
ShankarHi Gouri,
TO get the SAP note : 327908
go to <u><b>http://service.sap.com/notes</b></u>
and search the SAP note over thr.
Thanx
Saurabh -
Help needed for replication environment. atleast get me good URL links.
Hi friends,
Our database is having nearly 150 tables and 200 views, 10 database procedures, 5 database triggers, 5 DBMS_JOB, and 15 users are using. it is ORACLE 8i under win 2000 environemnt. daily 5000 new records are inserted into the database.
now i want to have a standby database, read and write complete replication of master database, in this following scenario.
all the clients are conneting uisng connect string "terminal", if any thing happens to the "terminal" computer, the users could be able able to connect using "terminal1" lets say this "terminal1" is the stand by database and it should be functional as original.
any body can give documentation, easy methods, or step by step documentation. we have access to metalink also. but failed to get easy methods to achieve this.
thanks in advanceis a very complicated thing you want to do: it is what Oracle call the Standby database or Dataguard - it's part of the Enterprise Edition, but I don't know whether Oracle charge extra for it. If you are not an experienced Oracle DBA (and, forgive me, but some of your other posts suggest you are not) you do not want to try doing this yourself. Pay Oracle's wergild and get their solution for this.
Replication is really not suitable for this sort of process as it doesn't function well in real-time; this means you cannot guarantee keeping the two databases usably up-to-date. That causes a problem later on when you need to switch to your back-up database. And again when your original database is back online. Plus replication is flaky and has performance costs (voice of experience).
Cheers, APC -
Message filtering in propagation process (stream replication environment)
Hi!
We have fine configured stream replication in star topology:
ORCL2 <=> ORCL1 <=> ORCL3
Where the ORCL1 is "headquarters" and there is no message flow between ORCL2 and ORCL3.
For some reason we want to filter messages in propagation processes, e.g. DML captured on ORCL1 should be replicated only to ORCL2 or only to ORCL3. There is one propagation process for each "satellite" database.
To solve this problem I have written function:
FUNCTION Replicate_Lcr (
p_lcr IN SYS.lcr$_row_record)
RETURN VARCHAR2 IS
which will be making a decision whether to pass the message (return 'Y') or not (return 'N').
But there is problem: rule is evaluated and function is executed (there is insert into 'stream_log_lcr' table) but value of the expression seems to be 'FALSE' and message (LCR) is not beeing sent to ORCL2 (or to ORCL3).
When I remove function 'Replicate_Lcr' from propagation rule condition then every message captured by capture process on ORCL1 reaches destination database (ORCL2 or ORCL3).
The second observation is that, if I run the same code on ORCL2 or ORCL3 then everything seems to be OK: there is insert into 'stream_log_lcr' table and DML captured on ORCL2 (or ORCL3) appears in ORCL1 ("headquarters").
I suppose that this could be problem with other version of database on "headquarters" (ORCL1) or configuration issues.
I will appreciate every suggestion.
Databases:
ORCL1: 64-bit Windows, ver. 10.2.0.4.0, Windows 2008 server
ORCL2: 32-bit Windows, ver. 10.2.0.1.0, Windows XP
ORCL3: 32-bit Windows, ver. 10.2.0.1.0, Windows XP
SQL code run on ORCL1:
CREATE TABLE stream_log_lcr (
data DATE NOT NULL,
msg SYS.lcr$_row_record NOT NULL
-- simplified, always return 'Y'
CREATE OR REPLACE FUNCTION Replicate_Lcr (
p_lcr IN SYS.lcr$_row_record)
RETURN VARCHAR2 IS
PRAGMA AUTONOMOUS_TRANSACTION;
BEGIN
IF p_lcr IS NOT NULL
THEN
INSERT INTO stream_log_lcr
VALUES (SYSDATE,
p_lcr);
COMMIT;
END IF;
RETURN 'Y';
END;
-- create propagation process with above function in rule condition
BEGIN
DBMS_STREAMS_ADM.add_schema_propagation_rules
(schema_name => 'data_schema',
streams_name => 'primary_to_secondary2',
source_queue_name => 'strmadmin.capture_primary',
destination_queue_name => 'strmadmin.from_primary@ORCL2',
include_dml => TRUE,
include_ddl => TRUE,
source_database => 'ORCL1',
and_condition => ' strmadmin.Replicate_Lcr(:dml) = ''Y'' ',
inclusion_rule => TRUE,
queue_to_queue => TRUE);
END;
-- check if function 'Replicate_Lcr' was evoked:
SELECT * FROM stream_log_lcr ORDER BY data;hi porzer,
In Propagation process ( source) also 0 errors. But in apply ( dest ) under statistics under server status is displaying as IDLE. And Coordinator status is APPLYING. In Capture (source) no error. In Applying ( dest ) no error. what else i can do please?
up to now what i did i am telling:
I had 2 databases had one table same table. one database i changed the mode to ARCHIVELOG mode. Another database is in NOARCHIVELOG mode only. In first database setup streams i run. And i run manually 2 .sql files and one .dat file like this :
SQL>@e:\oracle\product\10.2.0\client_2\sysman\report\OTEST_ADMIN_NON_OMS_SETUP.sql
SQL>host e:\oracle\product\10.2.0\client_2\sysman\report\OTEST_ADMIN_NON_OMS_exportimport.bat
SQL>@e:\oracle\product\10.2.0\client_2\sysman\report\OTEST_ADMIN_NON_OMS_startup.sql
Any thing else i can do? i didn't have metalink registration.i hope i am not boring you.
Thanks in advance. -
Merge Replication Error When Initialising subscription
I have a SQL server 2005 server with a merge publication of 6 articles all of which are tables which is also the distributor. I have two existing subscriptions one from a SQL 2005
Server and one from a SQL Server 2008 R2 Server both of which are working fine on this publication. I am trying to setup a third subscription to another SQL Server 2008 R2 server, the only difference with this server is that it is a named instance. I have
forced the port to 1433, and created an alias on the publisher connectivity is not an issue or at least i don't think so.
when I try to initialise the subscription from a new snapshot I get the below error;
Error: 14151, Severity: 18, State: 1.
Replication-Replication Merge Subsystem: agent failed. No subscription is on this publication or article.
I've changed the agent profile and turned on verbose logging and output the results to a file the snapshot delivery is failing on the below for the first table;
call sys.sp_MSsetup_identity_range (?,?,?,?,?,?,?,?)
I've checked the subscriber and the table does indeed get dropped and created, permissions / routes don't seem to be an issue. I've included some of the verbose logging output below.
2012-01-11 12:05:40.684 Microsoft SQL Server Merge Agent 9.00.3042.00
2012-01-11 12:05:40.700 Copyright (c) 2005 Microsoft Corporation
2012-01-11 12:05:40.716 Microsoft SQL Server Replication Agent: replmerg
2012-01-11 12:05:40.716
2012-01-11 12:05:40.731 The timestamps prepended to the output lines are expressed in terms of UTC time.
2012-01-11 12:05:40.747 User-specified agent parameter values:
-Publisher PubServerName
-PublisherDB UserDBName
-Publication MtoC_M
-Subscriber SubServerName
-SubscriberDB UserDBName
-Distributor PubServerName
-DistributorSecurityMode 1
-Continuous
-OutputVerboseLevel 4
-Output G:\CMcReplicationLogging\OUTPUT.TXT
-XJOBID 0x5FFBC73C3A4A494A9E10C369696B1C72
-XJOBNAME PubServerName-UserDBName-MtoC_M-SubServerName-29
-XSTEPID 2
-XSUBSYSTEM Merge
-XSERVER PubServerName
-XCMDLINE 0
-XCancelEventHandle 000008EC
-XParentProcessHandle 00000E9C
2012-01-11 12:05:40.841 Percent Complete: 0
2012-01-11 12:05:40.841 Connecting to Distributor 'PubServerName'
2012-01-11 12:05:40.856 Repl Agent Status: 3
2012-01-11 12:05:40.856 Connecting to OLE DB Distributor at datasource: 'PubServerName', location: '', catalog: '', providerstring: '' using provider 'SQLNCLI'
2012-01-11 12:05:42.137 OLE DB Distributor: PubServerName
DBMS: Microsoft SQL Server
Version: 09.00.3042
catalog name:
user name: dbo
API conformance: 0
SQL conformance: 0
transaction capable: 1
read only: F
identifier quote char: "
non_nullable_columns: 0
owner usage: 15
max table name len: 128
max column name len: 128
need long data len:
max columns in table: 1000
max columns in index: 16
max char literal len: 131072
max statement len: 131072
max row size: 131072
2012-01-11 12:05:42.137 OLE DB Distributor 'PubServerName': {call sp_MSgetversion }
2012-01-11 12:05:42.153 OLE DB Distributor 'PubServerName': {call sp_helpdistpublisher (N'PubServerName') }
2012-01-11 12:05:42.169 OLE DB Distributor 'PubServerName': {call sp_MShelp_repl_agent (N'PubServerName', N'UserDBName', N'MtoC_M', N'SubServerName', N'UserDBName', 1)}
2012-01-11 12:05:42.169 OLE DB Distributor 'PubServerName': select datasource, srvid from master..sysservers where upper(srvname) = upper(N'PubServerName')
2012-01-11 12:05:42.184 OLE DB Distributor 'PubServerName': {call sp_MShelp_merge_agentid (0,N'UserDBName',N'MtoC_M',null,N'UserDBName',90,N'SubServerName')}
2012-01-11 12:05:42.184 OLE DB Distributor 'PubServerName': {call sp_MShelp_profile (29, 4, N'')}
2012-01-11 12:05:42.184 Percent Complete: 0
2012-01-11 12:05:42.184 Connecting to OLE DB Publisher at datasource: 'PubServerName', location: '', catalog: 'UserDBName', providerstring: '' using provider 'SQLNCLI'
2012-01-11 12:05:42.200 Initializing
2012-01-11 12:05:42.200 Repl Agent Status: 1
2012-01-11 12:05:42.216 OLE DB Distributor 'PubServerName': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2012-01-11 12:05:42.216 Percent Complete: 0
2012-01-11 12:05:42.231 Connecting to Publisher 'PubServerName'
2012-01-11 12:05:42.231 Repl Agent Status: 3
2012-01-11 12:05:42.231 OLE DB Distributor 'PubServerName': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2012-01-11 12:05:43.153 OLE DB Publisher: PubServerName
DBMS: Microsoft SQL Server
Version: 09.00.3042
catalog name: UserDBName
user name: dbo
API conformance: 0
SQL conformance: 0
transaction capable: 1
read only: F
identifier quote char: "
non_nullable_columns: 0
owner usage: 15
max table name len: 128
max column name len: 128
need long data len:
max columns in table: 1000
max columns in index: 16
max char literal len: 131072
max statement len: 131072
max row size: 131072
2012-01-11 12:05:43.169 OLE DB Publisher 'PubServerName': set nocount on declare @dbname sysname select @dbname = db_name() declare @collation nvarchar(255) select @collation = convert(nvarchar(255), databasepropertyex(@dbname, N'COLLATION')) select collationproperty(@collation,
N'CODEPAGE') as 'CodePage', collationproperty(@collation, N'LCID') as 'LCID', collationproperty(@collation, N'COMPARISONSTYLE') as 'ComparisonStyle',cast(case when convert (int,databasepropertyex (@dbname,'comparisonstyle')) & 0x1 = 0x1 then 0 else 1 end
as bit) as DB_CaseSensitive,cast(case when convert (int,serverproperty ('comparisonstyle')) & 0x1 = 0x1 then 0 else 1 end as bit) as Server_CaseSensitive set nocount off
2012-01-11 12:05:43.169 OLE DB Publisher 'PubServerName': {call sp_MSgetversion }
2012-01-11 12:05:43.200 Connecting to OLE DB Publisher at datasource: 'PubServerName', location: '', catalog: 'UserDBName', providerstring: '' using provider 'SQLNCLI'
2012-01-11 12:05:44.137 OLE DB Publisher: PubServerName
DBMS: Microsoft SQL Server
Version: 09.00.3042
catalog name: UserDBName
user name: dbo
API conformance: 0
SQL conformance: 0
transaction capable: 1
read only: F
identifier quote char: "
non_nullable_columns: 0
owner usage: 15
max table name len: 128
max column name len: 128
need long data len:
max columns in table: 1000
max columns in index: 16
max char literal len: 131072
max statement len: 131072
max row size: 131072
2012-01-11 12:05:44.137 OLE DB Publisher 'PubServerName': {call sp_MSchecksnapshotstatus (N'MtoC_M')}
2012-01-11 12:05:44.153 OLE DB Publisher 'PubServerName': {call sp_helpmergepublication (N'MtoC_M')}
2012-01-11 12:05:44.153 OLE DB Publisher 'PubServerName': {call sys.sp_MSgetreplicainfo(?,?,?,?,?,?,?,90)}
2012-01-11 12:05:44.169 OLE DB Distributor 'PubServerName': {call sp_MShelp_repl_agent (N'PubServerName', N'UserDBName', N'MtoC_M', N'SubServerName', N'UserDBName', 1)}
2012-01-11 12:05:44.169 Connecting to OLE DB Subscriber at datasource: 'SubServerName', location: '', catalog: 'UserDBName', providerstring: '' using provider 'SQLNCLI'
2012-01-11 12:05:44.747 OLE DB Subscriber: SubServerName
DBMS: Microsoft SQL Server
Version: 10.50.1600
catalog name: UserDBName
user name: distributor_MtoC
API conformance: 0
SQL conformance: 0
transaction capable: 1
read only: F
identifier quote char: "
non_nullable_columns: 0
owner usage: 15
max table name len: 128
max column name len: 128
need long data len:
max columns in table: 1000
max columns in index: 16
max char literal len: 131072
max statement len: 131072
max row size: 131072
2012-01-11 12:05:45.122 OLE DB Subscriber 'SubServerName': {call sp_MSgetversion }
2012-01-11 12:05:45.216 OLE DB Subscriber 'SubServerName': {call sp_MSreplcheck_subscribe}
2012-01-11 12:05:45.309 OLE DB Subscriber 'SubServerName': set nocount on declare @dbname sysname select @dbname = db_name() declare @collation nvarchar(255) select @collation = convert(nvarchar(255), databasepropertyex(@dbname, N'COLLATION')) select collationproperty(@collation,
N'CODEPAGE') as 'CodePage', collationproperty(@collation, N'LCID') as 'LCID', collationproperty(@collation, N'COMPARISONSTYLE') as 'ComparisonStyle',cast(case when convert (int,databasepropertyex (@dbname,'comparisonstyle')) & 0x1 = 0x1 then 0 else 1 end
as bit) as DB_CaseSensitive,cast(case when convert (int,serverproperty ('comparisonstyle')) & 0x1 = 0x1 then 0 else 1 end as bit) as Server_CaseSensitive set nocount off
2012-01-11 12:05:45.419 Percent Complete: 0
2012-01-11 12:05:45.419 OLE DB Subscriber 'SubServerName': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2012-01-11 12:05:45.419 Connecting to Subscriber 'SubServerName'
2012-01-11 12:05:45.434 Repl Agent Status: 3
2012-01-11 12:05:45.434 OLE DB Distributor 'PubServerName': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2012-01-11 12:05:45.559 Percent Complete: 0
2012-01-11 12:05:45.559 OLE DB Subscriber 'SubServerName': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2012-01-11 12:05:45.559 Retrieving publication information
2012-01-11 12:05:45.575 Repl Agent Status: 3
2012-01-11 12:05:45.575 OLE DB Distributor 'PubServerName': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2012-01-11 12:05:45.653 OLE DB Subscriber 'SubServerName': {call sys.sp_MSmerge_upgrade_subscriber(1,?)}
2012-01-11 12:05:45.653 Percent Complete: 0
2012-01-11 12:05:45.669 Retrieving subscription information.
2012-01-11 12:05:45.669 Repl Agent Status: 3
2012-01-11 12:05:45.684 OLE DB Distributor 'PubServerName': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2012-01-11 12:05:45.763 OLE DB Publisher 'PubServerName': {call sys.sp_MSgetreplicainfo(?,?,?,?,?,?,?,90)}
2012-01-11 12:05:45.763 OLE DB Publisher 'PubServerName': {call sys.sp_MShelpmergearticles (?,9000000,?) }
2012-01-11 12:05:45.778 OLE DB Publisher 'PubServerName': {call sp_MSenumschemachange (?,?,9000000,?,0,1) }
2012-01-11 12:05:45.794 OLE DB Subscriber 'SubServerName': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2012-01-11 12:05:45.888 OLE DB Publisher 'PubServerName': {call sys.sp_MSallocate_new_identity_range (?,?,?,?,?,?,?,?,?,?,?)}
2012-01-11 12:05:45.888 Percent Complete: 0
2012-01-11 12:05:45.903 Applying the snapshot to the Subscriber
2012-01-11 12:05:45.903 OLE DB Publisher 'PubServerName': {call sys.sp_MSallocate_new_identity_range (?,?,?,?,?,?,?,?,?,?,?)}
2012-01-11 12:05:45.903 Repl Agent Status: 3
2012-01-11 12:05:45.919 OLE DB Publisher 'PubServerName': {call sys.sp_MSallocate_new_identity_range (?,?,?,?,?,?,?,?,?,?,?)}
2012-01-11 12:05:45.919 OLE DB Distributor 'PubServerName': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2012-01-11 12:05:45.919 OLE DB Publisher 'PubServerName': {call sys.sp_MSallocate_new_identity_range (?,?,?,?,?,?,?,?,?,?,?)}
2012-01-11 12:05:45.934 OLE DB Publisher 'PubServerName': {call sys.sp_MSallocate_new_identity_range (?,?,?,?,?,?,?,?,?,?,?)}
2012-01-11 12:05:45.950 OLE DB Publisher 'PubServerName': {call sys.sp_MSallocate_new_identity_range (?,?,?,?,?,?,?,?,?,?,?)}
2012-01-11 12:05:45.950 OLE DB Publisher 'PubServerName': {call sys.sp_MSallocate_new_identity_range (?,?,?,?,?,?,?,?,?,?,?)}
2012-01-11 12:05:45.966 OLE DB Publisher 'PubServerName': {call sys.sp_MSallocate_new_identity_range (?,?,?,?,?,?,?,?,?,?,?)}
2012-01-11 12:05:45.981 OLE DB Publisher 'PubServerName': {call sys.sp_MSallocate_new_identity_range (?,?,?,?,?,?,?,?,?,?,?)}
2012-01-11 12:05:45.997 OLE DB Publisher 'PubServerName': {call sys.sp_MSallocate_new_identity_range (?,?,?,?,?,?,?,?,?,?,?)}
2012-01-11 12:05:45.997 OLE DB Subscriber 'SubServerName': {call master..sp_helpreplicationoption ('merge')}
2012-01-11 12:05:46.091 OLE DB Subscriber 'SubServerName': {call sys.sp_MSmergesubscribedb ('true', 0) }
2012-01-11 12:05:47.263 OLE DB Subscriber 'SubServerName': {call sp_MSpublicationcleanup (?,?,?)}
2012-01-11 12:05:47.372 OLE DB Subscriber 'SubServerName': {call sp_MSCleanupForPullReinit (?,?,?)}
2012-01-11 12:05:47.481 OLE DB Subscriber 'SubServerName': {call sp_MSdropconstraints (N'tblEmailMessages',N'dbo')}
2012-01-11 12:05:47.606 OLE DB Subscriber 'SubServerName': {call sp_MSdropconstraints (N'tblUser',N'dbo')}
2012-01-11 12:05:47.716 OLE DB Subscriber 'SubServerName': {call sp_MSdropconstraints (N'tblDPVLocked',N'dbo')}
2012-01-11 12:05:47.809 OLE DB Subscriber 'SubServerName': {call sp_MSdropconstraints (N'tblCaptureAppToken',N'dbo')}
2012-01-11 12:05:47.903 OLE DB Subscriber 'SubServerName': {call sp_MSdropconstraints (N'tblCreditThresholdNotification',N'dbo')}
2012-01-11 12:05:48.013 OLE DB Subscriber 'SubServerName': {call sp_MSdropconstraints (N'tblCreditPot',N'dbo')}
2012-01-11 12:05:48.106 OLE DB Subscriber 'SubServerName': {call sys.sp_MSaddinitialpublication (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2012-01-11 12:05:48.247 OLE DB Subscriber 'SubServerName': {call sp_MSunmarkifneeded (N'tblEmailMessages',?, 1, ?, ?)}
2012-01-11 12:05:48.403 OLE DB Subscriber 'SubServerName': {call sp_MSunmarkifneeded (N'tblUser',?, 1, ?, ?)}
2012-01-11 12:05:48.513 OLE DB Subscriber 'SubServerName': {call sp_MSunmarkifneeded (N'tblDPVLocked',?, 1, ?, ?)}
2012-01-11 12:05:48.606 OLE DB Subscriber 'SubServerName': {call sp_MSunmarkifneeded (N'tblCaptureAppToken',?, 1, ?, ?)}
2012-01-11 12:05:48.700 OLE DB Subscriber 'SubServerName': {call sp_MSunmarkifneeded (N'tblCreditThresholdNotification',?, 1, ?, ?)}
2012-01-11 12:05:48.809 OLE DB Subscriber 'SubServerName': {call sp_MSunmarkifneeded (N'tblCreditPot',?, 1, ?, ?)}
2012-01-11 12:05:48.903 OLE DB Publisher 'PubServerName': {call sp_MShelpmergeschemaarticles(?)}
2012-01-11 12:05:48.919 OLE DB Subscriber 'SubServerName': {call sp_MSaddinitialsubscription (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)}
2012-01-11 12:05:49.059 OLE DB Distributor 'PubServerName': select datasource, srvid from master..sysservers where upper(srvname) = upper(N'PubServerName')
2012-01-11 12:05:49.059 OLE DB Distributor 'PubServerName': {call sys.sp_MSadd_mergesubentry_indistdb (0,N'PubServerName',N'UserDBName',N'MtoC_M',N'SubServerName',N'UserDBName',0,1,0,N'',?,90)}
2012-01-11 12:05:49.075 OLE DB Subscriber 'SubServerName': {call sp_MScreateglobalreplica (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,90)}
2012-01-11 12:05:49.341 Connecting to OLE DB Subscriber at datasource: 'SubServerName', location: '', catalog: 'UserDBName', providerstring: '' using provider 'SQLNCLI'
2012-01-11 12:05:49.825 OLE DB Subscriber: SubServerName
DBMS: Microsoft SQL Server
Version: 10.50.1600
catalog name: UserDBName
user name: distributor_MtoC
API conformance: 0
SQL conformance: 0
transaction capable: 1
read only: F
identifier quote char: "
non_nullable_columns: 0
owner usage: 15
max table name len: 128
max column name len: 128
need long data len:
max columns in table: 1000
max columns in index: 16
max char literal len: 131072
max statement len: 131072
max row size: 131072
2012-01-11 12:05:50.185 OLE DB Subscriber: SubServerName
DBMS: Microsoft SQL Server
Version: 10.50.1600
catalog name: UserDBName
user name: distributor_MtoC
API conformance: 0
SQL conformance: 0
transaction capable: 1
read only: F
identifier quote char: "
non_nullable_columns: 0
owner usage: 15
max table name len: 128
max column name len: 128
need long data len:
max columns in table: 1000
max columns in index: 16
max char literal len: 131072
max statement len: 131072
max row size: 131072
2012-01-11 12:05:50.325 OLE DB Subscriber 'SubServerName': {call sys.sp_MSregistermergesnappubid(?, ?)}
2012-01-11 12:05:50.450 OLE DB Subscriber 'SubServerName': sp_MSacquiresnapshotdeliverysessionlock
2012-01-11 12:05:50.544 OLE DB Subscriber 'SubServerName': sp_MStrypurgingoldsnapshotdeliveryprogress
2012-01-11 12:05:50.810 OLE DB Subscriber 'SubServerName': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2012-01-11 12:05:50.966 [2%] OLE DB Subscriber 'SubServerName': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
ꜻä㹒 ꜐äB 11 12:05ä谼砗꜐ä镴ĀPercent Complete: 4
2012-01-11 12:05:50.997 Propagated 1 schema changes: 1 total
2012-01-11 12:05:51.013 Repl Agent Status: 3
2012-01-11 12:05:51.013 OLE DB Distributor 'PubServerName': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2012-01-11 12:05:51.091 [6%] OLE DB Subscriber 'SubServerName': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
ꜻä㹒 ꜐äB 11 12:05ä谼砗꜐ä镴ĀPercent Complete: 6
2012-01-11 12:05:51.122 Propagated 1 schema changes: 2 total
2012-01-11 12:05:51.153 Repl Agent Status: 3
2012-01-11 12:05:51.153 OLE DB Distributor 'PubServerName': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2012-01-11 12:05:51.200 OLE DB Subscriber 'SubServerName': {call sp_MSunmarkreplinfo (N'tblEmailMessages')}
2012-01-11 12:05:51.200 [6%] Percent Complete: 6
2012-01-11 12:05:51.231 Propagated 1 schema changes: 3 total
2012-01-11 12:05:51.247 Repl Agent Status: 3
2012-01-11 12:05:51.263 OLE DB Distributor 'PubServerName': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2012-01-11 12:05:51.325 OLE DB Subscriber 'SubServerName': sp_MSissnapshotitemapplied @snapshot_session_token = N'E:\Microsoft SQL Server\MSSQL.1\MSSQL\repldata\unc\PubServerName_UserDBName_MTOC_M\20120111115787\', @snapshot_progress_token = N'E:\Microsoft
SQL Server\MSSQL.1\MSSQL\repldata\unc\PubServerName_UserDBName_MTOC_M\20120111115787\tblEmailMessages_2.sch'
2012-01-11 12:05:51.435 drop Table [dbo].[tblEmailMessages]
go
SET ANSI_PADDING ON
go
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[tblEmailMessages](
[EmailMessageId] [bigint] IDENTITY(1,1) NOT FOR REPLICATION NOT NULL,
[Guid] [nvarchar](32) NOT NULL,
[Recipients] [varchar](8000) NOT NULL,
[CcRecipients] [varchar](8000) NULL,
[BccRecipients] [varchar](8000) NULL,
[Sender] [varchar](8000) NOT NULL,
[Subject] [nvarchar](4000) NOT NULL,
[BodyText] [nvarchar](max) NULL,
[BodyHTML] [nvarchar](max) NULL,
[IsBodyEncrypted] [bit] NOT NULL CONSTRAINT [DF_tblEmailMessages_IsBodyEncrypted] DEFAULT ((0)),
[Status] [tinyint] NOT NULL CONSTRAINT [DF_tblEmailMessages_Status] DEFAULT ((1)),
[DateAdded] [datetime] NOT NULL CONSTRAINT [DR_tblEmailMessages_DateAdded] DEFAULT (getdate()),
[rowguid] [uniqueidentifier] ROWGUIDCOL NOT NULL CONSTRAINT [MSmerge_df_rowguid_207F75F229994684BC3FAAE5BE4CD6EB] DEFAULT (newsequentialid())
GO
GRANT DELETE ON [dbo].[tblEmailMessages] TO [odintermediary]
GO
GRANT INSERT ON [dbo].[tblEmailMessages] TO [odintermediary]
GO
GRANT SELECT ON [dbo].[tblEmailMessages] TO [odintermediary]
GO
GRANT UPDATE ON [dbo].[tblEmailMessages] TO [odintermediary]
GO
SET ANSI_NULLS ON
go
SET QUOTED_IDENTIFIER ON
go
ALTER TABLE [dbo].[tblEmailMessages] ADD CONSTRAINT [PK_tblEmailMessage] PRIMARY KEY CLUSTERED
[EmailMessageId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
GO
2012-01-11 12:05:51.450 OLE DB Subscriber 'SubServerName': drop Table [dbo].[tblEmailMessages]
2012-01-11 12:05:51.560 OLE DB Subscriber 'SubServerName': SET ANSI_PADDING ON
2012-01-11 12:05:51.669 OLE DB Subscriber 'SubServerName': SET ANSI_NULLS ON
2012-01-11 12:05:51.778 OLE DB Subscriber 'SubServerName': SET QUOTED_IDENTIFIER ON
2012-01-11 12:05:51.872 OLE DB Subscriber 'SubServerName': CREATE TABLE [dbo].[tblEmailMessages](
[EmailMessageId] [bigint] IDENTITY(1,1) NOT FOR REPLICATION NOT NULL,
[Guid] [nvarchar](32) NOT NULL,
[Recipients] [varchar](8000) NOT NULL,
[CcRecipients] [varchar](8000) NULL,
[BccRecipients] [varchar](8000) NULL,
[Sender] [varchar](8000) NOT NULL,
[Subject] [nvarchar](4000) NOT NULL,
[BodyText] [nvarchar](max) NULL,
[BodyHTML] [nvarchar](max) NULL,
[IsBodyEncrypted] [bit] NOT NULL CONSTRAINT [DF_tblEmailMessages_IsBodyEncrypted] DEFAULT ((0)),
[Status] [tinyint] NOT NULL CONSTRAINT [DF_tblEmailMessages_Status] DEFAULT ((1)),
[DateAdded] [datetime] NOT NULL CONSTRAINT [DR_tblEmailMessages_DateAdded] DEFAULT (getdate()),
[rowguid] [uniqueidentifier] ROWGUIDCOL NOT NULL CONSTRAINT [MSmerge_df_rowguid_207F75F229994684BC3FAAE5BE4CD6EB] DEFAULT (newsequentialid())
2012-01-11 12:05:51.981 OLE DB Subscriber 'SubServerName': GRANT DELETE ON [dbo].[tblEmailMessages] TO [odintermediary]
2012-01-11 12:05:52.091 OLE DB Subscriber 'SubServerName': GRANT INSERT ON [dbo].[tblEmailMessages] TO [odintermediary]
2012-01-11 12:05:52.200 OLE DB Subscriber 'SubServerName': GRANT SELECT ON [dbo].[tblEmailMessages] TO [odintermediary]
2012-01-11 12:05:52.294 OLE DB Subscriber 'SubServerName': GRANT UPDATE ON [dbo].[tblEmailMessages] TO [odintermediary]
2012-01-11 12:05:52.403 OLE DB Subscriber 'SubServerName': SET ANSI_NULLS ON
2012-01-11 12:05:52.497 OLE DB Subscriber 'SubServerName': SET QUOTED_IDENTIFIER ON
2012-01-11 12:05:52.606 OLE DB Subscriber 'SubServerName': ALTER TABLE [dbo].[tblEmailMessages] ADD CONSTRAINT [PK_tblEmailMessage] PRIMARY KEY CLUSTERED
[EmailMessageId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
2012-01-11 12:05:52.716 OLE DB Subscriber 'SubServerName': sp_MSrecordsnapshotdeliveryprogress @snapshot_session_token = N'E:\Microsoft SQL Server\MSSQL.1\MSSQL\repldata\unc\PubServerName_UserDBName_MTOC_M\20120111115787\', @snapshot_progress_token = N'E:\Microsoft
SQL Server\MSSQL.1\MSSQL\repldata\unc\PubServerName_UserDBName_MTOC_M\20120111115787\tblEmailMessages_2.sch'
2012-01-11 12:05:52.841 OLE DB Subscriber 'SubServerName': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2012-01-11 12:05:52.966 [6%] Percent Complete: 6
2012-01-11 12:05:52.981 Applied script 'tblEmailMessages_2.sch'
2012-01-11 12:05:52.981 Repl Agent Status: 3
2012-01-11 12:05:52.981 OLE DB Distributor 'PubServerName': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2012-01-11 12:05:53.153 OLE DB Subscriber 'SubServerName': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2012-01-11 12:05:53.263 [6%] OLE DB Subscriber 'SubServerName': {call sys.sp_MSaddinitialarticle (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
ꜻä㹒 ꜐äB 11 12:05ä谼砗꜐ä镴ĀPercent Complete: 6
2012-01-11 12:05:53.294 Preparing table 'tblEmailMessages' for merge replication
2012-01-11 12:05:53.294 Repl Agent Status: 3
2012-01-11 12:05:53.310 OLE DB Distributor 'PubServerName': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2012-01-11 12:05:53.450 OLE DB Subscriber 'SubServerName': {call sp_MSupdatesysmergearticles (?,?,?,?,0)}
2012-01-11 12:05:53.575 OLE DB Subscriber 'SubServerName': {call sys.sp_MSsetup_identity_range (?,?,?,?,?,?,?,?)}
2012-01-11 12:05:53.794 The merge process was unable to deliver the snapshot to the Subscriber. If using Web synchronization, the merge process may have been unable to create or write to the message file. When troubleshooting, restart the synchronization with
verbose history logging and specify an output file to which to write.
2012-01-11 12:05:53.825 OLE DB Subscriber 'SubServerName': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2012-01-11 12:05:53.966 Percent Complete: 6
2012-01-11 12:05:53.966 No subscription is on this publication or article.
2012-01-11 12:05:53.997 Repl Agent Status: 6
2012-01-11 12:05:54.013 OLE DB Distributor 'PubServerName': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
2012-01-11 12:05:54.216 Percent Complete: 0
2012-01-11 12:05:54.231 Category:SQLSERVER
Source: SubServerName
Number: 14050
Message: No subscription is on this publication or article.
2012-01-11 12:05:54.247 Repl Agent Status: 3
2012-01-11 12:05:54.372 Percent Complete: 0
2012-01-11 12:05:54.372 Category:NULL
Source: Merge Replication Provider
Number: -2147201001
Message: The merge process was unable to deliver the snapshot to the Subscriber. If using Web synchronization, the merge process may have been unable to create or write to the message file. When troubleshooting, restart the synchronization with verbose history
logging and specify an output file to which to write.
2012-01-11 12:05:54.388 Repl Agent Status: 3
2012-01-11 12:05:54.388 Disconnecting from OLE DB Subscriber 'SubServerName'
2012-01-11 12:05:54.388 Disconnecting from OLE DB Subscriber 'SubServerName'
2012-01-11 12:05:54.403 Disconnecting from OLE DB Subscriber 'SubServerName'
2012-01-11 12:05:54.403 Disconnecting from OLE DB Subscriber 'SubServerName'
2012-01-11 12:05:54.403 Disconnecting from OLE DB Publisher 'PubServerName'
2012-01-11 12:05:54.419 Disconnecting from OLE DB Publisher 'PubServerName'
2012-01-11 12:05:54.419 Disconnecting from OLE DB Publisher 'PubServerName'
2012-01-11 12:05:54.419 Disconnecting from OLE DB Publisher 'PubServerName'
2012-01-11 12:05:54.435 Disconnecting from OLE DB Distributor 'PubServerName'
2012-01-11 12:05:54.435 Disconnecting from OLE DB Distributor 'PubServerName'
2012-01-11 12:05:54.450 The merge process will restart after waiting 30 second(s)...
Percent Complete: 0
Any help would be much appreciated.
Thanks
ChrisThe error happens on this table every time.
The schema of the table is below;
CREATE TABLE [dbo].[tblEmailMessages](
[EmailMessageId] [bigint] IDENTITY(1,1) NOT FOR REPLICATION NOT NULL,
[Guid] [nvarchar](32) NOT NULL,
[Recipients] [varchar](8000) NOT NULL,
[CcRecipients] [varchar](8000) NULL,
[BccRecipients] [varchar](8000) NULL,
[Sender] [varchar](8000) NOT NULL,
[Subject] [nvarchar](4000) NOT NULL,
[BodyText] [nvarchar](max) NULL,
[BodyHTML] [nvarchar](max) NULL,
[IsBodyEncrypted] [bit] NOT NULL CONSTRAINT [DF_tblEmailMessages_IsBodyEncrypted] DEFAULT ((0)),
[Status] [tinyint] NOT NULL CONSTRAINT [DF_tblEmailMessages_Status] DEFAULT ((1)),
[DateAdded] [datetime] NOT NULL CONSTRAINT [DR_tblEmailMessages_DateAdded] DEFAULT (getdate()),
[rowguid] [uniqueidentifier] ROWGUIDCOL NOT NULL CONSTRAINT [MSmerge_df_rowguid_207F75F229994684BC3FAAE5BE4CD6EB] DEFAULT
(newsequentialid())
The table gets dropped and recreated each time i try to reinitialise the subscription. I can't remove the article at the moment as two other servers subscribe to the publication.
Thanks for your help
Chris
I am the master of my fate: I am the captain of my soul. -
Session Replication doesn't work when using a custom Unicast Channel
Hello!
After configure a WLS Cluster for an WebApp with session replication support enabled I faced some issues with cluster configuration.
My LAB env used for this configurations is:
One Solaris 10 SPARC box.
-- One WLS 11g (10.3.6) domain with:
---- 4 Managed servers:
---- Admin server
---- server-1
---- server-2
---- Proxy Server (HttpClusterServlet)
--- 1 Cluster composed by:
---- server-1
---- server-2In that setup I noticed if I define a custom network channel for servers ( server>protocols>channels ) in the cluster and set Cluster Messaging Mode as Unicast* in the Cluster config ( Cluster>Configuration>Messaging>Messaging Mode ), so the session state replication does not work.
When I enable the cluster replication debug for managed servers the following messages appears:
<> <> <1358966729933> <BEA-000000> <[roid:-1772481434088297851] Creating primary for application key /webapp>
####<Jan 23, 2013 4:45:29 PM BRST> <Debug> <ReplicationDetails> <de25503> <server-1> <[ACTIVE] ExecuteThread: '5' for queue: > 'weblogic.kernel.Default (self-tuning)'> <<ano
nymous>> <> <> <1358966729958> <BEA-000000> *<Has secondary servers? false>*
####<Jan 23, 2013 4:45:29 PM BRST> <Debug> <ReplicationDetails> <de25503> <server-1> <[ACTIVE] ExecuteThread: '5' for queue: >'weblogic.kernel.Default (self-tuning)'> <<ano
nymous>> <> <> <1358966729959> <BEA-000000> *<Current secondary server? null>*
####<Jan 23, 2013 4:45:29 PM BRST> <Debug> <Replication> <de25503> <server-1> <[ACTIVE] ExecuteThread: '5' for queue: >'weblogic.kernel.Default (self-tuning)'> <<anonymous>
<> <> <1358966729959> <BEA-000000> <[roid:-1772481434088297851] Unable to create secondary on null>
####<Jan 23, 2013 4:45:31 PM BRST> <Debug> <ReplicationDetails> <de25503> <server-1> <[ACTIVE] ExecuteThread: '5' for queue: >'weblogic.kernel.Default (self-tuning)'> After eliminate all possible issues with my webapp (serialization, weblogic descriptor configuration, etc) and try many cluster network configurations I noticed that this problem only occurs when I use Unicast for Cluster's Messaging.
At the end of the day I really would like to understand why the session replication only works for Cluster's Messaging using Multicast mode. I read a lot the WLS docs (specifically the cluster/network topics) [1][2], but I can't find an official explanation about this.
Can someone help me understand this behavior?
Many thanks.
[1] http://docs.oracle.com/cd/E15523_01/web.1111/e13701/network.htm
[2] http://docs.oracle.com/cd/E15523_01/web.1111/e13709/setup.htmI have Fluxbox started with Slim and .xinitrc. Dbus works only with:
exec ck-launch-session startfluxbox
you need run Openbox with ck-launch-session:
exec ck-launch-session openbox-session
Bye!! -
Problems with webtop groups and/or replication
Hi,
i use sgd 4.2 (4.20.909) with to array members. I have the Problem, that the webtop group informations get lost every few hours. And the Users have to set it up again. We have over 1.500 Applications and over 1.500 Servers integrated in our ens. The only error message i get is:
2006/09/29 17:06:03.675 (pid 1927) server/replication/error #1159542363675
Sun Secure Global Desktop Software (4.2) ERROR:
There was no response from the server itosgdapp2p.hn.tds.de after
300000 milliseconds during synchronization of the
namespace "diskens".
Replication with itosgdapp2p.hn.tds.de will not operate.
Check the server itosgdapp2p.hn.tds.de and restart it if necessary.
2006/09/29 17:06:03.695 (pid 1927) server/replication/error #1159542363695
Sun Secure Global Desktop Software (4.2) ERROR:
There was no response from the server itosgdapp2p.hn.tds.de after
300000 milliseconds during synchronization of the
namespace "views".
Replication with itosgdapp2p.hn.tds.de will not operate.
Check the server itosgdapp2p.hn.tds.de and restart it if necessary.
Could this be the problem? Can I increase the timeout value for synchronization?
Thanks for help
Regards
LukasI cannot give a direct answer since I haven't been across this problem, therefor I have some questions.
<quote>
i use sgd 4.2 (4.20.909) with to array members. I
<quote>
Is this a typo and should be 'with two array members' ?
You state that you have over 1.500 Applications and over 1.500 Servers. How is the use of these applications. How many concurrent users are connected.
Does the same error exist when seperating the two zones over two systems?
What does '/opt/tarantella/bin/tarantella config list --array-resourcesync' state?
From the manual:
Resource Synchronization
--tuning-resourcesynctime time
At what time to start resource synchronization each day, if enabled for the array.
Use the server's local time zone.
Express the time in 24-hour clock format, for example "16:00 for 4pm.
Changes to this attribute take effect immediately. -
PUMP process is Running. Not generating message in report.No replication
Hi,
I am using GoldenGate 11g with Oracle database 11g on IBM AIX server at source and Linux at destination.
I have created the extract process and the pump process but the pump process is not responding.
The report of my PUMP process is as below. I can't see any run time messages getting generated in it. Even the replication is not happening.
Please suggest how to search for the issue here and get the replication working.
GGSCI (FIFLX595) 85> view report IUT01dp
Oracle GoldenGate Capture for Oracle
Version 11.1.1.1 OGGCORE_11.1.1_PLATFORMS_110421.2040
AIX 5L, ppc, 64bit (optimized), Oracle 11g on Apr 22 2011 03:25:30
Copyright (C) 1995, 2011, Oracle and/or its affiliates. All rights reserved.
Starting at 2012-02-01 15:30:08
Operating System Version:
AIX
Version 5, Release 3
Node: FIFLX595
Machine: 00C576D24C00
soft limit hard limit
Address Space Size : unlimited unlimited
Heap Size : unlimited unlimited
File Size : unlimited unlimited
CPU Time : unlimited unlimited
Process id: 16019716
Description:
** Running with the following parameters **
EXTRACT IUT01DP
SETENV (ORACLE_SID = "NGPIUT")
Set environment variable (ORACLE_SID=NGPIUT)
uSERID ggs_owner, PASSWORD *********
RMTHOST OFSMUG-VM-87.i-flex.com, MGRPORT 7809
RMTTRAIL /oracle/GoldenGate/Setup/ggs/dirdat/IUT01/rt
PASSTHRU
TABLE IUT01.*;
CACHEMGR virtual memory values (may have been adjusted)
CACHEBUFFERSIZE: 64K
CACHESIZE: 8G
CACHEBUFFERSIZE (soft max): 4M
CACHEPAGEOUTSIZE (normal): 4M
PROCESS VM AVAIL FROM OS (min): 16G
CACHESIZEMAX (strict force to disk): 13.99G
Database Version:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
PL/SQL Release 11.2.0.2.0 - Production
CORE 11.2.0.2.0 Production
TNS for IBM/AIX RISC System/6000: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production
Database Language and Character Set:
NLS_LANG environment variable specified has invalid format, default value will be used.
NLS_LANG environment variable not set, using default value AMERICAN_AMERICA.US7ASCII.
NLS_LANGUAGE = "AMERICAN"
NLS_TERRITORY = "AMERICA"
NLS_CHARACTERSET = "AL32UTF8"
Warning: your NLS_LANG setting does not match database server language setting.
Please refer to user manual for more information.
2012-02-01 15:30:13 INFO OGG-01226 Socket buffer size set to 27985 (flush size 27985).
2012-02-01 15:30:13 INFO OGG-01052 No recovery is required for target file /oracle/GoldenGate/Setup/ggs/dirdat/IUT01/rt000000, at RBA 0 (file not opene
d).
2012-02-01 15:30:13 INFO OGG-01478 Output file /oracle/GoldenGate/Setup/ggs/dirdat/IUT01/rt is using format RELEASE 10.4/11.1.
** Run Time Messages **
***********************************************************************Thanks !!!Thanks for your reply.
The GoldenGate log is as follows :- ( the last few lines )
2012-02-01 16:15:05 INFO OGG-00991 Oracle GoldenGate Capture for Oracle, iut01dp.prm: EXTRACT IUT01DP stopped normally.
2012-02-01 16:15:08 INFO OGG-00987 Oracle GoldenGate Command Interpreter for Oracle: GGSCI command (oracle): start iut01dp.
2012-02-01 16:15:08 INFO OGG-00963 Oracle GoldenGate Manager for Oracle, mgr.prm: Command received from GGSCI on host 10.180.22.245 (START EXTRACT IUT01DP ).
2012-02-01 16:15:08 INFO OGG-00975 Oracle GoldenGate Manager for Oracle, mgr.prm: EXTRACT IUT01DP starting.
2012-02-01 16:15:08 INFO OGG-00992 Oracle GoldenGate Capture for Oracle, iut01dp.prm: EXTRACT IUT01DP starting.
2012-02-01 16:15:09 INFO OGG-00993 Oracle GoldenGate Capture for Oracle, iut01dp.prm: EXTRACT IUT01DP started.
2012-02-01 16:15:14 INFO OGG-01226 Oracle GoldenGate Capture for Oracle, iut01dp.prm: Socket buffer size set to 27985 (flush size 27985).
2012-02-01 16:15:14 INFO OGG-01052 Oracle GoldenGate Capture for Oracle, iut01dp.prm: No recovery is required for target file /oracle/GoldenGate/Setup/ggs/dirdat/IUT01/rt000000, at RBA 0 (file not opened).
2012-02-01 16:15:14 INFO OGG-01478 Oracle GoldenGate Capture for Oracle, iut01dp.prm: Output file /oracle/GoldenGate/Setup/ggs/dirdat/IUT01/rt is using format RELEASE 10.4/11.1.I am not sure how to check "extract read the changed data and store in to trail files? and the same check pump process read the trail files or not? "
I can see the lt file "lt000003" getting updated regularly. which is the local trail file for extract process. The path of this file is :-
/data01/oradata/GoldenGate/dirdat/IUT01
The RMTTRAIL path for PUMP process is : -
/oracle/GoldenGate/Setup/ggs/dirdat/IUT01/rt ( this path is present on the remote machine ) . This file is not getting updated regularly.
The detail report file for iut01dp is as follows :-
GGSCI (FIFLX595) 119> info iut01dp, detail
EXTRACT IUT01DP Last Started 2012-02-01 16:15 Status RUNNING
Checkpoint Lag 00:00:00 (updated 00:00:00 ago)
Log Read Checkpoint File /data01/oradata/GoldenGate/dirdat/dpump/IUT01/lt000000
2012-02-01 15:35:31.000000 RBA 0
Target Extract Trails:
Remote Trail Name Seqno RBA Max MB
/oracle/GoldenGate/Setup/ggs/dirdat/IUT01/rt 0 0 10
Extract Source Begin End
/data01/oradata/GoldenGate/dirdat/dpump/IUT01/lt000000 2012-02-01 15:35 2012-02-01 15:35
/data01/oradata/GoldenGate/dirdat/dpump/IUT01/lt000000 2012-02-01 15:35 2012-02-01 15:35
/data01/oradata/GoldenGate/dirdat/dpump/IUT01/lt000000 * Initialized * 2012-02-01 15:35
/data01/oradata/GoldenGate/dirdat/dpump/IUT01/lt000000 2012-02-01 14:31 2012-02-01 14:31
/data01/oradata/GoldenGate/dirdat/dpump/IUT01/lt000000 2012-02-01 14:31 2012-02-01 14:31
/data01/oradata/GoldenGate/dirdat/dpump/IUT01/lt000000 2012-02-01 14:31 2012-02-01 14:31
/data01/oradata/GoldenGate/dirdat/dpump/IUT01/lt000000 * Initialized * 2012-02-01 14:31
/data01/oradata/GoldenGate/dirdat/dpump/IUT01/lt000000 2012-02-01 12:14 2012-02-01 12:14
/data01/oradata/GoldenGate/dirdat/dpump/IUT01/lt000000 2012-02-01 12:14 2012-02-01 12:14
/data01/oradata/GoldenGate/dirdat/dpump/IUT01/lt000000 2012-02-01 12:14 2012-02-01 12:14
/data01/oradata/GoldenGate/dirdat/dpump/IUT01/lt000000 2012-02-01 12:14 2012-02-01 12:14
/data01/oradata/GoldenGate/dirdat/dpump/IUT01/lt000000 2012-02-01 12:14 2012-02-01 12:14
/data01/oradata/GoldenGate/dirdat/dpump/IUT01/lt000000 2012-02-01 12:14 2012-02-01 12:14
/data01/oradata/GoldenGate/dirdat/dpump/IUT01/lt000000 * Initialized * 2012-02-01 12:14
/data01/oradata/GoldenGate/dirdat/dpump/IUT01/lt000000 * Initialized * First Record
/data01/oradata/GoldenGate/dirdat/dpump/IUT01/lt000000 * Initialized * First Record
/data01/oradata/GoldenGate/dirdat/dpump/IUT01/lt000000 * Initialized * First Record
Current directory /data01/oradata/GoldenGate
Report file /data01/oradata/GoldenGate/dirrpt/IUT01DP.rpt
Parameter file /data01/oradata/GoldenGate/dirprm/iut01dp.prm
Checkpoint file /data01/oradata/GoldenGate/dirchk/IUT01DP.cpe
Process file /data01/oradata/GoldenGate/dirpcs/IUT01DP.pce
Stdout file /data01/oradata/GoldenGate/dirout/IUT01DP.out
Error log /data01/oradata/GoldenGate/ggserr.logP.S. :- I am very new to GoldenGate, please also let me know how can i find out the answers for your queries. I hope the data provided above is sufficient for your queries , if you need anything more let me know.
Suggest some idea to start the replication.
Thanks. -
Hi Board,
i´ve search across the board, technet and symantec sites but did not found a hint about my problem.
we drive a 2 node DAG (Location1-Ex1-mb1
Location2-exc1-mb1), on SP2 RU4 patchlevel with 40 Databases.
Since some time the backup of one - and only one DB - is failing with these events, logged on the Mailboxserver on which the passive DB is hosted.
Log Name: Application
Source: MSExchangeRepl
Date: 28.09.2012 00:37:17
Event ID: 2112
Task Category: Exchange VSS Writer
Level: Error
Keywords: Classic
User: N/A
Computer: Location1-Exc1-MB1
Description: The Microsoft Exchange Replication service VSS Writer instance 1ab7d204-609a-4aea-b0a7-70afb0db38de failed with error code 80070020 when preparing for a backup of database 'DB012'.
Followed by
Log Name: Application
Source: MSExchangeRepl
Date:
01.10.2012 03:33:06
Event ID: 2024
Task Category: Exchange VSS Writer
Level: Error
Keywords: Classic
User:
N/A
Computer: Location1-Exc1-MB1
Description:
The Microsoft Exchange Replication service VSS Writer (Instance 42916d80-36c1-4f73-86d0-596d30226349) failed with error 80070020 when preparing for a backup.
The backup Application - Symantec Backup Exec 2010 R3 – states, this error
Snapshot provider error (0xE000FED1): A failure occurred querying the Writer status.
Check the Windows Event Viewer for details.
Writer Name: Exchange Server, Writer ID: {76FE1AC4-15F7-4BCD-987E-8E1ACB462FB7}, Last error: The VSS Writer failed, but the operation can be retried (0x800423f3), State: Stable (1).
Symatec suggests within http://www.symantec.com/business/support/index?page=content&id=TECH184095
to restart the MS Exchange Replication Service – BUT the mentioned eventID
8229 isn´t present on any of the both Mailboxservers.
The affected Database is active on Location2-Exc1-Mb1 Server and in an overall healthy state. I found during my research, that below Location2-Exc1-Mb1 Server, there are not removed shadow copies present!
This confuses me, since all Backups are normally taken from the passive copy of a Database.
So my questions to the board are:
* Does anyone is facing similar issues?
* Can someone explain why snapshots are present on the Mailboxserver hosting the Active Database, whilst the errors are logged on the passive one?
- * Does someone know the conditions, why shadows copies remain and
aren´t removed in a proper manner?
What can cause the circumstance, that only 1 DB is facing such issues?
Any suggestion is welcome!
BR
MarkusHi Lenora,
I´ve encreases VSS / Exchange Backup Log levels to expert, before starting
those things i´ve all tried now:
- Backup from passive DB (forced within Symantec Backup Exec)
- Backup from active DB (forced within Symantec Backup Exec)
- Backup from passive DB without GRT enabled (forced within Symantec Backup Exec)
- Backup from active DB without GRT enabled(forced within Symantec Backup Exec)
All those attempts failed.
But brought some more details - the backup against the active DB states, that there is still a backup in progress and therefore this backup is cancelled by VSS.
The Solution was, that i´ve needed to restart the Exchange Replication Service on the Mailbox Server hosting the passive DB.
Backups are working again on all DBs!
THX for your replys.
Best regards
Markus -
Check list for upgrading from 10g to 11g when there is a schema replication
Hi
We are looking to upgrade one of our production database from 10g to 11g
Currently this database has one schema that is replicated to 2 other databases using Oracle streams.
The replication is excluing DDLs and excluding several other application tables.
What should I do pre and post the upgrade ?
should we remove the stream configuration all together and rebuild it after the upgrade ?
I was hoping that we can first upgrade the two target databases to 11g and then the source database, without impacting our streams configuration at all
Is that possible ?
Is there any documentation on the subject ?
thanks in advance
OrnaPl post the OS versions of the source and target servers, along with exact (4-digit) versions of "10g" and "11g". I do not have any experience with streams, but the 11gR2 Upgrade Doc suggests that you upgrade the downstream target databases first before upgrading the source - http://download.oracle.com/docs/cd/E11882_01/server.112/e10819/upgrade.htm#CIAFJJFC
HTH
Srini
Maybe you are looking for
-
Flash Store/Player displaying in Chrome but not IE10
http://www.spindisc.co.uk/mp3-store.html It displays in Chrome but when I tried it in IE10 it is missing. I have tried a cache clean and also from a laptop with same results? Interesting in standalone at www.spindisc.co.uk/cart the player that is wr
-
After 3.1.1 update messes up my Recently Added...
In iTunes 9, I have my "Recently Added" Smart playlist sorted by their date added. Before my 3.1 update, my iPod Touch would also be like this, but now the list is shuffled on my iPod without the shuffle option on. I have tried all my settings to fix
-
Best way to combine Java Persistence API (JPA) with Visual Web Pack (VWP)?
I like the JPA/Hibernate development approach to create the database elements from JAVA classes. This way one gets rid of the need to keep JAVA code and the database in sync. However I have not yet found a good way on how to use JPA from the netbeans
-
Member death detection (Coh-3.5.3)
Hi, Can someone explain death detection in 3.5.3 please. I have a reasonable idea how it works: A member suspects another member has departed so it asks two other members for confirmation. If these other members confirm departure then the original me
-
Problem when updating firmware
This morning itunes asked if iwanted to update the firmware on my 16gb ipod touch so i did. half way thourgh it said was unable to update now it just gives me the Connect iPod touch to iTunes screen when i do it says to restore and update and when i