Very well put Mark
Thanks
Avinash
Very well put Mark
Thanks
Avinash
Thank you so much Avinash!
Thank you Antoine!
Thank you Mark! Very Helpful Answer!
It is all that I need
Dear Experts,
I've started Run_Container.sh after that server terminated,
sybase@saprs:/opt/sybase/REP/RAH/HANARAX/bin> ./RunContainer.sh
./RunContainer.sh: line 78: -XX:+UseConcMarkSweepGC: command not found
12:35:06.751 - SAP HANA Replication Agent Server for Unix & Windows - Runtime is Starting, Process ID is 6753
12:35:06.751 - Using Config File /opt/sybase/REP/RAH/HANARAX/config/ContainerRuntime.xml
12:35:06.751 - Using Global Bootstrap File /opt/sybase/REP/RAH/HANARAX/config/bootstrap.prop
12:35:06.751 - Using Local Bootstrap File /opt/sybase/REP/RAH/HANARAX/instances/AgentContainer/config/bootstrap.prop
12:35:07.165 - Loading Components and Services
12:35:07.331 - Initializing Services
12:35:11.216 - AgentContainer Now Accepting TDS Connections on port 7001
12:35:12.583 - AgentContainer Now Accepting Connections at service:jmx:rmi:///jndi/rmi://saprs:7000/rsng
12:35:12.583 - Runtime Container saprs::AgentContainer [a12e99cb-7de8-46f2-a920-d6f6a31aa174] is Operational
12:35:12.593 - Starting Components
12:35:12.594 - Starting HanaRAX
12:35:12.594 - Starting ContainerAgent
12:35:12.596 - SAP HANA Replication Agent Server for Unix & Windows - Startup is Complete
12:35:12.666 - Hana Replication Agent is Starting
12:35:12.741 - Container Agent is Running
12:35:12.757 - Unable to Checkout Core License, Terminating Server
12:35:12.757 - *** Server Terminating, See Log for Error Information ***
[16.481][Info][12:35:22.762][ContainerShutdownHook:16][CONTAINER] - Shutdown wait exceeded, shutting down
I found the solution myself:
The interfaces file entry for Replication Server & RSSD uses “localhost” as the name of the machine where they reside. If the primary DB isn't on the same machine as the Rep. Server, the interfaces file entry must be changed to use either the machine name or the IP address of the machine.
Sorry for not replying sooner.
When you installed the product did you get a license for RepAgent for HANA?
Your error message is is showing that it cannot find a license for the RepAgent?
Regards
Terry
Hi, I have a SAP Replication Heterogeneous SQL Server to SQL Server active, and the primary database is in Cluster Active/Passive. The database was initialized on a single node, and the cluster node move to the another node, I tried to add a column to a table and return the error "Could not find stored procedure 'sys.sp_SybSetLogforLOBCol'" and move the cluster node again to the inicial node, and I could add the column but after a while I'm realizing that replicates the table all columns except the column to add.
What I have to do to get to replicate the column without having to delete and recreate it?
Thanks for your help.
Regards
Leandro
Hi All,
We are in a process of building SAP sybase DR.We are using same ips for both primary and DR(but diff VPNs). we are using natting IP concept. We are facing below error message which is attached Thanks in advance.
From primary to DR(nating ip)...server is pinging and vice-versa.
o perform authentication have been set.
2015-11-19 16:52:29,447 [INFO ] [model.DRExecutor ] [Thread-34] - Task Executor - Action - Authenticating login 'DR_admin' against host 'BIPRDDBCIDR:4901'.
2015-11-19 16:52:29,447 [INFO ] [conn.ConnectionManager ] [Thread-34] - ConnectionManager: Creating connection with url= 'jdbc:sybase:Tds:BIPRDDBCIDR:4901/master'.
2015-11-19 16:52:29,447 [TRACE] [conn.ConnectionManager ] [Thread-34] - Creating connection to pool: BIPRDDBCIDR_4901_DR_admin_14c719163a4266b324d5f3237f6f967 (s/r/a/t/o) (433/0/0/0/0)
2015-11-19 16:52:29,473 [TRACE] [conn.ConnectionManager ] [Thread-34] - Allocated connection: -1614348887(com.sybase.jdbc4.jdbc.SybConnection@4b34c007) pool: BIPRDDBCIDR_4901_DR_admin_14c719163a4266b324d5f3237f6f967 (s/r/a/t/o) (434/0/1/1/0)
2015-11-19 16:52:29,473 [INFO ] [model.DRExecutor ] [Thread-34] - Task Executor - Action - Successfully authenticated login 'DR_admin' against host 'BIPRDDBCIDR:4901'.
2015-11-19 16:52:29,473 [TRACE] [conn.ConnectionManager ] [Thread-34] - Terminate connection <-1614348887(com.sybase.jdbc4.jdbc.SybConnection@4b34c007)>: BIPRDDBCIDR_4901_DR_admin_14c719163a4266b324d5f3237f6f967 (s/r/a/t/o) (434/0/1/1/0)
2015-11-19 16:52:29,474 [INFO ] [model.DRExecutor ] [Thread-34] - Task Executor - Action - Checking that all mandatory properties have been set.
2015-11-19 16:52:29,474 [INFO ] [model.DRExecutor ] [Thread-34] - Task Executor - Action - Preparing to execute Task 'Set Remote Property'
2015-11-19 16:52:29,474 [INFO ] [model.DRExecutor ] [Thread-34] - Task Executor - Action - Preparing to execute Task 'Set Remote Property'
2015-11-19 16:52:29,474 [INFO ] [api.SetModelProperty ] [Thread-34] - Task Set Remote Property - Task Name - Set Remote Property
2015-11-19 16:52:29,474 [INFO ] [api.SetModelProperty ] [Thread-34] - Task Set Remote Property - Description - Set a configuration property at the remote host.
2015-11-19 16:52:29,474 [INFO ] [api.SetModelProperty ] [Thread-34] - Task Set Remote Property - State - Initialized
2015-11-19 16:52:29,474 [INFO ] [api.SetModelProperty ] [Thread-34] - Task Set Remote Property - Hostname - BIPRDDBCIDR
2015-11-19 16:52:29,474 [INFO ] [api.SetModelProperty ] [Thread-34] - Task Set Remote Property - State - Running
2015-11-19 16:52:29,474 [TRACE] [api.SetModelProperty ] [Thread-34] - Task Set Remote Property - Pre Execution running.
2015-11-19 16:52:29,474 [TRACE] [api.SetModelProperty ] [Thread-34] - Task Set Remote Property - Execution running.
2015-11-19 16:52:29,474 [INFO ] [api.SetModelProperty ] [Thread-34] - Task Set Remote Property - Action - Successfully set property participating_databases to [master, B30].
2015-11-19 16:52:29,475 [TRACE] [api.SetModelProperty ] [Thread-34] - Task Set Remote Property - Post Execution running.
2015-11-19 16:52:29,475 [INFO ] [api.SetModelProperty ] [Thread-34] - Task Set Remote Property - State - Completed
2015-11-19 16:52:29,497 [INFO ] [dr.ReplicationDRPlugin ] [Thread-34] - TDS DISCONNECT
2015-11-19 16:52:31,988 [INFO ] [dr.ReplicationDRPlugin ] [Thread-35] - TDS LOGIN with User: DR_admin
2015-11-19 16:52:31,988 [INFO ] [dr.ReplicationDRPlugin ] [Thread-35] - Login attempt by the user 'DR_admin' from client host 'srv205'.
2015-11-19 16:52:32,010 [DEBUG] [dr.ReplicationDRPlugin ] [Thread-35] - TDS RPC: sp_mda
2015-11-19 16:52:32,032 [INFO ] [dr.ReplicationDRPlugin ] [Thread-35] - Received TDS LANGUAGE command: use 'master'
2015-11-19 16:52:32,055 [INFO ] [dr.ReplicationDRPlugin ] [Thread-35] - TDS DISCONNECT
2015-11-19 16:52:32,203 [INFO ] [dr.ReplicationDRPlugin ] [Thread-36] - TDS LOGIN with User: DR_admin
2015-11-19 16:52:32,203 [INFO ] [dr.ReplicationDRPlugin ] [Thread-36] - Login attempt by the user 'DR_admin' from client host 'srv205'.
2015-11-19 16:52:32,225 [DEBUG] [dr.ReplicationDRPlugin ] [Thread-36] - TDS RPC: sp_mda
2015-11-19 16:52:32,247 [INFO ] [dr.ReplicationDRPlugin ] [Thread-36] - Received TDS LANGUAGE command: use 'master'
2015-11-19 16:52:32,270 [INFO ] [dr.ReplicationDRPlugin ] [Thread-36] - Received TDS LANGUAGE command: sap_pre_setup_check local,dr,prim,stby
2015-11-19 16:52:32,270 [INFO ] [model.DRExecutor ] [Thread-36] - Task Executor - Task Name - Diagnose Environment
2015-11-19 16:52:32,270 [INFO ] [model.DRExecutor ] [Thread-36] - Task Executor - Description - Diagnose the environment for disaster recovery setup readiness.
2015-11-19 16:52:32,270 [INFO ] [model.DRExecutor ] [Thread-36] - Task Executor - Action - Preparing to execute Task 'Diagnose Environment'
2015-11-19 16:52:32,270 [INFO ] [model.DRExecutor ] [Thread-36] - Task Executor - Action - Checking that all mandatory properties required to perform authentication have been set.
2015-11-19 16:52:32,271 [INFO ] [model.DRExecutor ] [Thread-36] - Task Executor - Action - Authenticating login 'DR_admin' against host 'BIPRDDBCIDR:4901'.
2015-11-19 16:52:32,271 [INFO ] [conn.ConnectionManager ] [Thread-36] - ConnectionManager: Creating connection with url= 'jdbc:sybase:Tds:BIPRDDBCIDR:4901/master'.
2015-11-19 16:52:32,271 [TRACE] [conn.ConnectionManager ] [Thread-36] - Creating connection to pool: BIPRDDBCIDR_4901_DR_admin_14c719163a4266b324d5f3237f6f967 (s/r/a/t/o) (434/0/0/0/0)
2015-11-19 16:52:32,363 [TRACE] [conn.ConnectionManager ] [Thread-36] - Allocated connection: -1281832210(com.sybase.jdbc4.jdbc.SybConnection@9f9676bf) pool: BIPRDDBCIDR_4901_DR_admin_14c719163a4266b324d5f3237f6f967 (s/r/a/t/o) (435/0/1/1/0)
2015-11-19 16:52:32,363 [INFO ] [model.DRExecutor ] [Thread-36] - Task Executor - Action - Successfully authenticated login 'DR_admin' against host 'BIPRDDBCIDR:4901'.
2015-11-19 16:52:32,364 [TRACE] [conn.ConnectionManager ] [Thread-36] - Terminate connection <-1281832210(com.sybase.jdbc4.jdbc.SybConnection@9f9676bf)>: BIPRDDBCIDR_4901_DR_admin_14c719163a4266b324d5f3237f6f967 (s/r/a/t/o) (435/0/1/1/0)
2015-11-19 16:52:32,364 [INFO ] [model.DRExecutor ] [Thread-36] - Task Executor - Action - Checking that all mandatory properties have been set.
2015-11-19 16:52:32,364 [INFO ] [model.DRExecutor ] [Thread-36] - Task Executor - Action - Preparing to execute Task 'Diagnose Environment'
2015-11-19 16:52:32,364 [INFO ] [model.DRExecutor ] [Thread-36] - Task Executor - Action - Preparing to execute Task 'Diagnose Environment'
2015-11-19 16:52:32,365 [INFO ] [api.DiagnoseEnvironment ] [Thread-36] - Task Diagnose Environment - Task Name - Diagnose Environment
2015-11-19 16:52:32,365 [INFO ] [api.DiagnoseEnvironment ] [Thread-36] - Task Diagnose Environment - Description - Diagnose the environment for disaster recovery setup readiness.
2015-11-19 16:52:32,365 [INFO ] [api.DiagnoseEnvironment ] [Thread-36] - Task Diagnose Environment - State - Initialized
2015-11-19 16:52:32,365 [INFO ] [api.DiagnoseEnvironment ] [Thread-36] - Task Diagnose Environment - Hostname - BIPRDDBCIDR
2015-11-19 16:52:32,365 [INFO ] [api.DiagnoseEnvironment ] [Thread-36] - Task Diagnose Environment - State - Running
2015-11-19 16:52:32,365 [TRACE] [api.DiagnoseEnvironment ] [Thread-36] - Task Diagnose Environment - Pre Execution running.
2015-11-19 16:52:32,365 [TRACE] [api.DiagnoseEnvironment ] [Thread-36] - Task Diagnose Environment - Execution running.
2015-11-19 16:52:32,366 [INFO ] [tasks.ValidateLocalDREnv ] [Thread-36] - Task Validate Local Disaster Recovery Environment - Task Name - Validate Local Disaster Recovery Environment
2015-11-19 16:52:32,366 [INFO ] [tasks.ValidateLocalDREnv ] [Thread-36] - Task Validate Local Disaster Recovery Environment - Description - Verify that the local environment is setup and ready for disaster recovery replication setup to run.
2015-11-19 16:52:32,366 [INFO ] [tasks.ValidateLocalDREnv ] [Thread-36] - Task Validate Local Disaster Recovery Environment - State - Initialized
2015-11-19 16:52:32,366 [INFO ] [tasks.ValidateLocalDREnv ] [Thread-36] - Task Validate Local Disaster Recovery Environment - Hostname - BIPRDDBCIDR
2015-11-19 16:52:32,366 [INFO ] [tasks.ValidateLocalDREnv ] [Thread-36] - Task Validate Local Disaster Recovery Environment - State - Running
2015-11-19 16:52:32,366 [TRACE] [tasks.ValidateLocalDREnv ] [Thread-36] - Task Validate Local Disaster Recovery Environment - Pre Execution running.
2015-11-19 16:52:32,366 [TRACE] [tasks.ValidateLocalDREnv ] [Thread-36] - Task Validate Local Disaster Recovery Environment - Execution running.
2015-11-19 16:52:32,369 [INFO ] [conn.ConnectionManager ] [Thread-36] - ConnectionManager: Creating connection with url= 'jdbc:sybase:Tds:BIPRDDBCIDR:4901/master'.
2015-11-19 16:52:32,369 [TRACE] [conn.ConnectionManager ] [Thread-36] - Creating connection to pool: BIPRDDBCIDR_4901_DR_admin_14c719163a4266b324d5f3237f6f967 (s/r/a/t/o) (435/0/0/0/0)
2015-11-19 16:52:32,401 [TRACE] [conn.ConnectionManager ] [Thread-36] - Allocated connection: -1396785945(com.sybase.jdbc4.jdbc.SybConnection@189ab3cc) pool: BIPRDDBCIDR_4901_DR_admin_14c719163a4266b324d5f3237f6f967 (s/r/a/t/o) (436/0/1/1/0)
2015-11-19 16:52:32,402 [INFO ] [operations.ASEDatabase ] [Thread-36] - Executing query: sp_databases
2015-11-19 16:52:32,620 [INFO ] [operations.ASEDatabase ] [Thread-36] - Executing query: sp_databases
2015-11-19 16:52:32,621 [TRACE] [tasks.ValidateLocalDREnv ] [Thread-36] - Executing ASE command <sp_configure 'enable granular permissions'>
2015-11-19 16:52:32,630 [TRACE] [tasks.ValidateLocalDREnv ] [Thread-36] - Result from command for runtime value was <0>
2015-11-19 16:52:32,859 [TRACE] [conn.ConnectionManager ] [Thread-36] - Terminate connection <-1396785945(com.sybase.jdbc4.jdbc.SybConnection@189ab3cc)>: BIPRDDBCIDR_4901_DR_admin_14c719163a4266b324d5f3237f6f967 (s/r/a/t/o) (436/0/1/1/0)
2015-11-19 16:52:32,859 [TRACE] [conn.ConnectionManager ] [Thread-36] - Connection already closed. Connection pool statistics: BIPRDDBCIDR_4901_DR_admin_14c719163a4266b324d5f3237f6f967 (s/r/a/t/o) (436/0/0/0/0)
2015-11-19 16:52:32,859 [TRACE] [conn.ConnectionManager ] [Thread-36] - Registering a connection pool for URL <proxool.BIPRDDBCIDR_4901_B30_maint_6d9e1d84ad2ab01e4d51da0c82fca:com.sybase.jdbc4.jdbc.SybDriver:jdbc:sybase:Tds:BIPRDDBCIDR:4901/master>
2015-11-19 16:52:32,860 [INFO ] [conn.ConnectionManager ] [Thread-36] - ConnectionManager: Creating connection with url= 'jdbc:sybase:Tds:BIPRDDBCIDR:4901/master'.
2015-11-19 16:52:32,860 [TRACE] [conn.ConnectionManager ] [Thread-36] - Creating connection to pool: BIPRDDBCIDR_4901_B30_maint_6d9e1d84ad2ab01e4d51da0c82fca (s/r/a/t/o) (0/0/0/0/0)
2015-11-19 16:52:32,892 [TRACE] [conn.ConnectionManager ] [Thread-36] - Allocated connection: -1821548684(com.sybase.jdbc4.jdbc.SybConnection@6fa7f1bd) pool: BIPRDDBCIDR_4901_B30_maint_6d9e1d84ad2ab01e4d51da0c82fca (s/r/a/t/o) (1/0/1/1/0)
2015-11-19 16:52:32,892 [TRACE] [tasks.ValidateLocalDREnv ] [Thread-36] - Executing ASE command <sp_configure 'enable granular permissions'>
2015-11-19 16:52:32,902 [TRACE] [tasks.ValidateLocalDREnv ] [Thread-36] - Result from command for runtime value was <0>
2015-11-19 16:52:32,956 [TRACE] [conn.ConnectionManager ] [Thread-36] - Terminate connection <-1821548684(com.sybase.jdbc4.jdbc.SybConnection@6fa7f1bd)>: BIPRDDBCIDR_4901_B30_maint_6d9e1d84ad2ab01e4d51da0c82fca (s/r/a/t/o) (1/0/1/1/0)
2015-11-19 16:52:32,959 [INFO ] [conn.ConnectionManager ] [Thread-36] - ConnectionManager: Creating connection with url= 'jdbc:sybase:Tds:BIPRDDBCIDR:4901/master'.
2015-11-19 16:52:32,959 [TRACE] [conn.ConnectionManager ] [Thread-36] - Creating connection to pool: BIPRDDBCIDR_4901_B30_maint_6d9e1d84ad2ab01e4d51da0c82fca (s/r/a/t/o) (1/0/0/0/0)
2015-11-19 16:52:32,991 [TRACE] [conn.ConnectionManager ] [Thread-36] - Allocated connection: 1129692772(com.sybase.jdbc4.jdbc.SybConnection@34ad007b) pool: BIPRDDBCIDR_4901_B30_maint_6d9e1d84ad2ab01e4d51da0c82fca (s/r/a/t/o) (2/0/1/1/0)
2015-11-19 16:52:32,993 [INFO ] [operations.ASEDatabase ] [Thread-36] - Executing query: use master
2015-11-19 16:52:32,994 [INFO ] [operations.ASEDatabase ] [Thread-36] - Executing query: sp_helprotect
2015-11-19 16:52:34,022 [INFO ] [tasks.ValidateLocalDREnv ] [Thread-36] - The role 'sap_maint_user_role' was granted the set session authorization permission and was assigned to the the maintenance user 'B30_maint'.
2015-11-19 16:52:34,022 [TRACE] [conn.ConnectionManager ] [Thread-36] - Terminate connection <1129692772(com.sybase.jdbc4.jdbc.SybConnection@34ad007b)>: BIPRDDBCIDR_4901_B30_maint_6d9e1d84ad2ab01e4d51da0c82fca (s/r/a/t/o) (2/0/1/1/0)
2015-11-19 16:52:34,031 [TRACE] [conn.ConnectionManager ] [Thread-36] - Registering a connection pool for URL <proxool.BIPRDDBCIDR_4905_DR_admin_f33b7e285a5ed99273faf5177aa027:com.sybase.jdbc4.jdbc.SybDriver:jdbc:sybase:Tds:BIPRDDBCIDR:4905/master>
2015-11-19 16:52:34,031 [INFO ] [conn.ConnectionManager ] [Thread-36] - ConnectionManager: Creating connection with url= 'jdbc:sybase:Tds:BIPRDDBCIDR:4905/master'.
2015-11-19 16:52:34,031 [TRACE] [conn.ConnectionManager ] [Thread-36] - Creating connection to pool: BIPRDDBCIDR_4905_DR_admin_f33b7e285a5ed99273faf5177aa027 (s/r/a/t/o) (0/0/0/0/0)
2015-11-19 16:52:34,032 [INFO ] [conn.ConnectionManager ] [Thread-36] - ConnectionManager: Create connection failed java.sql.SQLException: JZ006: Caught IOException: java.net.ConnectException: A remote host refused an attempted connect operation..
2015-11-19 16:52:34,032 [TRACE] [conn.ConnectionManager ] [Thread-36] - Removing an empty connection to pool, after failing to create any connection. Pool <BIPRDDBCIDR_4905_DR_admin_f33b7e285a5ed99273faf5177aa027>.
2015-11-19 16:52:34,032 [TRACE] [conn.ConnectionManager ] [Thread-36] - Registering a connection pool for URL <proxool.BIPRDDBCIDR_4906_prim_6_REP_RSSD_prim_60f68a7281acb8be2bc44e6c2d816991:com.sybase.jdbc4.jdbc.SybDriver:jdbc:sybase:Tds:BIPRDDBCIDR:4906/master>
2015-11-19 16:52:34,033 [INFO ] [conn.ConnectionManager ] [Thread-36] - ConnectionManager: Creating connection with url= 'jdbc:sybase:Tds:BIPRDDBCIDR:4906/master'.
2015-11-19 16:52:34,033 [TRACE] [conn.ConnectionManager ] [Thread-36] - Creating connection to pool: BIPRDDBCIDR_4906_prim_6_REP_RSSD_prim_60f68a7281acb8be2bc44e6c2d816991 (s/r/a/t/o) (0/0/0/0/0)
2015-11-19 16:52:34,034 [INFO ] [conn.ConnectionManager ] [Thread-36] - ConnectionManager: Create connection failed java.sql.SQLException: JZ006: Caught IOException: java.net.ConnectException: A remote host refused an attempted connect operation..
2015-11-19 16:52:34,034 [TRACE] [conn.ConnectionManager ] [Thread-36] - Removing an empty connection to pool, after failing to create any connection. Pool <BIPRDDBCIDR_4906_prim_6_REP_RSSD_prim_60f68a7281acb8be2bc44e6c2d816991>.
2015-11-19 16:52:34,036 [TRACE] [plugins.dr ] [Thread-36] - Testing port availability: Socket is closed, port number 4905
2015-11-19 16:52:34,036 [TRACE] [plugins.dr ] [Thread-36] - Testing port availability: Socket is closed, port number 4906
2015-11-19 16:52:34,036 [TRACE] [conn.ConnectionManager ] [Thread-36] - Registering a connection pool for URL <proxool.10.10.11.85_4909_DR_admin_c5ea84be94455738537567dcf3b172ad:com.sybase.jdbc4.jdbc.SybDriver:jdbc:sybase:Tds:10.10.11.85:4909/master>
2015-11-19 16:52:34,038 [INFO ] [conn.ConnectionManager ] [Thread-36] - ConnectionManager: Creating connection with url= 'jdbc:sybase:Tds:10.10.11.85:4909/master'.
2015-11-19 16:52:34,038 [TRACE] [conn.ConnectionManager ] [Thread-36] - Creating connection to pool: 10.10.11.85_4909_DR_admin_c5ea84be94455738537567dcf3b172ad (s/r/a/t/o) (0/0/0/0/0)
2015-11-19 16:53:04,039 [INFO ] [conn.ConnectionManager ] [Thread-36] - ConnectionManager: Create connection failed java.sql.SQLException: JZ00M: Login timed out. Check that your database server is running on the host and port number you specified. Also, check the database server for other conditions (such as a full tempdb) that might be causing it to hang..
2015-11-19 16:53:04,039 [TRACE] [conn.ConnectionManager ] [Thread-36] - Removing an empty connection to pool, after failing to create any connection. Pool <10.10.11.85_4909_DR_admin_c5ea84be94455738537567dcf3b172ad>.
2015-11-19 16:53:04,039 [WARN ] [tasks.ValidateLocalDREnv ] [Thread-36] - Unable to connect to remote agent '10.10.11.85:4909'
2015-11-19 16:53:04,041 [INFO ] [conn.ConnectionManager ] [Thread-36] - ConnectionManager: Creating connection with url= 'jdbc:sybase:Tds:BIPRDDBCIDR:4901/master'.
2015-11-19 16:53:04,041 [TRACE] [conn.ConnectionManager ] [Thread-36] - Creating connection to pool: BIPRDDBCIDR_4901_DR_admin_14c719163a4266b324d5f3237f6f967 (s/r/a/t/o) (436/0/0/0/0)
2015-11-19 16:53:04,140 [TRACE] [conn.ConnectionManager ] [Thread-36] - Allocated connection: 614398271(com.sybase.jdbc4.jdbc.SybConnection@91f71e55) pool: BIPRDDBCIDR_4901_DR_admin_14c719163a4266b324d5f3237f6f967 (s/r/a/t/o) (437/0/1/1/0)
2015-11-19 16:53:04,140 [INFO ] [operations.HADRStatus ] [Thread-36] - Executing query: select @@hadr_mode, @@hadr_state
2015-11-19 16:53:04,141 [INFO ] [operations.HADRStatus ] [Thread-36] - HADR status for ASE 'ASE_8' on host 'prim' is '[Disabled : Unknown]'.
2015-11-19 16:53:04,141 [TRACE] [conn.ConnectionManager ] [Thread-36] - Terminate connection <614398271(com.sybase.jdbc4.jdbc.SybConnection@91f71e55)>: BIPRDDBCIDR_4901_DR_admin_14c719163a4266b324d5f3237f6f967 (s/r/a/t/o) (437/0/1/1/0)
2015-11-19 16:53:04,142 [INFO ] [util.HADRUtil ] [Thread-36] - ASE HADR server is ready to be configured.
2015-11-19 16:53:04,142 [INFO ] [conn.ConnectionManager ] [Thread-36] - ConnectionManager: Creating connection with url= 'jdbc:sybase:Tds:BIPRDDBCIDR:4901/master'.
2015-11-19 16:53:04,142 [TRACE] [conn.ConnectionManager ] [Thread-36] - Creating connection to pool: BIPRDDBCIDR_4901_DR_admin_14c719163a4266b324d5f3237f6f967 (s/r/a/t/o) (437/0/0/0/0)
2015-11-19 16:53:04,185 [TRACE] [conn.ConnectionManager ] [Thread-36] - Allocated connection: 2062123975(com.sybase.jdbc4.jdbc.SybConnection@d410adc9) pool: BIPRDDBCIDR_4901_DR_admin_14c719163a4266b324d5f3237f6f967 (s/r/a/t/o) (438/0/1/1/0)
2015-11-19 16:53:04,195 [TRACE] [conn.ConnectionManager ] [Thread-36] - Terminate connection <2062123975(com.sybase.jdbc4.jdbc.SybConnection@d410adc9)>: BIPRDDBCIDR_4901_DR_admin_14c719163a4266b324d5f3237f6f967 (s/r/a/t/o) (438/0/1/1/0)
2015-11-19 16:53:04,203 [ERROR] [tasks.ValidateLocalDREnv ] [Thread-36] - Task Validate Local Disaster Recovery Environment - Failed with error message - prim - DR Agent - Unable to connect to remote agent '10.10.11.85:4909'
2015-11-19 16:53:04,203 [INFO ] [tasks.ValidateLocalDREnv ] [Thread-36] - Task Validate Local Disaster Recovery Environment - State - Error
2015-11-19 16:53:04,203 [INFO ] [api.DiagnoseEnvironment ] [Thread-36] - Task Diagnose Environment - State - Error
2015-11-19 16:53:04,204 [INFO ] [tasks.GetPathStatus ] [Thread-36] - Elapsed execution time for 'Diagnose Environment' task: 00:00:31
2015-11-19 16:53:04,267 [INFO ] [dr.ReplicationDRPlugin ] [Thread-36] - TDS DISCONNECT
Thanks,
Venkat.D
I recreated connection, repdef and subscription and it worked.
Hi Tarry,
Sorry for late response.
It is table level replication with publication.
Replication Server/15.7.1/EBF 21866 SP120 rs1571sp120/Linux AMD64/Linux 2.6.18-128.el5 x86_64/1/OPT64/Sun Dec 8 15:06:00 2013
Here is dump queue at target. all other command has insert statement but here I could not find.
BLOCK BEGIN q_number=360 q_type=0 blk=2704:10 cnt=3
Begin Transaction Origin User=sa Tran Name=
ENTRY ver=1100 len=224 orig=357 lorig=0 oqid=000b010081e326cd000663b70009000663b700080000a55300ff8bbe0003000000000001 lqid=2704:10:0 st=516 tr= '000b010081e3' & 'cd0009' ServerAdb1 '000001' e '00000000' comlen=83 begin transaction
ENTRY ver=1100 len=280 orig=357 lorig=0 oqid=000b010081e326cd000663b70009000663b700080000a55300ff8bbe0003000000000002 lqid=2704:10:1 st=512 tr= '000b010081e3' & 'cd0009' ServerAdb1 '000001' e '00000000' comlen=139 dump transaction db1 '20151117 15:30:25:183' 0xb067510200000000000000000000000000000032303135313131372031353a33
ENTRY ver=1100 len=204 orig=357 lorig=0 oqid=000b010081e326cd000663b70009000663b700080000a55300ff8bbe0003000000000003 lqid=2704:10:2 st=513 tr= '000b010081e3' & 'cd0009' ServerAdb1 '000001' e '00000000' comlen=63 commit transaction
Looking at the details, the transaction is "dump transaction " on source database getting replicated to target database. This happens if connection to the target has dump_load set to on. Typically used when you are using a feature called coordinated dumps. This is not governed by any repdef but by connection level setting. In my post on 2nd below I have suggested the remedy !!
HTH
Avinash
Hi Everybody,
I installed a Replication Agent for Oracle using the trial license since SAP had forgotton to add my correct licenses.
How do in add the license after the installation is done and RepAgent is running.
I cant seem to find anything other than adding the license during installation.
Hope someone knows.
- Rasmus
Yes that will usually work as well...
Hi Rasmus
Once you get your correct licenses you will generate on for your host and then put that license file in place per the installation instructions.
Once the license is in place and RAO starts up it will find it and check it out and RAO will function normally.
So you need to make sure your licenses are created in the Service Market Place for your installation and you will then be set to check out your RAO license.
Regards
Terry
Hi Terry,
Thanks for the feedback.
Found the location Z:\SYBASE\SYSAM-2_0\licenses
Right now there is only an "empty" file. So it seems right.
I will try it out, once I get the license.
Thanks.
- Rasmus
Appreciated
Hi Avinash,
dump_load is already off.
regards
Manoj
Manoj
It should off on both source and target connections.
As clarified above if happened once you can skip that transaction and forget about it.
If it is happening even after setting dump_load off for the two connections then it may be time to open case/incident with SAP/Sybase folks
HTH
Avinash
Hi Everybody,
I have installed Replication Server and would like this Server to run as a Service. When I run it now from command line or from pathfinder i have a window 'hanging' - meanwhile the server runs well (I am unsuccesfull in starting it witout this prompt hanging):
So I have created a new service by using the following command:
sc create DWH_RS binPath= "C:\SYBASE\REP-15_5\bin\repsrvr.exe -SDWH_RS -CC:\SYBASE\DWH_RS.cfg -EC:\SYBASE\DWH_RS.log -IC:\SYBASE\ini\sql.ini" error=ignore start=auto displayname= "Replication Server DWH_RS"
When I try to start this service (from Services dialogue), it get the following message after less than 30 secs:
In the Server log I can see that the Server is in fact started, until services stops it with the message shown above.
Thanks, Mads