You could look at the latest version Sybase Control Center for Replication.
Below a doc for the version 3.2.6:
http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01677.0326/doc/pdf/scc_rep.pdf
Vincent
You could look at the latest version Sybase Control Center for Replication.
Below a doc for the version 3.2.6:
http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01677.0326/doc/pdf/scc_rep.pdf
Vincent
Sybase Control Center (SCC) can take care of those issues for you and you can even send rs_tickets through SCC to monitor latency.
Please review this thread Mark Parsons provided some procedures for getting the DDL of all your repdefs.
Unfortunately Sybase Central is not supported anymore. It has not been released since the old Sybase Replication Server 15.7 which is no longer supported (SAP calls SRS 15.7 but in reality it is 15.7.1) .
There currently is no GUI tool to do this at this time. If the Sybase Central functionality is something you would like to see back in the product please go to the following Replication Server Idea Space to request new functionality and vote for features other users have requested that you like. The more people vote on a feature it will be discussed with engineering about getting it added to the product.
Actually, a lot depends on the RSM functionality is desired. SAP Control Center (aka SCC - formerly known as Sybase Control Center) does have GUI support for most basic RS operations with a stronger focus on monitoring and administration vs. artifact development. If the use case for RSM plugin for Sybase Central was to create repdefs/subscriptions - those can be created using PowerDesigner with the ILM module.
Hi All,
Need your help in solving one production issue.
I am facing severity 20 issue during transaction back up load.
error message is as follows-
“Load transaction failed” with error message Error:
It shows Table T1 not found to create Index I1. However target db was
in cold state during successive loads of transaction dump.
I am not understanding the reason behind it why it is giving such an
unexpected error.
I am attaching the error screenshots for your reference.
I am expecting your prompt reply on this as we have very short
client SLA.
Note:
I am attaching the error screenshot for your reference.
I am using ASE 15.7 version sp100
Thanks Jeff for your valuable feedback on this.
Thanks Terry for your valuable feedback on this.
Hi Swapnil,
Did my answer above help you?
thx
Vincent
Hi
How to know which replication we are using in sybase replication server (like. warm standby or table level ) is there any specific commands. please provide the commands ans process.
Hi Bret,
How to know which replication we are using in sybase replication server (like. warm standby or table level ) is there any specific commands. please provide the commands ans process.
I Have Problem with Sybase Replication because table has Column With Name "View" and it's make problem while Statement ,
i will make table definition with quoted
the Problem it was about 850 transaction
and using resume connection with skip and i already skipped about 450 transaction , every transaction i skipped was sent to exception until now there is no problem
but now resume connection with skip didn't send any transaction to exception and it's do nothing
inform that i have enough space at all servers RSSD and Main and Replication server
, can i modify statement in Queue ir delete cretin transaction for queue
Andrew,
There is a command called "sysadmin sqm_zap_command" to delete a transaction command out of queue.
1. Dump the queue
sysadmin dump_file,"<full_path_dump_file_name>"
go
sysadmin dum_queue, q_number, q_type, -1,0,-2
go
This commands dumps the queue from the begin to the end.
$cat XRDB.dmp | more
QUEUE DUMP FOR 103:0
BLOCK BEGIN q_number=103 q_type=0 blk=0:3 cnt=73
Begin Transaction Origin User=sa Tran Name=_ins
ENTRY ver=1100 len=216 orig=102 lorig=0 oqid=0000000000001e8c00001491001c00001491001a0000a4020120137d0000000000000001 lqid=0:3:0 st=4 tr= '0000000000001e8c001a' OnASE160XPDB '000000' f'00000000' comlen=88 begin transaction
ENTRY ver=1100 len=260 orig=102 lorig=0 oqid=0000000000001e8c00001491001c00001491001a0000a4020120137d0000000000000002 lqid=0:3:1 st=-1071640576 tr= '0000000000001e8c001a' OnASE160XPDB '000000' f '00000000' comlen=132 insert into dbo.abc (c1, c2) values (1, 'one')
ENTRY ver=1100 len=192 orig=102 lorig=0 oqid=0000000000001e8c00001491001c00001491001a0000a4020120137d0000000000000003 lqid=0:3:2 st=1 tr= '0000000000001e8c001a' OnASE160XPDB '000000' f'00000000' comlen=63 commit transaction
2. grep your table name in the dump file to list all the commands related to the table
$ cat XRDB.dmp |grep dbo.abc
ENTRY ver=1100 len=260 orig=102 lorig=0 oqid=0000000000001e8c00001491001c00001491001a0000a4020120137d0000000000000002 lqid=0:3:1 st=-1071640576 tr= '0000000000001e8c001a' OnASE160XPDB '000000' f '00000000' comlen=132 insert into dbo.abc (c1, c2) values (1, 'one')
ENTRY ver=1100 len=260 orig=102 lorig=0 oqid=0000000000001e9e0000149200020000149200000000a4020120137d0000000000000002 lqid=0:3:4 st=-1071640576 tr= '0000000000001e9e0000' OnASE160XPDB '000000' f '00000000' comlen=132 insert into dbo.abc (c1, c2) values (1, 'one')
ENTRY ver=1100 len=260 orig=102 lorig=0 oqid=0000000000001e9e0000149200050000149200030000a4020120137d0000000000000002 lqid=0:3:7 st=-1071640576 tr= '0000000000001e9e0003' OnASE160XPDB '000000' f '00000000' comlen=132 insert into dbo.abc (c1, c2) values (1, 'one')
ENTRY ver=1100 len=260 orig=102 lorig=0 oqid=0000000000001e9e0000149200080000149200060000a4020120137d0000000000000002 lqid=0:3:10 st=-1071640576 tr= '0000000000001e9e0006' OnASE160XPDB '000000' f '00000000' comlen=132 insert into dbo.abc (c1, c2) values (1, 'one')
Each command has its unique lqid which can be used to locate it in the queue. lqid=seg:blk:row ( for example, lqid=0:3:4) are the parameters you need to run sysadmin sqm_zap_command
3. Zap the commands in replication server
sysadmin hibernate_on
go
sysadmin sqm_zap_command, q_number, q_type, seg, blk, row
go
sysadmin hibernate_off
go
For exampe, to delete lqid=lqid=0:3:4, the command is
sysadmin sqm_zap_cmmand, 103,0, 0,3,4
go
Or you can try this script to generate zap commands from the queue dump file and submit sysadmin_zap.rcl in hibernation mode. You need review the generated commands before submiting it.
#!/bin/sh
#Usage : gen_zap_commands dump_file_name object_name queue_number queue_type
#Generate sqm_zap_command commands into a file named sysadmin_zap.rcl
grep $2 $1 > TextTable_list.txt
awk '{print $7}' TextTable_list.txt | sed -e "s/lqid=/sysadmin sqm_zap_command, $3,$4 ,/;s/:/,/g;a\go" > sysadmin_zap.rcl
rm TextTable_list.txt
Binh
Hi Bret,
How to know which replication we are using in sybase replication server (like. warm standby or table level ) is there any specific commands. please provide the commands ans process.
Hi people, someone has this happened?
In a production environment heterogeneous replication MSSQL to MSSQL, We have tables in the database with columns datatypes varchar(max), these tables are replicating good but if any table is unmarked and marked again, table replicates all columns except the columns varchar(max).
Thanks for your help
Regards
Leandro
Not dealt with SQL to SQL replication..
But going by the symptom it seems like varchar(max) column is getting treated as "text" or "blob" type of column. You can try equivalent of sp_setrepcol to set the column for replication to check if it helps.
HTH
Avinash
Leandro
Did you get time to pursue this further ?
Avinash
Hi Avinash, thanks for your help, initially replicated before unmak/mark table with varchar(8000) in the RepDef and I did the test changing in the RepDef varchar(8000) by text in the columns but didn´t replicate, I found the following error:
E. 2016/01/11 16:51:31. ERROR #1027 DSI EXEC(133(1) SRWV0209_DC.Sentinel_Intermedia) - \dsiutil.c(421)
Open Client Client-Library error: Error: -99999, Severity 5 -- 'Error processing default values at position [3] in statement text'.
E. 2016/01/11 16:51:31. ERROR #5215 DSI EXEC(133(1) SRWV0209_DC.Sentinel_Intermedia) - \dsiutil.c(433)
The interface function 'RCIPrepare' returns FAIL for database 'SRWV0209_DC.Sentinel_Intermedia'. The errors are retryable. The DSI thread will restart automatically. See messages from the interface function for more information.
W. 2016/01/11 16:53:33. WARNING #13110 DSI(133 SRWV0209_DC.Sentinel_Intermedia) - ul\cmapp.c(2136)
'SRWV0209_DC.Sentinel_Intermedia' does not return native errors. Error action mapping may not be correct.
W. 2016/01/11 16:53:34. WARNING #13110 DSI EXEC(133(1) SRWV0209_DC.Sentinel_Intermedia) - ul\cmapp.c(2136)
'SRWV0209_DC.Sentinel_Intermedia' does not return native errors. Error action mapping may not be correct.
E. 2016/01/11 16:53:34. ERROR #2056 DSI EXEC(133(1) SRWV0209_DC.Sentinel_Intermedia) - /prs/sql.y(21448)
Line 1, character 144: Incorrect syntax with '~'.
E. 2016/01/11 16:53:34. ERROR #5035 DSI EXEC(133(1) SRWV0209_DC.Sentinel_Intermedia) - \dsiutil.c(4508)
Error from unpacker or parser. See previous message for more information.
I. 2016/01/11 16:53:34. The DSI thread for database 'SRWV0209_DC.Sentinel_Intermedia' is shutdown.
queue outbound transaction:
begin transaction
A0158 05cp850_ds 0,~"!,1 _ap _st = 128 owner=~"$dbo 0x01050065000007e9 ~!/dr243_tabla200.~!*rs_insert _yd _af 1 12,2 ~"$P12,3 ~*620160111 16:51:14.577,4 ~.!!,pruebalob12,5 ~"$P12
commit transaction
And creating the RepDef with the command "rs_create_repdef" is the same, in the repdef take the column as text.
Regards
Leandro
Finally got the licenses from SAP.
I just added the file in the repository and restarted the service.
It failed the first time since I had created the license with only 1 CPU and the machine had 2.
Changed the license to 2 CPU's and then i worked beautifully.
Thanks for the help, Terry.
Hi Guys,
Has anybody had any experience with securing the connection from Rep Agent to Rep Server with SSL.
And can you say anything about the which performance impact it would have.
Best Regards,
Rasmus