Active stanby cache group replication on same machine

Hi,
To validate a replication design, I am trying to set up an active standby pair of a cache group on a my linux(ubuntu) laptop. I have setup two datastores on the same TT instance - cgdsn and master2
I created a usermanaged cache group on the active TT DS and started an active standby replication using following sql:
command>create active standby pair cgdsn on "simu-t61" , master2 on "simu-t61" return receipt STORE cgdsn PORT 21000 TIMEOUT 30 STORE master2 PORT 20000 TIMEOUT 30;
I read in an earlier thread that replicating on same machine will require ports to be specifically provided to the replication command.
Here is the output to check the status of the master datastore:
<output>
oracle@simu-t61:~$ ttrepadmin -showstatus cgdsn_tt70
Enter password for 'ora':
Replication Agent Status as of: 2010-03-14 20:22:43
DSN : cgDSN_tt70
Process ID : 18496 (Started)
Replication Agent Policy : manual
Host : SIMU-T61
RepListener Port : 21000
Last write LSN : 0.19340024
Last LSN forced to disk : 0.19340024
Replication hold LSN : 0.19320752
Replication Peers:
Name : MASTER2
Host : SIMU-T61
Port : 0 (Not Connected)
Replication State : STARTED
Communication Protocol : 24
TRANSMITTER thread(s):
For : MASTER2
Start/Restart count : 1
Send LSN : 0.19320752
Transactions sent : 0
Total packets sent : 0
Tick packets sent : 0
Total Packets received: 0
</output>
I then tried to duplicate the standby but got the following error
<output>
oracle@simu-t61:~$ ttRepAdmin -duplicate -from cgdsn_tt70 -host "simu-t61" -keepCG -cacheUid ora -cachePwd ora -localhost "simu-t61" -verbosity 2 "dsn=master2_tt70;UID=;PWD="
Enter password for 'ora':
*20:27:02 Contacting remote main daemon at 127.0.1.1 port 17000*
*20:27:02 Duplicate Operation Ends*
TT12039: Could not get port number of TimesTen replication agent on remote host. Either the replication agent was not started, or it was just started and has not communicated its port number to the TimesTen daemon
</output>
From log file
<output>
00:30:33.20 Info: : 8143: Got hello from pid 20405, type utility (/usr/lib/oracle/xe/TimesTen/tt70/bin/ttRepAdminCmd -duplicate -from cgdsn_tt70 -host simu-t61 -keepCG -cacheUid ora -cachePwd ora -localhost simu-t61 -verbosity 2 dsn=master2_tt70;UID=;PWD= )
00:30:33.20 Info: : 8143: Accepting incoming message from 127.0.1.1 with remote protocol (we are TimesTen 7.0.5.0.0.tt70, they are TimesTen 7.0.5.0.0.tt70 remote)
00:30:33.20 Info: : 8143: 20405 ------------------: Utility program registering
00:30:33.20 Info: : 8143: maind: done with request #1336.4606
00:30:33.20 Info: : 8143: maind 1336: socket closed, calling recovery (last cmd was 4607)
00:30:33.20 Info: : 8143: Starting daRecovery for 20405
00:30:33.20 Info: : 8143: Finished daRecovery for pid 20405.
00:30:33.20 Info: : 8143: maind got #1335.4608 from 20405, not in restore: path=/tmp/master2
*00:30:33.20 Err : : 8143: TT14000: TimesTen daemon internal error: Got notInRestore command with unknown data store '/tmp/master2'*
00:30:33.20 Info: : 8143: maind: done with request #1335.4608
00:30:33.20 Info: : 8143: maind 1335: socket closed, calling recovery (last cmd was 4608)
00:30:33.20 Info: : 8143: Starting daRecovery for 20405
00:30:33.20 Info: : 8143: 20405 ------------------: process exited
00:30:33.20 Info: : 8143: Finished daRecovery for pid 20405.
00:30:34.14 Info: REP: 20246: CGDSN:transmitter.c(1358): TT16114: Attempting to connect to MASTER2 on SIMU-T61 (127.0.1.1); port: 20000
00:30:35.14 Info: REP: 20246: CGDSN:transmitter.c(1358): TT16114: Attempting to connect to MASTER2 on SIMU-T61 (127.0.1.1); port: 20000
00:30:36.14 Info: REP: 20246: CGDSN:transmitter.c(1358): TT16114: Attempting to connect to MASTER2 on SIMU-T61 (127.0.1.1); port: 20000
0
</output>
Output from netstat
<output>
oracle@simu-t61:~$ netstat -a | grep 21000
tcp 0 0 *:21000 *:* LISTEN
</output>
Am I somehow supposed to provide the port number of my active ds in the duplicate command?
thanks,
Raj
Edited by: user8936481 on Mar 14, 2010 9:41 PM

