Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 20

Module 8: Implementing

Replication
Overview

Overview of Replication
Implementing Replication
Configuring Replication in Some Common Scenarios
Lesson 1: Overview of Replication

What Is Replication?
Server Roles in Replication
Types of Replication
What Are Articles, Publications, and Subscriptions?
What Are Replication Agents?
What Is Replication?

Bring data closer to users


Site autonomy
Reduce locking conflicts
Server Roles in Replication

Publisher
Distributor Subscriber
Subscriber

Publisher Distributor

Subscriber
Types of Replication

Snapshot replication
 Sends all of the data
Transactional replication
 Sends modifications of the data
Merge replication
 Modifications at both the
publisher and subscribers
Heterogeneous replication
 Replicate data between SQL
Server and other database
products
What Are Articles, Publications, and Subscriptions?

Articles
Publications
Subscriptions
What Are Replication Agents?

Types of replication agents


 Snapshot Agent
 Log Reader Agent
 Queue Reader Agent
 Distribution Agent
 Merge Agent
Publisher Agent Subscriber
Lesson 2: Implementing Replication

How to Create a Publication


How to Create a Subscription
Demonstration: Creating a Publication and Subscription
Managing and Monitoring Replication
How to Create a Publication

Using the New Publication wizard


Required information:
1 Distributor 6 Articles
2 Snapshot folder 7 Filters
3 Publication database 8 Snapshot Agent
4 Publication type 9 Security settings
5 Subscriber types 10 Publication name

Using the replication stored procedures


How to Create a Subscription

Push and pull subscriptions


Using the New Subscription wizard

Required information:
1 Publication 5 Synchronization
2 Agent location 6 Replicating changes
3 Subscribers, databases 7 Initialization
4 Security settings 8 Subscription type

Using the replication stored procedures


Demonstration: Creating a Publication
and Subscription

In this demonstration, you will see how to:


Create a transactional publication by using the
New Publication Wizard
Create a pull subscription by using the Create
Subscription Wizard
Modify data and verify that the change is
replicated
Managing and Monitoring Replication

Monitoring replication by using Replication Monitor


Validating and reinitializing subscriptions
Managing replication agents
Resolving replication conflicts
Lesson 3: Configuring Replication in Some
Common Scenarios

Server-to-Server Replication Scenarios


Server-to-Client Replication Scenarios
HTTP Merge Replication
Peer-to-Peer Replication
Oracle Publishing
Server-to-Server Replication Scenarios

Integrating data from multiple sites


Integrating heterogeneous data
Offloading batch processing
Data warehousing and reporting
Improving scalability and availability
Server-to-Client Replication Scenarios

Exchanging data with mobile users


Consumer point of sale (POS) applications
Integrating data from multiple sites
HTTP Merge Replication

XML over HTTP/HTTPS Binary over TCP/IP

Subscriber Internet Firewall IIS Publisher

Configuring HTTP Merge Subscribing to an


Replication HTTP Merge Publication
Create a Merge publication Import client certificate for Merge Agent
Install and configure IIS Use Web synchronization
Configure Web synchronization Connect to the Web synchronization URL
Test the WebSync ISAPI extension
Enable Web synchronization
Peer-to-Peer Replication

How peer-to-peer replication works


Configuring peer-to-peer replication
London

New York Sydney


Oracle Publishing

How Oracle Publishing works


Considerations for using Oracle Publishing
Configuring Oracle Publishing
Subscriber
Subscribing to an Oracle publication

Oracle Publisher SQL Server Distributor

Subscriber
Lab: Implementing Replication

Exercise 1: Creating a Publication


Exercise 2: Creating a Subscription
Exercise 3: Implementing HTTP Merge
Replication

You might also like