Bidirectional replication of cache groups to cache

We setup a Bidirectional replication of AWT cache groups to AWT cache groups.
================================================
create asynchronous writethrough cache group T1_CACHE from T1
     a NUMBER(12) NOT NULL,
     b NUMBER(12),
     c NUMBER(12),
     PRIMARY KEY (a)
CREATE REPLICATION rep.mytt
ELEMENT a DATASTORE
MASTER mydata ON "ser1"
SUBSCRIBER mydata ON "ser2" RETURN TWOSAFE
ELEMENT b DATASTORE
MASTER mydata ON "cx_pdscp2"
SUBSCRIBER mydata ON "cx_pdscp1" RETURN TWOSAFE;
========================================================
I write a application.It forks 30 child process and insert values into t1.The replication between the master and subscriber is ok, but the replication agent of master to Oracle can not work well. After 3~5 minutes, it print the log:
========================================================
19:15:15.13 Err : REP: 6359: MYDATA:receiver.c(5668): TT16038: Failed to begin transaction for caller: rxBegin
Tx()
19:15:15.13 Err : REP: 6359: MYDATA:receiver.c(5668): TT864: TT0864: Operation prohibited with an active trans
action -- file "dbAPI.c", lineno 3822, procedure "sb_xactBeginQ()"
19:15:15.13 Err : REP: 6359: MYDATA:receiver.c(5002): TT16187: Transaction 1187176202/995; Error: transient 1,
permanent 0
=======================================================
Pls help me! Thanks!

Hi,
This configuration is not supported; you can configure a bi-directional 2-safe scheme without AWT (as long as you only use it in a logical active/standby fashion).
If you want to achieve high availability using 2-safe replication and AWT then you must use the explicit ACTIVE STANDBY pair replication (you will need TimesTen 7.0 to do this). This fully supports the combination of 2-safe replication and AWT.
Regards, Chris

