Re: Merge replication - Check network document

From: Hilary Cotter (hilaryk_at_att.net)
Date: 07/25/04


Date: Sun, 25 Jul 2004 08:32:40 -0400


<quibble>

 The keep alive script Paul mentions should be run on the Subscriber against
the Publisher as an osql script. When the script fails it will give you the
exact time of day when the script fails.

Here is a typical batch file I use. Replace hilary2kp with the name of your
publisher. Run this script on the Subcsriber. keepalive.sql is the name of
the file I store the tsql commands in Paul mentions.

osql -S hilary2kp -E -i c:\keepalive.sql -n

date /t

time /t

</quibble>

-- 
Hilary Cotter
Looking for a book on SQL Server replication?
http://www.nwsu.com/0974973602.html
"Paul Ibison" <Paul.Ibison@Pygmalion.Com> wrote in message
news:343201c4719e$caf63100$a601280a@phx.gbl...
> Nathan,
> to verify that there is a network issue, you can run a
> ping -t for a day and then look at the statistics to see
> if a hicup occured.
>
> You could run a tsql script:
>
> WHILE 1<>2
> BEGIN
> SELECT GETDATE()
> WAITFOR DELAY '00:00:01'
> END
> GO
>
> As it looks like a network issue, in this case I'd set the
> step 3 to go to step 1 on the merge agent's job,
> effectively automatically restarting the job on a network
> error, which fixes the problem almost all the  time.
>
> HTH,
> Paul Ibison
>


Relevant Pages

  • Re: Maintaining a Group
    ... Paul, my misunderstanding. ... was hoping for a single-step script or automator to do the same thing. ... > members one by one "adding" the same group member again and looking to see ...
    (microsoft.public.mac.office.entourage)
  • Re: Which AD to Restore
    ... Thank you Paul. ... I will use the script to further gather information. ... Based on the information provided by the tech and how he proceeded after the ... > Just select both dcdiag and netdiag make sure verbose is set. ...
    (microsoft.public.windows.server.active_directory)
  • Re: adding users to AD using vbscript
    ... Thank you Paul this is very good information. ... and it may take me longer to put something together than for your employee to ... to open a webpage or even clicking on the script and instead of one popup ... Surname = InputBox ...
    (microsoft.public.windows.server.active_directory)
  • lk-changelog.pl 0.245
    ... This script is used by Linus and Marcelo to rearrange and reformat BK ... ChangeSet logs into a more human-readable format, ... 'hunold:convergence.de' => 'Michael Hunold', ... 'paul.clements:steeleye.com' => 'Paul Clements', ...
    (Linux-Kernel)
  • Re: Domain users login script issue...
    ... member of John, Paul is defined for an user and script runs at logon. ... if not errorlevel 1 goto GEORGE ...
    (microsoft.public.scripting.wsh)