The server publication options determine the servers that are authorized to subscribe to this server's publications, the schedule by which replication will be performed for each subscription server, which of this server's databases are authorized to publish data, and the directory used as the distribution working directory. For a server that will act as a remote distribution server, the server publication options also determine which publication servers are authorized to use it as a remote distribution server.
-
In the previous topic, Installing or Selecting a Distribution Database, if you chose the Yes button in step 6, then the Replication-Publishing dialog box is already displayed.
If not, then from the Server Manager window, select a server; from the Server menu, choose Replication Configuration; and from the drop-down menu that appears, choose Publishing.
The Replication-Publishing dialog box appears.
-
Define the servers that will be permitted to subscribe to this server's publications by selecting them in the Enable Publishing to These Servers list.
If a server is not registered with SQL Enterprise Manager or is not set as a remote server to this server, it will not be listed. To register a server, choose the New Server button and complete the Register Server dialog box that appears.
-
To set a subscription server's distribution schedule to a setting other than the default (continuous replication), select the Distribution Schedule cell for that server, choose the Distribution Options button, and complete the Distribution Options dialog box that appears.
The Distribution Options dialog box contains these elements:
-
Commit Every <x> Transactions to Subscriber specifies the maximum number of transactions that will be sent to the subscription server as a single unit. If the number of transactions marked for replication exceeds this number, several units will be sent. (Note that tuning this number can improve your distribution throughput.)
-
Distribution Schedule displays the distribution schedule (the interval at which transactions will be replicated to the subscription server).
-
Change opens the Task Scheduling dialog box, where you can change the distribution schedule for the subscription server.
-
Retention Period After Distribution (hours) determines how long transaction information is retained in the distribution database after it is applied to the subscriber.
-
Under Publishing Databases, select the databases that will be allowed to publish data.
If you have not yet created all the databases to be published, go ahead and complete the publication options now. You can later create the necessary databases and then return and edit the publication options to authorize the new databases for publication.
-
To change the distribution working directory, type a new Universal Naming Convention (UNC) path in the Working Directory box.
This directory is used to store the schema scripts and data synchronization files. The default is \\servername\C$\SQL60\REPLDATA, where servername is the name of the distribution server.
A UNC path takes the form \\servername\sharename\directory.
-
If this server will act as remote distribution server for other publication servers:
-
Choose the Distribution Publishers button. The Replication-Distribution dialog box appears.
-
In the Replication - Distribution dialog box, select the servers that will be permitted to use this server as their remote distribution server.
If a server is not registered with SQL Enterprise Manager or is not set as a remote server to this server, it will not be listed. To register a server, choose the New Server button, and complete the Register Server dialog box that appears.
-
Choose OK.
-
Choose OK.