INF: Manual Replication Setup w/ A Remote DistributorID: Q137665
|
The Microsoft SQL Server version 6.0 "Administrator's Companion" documents how to set up Replication manually, but does not specifically address how to set up Replication manually when a remote distribution server is used. This article discusses the necessary changes to do this.
The information here is based on the information in the SQL Server
"Administrator's Companion," Chapter 15, "Advanced Replication," under the
section titled "Setting up Replication Manually." Steps one through six are
presented here with modifications that are necessary to set up Replication
manually when a remote distribution server is used.
DISK INIT
NAME = 'distdata',
PHYSNAME = 'c:\sql60\data\distrib.dat',
VDEVNO = 5,
SIZE = 15360
go
DISK INIT
NAME = 'distlog',
PHYSNAME = 'c:\sql60\data\dislog.dat',
SIZE = 7680
VDEVNO = 6
go
CREATE DATABASE distribution on distdata = 30
LOG ON distlog = 15
go
xp_regwrite 'HKEY_LOCAL_MACHINE',
'SOFTWARE\Microsoft\MSSQLServer\Replication',
'DistributionDB',
'REG_SZ',
'distribution'
go
exec("xp_regwrite 'HKEY_LOCAL_MACHINE',
'SOFTWARE\Microsoft\MSSQLServer\Replication',
'WorkingDirectory',
'REG_SZ',
'\\WOLFHOUND\D$\SQL60\REPLDATA'")
go
sp_addserver 'WOLFHOUND'
go
sp_serveroption 'WOLFHOUND', 'dist', 'true'
go
On the distribution server, add the publishing server
using sp_addserver. If the distribution server is being
installed for the first time, use sp_serveroption to
define this server as the distribution server. For
example, if the distribution server is named WOLFHOUND,
and the publishing server is named BEAGLE:
sp_addserver 'BEAGLE'
go
sp_serveroption 'WOLFHOUND', 'dist', 'true'
go
sp_addpublisher 'BEAGLE', 'dist'
go
And on the publishing server, for example:
sp_addpublisher 'BEAGLE'
Additional query words: sql6 replication installation
Keywords : kbsetup kbusage SSrvInst SSrvRep
Version : 6.0
Platform : WINDOWS
Issue type :
Last Reviewed: April 17, 1999