You are on page 1of 9

Steps

1. Open SQL ServerManagement Studio and loginwithSQL Server Authenticationto configure Publishing, Subscribers, and Distribution.

a. Configure theappropriate server as thepublisheror distributor.

b. Enabletheappropriatedatabaseformergereplication.

2. Create a new local publicationfrom DB-Server -->Replication --> Local Publications -->Rightclick --> New Pub.

Thenchoosethedatabasethatcontainsthe data orobjectsyouwanttoreplicate.

Choosethereplicationtype and thenspecifythe SQL Server versionsthatwill be usedbysubscriberstothatpublication, like SQL Server 2005, SQL Mobile Edition, SQL for WinCE, etc.

Afterthat, managethereplicationarticles, data, and databaseobjectsbychoosingtheobjectsto be replicated. Note: you can managethereplicationpropertiesfortheselectedobjects.

Thenaddfilterstothepublishedtablestooptimize performance and then configure thesnapshotagent.

and configure thesecurityforthesnapshotagent.

Finally, renamethepublication and clickFinish.

3. Create a new subscriptionforthecreated "MyPublication01" publicationbyrightclickingon MyPublication01 --> New Subscription. Configure the "MergeAgent" forthereplicationonthesubscriberdatabase.

Chooseoneor more subscriberdatabases. You can add new SQL Server subscribers.

ThenspecifytheMergeAgentsecurity as mentionedaboveon "AgentSnapshot". And specifythesynchronizationscheduleforeachagent.

Schedules: Runcontinuously: addschedule times to be auto runcontinuously Runondemandonly: manuallyrunthesynchronization

andthennext up tothe final step, and clickFinish. You can checkerrorsfromthe "Replication Monitor" byrightclickingon Local Replication ->LaunchReplication Monitor.

You might also like