Setting Up Push Subscriptions

A push subscription is carried out while a publication server is being administered. As part of the process of creating or managing a publication, subscriptions are created by "pushing" out an article to one or more subscription servers. A push subscription is possible only after a user with SA privileges on the subscription server has enabled this publication server (in the Replication Subscribing dialog box, as described in Setting Subscription Options, earlier in this chapter).

One advantage of using push subscriptions is that they simplify and centralize subscription administration. The act of publishing is combined with the act of subscribing, and one person can perform both in the same administrative session. The need to separately administer each subscriber is eliminated. Another advantage is that for each article, many subscribers can be set up at once.

However, push subscriptions can only be accomplished at the article level. (Pull subscriptions, on the other hand, can be accomplished at both the publication and article levels.)

Before subscribing articles, create the necessary destination databases on the subscription server, and authorize those databases to subscribe to publications. For information on creating databases, see Chapter 6, Managing Databases. For information on authorizing databases to subscribe to publications, see Configuring Servers for Replication, earlier in this chapter.

You set up a push subscription while creating or editing publications on a publication server.

    To set up a push subscription
  1. Create or edit the publication as described in Creating Publications, earlier in this chapter.
  2. While creating or editing the publication, in the Edit Publications dialog box, select an article from the Articles in Publication list, and choose Edit.

    The Manage Article dialog box appears.

  3. Choose Subscribers.

    The Publication Subscribers dialog box appears, listing the servers that are authorized to subscribe to publications of this publication server.

  4. From Subscription Servers list, select a server, and choose Subscribe.

    The Subscription Options dialog box appears.

  5. From the list in the Destination Database box, select a database.

    This is a database on the subscription server that will receive the replicated tables and data.

  6. Under Sync Method, select a synchronization option.
  7. Choose OK.

    The subscription is added. The Publication Subscribers dialog box returns.

  8. To subscribe to another server, repeat steps 4 through 7.
  9. When you are done subscribing servers, from the Publication Subscribers dialog box, choose OK, and then complete the creation or editing of the publication or article.

For more information on creating or editing publications and articles, see Publishing, earlier in this chapter.