{"id":2361,"date":"2014-02-19T21:21:00","date_gmt":"2014-02-19T21:21:00","guid":{"rendered":"http:\/\/riguy.azurewebsites.net\/?p=2361"},"modified":"2014-12-19T01:56:04","modified_gmt":"2014-12-19T01:56:04","slug":"server-2012-hyper-v-enabling-replication-failure","status":"publish","type":"post","link":"https:\/\/riguy.com\/?p=2361","title":{"rendered":"Server 2012 Hyper-V Enabling Replication Failure"},"content":{"rendered":"<p>A fantastic feature of Windows Server 2012 is Replication. For I.T. and other Admins who need to work in the trenches on failover and \/ or Disaster Recovery specifics, replication is a method of copying data from one server over to another in the event of a server failure or worse, a disaster (i.e. fire, earthquake, building flood, sabotage etc). <\/p>\n<p>Windows Server Hyper-V is needed. It is, believe it or not, relatively straightforward if following the Microsoft link documentation on bottom of this post. One thing I forgot is enabling firewall rules for replication traffic! So when I&nbsp;finalized a replica set up, I got an ugly and inaccurate error mentioning something along the lines of &#8220;Enabling Replication Failed, be sure logon locally rights are assigned&#8221;. It&#8217;s an ugly error, BUT the fix is easy. This has nothing to do with log on rights, which is good for me, because I have Group Policies that lock the member servers down.<\/p>\n<p>The documentation mentions enabling what is basically web port 80. Replication uses web ports. I naturally missed this on one of the servers &#8211; these rules need to be opened on BOTH the replica server sender and the replication receiver. Go into each Advanced firewall tool on your Datacenter server editions (sender + receiver), and verify like below. You do this for Inbound Rules. There are two needing to be enabled, per bottom of this screen shot.<\/p>\n<div style=\"clear: both; text-align: center;\"><a href=\"http:\/\/riguy.azurewebsites.net\/wp-content\/uploads\/2014\/02\/Repl.jpg\" style=\"margin-left: 1em; margin-right: 1em;\"><img loading=\"lazy\" decoding=\"async\" border=\"0\" src=\"http:\/\/riguy.azurewebsites.net\/wp-content\/uploads\/2014\/02\/Repl.jpg\" height=\"441\" width=\"640\" \/><\/a><\/div>\n<p>Once I did this, one of my VMs replicated with no issues from one Datacenter server to another. <br \/>Happy replicating!<\/p>\n<p>Hyper-V Replica Overview:<br \/><a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/jj134172.aspx\">http:\/\/technet.microsoft.com\/en-us\/library\/jj134172.aspx<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A fantastic feature of Windows Server 2012 is Replication. For I.T. and other Admins who need to work in the trenches on failover and \/ or Disaster Recovery specifics, replication is a method of copying data from one server over to another in the event of a server failure or worse, a disaster (i.e. fire, &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/riguy.com\/?p=2361\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Server 2012 Hyper-V Enabling Replication Failure&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":3711,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2361","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/riguy.com\/index.php?rest_route=\/wp\/v2\/posts\/2361","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/riguy.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/riguy.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/riguy.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/riguy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2361"}],"version-history":[{"count":0,"href":"https:\/\/riguy.com\/index.php?rest_route=\/wp\/v2\/posts\/2361\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/riguy.com\/index.php?rest_route=\/wp\/v2\/media\/3711"}],"wp:attachment":[{"href":"https:\/\/riguy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2361"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/riguy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2361"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/riguy.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2361"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}