Quantcast
Channel: SCN: Message List - SAP Replication Server
Viewing all 876 articles
Browse latest View live

Re: Starting Replication Server as a service in Windows

$
0
0

Do you use erssd ? or rssd in an ASE server ?

 

Before starting RS you need to have (e)rssd  to be up and available first.

 

HTH

 

Avinash


Re: Starting Replication Server as a service in Windows

$
0
0

Hi Avinash

 

Thanks for your reply. I use the Embedded RSSD.

 

When I run repserv.exe ERSSD is also started and becomes available at the same time.

 

Br, Mads

Using "save_interval" for non-warm standby DSI?

$
0
0

We had a problem where a repserver crashed with a segmentation fault and an insert was silently lost to a subscription DSI connection database.   We have several subscription replicate databases, but only one was missing a single row.   It's not bad considering how much data we're moving, but the customer is still complaining.

 

I'm going to research the cause of the seg fault with tech support, but my is there any possibility of setting the save_interval for the non-warm standby DSI connection so that the repserver automatically reapplies transactions that it thinks were recently delivered, when the repserver is booting?

 

Just for background for others reading this, save_interval!=strict isn't typically used with logical/warm-standby connections because it can result in data loss.

 

Thanks in advance

Ben

Re: Using "save_interval" for non-warm standby DSI?

$
0
0

Hi Benjamin

 

What you are suggesting using a save_interval will work fine for the non-warm standby DSI  connection. 

 

I do hope you opened an incident to investigate the supposedly silent loss of an insert when the SRS crashed?  That should not have happened and from a support standpoint should be investigated.

 

Regards

Terry

Re: Using "save_interval" for non-warm standby DSI?

$
0
0

SAP/Sybase replication is robust to handle start/stops of various components. So what you observed looks like an exception.

 

I can understand the concern/complain from a customer because single insert missing can be a big issue if it was for a huge dollar amount e.g. a big stock trade transaction. 

 

At the same time setting up user expectation will also help.  E.g. in replication system  you should emphasize that primary data is "the" standard set of rows. So you can always materialize table or missing rows etc. In case of crashes you could have some sanity checks like row counts etc. built to point out exceptions.   You could also use rs_subcmp utility to monitor the health of critical data between primary and replicate(s) databases.

 

If users/developers are ready to go extra mile you could creatively use identity column to find any gaps in case of crash.  Home grown check-sums for rows in a table could be another way of maintaining accuracy.

 

save_interval may help.  It will also increase your disk space requirements depending on what number you choose.

 

HTH

 

Avinash

Re: Using "save_interval" for non-warm standby DSI?

$
0
0

Re: Save interval will work for a non-standby DSI connection.

 

After reading things some more, for repserver to ASE connections, the repserver documentation only talks about explicitly replaying save_interval transactions using the "sysadmin restore_dsi_saved_segments" command after a ASE dataserver crash (w/loss of recently applied data in the ASE server).   At least, as far as I can find.

 

Note that in the documentation for the "sysadmin restore_dsi_saved_segments" it says:

 

"The DSI must be explicitly suspended before you can use this command to restore saved segments."

 

So for my scenario (after a hard repserver crash), maybe I have to boot the repserver in standalone mode (boots with all DSIs down by default), run the restore_dsi_saved_segments command on all DSIs, then reboot the repserver in normal mode.

 

I'll run a test and see what happens.   Stay tuned for updates

Re: Starting Replication Server as a service in Windows

$
0
0

Hi Terry

 

Thanks for your reply. Very odd, I have only expirienced ra_init creating a service for the sample_rs replication server.

 

But making a service myself should also work I guess. But the problem seems to be that the start of the server 'hangs'. As shown in my initial post, also when starting the server from command line, the prompt hangs, and if closing the window: the server stops. So when I start it as a service, windows doesn't get proper reply, since the program hangs.

 

Is this normal behavior?

 

Br, Mads

Re: Any idea where to find admin guides for stream replication?

$
0
0

No, I am talking about Sybase stream replication - not Oracle.

Sybase replication server move forward to include a lot of advanced options - many of these are licensed.  Stream replication too is something relatively new.  Unfortunately there is still no publicly available documentation released on it - even though it is already an active part of some of the out-of-the-box solutions wrapped into SAP ASE...


Re: Starting Replication Server as a service in Windows

$
0
0

The server doesn't 'hang' when starting from a command line.  You are seeing normal behaviour.  This is seen on Linux/Unix as well. All output once it starts goes to the .log file, not the console.

 

When starting on Linux, I usually have to start as follows:

nohup RUN_<>_RS &

and let it run in background.

 

You can try to run the command and redirect output, but the window will still show and 'wait' for shutdown.  e.g.

<server>_RS.bat > nohup.out 2>&1

 

Chris

Re: Starting Replication Server as a service in Windows

$
0
0

Hi Mads,

 