Thanks Chris and jspalmer, changing the -from fixed the problem! This and the documentation are the only places where I seem to get any help on TT....
Now, I moved from my previous problem to the next one :-) Here is the output
<output>
oracle@simu-t61:~$ ttRepAdmin -duplicate -from cgdsn -host "simu-t61" -uid ora -pwd ora -keepCG -cacheUid ora -cachePwd ora -localhost "simu-t61" -verbosity 2 "dsn=master2_tt70;UID=;PWD="
Enter password for 'ora':
09:21:48 Contacting remote main daemon at 127.0.1.1 port 17000
09:21:48 Contacting the replication agent for CGDSN ON SIMU-T61 (127.0.1.1) port 21000
09:21:48 Beginning transfer from CGDSN ON SIMU-T61 to MASTER2 ON SIMU-T61
09:21:59 Checkpoint transfer 10 percent complete
09:21:59 Checkpoint transfer 100 percent complete
09:21:59 Checkpoint transfer phase complete
09:22:00 Log transfer 100 percent complete
09:22:00 Log transfer phase complete
09:22:00 Transfer complete
09:22:04 Duplicate Operation Ends
TT12078: Failed to reset is_local_store
TT12078: TT15001: User lacks privilege WRITE -- file "comp.c", lineno 4620, procedure "sbPtCheckPriv". File: repSelf.c, line: 946
</output>
My TT internal user was created with following commands:
ttIsql TT_tt70
Command> CREATE USER ora IDENTIFIED BY 'ora';
Command> GRANT ADMIN, DDL TO ora;
Reading the error I granted 'WRITE' to the user and ran the -duplicate command again but it told me :
<output>
09:26:39 Duplicate Operation Ends
TT16231: The duplicate operation on this store was not successfully completed -- file "db.c", lineno 10493, procedure "sbDbConnect"
</output>
That's probably because I had already run the command before granting WRITE. So I tried to drop the master2 but it tells me that cache groups must be dropped first. So I tried to ttIsql into master2 but it would not let me do that either! Again it shows me the error:
<output>
oracle@simu-t61:~$ ttisql master2_tt70
Copyright (c) 1996-2008, Oracle. All rights reserved.
Type ? or "help" for help, type "exit" to quit ttIsql.
All commands must end with a semicolon character.
connect "DSN=master2_tt70";
Enter password for 'ora':
*16231: The duplicate operation on this store was not successfully completed*
The command failed.
Done.
</output>
What shall I try next?