Similar Messages

  • Any script to start Replication and Caching automatically?

    yes, I know there're two stored procedures to start Replication and Caching, ie. call ttRepStart() and
    call ttCacheStart().
    but, is there any methods, like unix shell script, to start them easily? i can't find on the installation provided.
    thanks!

    thanks! wrote it by myself:
    #!/bin/sh
    echo "starting ttCacheStart"
    LD_LIBRARY_PATH=/local/oracle/product/10.2.0/lib:/home/oracle/TimesTen/tt60/lib; export LD_LIBRARY_PATH
    TT_BIN=/home/oracle/TimesTen/tt60/bin
    #$TT_BIN/ttIsql -v 0 -connstr dsn=TT_tt60 -f cachestart.sql
    $TT_BIN/ttAdmin -cachestart dsn=TT_tt60
    returnCode=$?
    echo "return code: $returnCode"
    if test $returnCode=0 || test $returnCode=5
    then echo "Successfully started Cache"
    exit 0
    else echo "Failed in starting Cache"
    exit -1
    fi
    exit $returnCode

  • OGG : DataPump not working:Bidirectional Replication-Oracle to oracle

    Hi Experts,
    Iam try to build a Bidirectional Replication Oracle 11gr2 DB to Oracle 11gr2 DB.
    Could do replication sucessfully from A TO B but not able to do it from B TO A.
    All the process are running and could not find any errors.Seems data pump is not able to send the data to destination.
    B Process
    ===============
    GGSCI (lxdbDEF) 9> info all
    Program     Status      Group       Lag at Chkpt  Time Since Chkpt
    MANAGER     RUNNING
    EXTRACT     RUNNING     EOLTP02     00:00:00      00:00:04
    EXTRACT     RUNNING     EPMP02      00:00:00      00:00:09
    REPLICAT    RUNNING     ROLAP01     00:00:00      00:00:09
    A Process
    ==================
    GGSCI (lxdbABC) 5> info all
    Program     Status      Group       Lag at Chkpt  Time Since Chkpt
    MANAGER     RUNNING
    EXTRACT     RUNNING     EOLTP01     00:00:00      00:00:08
    EXTRACT     RUNNING     EPMP01      00:00:00      00:00:01
    REPLICAT    RUNNING     ROLAP02     00:00:00      00:00:06
    ==========================================================================
    Below is what i can find from the datapump report ...
    Report at 2013-07-18 00:23:43 (activity since 2013-07-18 00:11:29)
    Output to ./dirdat/ab:
    No records extracted.
    **                     Run Time Warnings                             **
    Could you please help
    2013-07-18 00:37:29  INFO    OGG-01021  Command received from GGSCI: REPORT.
    *                   ** Run Time Statistics **                         *
    Report at 2013-07-18 00:37:29 (activity since 2013-07-18 00:11:29)
    Output to ./dirdat/ab:
    No records extracted.
    **                     Run Time Warnings                             **

    Datapump parameter file
    Extract EPMP02
    RmtHost lxdb8058, MGRPORT 7809
    RmtTrail ./dirdat/ab
    Passthru
    TABLE ABC.tcustmer;
    TABLE ABC.tcustord;
    Replicate paramater file
    REPLICAT ROLAP02
    SETENV (ORACLE_SID=SOURCE)
    USERID acsdba@source, PASSWORD acsdba
    DISCARDFILE ./dirrpt/rolap02.dsc, Append
    ASSUMETARGETDEFS
    MAP ABC.TCUSTMER, TARGET ABC.TCUSTMER;
    MAP ABC.TCUSTORD, TARGET ABC.TCUSTORD;

  • Value mapping replication - java cache

    i used value mapping replication and successfully loaded values to the java cache (i can see the in the cache monitoring but not in  the configuration).
    when i try to use a scenario with value mapping using the agencies and schemes which i loaded, the mapping doesn't work and i receive the same value that was entered.
    what could be the problem?
    P.S
    i used the same groupid for each pair of source and target value when i loaded them. is that the right way?

    Tomer,
    what is the context that u used. Did you give the correct context in mapping as in Runtime Cache.
    Regards,
    Sudharshan N A

  • DFS Replication for one group only not working

      
    I have 2 DFS Replication groups and each group contains the same 2 member servers.
    One group is set to replicate one drive pair between these members, and the other group is set to replicate another drive pair between the same member servers.
    Replication works perfectly for one group / folder, but it does not even start on the other group.
    This proves that there is no problem with the connectivity between the members, or to the AD.
    The DFS Replication Health Report for the group that does not replicate shows no error, just 2 Warnings:
     WARNINGS  (2 servers with warnings)(Show All)
    BOG-RODC   (1 warning)
      Reference member returned no replicated folders.  
    MTL-HV-FS01   (1 warning)
      This member is waiting for initial replication for replicated folder BOG-RODC_D_Drive.  
    This is very weird, I don't see why it does not replicate, I'm pooling my hair out. Please help
    Titus

    follow up on the above issue: Yes I did delete the group, and DFSRPrivate folder and recreated the group again, but this did not help.
    Problem has been fixed by Microsoft, I had to open a case with them. Apparently the Jet database that's hidden in the "System Volume Information" was corrupted, so not only he deleted the group, but did the following, changed permissions/ownership
    to access the System Volume Information, then:
    D:\>cd "System Volume Information"
    D:\System Volume Information>cd DFSR
    D:\System Volume Information\DFSR>dir
    Volume in drive D is Data
    Volume Serial Number is F4CD-B05B
    Directory of D:\System Volume Information\DFSR
    10/10/2014  11:09 AM    <DIR>          .
    10/10/2014  11:09 AM    <DIR>          ..
    10/02/2014  12:01 PM                 0 $db_normal$
    02/04/2015  10:14 AM    <DIR>          Config
    10/10/2014  10:49 AM    <DIR>          database_E6F4_CDDD_F4CD_B05B
    10/02/2014  12:01 PM    <DIR>          Private
    1 File(s)              0 bytes
    5 Dir(s)  1,558,208,782,336 bytes free
    D:\System Volume Information\DFSR>rd database_E6F4_CDDD_F4CD_B05B /s /q
    D:\System Volume Information\DFSR>dir
    Volume in drive D is Data
    Volume Serial Number is F4CD-B05B
    Directory of D:\System Volume Information\DFSR
    02/04/2015  10:20 AM    <DIR>          .
    02/04/2015  10:20 AM    <DIR>          ..
    10/02/2014  12:01 PM                 0 $db_normal$
    02/04/2015  10:19 AM    <DIR>          Config
    10/02/2014  12:01 PM    <DIR>          Private
    1 File(s)              0 bytes
    4 Dir(s)  1,558,344,138,752 bytes free
    Then as usually recreated the replication group. I haven't seen this information anywhere on the web or in the Microsoft site. 
    Hope this will help other people having the same problem as myself. Proceed with care.

  • Language specific replication of material group description not working SRM

    Hi All,
    We have backend R/3 MM system from which we replicate our materials,material groups. For Italian language the replication of the material groups description is not working. Though the description is available in backend R/3 system when i run the DNL_CUST_PROD1object in R3AS tcode, there is no replication log in SMQ2 but still the Italian language is not replicated into SRM.
    There are no logs in SMW01 tcode also.
    Please suggest.
    Best regards,
    Sam

    Hi,
    As david explained,you need to set the filter for the LANGUAGE field  in trascn R3AC3 before replicating the product categories.
    In R3AC3 select DNL_CUST_PROD1. Go to table structures tab . Click on the filter next to T023T table. This will take you to the filter tab. Select source site name and filter options. In the field put "SPRAS", in op put "EQ" and in low value the value 'IT"(for italian) . You can also describe a range here instead of individual material group numbers.
    BR,
    Disha.
    Do reward points for  useful answers.

  • Plz: Replication 9i Job Network Problem Hang

    Hi ,This problem is posted on this forum by other users
    but all of them remained unresponsed!
    I hope somebody will help me now:
    I have a hang problem in 9i
    We are using bidirectional Replication (Materialized View Replication)
    and when mview refresh group is being refreshed if there happens a network problem( on the VPN) then our refresh job seems to hang, it will never end (once we waited a week but nothing happened) and the materialized views remain locked
    the session won't be killed at all, the only way for us is to restart the database,
    I hope there is a better way or some settings to prevent this.
    somebody help me please

    Personally, I've never seen this behavior. If other reports of the same problem in the forum haven't been answered, it's likely because none of the folks that answer questions here have seen this behavior elsewhere.
    Have you logged a TAR in Metalink? It certainly sounds like a bug. Have you tried upgrading to the latest patchset?
    Justin

  • REPLICATION BETWEEN ORACLE 10g and postgresql/MySQL/MSSQL SERVER??

    Hi Friends.
    I want to know if there are a manner of replication between ORACLE and (postgresql or mysql or mssqlserver).
    Please, my email is [email protected]
    Thanks
    Manuel

    Sure.
    Are you talking about replicating data in one direction? If so, in which direction (Oracle to non-Oracle or non-Oracle to Oracle)? Or are you talking about bidirectional replication?
    Which database do you want to be the "master" (i.e. initiate the push or pull of data)?
    What sort of lag is acceptable? Minutes? Hours? Days?
    Justin

  • Replicating Product groups after client copy WRONG

    Hi Folks,
    I've taken a client copy from client 100 to 050 in both SRM SD1CLNT100 and ECC ED1CLNT100.
    I've done BDLS to replace log. sys. in both systems for both SRM and ECC log sys. eg. ED1CLNT100 to 050 and SD1CLNT100 to 050.
    After replication of config and product groups I'm stuck with the product groups replicateded in CLNT100.
    I get the root node after replication of product groups in the new 050 client but all the product groups are not copied!
    Any ideas to what I'm doing wrong?
    Thanks in advance,
    Thomas

    HI Thomas
    Can you pls go through following replies  --- 
    1 how to delete Product Category ?
    2 Re: Updating Product Categories
    3 Deletion of Product master on Production Client
        Run transaction BDLS to convert logical system from old ID to new logical system ID. The logical system ID now would be PR3CLNT700
    regards,
    Nimish Sheth

  • Oracle Stream Replication 10G

    Hi.
    We are planing to use 10G stream replication for our production enviorment. But we are concenred over few things before we move ahead with option. Our prior experience with 9i stream replication was not that good.
    9i does'nt functionality to do some advance maintenance task that could required on production enviorment. We are hoping 10G would be better option to go with streams.
    However, following are few questions that we have regarding this product. Request your valuable inputs on Oracle 10G streams replication.
    -->How effective this tool is compared to prior version 9i.
    -->How stable Streams are with 10G? Are still there any know critical issues with stream replication 10G for e.g bugs or patches that are under review e.g?
    -->For replication of production enviorment, would it be an ideal choice compared to third party vendor like golden Gate or shareplex.
    You reponse would be greatly appreciated.
    Thnks
    Ratheesh

    Hi Rateesh,
    -->How effective this tool is compared to prior version 9i.Very good. I use Streams in many production environments, even for bidirectional replication. Streams is very stable in 10g.
    For replication of production enviorment, would it be an ideal choice compared to third party vendor like golden Gate or shareplex.It depends on several factors. It's better than GG and Shareplex by far (IMHO).
    Madhu Tumma has some great Streams notes on this in his book "Oracle Streams":
    http://www.rampant-books.com/book_2004_2_streams.htm
    Hope this helps. . . .
    Donald K. Burleson
    Oracle Press author

  • Is a clustering licence required for using In-Memory replication?

              Hi,
              Could you please tell me if it is possible to use In-Memory replication
              without a clustering licence? (With WebLogic 6 on Linux with eval.
              licence.)
              I ask, because the documentation states that it can be used with
              HW load-balancing devices. If that is the case, how do you configure
              replication without configuring a WebLogic cluster (since you already
              have a HW LB cluster!).
              Regards,
              Frank Olsen
              

    Okay, so then the advice to contact your BEA account rep for a clustering eval
              license is correct.
              Frank Olsen wrote:
              > Hi and thanks for your help,
              >
              > My license file does not have support for clustering/replication.
              > There's "only": WebLogic, SSL/Export, 2PC, EJB 1.1, EJB 2.0, JMS,
              > jDriver/MSSQLServer4, jDriver/Informix4, jDriver/Oracle.
              >
              > BTW, sorry for misreading the first response -- maybe I can put
              > it on the account on the end of the day with a flu ;-)
              >
              > Robert Patrick <[email protected]> wrote:
              > >My wife has the now expired eval license that came packaged
              > >with WLS 6.0 GA and
              > >it includes licenses for clustering and in-memory replication
              > >for both servlets
              > >and EJBs.
              > >
              > >Hope this helps,
              > >Robert
              > >
              > >Prasad Peddada wrote:
              > >
              > >> I don't think replication license is part of it.
              > >>
              > >> -- Prasad
              > >>
              > >> Robert Patrick wrote:
              > >>
              > >> > I was under the impression that our eval licenses
              > >now include clustering.
              > >> > Please open up your license.bea file to see if this
              > >is the case...
              > >> >
              > >> > Prasad Peddada wrote:
              > >> >
              > >> > ? Frank,
              > >> > ?
              > >> > ? I meant you need clustering license. Contact
              > >your sales rep to get an
              > >> > ? eval license.
              > >> > ?
              > >> > ? You can ignore groups for now.
              > >> > ?
              > >> > ? -- Prasad
              > >> > ?
              > >> > ? Frank Olsen wrote:
              > >> > ?
              > >> > ? ? Prasad Peddada [email protected]? wrote:
              > >> > ? ? ?No, you can't use In Memory replication without
              > >clustering
              > >> > ? ? ?license.
              > >> > ? ? ?
              > >> > ? ?
              > >> > ? ? Great!
              > >> > ? ?
              > >> > ? ? Could you please tell me how to configure this?
              > >> > ? ?
              > >> > ? ? The documentation took me from configuring replication
              > >of HTTP
              > >> > ? ? sessions in:
              > >> > ? ? http://e-docs.bea.com/wls/docs60/cluster/servlet.html
              > >> > ? ? to configuring Replication Groups in:
              > >> > ? ? http://e-docs.bea.com/wls/docs60/cluster/setup.html#683053
              > >> > ? ? which tells you to:
              > >> > ? ? 1. Open the Administration Console.
              > >> > ? ? 2. Select the Servers node.
              > >> > ? ? 3. Select the server to configure.
              > >> > ? ? 4. Select the Cluster tab.
              > >> > ? ? 5. Type in values for the following attribute
              > >fields:
              > >> > ? ? a) Replication Group: Enter the replication
              > >group name to
              > >> > ? ? which this server belongs.
              > >> > ? ? b) Preferred Secondary Group: Enter the name
              > >of the replication
              > >> > ? ? group you would like to use to host replicated
              > >HTTP session states
              > >> > ? ? for this server.
              > >> > ? ? 6. Apply the changes.
              > >> > ? ?
              > >> > ? ? It's all well to give names of these groups, but
              > >where do you specify
              > >> > ? ? the servers in the group?
              > >> > ? ?
              > >> > ? ? There's a link to:
              > >> > ? ? http://e-docs.bea.com/wls/docs60/adminguide/config.html#config_005
              > >> > ? ? which gives a list of configuration tasks (Configuring
              > >an individual
              > >> > ? ? server, Cloning an indv. server, ...).
              > >> > ? ?
              > >> > ? ? Where to I go from here?
              > >> > ? ?
              > >> > ? ? Regards,
              > >> > ? ? Frank Olsen
              > >
              

  • FWSM Active/Active Failover ICMP replication

    I have an issue with WS-SVC-FWM-1 module - in the active/active failover it doesn't make ICMP connection state replication with asr-groups configured on the respective interfaces. Although other connections are working just fine (asymmetric routing is verified with 'show ip cef' on the MSFC) it seems that only newer ASAs are doing ICMP replication in failover, but I couldn't find any documentation describing replication behavior for the FWSM. Can anyone
    clearly describe FWSM's behavior for this?

    What FWSM version are you running?
    Please remember to rate and select a correct answer

  • 8127: Cannot create ACTIVE STANDBY PAIR scheme because another replication

    Hi All,
    I am trying to define ACTIVE STANDBY PAIR replication scheme on the Datastore which have already bidirectional replication is defined on few tables ,
    Datastore1 ,Datastore2 are with Bidirectional replication defined on few tables , i want to have Active/stand by replication scheme between datastore1 and Datastore3, while trying to define ACTIVE STANDBY PAIR replication scheme on Datastore1 , i am facing below error
    8127: Cannot create ACTIVE STANDBY PAIR scheme because another replication
    Could you please is this how to achieve this Configuration

    This configuration is not possible. You cannot mix classic replication (CREATE REPLICATION) with active/standby pair replication (CREATE ACTIVE STANDBY PAIR). They are mutually exclusive.
    Chris

  • Stop - Start Replication

    Hi folks,
    What is the syntax for stopping and starting both multi-mastger and snapshot replication.
    Will

    Hi all:
    This is depending is a stop is for ever or a pause: reminder what a suspend replication block the access to tables belong in the group stoped.
    for starting
    execute DBMS_REPCAT.RESUME_MASTER_ACTIVITY(gname=>'scott_repg');
    for stopping
    execute DBMS_REPCAT.SUSPEND_MASTER_ACTIVITY(gname=>'scott_repg');
    yes is correct but the tables is not accesible if dml over this tables then oracle show a error the group is quisced, for complement
    BEGIN
    DBMS_REPCAT.DROP_MASTER_REPOBJECT(
    oname => '"Name_of_table"',
    type => 'TABLE',
    sname => '"Schema_NAme"',
    drop_objects => FALSE);
    END;
    the FALSE in drop objects prevent drop of table only drop the union in the group, next resume activity the replication for this table is stop, for resume the replication stop the group add the object generate suport an resume activities:
    BEGIN
    DBMS_REPCAT.CREATE_MASTER_REPOBJECT(
    gname => '"Name_of_group_of_replica"',
    type => 'TABLE',
    oname => '"Table_name"',
    sname => '"schema_name"',
    copy_rows => FALSE,
    use_existing_object => TRUE);
    END;
    BEGIN
    DBMS_REPCAT.GENERATE_REPLICATION_SUPPORT(
    sname => '"Schema_name"',
    oname => '"Object_name"',
    type => 'TABLE',
    min_communication => TRUE,
    generate_80_compatible => FALSE);
    END;
    BEGIN
    DBMS_REPCAT.RESUME_MASTER_ACTIVITY(gname=>'Name_of_group_of_replica');
    END;
    Thanks,
    Martin Sarmiento Narro.

  • TimesTen Replication: Switching users on Failover.

    Hello, I have installed TimesTen on two machin and created bidirectional replication scheme for setup master/hotstandby connection.
    Not very sure how TimesTen standby setting should be done.
    My understanding was once I create the master/hotstandby, the hotstandby will not accept the connections and need to activate it once master goes down.
    But when I setup the replication scheme I found that users can connect to master as well as hotstandby server.
    Is it the way hotstandby work? I mean master and standby both are active?
    If the master crashes how the users will be transferred to standby.
    Do we need to activate the standby server when master is crashed?

    Hello Chris, Thanks for your feedback. I have created active standby pair as follows:
    1. Created DSN (ActiveMaster) on Master and (ActiveStandby) on Standby Server.
    2. Created USER ttactive on Master and Standby Server and Oracle.
    3. Created tables in Oracle10g.
    4. Created Cachegroup in Master.
    5. Created active Standby on master as follows:
    CREATE ACTIVE STANDBY PAIR
    ActiveMaster ON "hostnames masterserver",
    ActiveStandby ON "hostname standbyserver"
    RETURN RECEIPT
    STORE ActiveMaster PORT 20000 TIMEOUT 120
    STORE ActiveStandby PORT 21000 TIMEOUT 120;
    6. Started replication agent on Master. (ttAdmin –RepStart ActiveMaster)
    7. Trying to create duplicate datastore for standby using ttRepAdmin -duplicate.
    >ttRepAdmin -dsn ActiveStandby -duplicate -from ActiveMaster -
    host "hostname masterserver" –UID ttactive –PWD tt123
    -setMasterRepStart - keepCG
    ====>> This utility is failing with error. "TT12078: Failed to reset
    is_local_store TT12078: TT15001: User lacks privilege WRITE -- file "comp.c",
    lineno 4369, procedure "sbPtCheckPriv". File: repSelf.c, line: 899"
    8. Since the -duplicate did not work. I created the AWT cachegroup in standby same as master and created the replication scheme same as master.
    9. I executed ttRepStateSet('ACTIVE') on ActiveMaster DataSource.
    Issues:
    1. On Checking the status on Master and Active using ttRepStateGet.
    Master shows "ACTIVE" but StandbyShows "IDLE"
    2. When I insert any record in Master it comes back with no receipt error.
    3. Looking at cachgroup tables I observe following line after each table in cg.
    15001: User lacks privilege SELECT
    Table Type: Propagate
    What does this mean? Where I need to give the privileges.
    Could you please guide me how to go ahead with it.
    Best Regards
    Tanweer Ahmed Khan.

Maybe you are looking for