try to right click on rs_init.exe and run it as administrator.

In this way the service will be created.

 

If you want to start the repserver using the RUN_FILE and let it run in background you can use

 

start /b <RS_SERVERNAME>.bat

 

Regards,

Marco.

Re: Error 6025 Causes Rep Server to Crash

$
0
0

Hi,

 

Moreover:

The stable device becomes inaccessible

recovery process overview

- Drop the corrupted partition

- add a new partition

- rebuild stable queues (signals all upstream connections to resend everything)

- Look in errorlog for recovery messages - If loss detected, you definitively lost transactions (use ignore loss to restart replication then resync replicate database)

-If necessary, recover lost

 

 

All documented here:Recovery from Partition Loss or Failure

http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc32518.1571100/doc/html/san1292613575327.html

 

Rgs

Antoine BALMOKOUN

Support Engineer, SAP Product Support

SAP Labs France, 35, rue d’Alsace 92300 Levallois Perret

antoine.balmokoun@sap.com

Re: Any idea where to find admin guides for stream replication?

$
0
0

This stream replication is part of the HADR for Adaptive Server Enterprise.  Please look through the following documentation to see if this is the administration documentation you are looking for:

 

HADR Users Guide - SAP Library

 

Regards

Terry

Re: Any idea where to find admin guides for stream replication?

$
0
0

Thanks Terry.  I have this guide - there are two guides on HADR that has been released.  Both of them do not have enough information to set things up - this one just has a little bit on recommended settings for some of the stream  replication components.  I ope SAP will  release full guide at some point ....

Re: Using "save_interval" for non-warm standby DSI?

$
0
0

Responding to my own question, here's what I've figured out:

 

I was incorrect about the "insert was silently lost" problem.  It was actually a partially processed set of deletes (in separate transactions).   Apologies.

 

The save_internal is mainly for the situation where the destination ASE server crashes and loses a little bit of recent data.   In that scenario, you can boot the repserver with the problem DSI suspended, run "sysadmin restore_dsi_saved_segments" and old transactions will be reapplied, with transactions that are older than the rs_lastcommit date being ignored

RMAN question

$
0
0

Hello, a customer is asking for more information about RAO 15.7 integration with Oracle RMAN. According to the documentation, RMAN utility truncate the archive log files if configuration parameter rman_enabled is set to true. Is it possible to let RAO truncate the archive log files via RMAN utilities only if they have been already backed up by Oracle? Or RAO can only perform a truncation of log files with RMAN? Generally speaking, is it possible to drive Oracle backup from RAO using RMAN utility? Is it possible to coordinate Oracle backups with RAO log files management? Another question: in a 2-node Oracle RAC configuration, is there a automatic disaster failover configuration of RAO? Does RAO have to be configured as a generic data service in a cluster system? Can it be simply restarted on node B on case of fault of node A? Thank you in advance. Regards, Marco.


[RepServer 15.6 / Linux 64bit] Parallel DSI vs Row count mismatch (#5185)

$
0
0

Hi.

I am running a RepServer (ASE-to-ASE Warm Standby) with parallel threads (DSI parallel_dsi param is set to 'on', num_threads and serialization_method set to default).  In RS errorlog I can see  many #5185 errors. I tried to resync. databases (using DUMP_MARKER) but after some time errors occured again. It appears that some UPDATE operations are executed before INSERT on the same table/row and the data are inconsistent.

 

Using warm-standby without Parallel DSI works fine without errors.

 

Do you think that setting dsi_isolation_level to 3 should eliminate #5185 errors?

Set Isolation Levels

 

Any other suggesions?

Mabye I should adjust some other parameters like:

- number of DSI Threads

- partitioning rules

 

or leave them to defaults and modify only isolation_level...?

 

Regards

--

Marcin

Re: How to find source repdef ?

$
0
0

Hi Manoj,

 

I want to take ddl of all my existing replication defination in rssd.But i do not have sybase central RSM functionality enabled to get the DDL of all repdef and subs.

Do you know any other way of getting ddl of all the exisiting repdef and subscription?

Your reply to this will be much appriciated.

 

Thanks.

 

Swapnil

Replication server monitoring

$
0
0

Hi Everybody,

 

I would like be ahead of my users when it comes to breakdown of replication.

 

I'am looking for some way to monitor our Replication Server in a Dashboard of som sort.

For that I need to find out which process are up and down.

Basically the admin who feature but as SQL.

Maybe in more detail on which subscribtions are runing/suspended/initial loading.

 

How do you guys monitor your SRS when you are not using the isql tool.

 

Best Regards

Rasmus

Re: Replication server monitoring

$
0
0

Hi

What version of SRS do you have?

thanks,

Vincent

Re: Replication server monitoring

$
0
0

We are on the newest version on Windows OS

 

Replication Server     15.7.1 SP301

Rep Agent for Oracle 15.7.1 SP209

Viewing all 876 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>