4 Replies Latest reply: Jul 2, 2012 9:11 AM by jtongtttechsupport RSS

    TT12038: Could not connect to TimesTen daemon on remote host tap2.test3.com

    Muhammad.Usman
      hi! i am creating active standby pair..........

      Machine 1 tap2.test3.com

      [activekhurram]
      Driver=/d01/oracle/tt70/TimesTen/tt70/lib/libtten.so
      DataStore=/d01/oracle/tt70/TimesTen/tt70/info/activekhurram
      DatabaseCharacterSet=WE8MSWIN1252
      PermSize=10
      OracleID=orcl

      [timesten@tap2 info]$ ttisql

      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.
      Command> connect "dsn=activekhurram;uid=adm;";
      Enter password for 'adm':
      Connection successful: DSN=activekhurram;UID=adm;DataStore=/d01/oracle/tt70/TimesTen/tt70/info/activekhurram;DatabaseCharacterSet=WE8MSWIN1252;ConnectionCharacterSet=US7ASCII;DRIVER=/d01/oracle/tt70/TimesTen/tt70/lib/libtten.so;OracleId=orcl;PermSize=10;TypeMode=0;
      (Default setting AutoCommit=1)

      Command> create table readtab(a number not null primary key,b varchar2(31));
      Command> insert into readtab values(101,'aaaa');
      1 row inserted.
      Command> commit;

      Command> create active standby pair activekhurram on "tap2.test3.com",standbykhurram on "test.tap.com";
      Command> repschemes;

      Replication Scheme Active Standby:

      Master Store: ACTIVEKHURRAM on TAP2.TEST3.COM
      Master Store: STANDBYKHURRAM on TEST.TAP.COM

      Excluded Tables:
      None
      Excluded Cache Groups:
      None
      Excluded sequences:
      None

      Store: ACTIVEKHURRAM on TAP2.TEST3.COM
      Port: (auto)
      Log Fail Threshold: (none)
      Retry Timeout: 120 seconds
      Compress Traffic: Disabled

      Store: STANDBYKHURRAM on TEST.TAP.COM
      Port: (auto)
      Log Fail Threshold: (none)
      Retry Timeout: 120 seconds
      Compress Traffic: Disabled

      1 replication scheme found.
      Command> call ttrepstart;
      Command> call ttrepstateget;
      < IDLE >
      1 row found.
      Command> call ttrepstateset('active');
      Command> call ttrepstateget;
      < ACTIVE >
      1 row found.
      Command>


      Machine 2 test.tap.com................

      [standbykhurram]
      Driver=/d01/app/oracle/tt70/TimesTen/tt70/lib/libtten.so
      DataStore=/d01/app/oracle/tt70/TimesTen/tt70/info/standbykhurram

      DatabaseCharacterSet=WE8MSWIN1252
      PermSize=10
      OracleID=orcl


      [timesten@test info]$ ttrepadmin -duplicate -from activekhurram -host "tap2.test3.com" -uid adm -pwd adm "dsn=standbykhurram";
      TT12038: Could not connect to TimesTen daemon on remote host tap2.test3.com -- file "repDuplicate.c", lineno 1644, procedure "ExecDup"


      i also ping tap2.test3.com(machine 1) from test.tap.com(machine 2).
      [timesten@test bin]$ ping tap2.test3.com
      PING tap2.test3.com (192.168.0.149) 56(84) bytes of data.
      64 bytes from tap2.test3.com (192.168.0.149): icmp_seq=0 ttl=128 time=0.263 ms
      64 bytes from tap2.test3.com (192.168.0.149): icmp_seq=1 ttl=128 time=0.257 ms






      i check both machines status.....

      Machine 1 tap2.test3.com
      [timesten@tap2 bin]$ ttstatus
      ]TimesTen status report as of Thu Sep 3 11:28:37 2009

      Daemon pid 2759 port 17000 instance tt70
      TimesTen server pid 2768 started on port 17002
      TimesTen webserver pid 2766 started on port 17004

      ------------------------------------------------------------------------
      Data store /d01/oracle/tt70/TimesTen/tt70/info/activekhurram
      There are 11 connections to the data store
      Data store is in shared mode
      Shared Memory KEY 0x0203bd3e ID 98306
      Type PID Context Connection Name ConnID
      Process 3853 0x080d3c78 activekhurram 1
      Replication 3922 0x081d10d8 LOGFORCE 4
      Replication 3922 0x081e10e0 REPHOLD 2
      Replication 3922 0x082302d8 REPLISTENER 3
      Replication 3922 0x0828f4d8 TRANSMITTER 5
      Subdaemon 2764 0x08098260 Worker 2042
      Subdaemon 2764 0x0813d7e8 Flusher 2045
      Subdaemon 2764 0x0814c9c0 Checkpoint 2044
      Subdaemon 2764 0x0815bb98 Aging 2046
      Subdaemon 2764 0x0816ad70 Monitor 2043
      Subdaemon 2764 0xb1100470 HistGC 2047
      Replication policy : Manual
      Replication agent is running.
      Cache agent policy : Manual

      Access control enabled.
      End of report



      Machine 2 test.tap.com................

      [timesten@test bin]$ ttstatus
      TimesTen status report as of Thu Sep 3 11:26:03 2009

      Daemon pid 2448 port 17000 instance tt70
      TimesTen server pid 2457 started on port 17002
      TimesTen webserver pid 2455 started on port 17004

      ------------------------------------------------------------------------
      Data store /d01/app/oracle/tt70/TimesTen/tt70/info/TT_usman
      There are no connections to the data store
      Replication policy : Manual
      Cache agent policy : Manual
      ------------------------------------------------------------------------
      Data store /d01/app/oracle/tt70/TimesTen/tt70/info/TT_tt70
      There are no connections to the data store
      Replication policy : Manual
      Cache agent policy : Manual
      ------------------------------------------------------------------------
      Access control enabled.
      End of report


      please tell me where is the problem.....