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

Similar Messages

  • 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

  • Can the standby become the active for the active standby pair

    Hi all,
    Will the standby database take over the duty of the active database when the active database fails?
    If not is there only a read-only standby database and how high availability of the active stand pair works?
    Thanks

    That will work for a simple test/demo environment but it is not robust enough to use for real. If implementing a robust HA monitor and management framework were that easy then we wouldn't need Clusterware...What about all the different failure conditions, combinations and corner cases? Please don't make the mistake of thinking that this is close to adequate for production usage. You will just create a heap of pain for yourself. State management and co-ordination across multiple nodes is a difficult and complex problem which is why cluster managers have evolved into the thinsg they are today.
    Just one simple example; the network that connects your detection program to both nodes is working fine but the network between the TT nodes is not. How does your monitor (a) detect this and (b) handle it? What of the network between the monitor and one of the nodes fails but the connection to the other node and between the TT nodes is okay? How is that detected/handled? Ensuring that you 'do the right thing' in each case and don't take any action that could result in loss of service? And these are the 'easy' cases...
    Chris

  • 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

  • 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

  • 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

  • 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.

  • How do you insert new records into multiple tables using the same unique primary key?

    I’ve created a PHP site and MySQL server using a free app called XAMPP.  I have successfully created a form in Dreamweaver that will write data to a (name) table in the SQL database.  Here’s my question: How do you write to two (or more) tables in the same database and pass the same primary key to both tables?  In the SQL database, I defined the first field as ID and set it as the primary key with auto update.  So, when you insert a new record, it creates a unique primary key for that record.  In my form, I’m capturing info that needs to be stored to two tables at the same time; a Name table and Address table. Since the Name and Address tables use the ID field as the primary key, I believe I will need to pass the ID value from the Name table to the insert of the Address table to insure they both have the same primary key, right?

    No. You probably need the primary key from one table to be a foreign key in the other tables. In any case, I believe you can use two methods to obtain the auto generated key. First with SQL:
    http://dev.mysql.com/doc/refman/5.0/en/getting-unique-id.html
    And the other using a PHP function:
    http://us3.php.net/mysql_insert_id

  • Yesterday I changed my email password on my home computer.  Today, I can't get any new emails on my Samsung Galaxy 4; I deleted the email account entirely and tried to set it up again as a new account, using the new password, but it keeps giving me an err

    Yesterday I changed my email password on my home computer.  Today, I can't get any new emails on my Samsung Galaxy 4; I deleted the email account entirely and tried to set it up again as a new account, using the new password, but it keeps giving me an error message that reads: Cannot safely connect to server.  The new password is working on my home computer.  I even tried the old password; it just gave me the same error message.

    I'm sorry you're having issues with your e-mail account on your phone Rusty1112. Let's figure out what's going on. First, please try deleting account/information again and then restart phone. When phone is back on, try adding e-mail account again, and be sure you're entering exactly as you set up, meaning its case-sensitive. If you're still getting same error, please let us know and let us know what e-mail account it is, Yahoo, AOL, MSN, etc.
    Thank you,
    VanessaS_VZW
    Follow us on Twitter @VZWSupport

  • How to remove preinstalled files of adobe photoshop from my mac mini so that i can install a new version of the same software.The previous version was removed using the app cleaner software.Could not continue installation bcoz of earlier files

    How to remove preinstalled files of adobe photoshop from my mac mini so that i can install a new version of the same software.The previous version was removed using the app cleaner software.Could not continue installation of the new version because of the existance of files from the previous version.plz help

    What "app cleaner software" ? I ask because installing Photoshop over a previous version has never been a problem. Perhaps your difficulty stems from another source, eg. "cleaner software" ?
    If you look in your hard drive, at the root level there is a Library. In there is a folder called Application Support, and in that you will find a folder called Adobe. Files from your previous version are there.
    However, I urge you to call Adobe support to make sure you are not doing anything that would mess up other Adobe applications.
    http://www.adobe.com/support/connect/connecthostedsupport.html

  • When I try to open a new tab using the "+" on the toolbar, nothing happens. Even trying to use the cntl t to open a new tab does not work. To open a new tab, I must right click on a hyperlink. how can I correct this? Using Firefox 3.6.18

    When I try to open a new tab using the "+" on the toolbar, nothing happens. Even trying to use the cntl t to open a new tab does not work. To open a new tab, I must right click on a hyperlink. how can I correct this? Using Firefox 3.6.18

    The Ask Toolbar is causing that in the Firefox 3.6.13+ versions. Uninstall that extension.
    There are a couple of places to check for the Ask toolbar:
    * Check the Windows Control panel for the Ask Toolbar - http://about.ask.com/apn/toolbar/docs/default/faq/en/ff/index.html#na4
    * Also check your list of extensions, you may be able to uninstall it from there - https://support.mozilla.com/kb/Uninstalling+add-ons

  • Can anyone tell me where i can get a new or used sony super drive dwu10 678-0429b in the UK, for my flat panel i mac g4  model no m9168lla , or  is there  any other compatable drives i could fit

    can anyone tell me where i can get a new or used sony super drive dwu10 678-0429b in the UK, for my flat panel i mac g4  model no m9168lla , or  is there  any other compatable drives i could fit

    Try eBay. You do occasionally see that old model advertised there.

  • Have tried to copy ratings over to a new computer using the export playlist function and this fails... can anyone suggest why?

    have tried to copy ratings over to a new computer using the export playlist function and this fails... can anyone suggest why?

    Because ratings don't travel with the files or the playlist.
    These are two possible approaches that will normally work to move an existing library to a new computer.
    Method 1
    Backup the library with this User Tip.
    Deauthorize the old computer if you no longer want to access protected content on it.
    Restore the backup to your new computer using the same tool used to back it up.
    Keep your backup up-to-date in future.
    Method 2
    Connect the two computers to the same network. Share your <User's Music> folder from the old computer and copy the entire iTunes library folder into the <User's Music> folder on the new one. Again, deauthorize the old computer if no longer required.
    Both methods should give the new computer a working clone of the library that was on the old one. As far as iTunes is concerned this is still the "home" library for your devices so you shouldn't have any issues with iTunes wanting to erase and reload.
    I'd recommend method 1 since it establishes an ongoing backup for your library.
    If you have an iOS device that syncs with contact & calendar data on your computer you should migrate this information too. If that isn't possible create a dummy entry of each type in your new profile and iTunes should offer to merge the existing data from the device into the computer, otherwise the danger is that it will wipe the information from the device.
    If your media folder has been split out from the main iTunes folder you may need to do some preparatory work to make it easier to move. See make a split library portable.
    Should you be in the unfortunate position where you are no longer able to access your original library, or a backup of it, then see Recover your iTunes library from your iPod or iOS device for advice on how to set up your devices with a new library with the maximum preservation of data. If you don't have any Apple devices then see HT2519 - Downloading past purchases from the App Store, iBookstore, and iTunes Store.
    tt2

  • How can I back into the main screen without using the activator bottom?

    How can I back into the main screen without using the activator bottom?

    I assume you mean the HOME button. You cannot. The HOME button is the only way to exit an app.

  • How can I increase the speed of importing audio cds into my iTunes library?  On my old Dell PC cds imported at 30-35x, but my new iMac (using the Apple Superdrive) is trudging along at 8-10x.  Any suggestions?

    How can I increase the speed of importing audio cds into my iTunes library?  On my old Dell PC cds imported at 30-35x, but my new iMac (using the Apple Superdrive) is trudging along at 8-10x.  Any suggestions?

    Hi,
    Not sure you can do anything about this. I get vaiable import speeds - a lot depends on the actual disc. The Read Write spec is 24X but I rarely see speeds close to this.
    Jim

Maybe you are looking for