Similar Messages

  • Can I deploy 2 computer GPO for 2 different Security Groups to the same machine?

    Hi
    this is my scenario
    I have 2 different security group ( in a domain ) and i would like to deploy 2 different Computer GPO depends by the user SG membership
    this is a terminal server ( 2k12) and I would like  have the computer GPO policy/admin template/windows components/remote desktop session host/profile different for each security group.
    thanks
    Marco

    > I have 2 different security group ( in a domain ) and i would like to
    > deploy 2 different Computer GPO depends by the user SG membership
    Not really, but for some settings there is a workaround... ->
    http://evilgpo.blogspot.de/2012/03/how-to-save-my-screen.html
    > this is a terminal server ( 2k12) and I would like  have the computer
    > GPO policy/admin template/windows components/remote desktop session
    > host/profile different for each security group.
    For THIS setting, it definitely does NOT work. The profile path must be
    known BEFORE the user is logged on and this means BEFORE any user
    specific settings can be processed.
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))

  • 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

  • Data Cache on the Same Machine that db 8.1.7

    I just wanna ask you how usefull is to install data cache if i am installing 9ias on the same machine that the data base??.
    why should or shouldn't i do it??

    the purpose of the data cache is to store high activity read only tables on the mid-tier web server's platform to avoid making network round trips to the back-end or "origin" rdbms residing on another platform.
    since you have placed both the ias mid-tier and the rdbms on the same platform, it seems to me that you have defeated the purpose of having and using the data cache.
    other opinions are welcome.

  • Monitoring cache group activity

    Hi
    I have a little question...
    Existe some system view in TimesTen that show me the cache group statistics ?
    thanks
    lewismm

    I'd make this script for replication monitor:
    !/bin/bash
    trap exit 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
    DSN=testds2
    while [ 1 ] ; do
    date
    ttRepAdmin -receiver -list -connStr dsn=$DSN
    echo -n "Log reads from disk: "
    ttIsql -v1 -e "select log_fs_reads from monitor; quit;" -connStr dsn=$DSN
    echo
    ttRepAdmin -bookmark -connStr dsn=$DSN
    sleep 15
    done
    Edited by: lewismm on Sep 23, 2008 9:36 AM

  • About cache group

    一个程序向TimesTen的数据表中插入数据能正常运行。但这个表和ORACLE做Cache Group时就不行。
    I have a wired problem: a program can insers data into a table of TimesTen when there is no Cache Group with oracle.
    However, it can not do this while it is connected to oracle using cache group. Any idea why this happens?
    error message:
    *** ERROR in tt_main.c, line 90:
    *** [TimesTen][TimesTen 7.0.3.0.0 ODBC Driver][TimesTen]TT5102: Cannot load backend library 'libclntsh.so' for Cache Connect.
    OS error message 'ld.so.1: test_C: ???: libclntsh.so: ????: ???????'. -- file "bdbOciFuncs.c", lineno 257,
    procedure "loadSharedLibrary()"
    *** ODBC Error/Warning = S1000, Additional Error/Warning = 5102

    I think I can exculde the above possibilities, as I have checked all the settings above.
    We could use SQL statements as input, and inserting and query can be done at both ends.
    It is only the program that does not work. My "connection string" is the following:
    connstr=====DSN=UTEL7;UID=utel7;PWD=utel7;AutoCreate=0;OverWrite=0;Authenticate=1
    Maybe it is a mistaken properity, or permission, or a switch parameter? Please give some suggestions.
    Thank you very much.
    Create cache group command is:
    Create Asynchronous Writethrough Cache Group utel7_load
    From
    utel7.load(col0 binary_float, col1 binary_float ......
    My odbc.ini is the following:
    # Copyright (C) 1999, 2007, Oracle. All rights reserved.
    # The following are the default values for connection attributes.
    # In the Data Sources defined below, if the attribute is not explicitly
    # set in its entry, TimesTen 7.0 uses the defaults as
    # specified below. For more information on these connection attributes,
    # see the accompanying documentation.
    # Lines in this file beginning with # or ; are treated as comments.
    # In attribute=_value_ lines, the value consists of everything
    # after the = to the end of the line, with leading and trailing white
    # space removed.
    # Authenticate=1 (client/server only)
    # AutoCreate=1
    # CkptFrequency (if Logging == 1 then 600 else 0)
    # CkptLogVolume=0
    # CkptRate=0 (0 = rate not limited)
    # ConnectionCharacterSet (if DatabaseCharacterSet == TIMESTEN8
    # then TIMESTEN8 else US7ASCII)
    # ConnectionName (process argv[0])
    # Connections=64
    # DatabaseCharacterSet (no default)
    # Diagnostics=1
    # DurableCommits=0
    # ForceConnect=0
    # GroupRestrict (none by default)
    # Isolation=1 (1 = read-committed)
    # LockLevel=0 (0 = row-level locking)
    # LockWait=10 (seconds)
    # Logging=1 (1 = write log to disk)
    # LogAutoTruncate=1
    # LogBuffSize=65536 (measured in KB)
    # LogDir (same as checkpoint directory by default)
    # LogFileSize=64 (measured in MB)
    # LogFlushMethod=0
    # LogPurge=1
    # MatchLogOpts=0
    # MemoryLock=0 (HP-UX, Linux, and Solaris platforms only)
    # NLS_LENGTH_SEMANTICS=BYTE
    # NLS_NCHAR_CONV_EXCP=0
    # NLS_SORT=BINARY
    # OverWrite=0
    # PermSize=2 (measured in MB; default is 2 on 32-bit, 4 on 64-bit)
    # PermWarnThreshold=90
    # Preallocate=0
    # PrivateCommands=0
    # PWD (no default)
    # PWDCrypt (no default)
    # RecoveryThreads=1
    # SQLQueryTimeout=0 (seconds)
    # Temporary=0 (data store is permanent by default)
    # TempSize (measured in MB; default is derived from PermSize,
    # but is always at least 6MB)
    # TempWarnThreshold=90
    # TypeMode=0 (0 = Oracle types)
    # UID (operating system user ID)
    # WaitForConnect=1
    # Oracle Loading Attributes
    # OracleID (no default)
    # OraclePWD (no default)
    # PassThrough=0 (0 = SQL not passed through to Oracle)
    # RACCallback=1
    # TransparentLoad=0 (0 = do not load data)
    # Client Connection Attributes
    # ConnectionCharacterSet (if DatabaseCharacterSet == TIMESTEN8
    # then TIMESTEN8 else US7ASCII)
    # ConnectionName (process argv[0])
    # PWD (no default)
    # PWDCrypt (no default)
    # TTC_Server (no default)
    # TTC_Server_DSN (no default)
    # TTC_Timeout=60
    # UID (operating system user ID)
    [ODBC Data Sources]
    TT_tt70=TimesTen 7.0 Driver
    TpcbData_tt70=TimesTen 7.0 Driver
    TptbmDataRepSrc_tt70=TimesTen 7.0 Driver
    TptbmDataRepDst_tt70=TimesTen 7.0 Driver
    TptbmData_tt70=TimesTen 7.0 Driver
    BulkInsData_tt70=TimesTen 7.0 Driver
    WiscData_tt70=TimesTen 7.0 Driver
    RunData_tt70=TimesTen 7.0 Driver
    CacheData_tt70=TimesTen 7.0 Driver
    Utel7=TimesTen 7.0 Driver
    TpcbDataCS_tt70=TimesTen 7.0 Client Driver
    TptbmDataCS_tt70=TimesTen 7.0 Client Driver
    BulkInsDataCS_tt70=TimesTen 7.0 Client Driver
    WiscDataCS_tt70=TimesTen 7.0 Client Driver
    RunDataCS_tt70=TimesTen 7.0 Client Driver
    # Instance-Specific System Data Store
    # A predefined instance-specific data store reserved for system use.
    # It provides a well-known data store for use when a connection
    # is required to execute commands.
    [TT_tt70]
    Driver=/oracle/timesten/TimesTen/tt70/lib/libtten.so
    DataStore=/oracle/timesten/TimesTen/tt70/info/TT_tt70
    DatabaseCharacterSet=US7ASCII
    # Data source for TPCB
    # This data store is created on connect; if it doesn't already exist.
    # (AutoCreate=1 and Overwrite=0). For performance reasons, database-
    # level locking is used. However, logging is turned on. The initial
    # size is set to 16MB.
    [TpcbData_tt70]
    Driver=/oracle/timesten/TimesTen/tt70/lib/libtten.so
    DataStore=/oracle/timesten/TimesTen/tt70/info/DemoDataStore/TpcbData
    DatabaseCharacterSet=US7ASCII
    PermSize=16
    WaitForConnect=0
    Authenticate=0
    # Data source for TPTBM demo
    # This data store is created everytime the benchmark is run.
    # Overwrite should always be 0 for this benchmark. All other
    # attributes may be varied and performance under those conditions
    # evaluated. The initial size is set to 20MB and durable commits are
    # turned off.
    [TptbmData_tt70]
    Driver=/oracle/timesten/TimesTen/tt70/lib/libtten.so
    DataStore=/oracle/timesten/TimesTen/tt70/info/DemoDataStore/TptbmData
    DatabaseCharacterSet=US7ASCII
    PermSize=20
    Overwrite=0
    Authenticate=0
    # Source data source for TPTBM demo in replication mode
    # This data store is created everytime the replication benchmark demo
    # is run. This datastore is set up for the source data store.
    [TptbmDataRepSrc_tt70]
    Driver=/oracle/timesten/TimesTen/tt70/lib/libtten.so
    DataStore=/oracle/timesten/TimesTen/tt70/info/DemoDataStore/TptbmDataRepSrc_tt70
    DatabaseCharacterSet=US7ASCII
    PermSize=20
    Overwrite=0
    Authenticate=0
    # Destination data source for TPTBM demo in replication mode
    # This data store is created everytime the replication benchmark demo
    # is run. This datastore is set up for the destination data store.
    [TptbmDataRepDst_tt70]
    Driver=/oracle/timesten/TimesTen/tt70/lib/libtten.so
    DataStore=/oracle/timesten/TimesTen/tt70/info/DemoDataStore/TptbmDataRepDst_tt70
    DatabaseCharacterSet=US7ASCII
    PermSize=20
    Overwrite=0
    Authenticate=0
    # Data source for BULKINSERT demo
    # This data store is created on connect; if it doesn't already exist
    # (AutoCreate=1 and Overwrite=0).
    [BulkInsData_tt70]
    Driver=/oracle/timesten/TimesTen/tt70/lib/libtten.so
    DataStore=/oracle/timesten/TimesTen/tt70/info/DemoDataStore/BulkInsData
    DatabaseCharacterSet=US7ASCII
    LockLevel=1
    PermSize=32
    WaitForConnect=0
    Authenticate=0
    # Data source for WISCBM demo
    # This data store is created on connect if it doesn't already exist
    # (AutoCreate=1 and Overwrite=0). For performance reasons,
    # database-level locking is used. However, logging is turned on.
    [WiscData_tt70]
    Driver=/oracle/timesten/TimesTen/tt70/lib/libtten.so
    DataStore=/oracle/timesten/TimesTen/tt70/info/DemoDataStore/WiscData
    DatabaseCharacterSet=US7ASCII
    LockLevel=1
    PermSize=16
    WaitForConnect=0
    Authenticate=0
    # Default Data source for TTISQL demo and utility
    # Use default options.
    [RunData_tt70]
    Driver=/oracle/timesten/TimesTen/tt70/lib/libtten.so
    DataStore=/oracle/timesten/TimesTen/tt70/info/DemoDataStore/RunData
    DatabaseCharacterSet=US7ASCII
    Authenticate=0
    # Sample Data source for the xlaSimple demo
    # see manual for discussion of this demo
    [Sample_tt70]
    Driver=/oracle/timesten/TimesTen/tt70/lib/libtten.so
    DataStore=/oracle/timesten/TimesTen/tt70/info/DemoDataStore/Sample
    DatabaseCharacterSet=US7ASCII
    TempSize=16
    PermSize=16
    Authenticate=0
    # Sample data source using OracleId.
    [CacheData_tt70]
    Driver=/oracle/timesten/TimesTen/tt70/lib/libtten.so
    DataStore=/oracle/timesten/TimesTen/tt70/info/DemoDataStore/CacheData
    DatabaseCharacterSet=US7ASCII
    OracleId=MyData
    PermSize=16
    # New data source definitions can be added below. Here is my datastore!!!
    [Utel7]
    Driver=/oracle/timesten/TimesTen/tt70/lib/libtten.so
    DataStore=/oracle/timesten/TimesTen/tt70/tt70_data/utel7
    DatabaseCharacterSet=ZHS16GBK
    Uid=utel7
    Authenticate=0
    OracleID=db3
    OraclePWD=utel7
    PermSize=6000
    Connections=20
    #permsize*20%
    TempSize=400
    CkptFrequency=600
    CkptLogVolume=256
    LogBuffSize=256000
    LogFileSize=256

  • Can not get two instances to join same cluster even on same machine

    On a RedHat Linux box, I have failed to get two instances of coherence to join the same cluster. I have managed to get the muticast test tool to show that packets are being sent and received. To do this, I had to:
    java -cp bin/tangasol.jar -Djava.net.preferIPv4Stack=true com.tangosol.net.MulticastTest
    Wed Apr 15 21:02:45 WET 2009: Sent packet 1.
    Wed Apr 15 21:02:45 WET 2009: Received test packet 1 from self (sent 7ms ago).
    Wed Apr 15 21:02:47 WET 2009: Sent packet 2.
    Wed Apr 15 21:02:47 WET 2009: Received test packet 2 from self
    Wed Apr 15 21:02:49 WET 2009: Sent packet 3.
    Wed Apr 15 21:02:49 WET 2009: Received test packet 3 from self (sent 1ms ago).
    Wed Apr 15 21:02:51 WET 2009: Sent packet 4.
    Wed Apr 15 21:02:51 WET 2009: Received test packet 4 from self
    However, I could not get the following to show that two instances are joining the same cluster... When I start to instances, both of them create a new cluster with only one member in each.
    java -Djava.net.preferIPv4Stack=true -jar lib/coherence.jar
    and obviously, when I try to start two instances of the sample application, I get the same problem.
    java -cp ./lib/coherence.jar:./lib/tangosol.jar:./examples/java -Djava.net.preferIPv4Stack=true -Dtangosol.coherence.localhost=172.16.27.10 -Dtangosol.coherence.localport=8188 -Dtangosol.coherence.cacheconfig=/cache/explore-config.xml com.tangosol.examples.explore.SimpleCacheExplorer

    Thanks for that... I ran:
    jdk1.6.0_13/bin/java -Dtangosol.coherence.log.level=6 -Dtangosol.coherence.log=/my1.log -Dtangosol.ccacheconfig=/cache/explore-config.xml -Djava.net.preferIPv4Stack=true -jar lib/coherence.jar
    and then
    jdk1.6.0_13/bin/java -Dtangosol.coherence.log.level=6 -Dtangosol.coherence.log=/my2.log -Dtangosol.ccacheconfig=/cache/explore-config.xml -Djava.net.preferIPv4Stack=true -jar lib/coherence.jar
    from the same machine and get the following from the log file of the second run (my2.log)
    Oracle Coherence Version 3.4.2/411
    Grid Edition: Development mode
    Copyright (c) 2000-2009 Oracle. All rights reserved.
    2009-04-16 06:53:11.574/0.625 Oracle Coherence GE 3.4.2/411 <Warning> (thread=main, member=n/a): UnicastUdpSocket failed to set receive buffer size to 1428 packets (2096304 bytes); actual size is 89 packets (131071 bytes). Consult your OS documentation regarding increasing the maximum socket buffer size. Proceeding with the actual value may cause sub-optimal performance.
    2009-04-16 06:53:11.660/0.711 Oracle Coherence GE 3.4.2/411 <D5> (thread=Cluster, member=n/a): Service Cluster joined the cluster with senior service member n/a
    2009-04-16 06:53:14.892/3.943 Oracle Coherence GE 3.4.2/411 <Info> (thread=Cluster, member=n/a): Created a new cluster "cluster:0x2FFB" with Member(Id=1, Timestamp=2009-04-16 06:53:11.58, Address=192.168.1.7:8089, MachineId=26887, Location=process:3514, Role=CoherenceConsole, Edition=Grid Edition, Mode=Development, CpuCount=8, SocketCount=2) UID=0xC0A8010700000120ADB3521C69071F99
    SafeCluster: Name=cluster:0x2FFB
    Group{Address=224.3.4.2, Port=34411, TTL=4}
    MasterMemberSet
    ThisMember=Member(Id=1, Timestamp=2009-04-16 06:53:11.58, Address=192.168.1.7:8089, MachineId=26887, Location=process:3514, Role=CoherenceConsole)
    OldestMember=Member(Id=1, Timestamp=2009-04-16 06:53:11.58, Address=192.168.1.7:8089, MachineId=26887, Location=process:3514, Role=CoherenceConsole)
    ActualMemberSet=MemberSet(Size=1, BitSetCount=2
    Member(Id=1, Timestamp=2009-04-16 06:53:11.58, Address=192.168.1.7:8089, MachineId=26887, Location=process:3514, Role=CoherenceConsole)
    RecycleMillis=120000
    RecycleSet=MemberSet(Size=0, BitSetCount=0
    Services
    TcpRing{TcpSocketAccepter{State=STATE_OPEN, ServerSocket=192.168.1.7:8089}, Connections=[]}
    ClusterService{Name=Cluster, State=(SERVICE_STARTED, STATE_JOINED), Id=0, Version=3.4, OldestMemberId=1}
    the contents of the xml file are:
    <?xml version="1.0"?>
    <!DOCTYPE cache-config SYSTEM "cache-config.dtd">
    <cache-config>
    <caching-scheme-mapping>
    <!--
    Caches with any name will be created as default replicated.
    -->
    <cache-mapping>
    <cache-name>*</cache-name>
    <scheme-name>default-replicated</scheme-name>
    </cache-mapping>
    </caching-scheme-mapping>
    <caching-schemes>
    <!--
    Default Replicated caching scheme.
    -->
    <replicated-scheme>
    <scheme-name>default-replicated</scheme-name>
    <service-name>ReplicatedCache</service-name>
    <backing-map-scheme>
    <class-scheme>
    <scheme-ref>default-backing-map</scheme-ref>
    </class-scheme>
    </backing-map-scheme>
    </replicated-scheme>
    <!--
    Default backing map scheme definition used by all
    The caches that do not require any eviction policies
    -->
    <class-scheme>
    <scheme-name>default-backing-map</scheme-name>
    <class-name>com.tangosol.util.SafeHashMap</class-name>
    </class-scheme>
    </caching-schemes>
    </cache-config>

  • SMP 2.3.4 purge cache group not working

    Hi to all,
    We have developed a native Android App on SMP 2.3.4. The app uses ondemand cache groups and except some master data synchronizations it uses several create operations to write data to an Oracle database.
    The problem is that, from the SCC it is not possible to purge the Logically Deleted Row Count. The entries are successfully transferred from Active Row Count to Logically Deleted Row Count but purging does nothing.
    At SMP2.1.3 the same scenario works. Logically deleted rows can be removed from CDB by purging. The problem is that users send data to CDB and the to the backend by submit create operations and the data cannot be deleted from CDB even when they are marked as logically deleted.
    The only way to purge the logically deleted data, is to delete the package users from the SCC tab package users.
    Any suggestions? Any workaround? Is it safe to suggest to the customer deleting the package users and then purging the data?
    Thanks

    Hi,
    I always do a sync from the device, so the entries are transferred to logically deleted column. The problem is that purging does not have any effect. According to a note ( 1879977)
    The rows in the SUP Cache Database with the column LOGICAL_DEL set to 1 should only be removed if the Last Modified Date (LMD) for the row in question is older than the oldest synchronization time in the system for a specific Mobile Business Object (MBO). As the oldest synchronization time is not taken into consideration during the purge or during the automatic Synchronization Cache Cleanup task, the rows in question are getting deleted.
    To my understanding, the above can never be true because the apps works as following. The user enters the application, synchronizes to download all the necessary data to the device and the perform some create operations. After, the user synchronizes again in order to send the data back to the backend. So the LMD data will always be newest than the oldest sync time (if understood correctly oldest sync time is the first sync time).
    As a result, all the data stay at the CDB as logically deleted affecting the CDB size. Attaching a screenshot
    For sure at sup 2.1.3 logically deleted entries can be deleted (version before note 1879977). Is there any safe workaround in order to delete unused entries for CDB?
    One last question. Do the data created at the device side (ex data from create operations) are automatically deleted from the device local DB when they are successfully transferred to the back end?
    Thanks
    EDIT: I enabled the partition by requester and device identity at the On demand cache groups that have CREATE operations, and also I added myDB.synchronize(); at the end of all the synchronizations and now my data are somehow automatically purged after reaching the backend! For example, when sending data back the cache group automatically goes from 100 entries to 0 without purging!

  • Error in Starting Oracle BAM Active Data Cache

    I am not able to start "Oracle BAM Active Data Cache" on my machine.
    The other two components "Oracle BAM Event Engine" and "Oracle BAM Report Cache" are starting properly.
    When I see the event log file of my Computer I could see the details as below:
    Event Type: Error
    Event Source: Oracle BAM Active Data Cache
    Event Category: None
    Event ID: 0
    Date: 2/7/2007
    Time: 3:51:25 PM
    User: N/A
    Computer: CHNANDA-WXP
    Description:
    ActiveDataCache: The Oracle BAM Active Data Cache service failed to start. Oracle.BAM.ActiveDataCache.Common.Exceptions.CacheException: ADC Server exception in Startup(). ---> Oracle.DataAccess.Client.OracleException ORA-12541: TNS:no listener at Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, String procedure)
    at Oracle.DataAccess.Client.OracleConnection.Open()
    at Oracle.DataAccess.Client.OracleConnection.Open()
    at Oracle.BAM.ActiveDataCache.Kernel.StorageEngine.Oracle.OracleStorageEngine.GetServerVersion()
    at Oracle.BAM.ActiveDataCache.Kernel.StorageEngine.Oracle.OracleStorageEngine.Startup(IDictionary oParameters)
    at Oracle.BAM.ActiveDataCache.Kernel.Server.DataStoreServer.Startup()
    --- End of inner exception stack trace ---
    at Oracle.BAM.ActiveDataCache.Kernel.Server.DataStoreServer.Startup()
    at Oracle.BAM.ActiveDataCache.Kernel.Server.Server.Startup()
    at Oracle.BAM.ActiveDataCache.Service.DataServer.Run()
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    Could anyone pls help me?
    Thanks and Regards,
    Chinmaya Nanda

    hi Chinmaya -can yoy tell us your companyname,project ? Your problem is very simple.BAM ADC is notable to reachoracle db.fromyour dos prompt- try tnsping <yrDB> [default  is oraclebam  or orcl  ]/ Also see FAQ pages. there is a requirement on dos prompt setting, with <clientforBAM>as 1st parameter

  • Need help:server client in the same machine

    hello all,
    i want to install oracle client and server on the same machine(cause i only have got one)
    to do that,
    for server installation i did the following:
    # mkdir /u01
    ; /u01
    # cd /u01
    # mkdir -p app/oracle/oradata
    # groupadd dba
    # groupadd oinstall
    # groupadd oracle
    # useradd -g dba -G oinstall,oracle -m oracle -d /u01/app/oracle
    ; risumi des caractiristiques du compte Linux oracle
    ; user : oracle
    ; groupe principal: dba
    ; groupe secondaire: oinstall, oracle
    ; ripertoire par difaut: /u01/app/oracle
    # cd /u01
    # chown -R oracle.dba /u01
    ; virification des droits
    # ls -l /u01/app/oracle
    # ls -l /u01/oradata
    # passwd oracle
    # more /etc/passwd
    # more /etc/group
    ; sortie de votre session root
    # exit
    $ su - oracle
    in .bash_profile(file) i wrote the follwing parameters :
    export DISPLAY=localhost:0.0
    export ORACLE_BASE=/u01/app/oracle
    export ORACLE_HOME=$ORACLE_BASE/product/8.1.6
    export PATH=$PATH:$ORACLE_HOME/bin
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
    export ORACLE_SID=TEST
    export ORACLE_TERM=vt100
    export NLS_LANG=french_france.WE8DEC
    export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
    the oracle server works fine!
    So, the server installation directory is /u01/app/oracle/product/8.1.6
    what i have to do for client installation in the same machine:
    do i have to create a new groups(dba,oinstall...)?
    do i have a new directory to install oracle client?
    can somebody give me any information?
    Thank's a lot in advance
    null

    You can install your client parts in the same ORACLE_HOME as the server as long as they are of the same version. In fact, a lot of the client has already been installed, since it is part of the server installation.
    If your client is of a different version than your server you will have to install it in a different ORACLE_HOME. You can do this using the same oracle user.

  • Sharing one Aperture Library between multiple users on the same machine

    Is there a way of setting up Aperture so that two different users on the same machine have full rights to do everything?

    Ian,
    Thanks for the suggestion. It certanly better than nothing, but in my case there is no partition with permissions off and there are other users to whom I wouldn't want to give full rights to the library. As an alternative I thought of simply creating a special user and do all editing from it.
    At any rate, it would have been useful if Aperture had something like that built in - like a preferences option, where one could specify a MacOS group name, and Aperture would do all its file/folder create operations within a given library with setgid()/setegid() of that group and corresponding umask() to give rw permissions to that group. Not too hard to do, either.

  • Two groups with the same name in File and LDAP realms

    Hi,
    I configured WLS 6.0 SP1 to use an LDAP caching realm
    as default one. In the LDAP server (Netscape Directory)
    I have a group called Administrators. There is a group
    with the same name in WLS own File Realm. When I click
    on the Groups menu item in the administration console
    I only get the Administrators group from the File Realm
    listed. Is that expected? What will happen if I protect
    a resource ti the Administrators group? Which one will
    prevail - the one from the LDAP or the one from File
    Realm? Or maybe the two will be merged?
    Regards,
    Plamen Petrov
    AstraZeneca
    Sweden

    Hi
    First of all I want to know that where you created your class, In SE24 or in any programm.
    if in SE24, then go to se24 open that class go to methods tab and check if that method name accurs at two places, if not, then
    click on that method and check the code.
    or if in a program.
    then you must have defined like
    class <class name> definition.
    public section
    method <method name>
    endclass.
    class <class name> implementation.
    method <method name>
      code for that method.
    endclass.
    It might be possible you have set the implementation part twice for that particular method, So please check and delete one implementation for that method.
    Thanks
    Lalit Gupta

  • File sharing across multiple user accounts on the same machine

    Hello,
    I try to figure out how multiple users (my wife and I) on the same mac can have equal access to files on the local drive without granting that access to all users on that machine or even the rest of the world.
    My research sofar hasn't come up with a satisfying solution. Here are the solutions that I am looking at:
    1. Enable a permission system that ensures access to both users in all cases (file/directory creation, copy and move).
    I only found a suitable solution for creating and copying files/directories but not for moving them.
    See the following articles for reference:
    https://discussions.apple.com/message/20787617#20787617 Setting up a shared structure that works e.g. for iPhoto Library but not for moving files to and from
    https://discussions.apple.com/message/4005647#4005647 Helpful information on POSIX Permissions, ACL's an Permission inheritance
    This would be my first choice if I can get around the problem of moving files...
    2. Disk Image
    Create a disk image which ignores persmissions and set permissions for the file that contains the image instead.
    Read this article to get further details: http://support.apple.com/kb/HT1198
    This solution will work but has a few disadvatages:
    There's no mutual access from multiple user accounts since an image may only be mounted by one user at a time.
    One has to create a startup script that mounts the image upon login which would create a first come first serve for access to the image content.
    3. Using a file sharing protocol (e.g. afp or smb) locally.
    The idea behind it is to have a server providing the files mutually to multiple users one the same machine. At them moment this seems to be the most promising approach to me.
    Unfortunately I can get acces from another machine but not from the same machine. Has anyone ever tried to access the file sharing (afp or smb) from the same machine on which the server is located?
    Has anyone got some helpful hints for me?
    Thanks in advance.

    Sorry, but you didn't specify details, and it was worth checking whether or not you had overlooked this approach.
    The problem you're having (as I suppose you already know) is that any new disk item inherits the permissions of the folder it is originally created in in.  These permissions (sensibly enough) need owner or administrator permission to change once they've been established; that will happen when you copy a file to a new location (because that's essentially creating a new file) but not when you move it. any of the following would work:
    changing the permissions on newly created files for both users so that they all explicitly give r/w access to a particular group.
    writing a droplet that would change the permissions of files dropped on it and move them programmatically to the shared folder
    set up a folder action or launchd job that would watch the shared folder and automatically convert permissions on files placed in it.
    The last would be the approach I would take, but...  which appeals to you?

  • How do I share files between users on the same machine?

    I tried using /Users/shared to share files between myself (Admin user) and another user on the machine (Standard user). Whenever I put a file or a folder into said directory permissions are 755 for directories and 644 for files, my umask is 0022. The files and directories belong to my user and the group staff. This means I can read and write and others can read. If I do the same using the other users account. Permissions are 700 and 600 respectively. (Owner is the other user and group is staff.) Strangely the other users umask is 0022, too.
    The result is, that all directories and files I create with my account (Admin user) are readable to every other user on the machine, whereas all directories and files the other user (Standard user) creates are not readable for anyone else. I can easily rectify this using the Terminal and chmod and/or chown, but it is a pain having to do this, since I also need to forcefully restart the Finder App for it to notice the changed permissions.
    Ideally I'd like all directories in /Users/Shared to have permissions 777 and all files 666 no matter which user created, copied or moved them to said location. I think this could possibly be done using applescript and shellscripting and the folder action hook. So far my attempts to find such a script on the net or/and write it myself have failed. I'd be grateful for any hints how I:
    a) write and setup such a script
    b) accomplish what I try to do (share files and folders on the same machine) in another possibly more Mac way
    Kind regards
    David

    The following AppleScript will recursively descend the directory tree and change the items to your modes:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px; height: 340px;
    color: #000000;
    background-color: #FFDDFF;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    on adding folder items to this_folder after receiving these_items
    repeat with some_item in these_items
    ProcessStuff from some_item
    end repeat
    end adding folder items to
    to ProcessStuff from SomeItem
    processes items contained in SomeItem, recursively descending the directory tree
    parameters - SomeItem [mixed]: an item containing the items to process
    returns nothing
    set SomeItem to SomeItem as text
    set FileInfo to (info for SomeItem as alias)
    if (folder of FileInfo) and not (package folder of FileInfo) then -- a folder (not a package)
    do shell script "chmod 666 " & quoted form of POSIX path of SomeItem
    -- do shell script "chown root:staff " & quoted form of POSIX path of SomeItem user name "me" password "mypassword" with administrator privileges
    try -- to get items in the folder
    tell application "Finder" to set SubFolder to (items of folder SomeItem)
    on error
    return {}
    end try
    repeat with SubItem in SubFolder -- process the sub items
    ProcessStuff from SubItem
    end repeat
    else -- a file
    do shell script "chmod 777 " & quoted form of POSIX path of SomeItem
    -- do shell script "chown root:staff " & quoted form of POSIX path of SomeItem user name "me" password "mypassword" with administrator privileges
    end if
    return
    end ProcessStuff
    </pre>
    You shouldn't need to change the ownership, so I commented out the chown shell script since this would need to be run as a super user. You can run a shell script with administrator privileges, but in order to be used by a standard user you will need to provide the appropriate user name and password in the script, which might not be a good idea - note that the folder action script will need to be attached in all accounts that you want to change the permissions, which means that it would need to be accessible to those accounts.

  • Multiple Apache on same machine

    I am trying to run two apaches on the same machine. I have installed each in their own home directory. I get the following error when I try to bring up the second listener. it looks like a permission error on a dynamic file in the /tmp directory. the first listener has already created the file, therefore the second listener cannot. how can I have the second listener write to a different file? thanks, Jim
    [Mon Jun 24 08:43:21 2002] [error] (2)No such file or directory: FastCGI: access
    for server (uid 4005, gid 402) failed: read not allowed by group
    [Mon Jun 24 08:43:21 2002] [error] (13)Permission denied: FastCGI: can't create
    dynamic directory "/tmp/fcgi/dynamic": doesn't exist and can't be created: Permi
    ssion denied
    [Mon Jun 24 08:43:22 2002] [warn] pid file /nsys1/oracle/test9iAS/Apache/Apache/
    logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
    [Mon Jun 24 08:43:22 2002] [error] OPM:Fail to create shmpool
    [Mon Jun 24 08:43:22 2002] [error] OPM:Fail to call opm_sys_init
    [Mon Jun 24 08:43:22 2002] [error] OPM: process manager could not create interna
    l tables
    [Mon Jun 24 08:43:22 2002] [crit] (13)Permission denied: Apache JServ encountere
    d a fatal error; check your ApJServLogFile for details if none are present in th
    is file. Exiting.

    If you want to have only one log file for all the virtual hosts configured in your environment, you can achieve it using global properties. Instead of specifying the same Debug, WLLogFile and WLTempDir properties in each virtual host you can specify them just once in the <IfModule> tag
    Sample httpd.conf file:
    <IfModule mod_weblogic.c>
    WebLogicCluster johndoe02:8005,johndoe:8006
    Debug           ON
    WLLogFile c:/tmp/global_proxy.log
    WLTempDir "c:/myTemp"
    DebugConfigInfo On
    KeepAliveEnabled ON
    KeepAliveSecs 15
    </IfModule>
    Please refer to the below link for more information:-
    http://docs.oracle.com/cd/E15051_01/wls/docs103/plugins/apache.html
    -Sandeep

Maybe you are looking for

  • Problems after print server migration to Windows Server 2008 R2

    Hi all, New forum member, first time poster. I am at my wits end and have concussion from banging my head on the desk for several days running. Hopefully someone here may be able to help. Environment I have recently moved our printing environment fro

  • Problem opening pdf files with Adobe Reader in Windows 7

    I bought a new Dell (Inspiron 5110) with pre-installed Windows 7 Home Premium (Version 6.1 SP1, 64 bit) and pre-installed Adobe Reader X (10.1.1). I cannot open ANY of my old pdf files with the Adobe reader (even after I re-installed the Adobe Reader

  • IPod classic having trouble to eject.

    I plugged my iPod classic into my mac and it finished syncin my music and i clicked eject, but it wont work and says it contains files that are in use by another application, someone help please!

  • ODI Web Service Soap Header Missing Error

    I am trying to invoke oracle crm ondemand web service using ODIInvokeWebService tool by providing the below parameters Url Port Type Operation XML Request HTTP User HTTP Password I am getting the below error during the execution of the step. javax.xm

  • Logistics and CO-PA

    what is the difference between logistic extraction and CO-PA extraction with an example plz? Edited by: merugu arun on Feb 27, 2008 9:48 AM