{"id":1115,"date":"2007-12-07T00:31:20","date_gmt":"2007-12-07T00:31:20","guid":{"rendered":"\/blogs\/paul\/post\/SQL-Server-2008-Configuring-Peer-to-Peer-Replication.aspx"},"modified":"2013-01-01T21:12:50","modified_gmt":"2013-01-02T05:12:50","slug":"sql-server-2008-configuring-peer-to-peer-replication","status":"publish","type":"post","link":"https:\/\/www.sqlskills.com\/blogs\/paul\/sql-server-2008-configuring-peer-to-peer-replication\/","title":{"rendered":"SQL Server 2008: Configuring Peer-to-Peer Replication"},"content":{"rendered":"<p><FONT face=Verdana><FONT size=2><br \/>\n<P>One of the cool features added in SQL Server 2005 for scaling-out a workload was peer-to-peer replication. The major drawback was that to change an existing peer-to-peer topology, the <EM>entire<\/EM> topology had to be quiesced. In SQL Servr 2008, the Configure Peer-To-Peer Topology Wizard in Management Studio has undergone a major face-lift and a peer-to-peer topology can be altered ONLINE &#8211; very cool!<\/P><br \/>\n<P>To get to the wizard, you still need to go through the clunkiness of enabling peer-to-peer subscriptions in the Subscription Options pane of the Publication Properties of a new publication (by right-clicking the publication under the Replication-&gt;Local Publications folder in Object Explorer):<\/P><br \/>\n<P dir=ltr style=\"MARGIN-RIGHT: 0px\" align=center><IMG src=\"https:\/\/www.sqlskills.com\/blogs\/paul\/content\/binary\/pubprop.jpg\"><\/P><br \/>\n<P dir=ltr style=\"MARGIN-RIGHT: 0px\" align=left>Once that&#8217;s set to True, you can right-click the publication and you&#8217;ll see a Configure Peer-To-Peer Topology option which will bring up the new wizard. Here&#8217;s what you&#8217;ll see with only a single node configured &#8211; I&#8217;ve hovered the mouse over the node to get the tool-tip to show up:<\/P><br \/>\n<P dir=ltr style=\"MARGIN-RIGHT: 0px\" align=center><IMG src=\"https:\/\/www.sqlskills.com\/blogs\/paul\/content\/binary\/singlenode.jpg\"><\/P><br \/>\n<P dir=ltr style=\"MARGIN-RIGHT: 0px\" align=left>By right-clicking anywhere on the design surface you get a menu, from which you can select to Add a New Peer Node. Of course the node you select has to already have been setup for replication otherwise you&#8217;ll get an error. As long as replication is already setup, you&#8217;ll get the Add a New Peer Node wizard:<\/P><br \/>\n<P dir=ltr style=\"MARGIN-RIGHT: 0px\" align=center><IMG src=\"https:\/\/www.sqlskills.com\/blogs\/paul\/content\/binary\/newpeer.jpg\"><\/P><br \/>\n<P dir=ltr style=\"MARGIN-RIGHT: 0px\" align=left>You need to set the Peer Originator ID to a number that isn&#8217;t already being used by another node in the topology &#8211; it would be nice if the wizard would default to an ID it knows isn&#8217;t being used instead of 1.&nbsp; You then decide whether to have peer-to-peer connections with all the other nodes in the topology automatically setup. If you don&#8217;t check that option, the node will appear on the topology viewer, but with no connections, like below (again I&#8217;ve brought up the tool-tip so you can see it&#8217;s a different node than the first one &#8211; in this case a different instance inside a VPC):<\/P><br \/>\n<P dir=ltr style=\"MARGIN-RIGHT: 0px\" align=center><IMG src=\"https:\/\/www.sqlskills.com\/blogs\/paul\/content\/binary\/noconn.jpg\"><\/P><br \/>\n<P dir=ltr style=\"MARGIN-RIGHT: 0px\" align=left>If you don&#8217;t check the option, you can create connections manually by simply right-clicking either node and selecting Add a New Peer Connection. You&#8217;ll see a rubber-banding arrow that you pull to the node you want to connect to. I tested the automatic method of creating the connections and it works nicely too. Here&#8217;s a three node topology in the viewer:<\/P><br \/>\n<P dir=ltr style=\"MARGIN-RIGHT: 0px\" align=center><IMG src=\"https:\/\/www.sqlskills.com\/blogs\/paul\/content\/binary\/threenodes.jpg\"><\/P><br \/>\n<P dir=ltr style=\"MARGIN-RIGHT: 0px\" align=left>The rest of the wizard is as before &#8211; setting the Log Reader Agent and Distributor Agent security settings and how to initialize the new peer. At any point you can go back into the wizard and add or remove connections or peers. I&#8217;m pretty impressed!<\/P><\/FONT><\/FONT><\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the cool features added in SQL Server 2005 for scaling-out a workload was peer-to-peer replication. The major drawback was that to change an existing peer-to-peer topology, the entire topology had to be quiesced. In SQL Servr 2008, the Configure Peer-To-Peer Topology Wizard in Management Studio has undergone a major face-lift and a peer-to-peer [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[75,86,95],"tags":[],"class_list":["post-1115","post","type-post","status-publish","format-standard","hentry","category-replication","category-sql-server-2008","category-tools"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>SQL Server 2008: Configuring Peer-to-Peer Replication - Paul S. Randal<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.sqlskills.com\/blogs\/paul\/sql-server-2008-configuring-peer-to-peer-replication\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SQL Server 2008: Configuring Peer-to-Peer Replication - Paul S. Randal\" \/>\n<meta property=\"og:description\" content=\"One of the cool features added in SQL Server 2005 for scaling-out a workload was peer-to-peer replication. The major drawback was that to change an existing peer-to-peer topology, the entire topology had to be quiesced. In SQL Servr 2008, the Configure Peer-To-Peer Topology Wizard in Management Studio has undergone a major face-lift and a peer-to-peer [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sqlskills.com\/blogs\/paul\/sql-server-2008-configuring-peer-to-peer-replication\/\" \/>\n<meta property=\"og:site_name\" content=\"Paul S. Randal\" \/>\n<meta property=\"article:published_time\" content=\"2007-12-07T00:31:20+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2013-01-02T05:12:50+00:00\" \/>\n<meta name=\"author\" content=\"Paul Randal\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Paul Randal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/sql-server-2008-configuring-peer-to-peer-replication\/\",\"url\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/sql-server-2008-configuring-peer-to-peer-replication\/\",\"name\":\"SQL Server 2008: Configuring Peer-to-Peer Replication - Paul S. Randal\",\"isPartOf\":{\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/#website\"},\"datePublished\":\"2007-12-07T00:31:20+00:00\",\"dateModified\":\"2013-01-02T05:12:50+00:00\",\"author\":{\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/#\/schema\/person\/ffcec826c18782e1e0adf173826a7fce\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/sql-server-2008-configuring-peer-to-peer-replication\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.sqlskills.com\/blogs\/paul\/sql-server-2008-configuring-peer-to-peer-replication\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/sql-server-2008-configuring-peer-to-peer-replication\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SQL Server 2008: Configuring Peer-to-Peer Replication\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/#website\",\"url\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/\",\"name\":\"Paul S. Randal\",\"description\":\"In Recovery...\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/#\/schema\/person\/ffcec826c18782e1e0adf173826a7fce\",\"name\":\"Paul Randal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0b6a266bba2f088f2551ef529293001bd73bf026bc1908b9866728c062beeeb6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0b6a266bba2f088f2551ef529293001bd73bf026bc1908b9866728c062beeeb6?s=96&d=mm&r=g\",\"caption\":\"Paul Randal\"},\"sameAs\":[\"http:\/\/3.209.169.194\/blogs\/paul\"],\"url\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/author\/paul\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SQL Server 2008: Configuring Peer-to-Peer Replication - Paul S. Randal","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.sqlskills.com\/blogs\/paul\/sql-server-2008-configuring-peer-to-peer-replication\/","og_locale":"en_US","og_type":"article","og_title":"SQL Server 2008: Configuring Peer-to-Peer Replication - Paul S. Randal","og_description":"One of the cool features added in SQL Server 2005 for scaling-out a workload was peer-to-peer replication. The major drawback was that to change an existing peer-to-peer topology, the entire topology had to be quiesced. In SQL Servr 2008, the Configure Peer-To-Peer Topology Wizard in Management Studio has undergone a major face-lift and a peer-to-peer [&hellip;]","og_url":"https:\/\/www.sqlskills.com\/blogs\/paul\/sql-server-2008-configuring-peer-to-peer-replication\/","og_site_name":"Paul S. Randal","article_published_time":"2007-12-07T00:31:20+00:00","article_modified_time":"2013-01-02T05:12:50+00:00","author":"Paul Randal","twitter_misc":{"Written by":"Paul Randal","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/sql-server-2008-configuring-peer-to-peer-replication\/","url":"https:\/\/www.sqlskills.com\/blogs\/paul\/sql-server-2008-configuring-peer-to-peer-replication\/","name":"SQL Server 2008: Configuring Peer-to-Peer Replication - Paul S. Randal","isPartOf":{"@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/#website"},"datePublished":"2007-12-07T00:31:20+00:00","dateModified":"2013-01-02T05:12:50+00:00","author":{"@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/#\/schema\/person\/ffcec826c18782e1e0adf173826a7fce"},"breadcrumb":{"@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/sql-server-2008-configuring-peer-to-peer-replication\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sqlskills.com\/blogs\/paul\/sql-server-2008-configuring-peer-to-peer-replication\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/sql-server-2008-configuring-peer-to-peer-replication\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sqlskills.com\/blogs\/paul\/"},{"@type":"ListItem","position":2,"name":"SQL Server 2008: Configuring Peer-to-Peer Replication"}]},{"@type":"WebSite","@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/#website","url":"https:\/\/www.sqlskills.com\/blogs\/paul\/","name":"Paul S. Randal","description":"In Recovery...","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.sqlskills.com\/blogs\/paul\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/#\/schema\/person\/ffcec826c18782e1e0adf173826a7fce","name":"Paul Randal","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0b6a266bba2f088f2551ef529293001bd73bf026bc1908b9866728c062beeeb6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0b6a266bba2f088f2551ef529293001bd73bf026bc1908b9866728c062beeeb6?s=96&d=mm&r=g","caption":"Paul Randal"},"sameAs":["http:\/\/3.209.169.194\/blogs\/paul"],"url":"https:\/\/www.sqlskills.com\/blogs\/paul\/author\/paul\/"}]}},"_links":{"self":[{"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/posts\/1115","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/comments?post=1115"}],"version-history":[{"count":0,"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/posts\/1115\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/media?parent=1115"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/categories?post=1115"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/tags?post=1115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}