Problem with Active Standby Pair

Hi ALL!
I have a problem with Active Standby Pair replication.
I have 2 instance TT on host1 and host2
On host1 i created 2 data store rep1 and rep2
On host2 i created 1 data store t1
ALL data stores identical, and have one table REP_TAB.
AFter this i work with rep1 ds:
Creating active standby pair:
create active standby pair rep1 on "host1",
                                      t1 on "host2"
subscriber rep2 on "host1"
store rep1  on "host1"  port 18000 timeout 30
store t1 on "host2"     port 18000 timeout 30and starting repagent
call ttrepstart;After this i try using ttrepadmin utility and ALWAYS GET this error
C:\Documents and Settings\user1>ttrepadmin -duplicate -from rep1 -host "host1" rep4
Enter password for 'tt':
TT12048: Error performing backup at source.  More information can be found in th
e source's message log
TT7001: REP1:receiver.c(4979): TT7001: User authentication failedPasswort right. I dont know what i am doing wrong? Please Help!

Did you enable Access Control in this instance when you installed? If so, have you created the relevant users in the TimesTen instance?
If you have access to Metalink you may find Note 421220.1 useful in clarifying this process, and also for avoiding other problems you may encounter after performing a successful duplicate.

Similar Messages

  • 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

  • Active/standby pair + Oracle db parameter FAILTHRESHOLD

    Assume we have 3 databases
    TT_A - timesten Active
    TT_S - timesten Standby
    O - oracle db.
    SETURN MODE twosafe
    Storage atributes
    RETURN SERVICES OFF WHEN REPLICATION STOPPED;
    FAILTHRESHOLD set to 10 value.
    Two timesten databases are in consistent state.
    Aplication update TT_A.
    TT_S replication data to ORACLE.
    Assume we stop replication.
    So application can run on TT_A.
    After 10 log switch TT_S will be marked as failed.
    All logs waiting for TT_S will be delete.
    So how oracle receiv the data ?

    In active standby pair replication, cache operations are tightly coupled with replication. In normal operation of AWT cache group within an A/S pair, updates occur at the active which replicates them to the standby and then the standby pushes them to Oracle. The active and standby continually exchange housekeeping information about what transactions have been committed at the standby and which have been committed, via AWT, at Oracle. The active and the standby will only purge transaction logs for transactions that they know are safely stored in all 3 places. If the standby fails then, as long as you tell the active that it has failed (via a call to ttRepStateSave()), the active will take over the AWT push from the last transaction that it knows was safely committed in Oracle. No data will be lost.
    If you are using oracle Clusterware to manage your A/S pair then you don't need to do anything as Clusterware will perform the necessary notification to the active that the standby has failed.
    Chris

  • Active standby pair Replication scheme

    Hi
    I just want to know that is this possible to have "Active Active pair".
    Actually i want to create pair in which both Masters are in Active mode.None master is in standby mode.
    Please ....
    Regards
    Muh.Usman

    Could you please elaborate why you need active/active? Active/active configurations are potentially dangerous with any replication technology and are discouraged. TimesTen Active/Standby pair replication does nto support active/active (the clue is in he name :-)). TimesTen legacy replication does support active/active in some scenarios but if you use that then you cannot use Oracle caching. If you want to use both replication and Oracle caching then realistically you must use Active/Standby pair replication.
    Chris

  • Active Standby Pair Clustering.

    Hi Chris, I had created ActiveStandby Pair as follows:
    Server 1 => DSN: TTCluster1
    Server 2 => DSN: TTCluster2.
    Then I created ActiveStandby Pair in Server1, Started RepAgent and then Duplicated the DSN on Server 2 with name TTCluster 2. It worked fine.
    Now to access it from the client server mode, I created Client DSN on Client machine using Virtual IP. (Using Linux Cluster Manager).
    But inthis case I had to create two client DSN. TTCluster1Client and TTCluster2client. Since Application can connect to only one DSN and shifting to other while failover is very difficult.
    So I am trying following model now, Let me know your views on this.
    Server 1 and Server 2, both will have same DSN name "TTCluster".
    Client Machin will have only one DSN "TTClusterClient" using VIP.
    When the Server1 failes, Server 2 will take over and there is no need of shifting client DSN. Application will be routed to Server 2 after switch over.
    Step1: created server DSN "TTCluster" on Server 1 and Server 2.
    Step2: created user 'ttcluster' on Server 1 and Server 2.
    Step3: Create DataStore TTCluster on Server 1. (By connecting to TTCluster).
    Step4: Create Cache Groups (AWT) on Server1.
    Step5: Started Cache Agent on Server1.
    Step6: Created ActiveStandby Pair on Server1 as follows:
    CREATE ACTIVE STANDBY PAIR
    TTCluster ON "wabtectimesten.patni.com",
    TTCluster ON "wabtectimesten2.patni.com"
    RETURN TWOSAFE
    STORE TTCluster PORT 20000 TIMEOUT 120;
    Step8: executed ttrepstateset('ACTIVE') on server1.
    Step9: Started Replication Agent on Server1.
    Step10: Duplicated DataStore on Server2.
    Issues:
    Server2 is not coming up as Standby. The log on Server1 shows following messages:
    15:19:33.83 Warn: REP: 8671: TTCLUSTER:receiver.c(1723): TT16060: Failed to read data from the network. select() timed out
    15:19:37.09 Err : REP: 8671: TTCLUSTER:receiver.c(3428): TT16142: Failed to retrieve peer information. No peers found
    15:19:37.09 Err : REP: 8671: TTCLUSTER:transmitter.c(5523): TT16229: Transmitter thread failure due to lack of state consistency at subscriber store _ORACLE
    Question:
    While creating replication scheme I have mentioned.
    STORE TTCluster PORT 20000 TIMEOUT 120;
    I need to define the timeout for both DataStores. How will I do that?
    The above timeout will be applicable for which datastore??
    Can you please let me know if I am going in the right direction???

    Hi Tanweer,
    When designing a monitoring scheme for TimesTen one has to bear a few things in mind (though not all will be relevant in every case):
    1. There could be multiple 'instances' of TimesTen installed on a machine. Each instance is completely independent and must be monitoried separately.
    2. Each instance has a 'main daemon' (timestend) that is the instance master supervisor. If this daemon is running and healthy then the 'instance' is considered to be 'up' and 'healthy'.
    3. Each instance can manage multiple datastores. Each datastore is independent from the others and so each datastore must be monitored separately.
    4. Each datastore may be using replication and/or cache connect. If so, these must also be monitored as well as the datastore since it is perfectly possible e.g. for the datastore to be healthy but for replication to be 'down'.
    Depending on your requirements, your monitoring mechanism must 'model' this structure and relationships...
    - If the instance main daemon is not running, or is not responding, then the entire instance is 'down' and all datastores managed by the instance should also be considered as 'down'
    - If a datastore goes down (e.g. call invalidate), other stores in the instance are not affected and neither is the main daemon for the instance. They will continue to operate normally.
    - A datastore may be healthy in itself but maybe replication or cache connect for the datastore is not healthy. Do you then consider the datastore as down? That depends on your applications requirements!
    Hopefully this helps to clarify the interrelationship of components. Crashing a datastore by calling 'invalidate' does not crash the daemon (if it does then that is a bug!).
    For monitoring the instance (main daemon) there are a few options:
    1. ps -ef | grep timestend. This can detect if the daemon process is running but not if it is healthy...
    2. Connect to a datastore. Every connect/disconnect request is processed via the main daemon so if the daemon is not healthy this will result in some error (usually a 'cannot communicate with the daemon' error). However, connect/disconnect are relatively expensive so you don't want to do this too often.
    3. Have a monitoring process that maintains an open connection to the instance level datastore (DSN=TT_<instancename>). Periodically (as often as required within reason) it can execute the built in procedure ttDataStoreStatus() passing it the pathname of the instaance datastore checkpoint files (obtainable from the built in procedure ttConfiguration). This procedure communicates with the main daemon so will either return success (meaning daemon is okay) or an error (daemon is in big trouble).
    If you have to do the test from a script then I would suggest that (2) is best but if you can do it from a continually running monitoring process then (3) is better.
    For monitoring a datastore the best way to ascertain overall health is as follows:
    1. Have a dummy table in the datastore. And as part of the check update a row in th dummy and commit the transaction. If this returns success then this shows that the datastore is up and able to service update requests (which means it is also okay for read requests).
    2. You should also monitor the available space in the datastore and warn someone or something if the free space gets too low. You can query space allocation, current usage and high watermark usage from the SYS.MONITOR table. You can also configure TimesTen to generate SNMP traps and/or return warnings to applications if space usage exceeds some configured threshold. The objective is to take proactive action to prevent the datastore becoming full since that will require more disruptive corrective action.
    For monitoring replication you should periodically:
    1. Check that the datastore's repagent is running (you can do this using ttDatastoreStatus)
    2. Check the status of each replication peer by calling ttReplicationStatus and checking the values of pstate (should be 'start') logs (if this value increases over time then the peer is in some kind of trouble) and lastMsg (if there is no message from the peer for a long time then it may be in some kind of trouble).
    3. Sometimes an easier way is to have a dummy table set up for synchronous replication and do an update+commit for a row in that table. if replicatioin is working the commit will return within a few ms at most. If you get a timeout error returned that tells you that replication is in trouble,
    To monitor cache connect is not so easy at present.
    For AWT cache groups, the same monitoring as is used for replication is okay).
    For SWT cache groups, if the sync to Oracle is not working every commit will get an error (so that's kind of obvious).
    For AUTOREFRESH cache groups it's a bit harder. There is currenyly no supported way to determine when the last successful autorefresh occurred. I am hoping this capability will be added in a future release.
    Sorry if that is a bit long winded - I hope it helps...
    Chris

  • Ask timesten 11.2 Using Oracle Clusterware to Manage Active Standby Pair

    Using Oracle Clusterware to Manage Active Standby Pairs
    http://download.oracle.com/docs/cd/E13085_01/doc/timesten.1121/e13072/cluster.htm#CCHCFAAD
    What is that mean ?
    I have to use Share Storage for... Oracle Clusterware?
    I think right?... or wrong ?
    Can I have VIP on Master node, and then master down... standby will active with VIP, right ?

    A TimesTen A/S pair is a replicated configuation where a pair of TimesTen datastores, usually located on different machines, act in many ways as a single unit. The active master can process both queries and DML (insert/update/delete) while the standby master can only process queries (think of this as a little like Active Dataguard). Applications that run on the same machine as one of the TT datastores can connect to it via the very high performance 'direct mode' while applications running on other machines can access the datastores in client/server mode. There is a clearly defined procedure for failing over if the active master fails (which involves promoting the standby master to active) and for recovering a failed store back to the correct role. Direct mode applications must failover with the datastore whereas for client/server applications the connection(s) need to be failed over. The basic A/S pair replication mechanism has been available since TimesTen 6.0. The replication configuration is defined via special SQL syntax and monitoring and management (failover control etc.) is performed by way of built-in procedure calls. However, in TT 6.0 and 7.0 the actual monitoring and management of the A/S pair, including failover, is left for the user to implement themselvses or via some custom integration with an external cluster manager.
    TimesTen 11g adds two major new capabilities:
    1. Automatic client connection failover for client/server connections. Think of this as very similar to Oracle DB TAF and FAN. This does not require VIPs or Clusterware since it is implemented completely within TimesTen. However it works very well when used in onjunction with Clusterware.
    2. A deep integration between TimesTen and Oracle Clusterware. All aspects of Timesten A/S pair definition, deployment, management and recovery are handled by Clusterware. There is just a single configuration file and a single TimesTen utility (ttCWAdmin) involved. Of course you need a properly configured Clusterware setup first which will require some form of shared storage (for OCR and voting disks) but TT storage (checkpoint and log files) does not need to be on shared storage. Setting up TT for use with Clusterware is very quick and easy (maybe 30 minutes the first time you do it and much quicker thereafter once you know what you are doing). From then on Clusterware will manage all aspects of failover and recovery completely automatically. VIPs are not required but can be used if desired e.g. for application failover purposes. Clusterware can also manage the failover of direct mode applications. Also, you can define automated backup cycles and spare nodes that can be used if a node suffers some permanent failure. The Clusterware integration offers very rich functionality but also very fast failover (typically just a few seconds in my testing).
    Hope that helps clarify.
    Chris

  • Can I replicate new tables using the ACTIVE STANDBY PAIR replication scheme

    Hi,
    I have created myself a simple setup using an active/standby pair with a single subscriber like so:
    CREATE ACTIVE STANDBY PAIR cie ON "tt-test1", cie ON "tt-test2" RETURN RECEIPT SUBSCRIBER cie on "tt-test3";
    I have then added some tables on the master, they did not replicate automatically. I find this:
    Command> repschemes;
    Replication Scheme Active Standby:
    Master Store: CIE on TT-TEST1
    Master Store: CIE on TT-TEST2
    Master Return Service: Return Receipt
    Subscriber Store: CIE on TT-TEST3
    Excluded Tables:
    ROOT.EXTRACTOR_
    ROOT.PROMPT_
    ROOT.PREFERABLE_
    Included Tables:
    List too long (59 items), use verbosity 4 to display
    <snip>
    My question is ... how do I include these tables in replication?
    Do I need to trash and clone the secondary master store and the subscriber again? Even doing that won't add the tables to the replication scheme so I don't think that is a solution.
    I couldn't find much documentation on the ALTER REPLICATION statement but from what I could find it requires me to know the 'name' of the replication scheme and the examples in the documentation didn't work when I used 'Active Standby' as the scheme name in the statement.
    Am I being retarded here? Is this a limitation of using the ACTIVE STANDBY PAIR replication model?
    Thanks in advance.
    Huw

    When you setup and rollout the ACTIVE/STANDBY pair (or indeed legacy replication) it only includes tables that already exist. The normal deployment process is:
    1. Create the first datastore (the one which will initially be the 'active').
    2. Create (and populate) all necessary tables.
    3. Create the active/standby pair replication scheme.
    4. Start the repagent
    5. Make the datastore active by calling ttRepStateSet('ACTIVE')
    6. Use ttRepAdmin -duplicate to create the standby store from the active
    7. Start repagent at standby
    8. Use ttRepAdmin -duplicate to create the subscriber store from the standby
    7. Start repagent at subscriber
    If you need to add/remove tables later you must do the following:
    At active node:
    1. Create any new tables (and populate them) as needed
    2. Stop repagent
    3. Execute ALTER ACTIVE STANDBY PAIR with INCLUDE and/or EXCLUDE clauses as required
    4. Start repagent
    Then you need to redeploy the other stores:
    At standby:
    5. Stop repagent
    6. Drop datastore (ttDestroy)
    7. Re-create datastore from active using ttRepAdmin -duplicate
    8. Start repagent
    At subscriber:
    9. Stop repagent
    10. Drop datastore (ttDestroy)
    11. Re-create datastore from standby using ttRepAdmin -duplicate
    12. Start repagent
    This is documented in the TimesTen Replication Guide in the section on administering an active/standby pair.
    Chris

  • Problem with activation

    The error code is:E_ADEPT_REQUEST_EXPIRED
    WHO CAN HELP ME?

    Are you really having this problem with activation, or are you having it after activation when you try to read a book?
    If it is for a specific book ...
    If it is a loan check it hasn't really expired.
    Then verify that ADE and any devices are set to correct time and timezone.
    If it is for registration ...
    Sometimes ADE gets its registration/activation confused and in a semi-authorized state.
    Uninstalling and reinstalling does not help.
    Unfortunately, it often then gives misleading error messages about what is wrong.
    A common incorrect message informs you that the ID is already in use on another computer and cannot be reused.
    This can often be resolved by completely removing any authorization using ctrl-shift-D to the Library screen on ADE (cmd-shift-D if on Mac).
    Restart ADE, and then reauthorize with your (old) Adobe ID.
    In extreme cases on the mac, the following extra step has helped some people.  Navigate to /Users//Library/Application Support/Adobe/Digital Editions and drag the activation.dat file to the trash. If you are using 10.7, see Access hidden user library files | Mac OS 10.7 Lion. http://forums.adobe.com/thread/1265248?tstart=0
    ~

  • I have problems with activation, after delete mi Iphone from Icloud.

    I have problems with activation, after delete mi Iphone from Icloud.

    Hello Sikiz 21,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    iPhone: Troubleshooting activation issues
    http://support.apple.com/kb/TS3424
    iOS: Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    Best of luck,
    Mario

  • Hello Apple. Iphone6 ios8.0.2. I have problem with activation imsg and fctm. My number doesnt display on both apps. I can only use them with my apple ID. How can i fix this problem. Country:Azerbaijan. Number:  *********

    Hello Apple. Iphone6 ios8.0.2. I have problem with activation imsg and fctm. My number doesnt display on both apps. I can only use them with my apple ID. How can i fix this problem. Country:Azerbaijan. Number:  *******
    <Edited by Host>

    Hello Khayalh,
    You should be able to link your phone number by following the steps in the article below. From your iPhone, sign out of FaceTime and iMessage and then sign back in and it should link. Check in the Start Conversation With and I Can Be Reached at section in iMessage and FaceTime respectively. 
    iOS and OS X: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    Regards,
    -Norm G. 

  • Problem with activating account

    Hi Guys, I am newbie in the internet stuff and I dont know if I am writing on correct board on this website. I have got problem with activating my account. I received email but when I click on the link it was not working, is this link is correct? http://forums.creative.com/?7ea92d63b246

    Hi,
    I am not sure what's that string of numbers and letters at the begining of your message.
    What product do you have?
    What account are you trying to activate?

  • Safe way to reboot Active/Standby Pair

    Hello,
    I have the need to reboot my ASA5520. We have a Active/Standby pair and I want to make sure that they come up playing nicely and not in a tug of war.
    Any advice on the proper way to reload these machines and optimize uptime??
    Thanks,
    Pedro

    Pedro
    If you are not bothered as to which one becomes primary then simply pick one, reload, wait until it has come up and then reload the other one.
    As long as you have failover correctly configured there should be minimal downtime, just the time it takes to fail over when you reload.
    If you want the primary to stay as the primary then you need to reload this one first, let it come up as standby, then reload the other one and the former primary will now become the primary again.
    Note that reloading the standby first is the best approach simply because you only then have one failover ie. when the standby comes backup and resumes it's standby funtionality and then you reload the primary there will be a failover.
    Jon

  • 8130: CREATE ACTIVE STANDBY PAIR must only be run on one of the MASTER node

    CkptFrequency=600
    CkptLogVolume=128
    OracleNetServiceName=abmsrv1
    PassThrough=1
    plz give me some help~~thx
    帖子经 user11036969编辑过

    Here's the original post (the forum seems to have truncated it for some reason):
    Content of the new Post:
    Command> CREATE ACTIVE STANDBY PAIR abmmd ON "node1",abmmd ON "node2"
    > RETURN RECEIPT
    > STORE abmmd ON "node1" PORT 21000 TIMEOUT 30
    > STORE abmmd ON "node2" PORT 20000 TIMEOUT 30;
    8130: CREATE ACTIVE STANDBY PAIR must only be run on one of the MASTER nodes.
    [ABMMD]
    Driver=/abm/tt02/tt/TimesTen/tt1121/lib/libtten.so
    DataStore=/abm/tt02/tt/tt11g/data/abm
    LogDir=/abm/tt02/tt/tt11g/data/logs
    SMPOptLevel=1
    TypeMode =0
    DurableCommits=0
    ExclAccess=0
    Connections=1000
    Isolation=1
    LockLevel=0
    PermSize=50000
    TempSize=1000
    ThreadSafe=1
    WaitForConnect=0
    Logging=1
    LogFileSize=256
    LogPurge=1
    CkptFrequency=600
    CkptLogVolume=128
    OracleNetServiceName=abmsrv1
    PassThrough=1
    plz give me some help~~thx
    This error means that when TimesTen is processing this statement and asks the operating sysstem for the official hostname of the local node the O/S is returning somethign different to 'node1' or 'node2'.
    it may be that you have incorrectly set the hostname to inculue a DNS domain (e.g. node1.xxx.yy.zzz).
    Chris

  • I have a problem with activation my iPhone 5, I have a problem with activation my iPhone 5

    Hello.
    Case ID: 585410348
    I have a problem with activation my iPhone 5. I have bought the iPhone in a shop one week ago and update iOS 7.0.4 yesterday. After update iPhone has an activation screen and asks previous owner’s Apple ID and Password. I don’t know Apple ID and Password; I haven’t communication with him. I can not use my iPhone 2 days. I am so disappointed this situation. Can you help me to disable this function, please?
    Serial No of my iPhone is F17KDG2WDTWD and IMEI is 013620000624551. I attach photos of the iPhone and the sales receipt.

    Take it back to the Apple store.  You can't activate it without the correct ID and password.  This can't be disabled.  Either get a replacement or get your money back.

  • I have a problem with activation my iPhone 4.

    Hello.
    Case 71290.
    I have a problem with activation my iPhone 4. I have bought the iPhone in a internet-shop one week ago and update iOS 7.1.1 yesterday. After update iPhone has an activation screen and asks previous owner’s Apple ID and Password. I don’t know Apple ID and Password; I haven’t communication with him. I can not use my iPhone 4 days. I am so disappointed this situation. Can you help me to disable this function, please?
    Serial No of my iPhone is 69******A45 and IMEI is ******. I attach photos of the box and iphone.
    Best Regards.
    <Edited By Host>

    Alexandrov_Andrei wrote:
    Can you help me to disable this function, please?
    No.
    You need to contact previous owner or return it & get a refund.
    -> Find My iPhone Activation Lock: Removing a device from a previous owner’s account

Maybe you are looking for

  • Ipod touch will not do anything but display a bright blank screen

    Please help! I tried to access Facebook from ipod touch and the ipod froze and went to a bright screen and blank. I can not get it to power off or anything!

  • Insert picture in a blob column and show in oracle forms

    hi , please help me with this I am trying to insert a picture into a blob column of a table and show that in oracle forms , but not able to do it . I am using version 10g for both database and forms . Please tell me how to insert a picture in a blob

  • System Wide Keyboard shortcuts

    F5 on my macbook (in any application) opens a 'Quick Task Entry' window. ( I am not sure where this behaviour comes from but I suspect it was from one of any number of apps I have tried out over the years). I would like F5 to do nothing. In the Syste

  • Synchronize Application Roles

    Hi everyone, Whenever I open the Administration Tool, then try to "synchronize application roles" under the Identity menu, I get a "Runtime Error". There aren't many details; there is a link to the .exe like "Program C:\Prgoram Files\Oracle Business.

  • 100% audio codec usage

    I've noticed that powertop2 shows two entries for "audio codec". One seems to be my actual audio out and one is just 100% active. I've got laptop-mode instaled with all possible powr savings turned on. The laptop is lenovo thinkpad t410. That's what