on 10-06-2015 7:59 PM
Hi ,
I am having trouble replicating SQLSERVER to SQLSEVER using SAP Replication Server.
The agent log doesnt have any problem...I can even run a query from it using pdb_execute_sql "select * from test" and it works perfect..
I create a connection in RS using :
Connection from RA to RS
create connection to MS.Prueba
set error class rs_sqlserver_error_class
set function string class rs_msss_function_class
set username ra_ms
set password Password2015
set batch to "on"
with log transfer on, dsi_suspended
go
Until that everything is fine ...but when I resume the connection in the agent this error appear in RS...
E. 2015/10/05 20:48:51. ERROR #13113 DSI(131 MS.Prueba) - \generic\useful\cm.c(5297)
Failed to obtain a reference to the indicated Connector. See messages from Connector factory for details. Data server make: mssql. Connector type: msnative. Data server: MS. Database: Prueba.
I. 2015/10/05 20:48:51. No Sybase library information is available.
I. 2015/10/05 20:48:51. The DSI thread for database 'MS.Prueba' is shutdown.
REPLICATION FROM SQLSERVER TO SQLSERVER
PDS- SQLSERVER 2008 MICROSOFT SQLSERVER ENTERPRISE EDITION 64bit
version 10.0.1600.22 (OS Microsoft windows NT 6.1)
RA- SAP Replication Agent for Unix & Windows/15.7.1 SP208/P/generic/JDK 7.0/rax1571
sp208/62080.208/VM: SAP AG 1.7.0_25/OPT/Fri Jun 19 05:30:56 MDT 2015
RS-Replication Server/15.7.1/EBF 24435 SP300 rscorona/X64/Windows 2008 R2/2351/OPT
64/Thu Aug 06 11:08:41 2015
Please anyone has seen thuis problem before!!!!
Thanks
Hi Andres
Wanted to verify that you are creating the connection from the MSSQL RAX to the RS? If this is true then the message you are seeing is okay and you should leave the DSI connection suspended and the error will go away.
Every connection that is created in RS has two parts
1) Distributor (DIST) connection, this is the inbound connection from the RA
2) Database Server Interface (DSI) connection, this is the outbound connection to the target database.
If you were to replicate ASE to ASE the inbound connection to the RS will still have the two parts and the ASE will know how to handle both DIST and DSI connection but it will only use the DIST. same is true connecting to target ASE it knows how to handle both parts of the connection but will only use the DSI portion.
When RAX connects to a RS it does not use the DSI portion on the connection and is only using the DIST or inbound portion of the connection. It also does not know how to handle the DSI portion which is why you should leave the DSI suspended. Remember both parts are created with the create connection command.
Which is why you have the following in the create connection command:
'dsi_suspended'
As long as the RAX connection is up and your test connection command to the RS works in RAX you will be able to replicate just leave the DSI suspended.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Terry
Excellent explanation about "create connection" command mechanics.
Out of curiosity :
Will the suspended DSI show in the output of admin who_is_down ?
If so will it not pose a hurdle for monitoring scripts if any that normally send alerts on threads down ?
Also I am not sure what you mean by "error will go away" !
Thanks.
Avinash
Hi Avinash
Admin who_is_down will show that it is suspended because it is correct that is is suspended and there is no logic in the command to tell that this is a connection to a RAX.
So if you write your own monitoring scripts that use this command you will need to take this into account and evaluate the connection and if it is a connection to a RAX then not have it send an alert for a down or suspended state.
Now if you use the Replication Manager plug in for SCC you can ignore the DSI for this connection and it will not show up in any monitoring for that connection.
Thanks
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.