Loading
Created by:firebrand_trainfirebrand_train
{"id":163914,"type":0,"block_id":"1345710696","theme_id":31,"user_id":61388,"path":"-1345710696-50701","title":"How to use Hyper-V Replicas in Windows Server 2012","pubtitle":null,"tags":"","public":true,"publicAccess":true,"private_link_enabled":0,"thumb":"https://s3-eu-west-1.amazonaws.com/infogram-thumbs-200/1345710696.jpg","width":550,"copyright":null,"properties":{"transparent":false,"rtl":false,"export_settings":{"showGrid":true,"showValues":true},"whitelabel":false,"embed_button":"enabled","title_link":"infogram","custom_logo":"infogram","custom_link_url":"","embed_button_text":"Share","decimal_separator":".,"},"elements":[{"type":"particle","particle_id":10620781,"object_id":"79d6f602-e9c9-11e4-a037-7b5f270fdca9","particle_type":"maintitle","picture":null,"text":"How to use Hyper-V Replicas in Windows Server 2012","content_type":"","title":null,"shrink":null},{"type":"particle","particle_id":137615,"object_id":"1345711093","particle_type":"quote","picture":null,"text":"by ed baker","content_type":"","title":"firebrand training","shrink":null},{"type":"particle","particle_id":137639,"object_id":"1345711503","particle_type":"bodytext","picture":null,"text":"Until now if you wanted to implement High Availability in Virtual Machines (VM), you would have to invest in cluster technology and shared storage. The arrival of Windows Server 2012 brings with it a disaster recovery solution for VMs that is free, built into the product and easy to implement. \n\nSee the benefits of Hyper-V Replicas by watching the video below. Then learn how to use them, following this step-by-step guide.","content_type":"","title":null,"shrink":null},{"type":"particle","particle_id":137642,"object_id":"1345711615","particle_type":"video","picture":null,"text":"//player.vimeo.com/video/47925065"},{"type":"particle","particle_id":137664,"object_id":"1345712715","particle_type":"bodytitle","picture":null,"text":"Where to begin","content_type":"","title":null,"shrink":null},{"type":"particle","particle_id":137620,"object_id":"1345710940","particle_type":"bodytext","picture":null,"text":"First install the Hyper-V role on both machines (using Server Manager, or PowerShell 3.0 if you are a command-line guru). To prepare for replication, set-up an External Replication network using the virtual switch manager. This needs to be done on both servers, with the network name being the same on each. The only other step to prepare for the use of replicas is to have a Virtual Machine (VM) configured on each server. This is because we are going to set both servers up to replicate each other. \n\nWe now have two physical servers acting as Hosts or Parents to a VM, using the same replication network.\n\nOn Server One, open Hyper-V manager and select the VM you wish to replicate. Right-click on the VM, and select “Enable Replication”. Unsurprisingly, this fires-up a wizard. In the Specify Replica Server Box, enter the FQDN of your second server. You will receive an error stating that the server is not ready to host replicas. There is a convenient Configure Server button - click this.\n\nThis opens the Hyper-V Settings window for the second server, with the focus on the Replication configuration section. Check the Enable this Server for Replication box. Depending on your requirements, these settings allow for unencrypted HTTP traffic (port 80) or encrypted HTTPS communication (port 443). It also allows for authentication from a single server, a group or from any server. \n\nYou then want to check the Use Kerberos (HTTP) box, and the Allow Authentication From Any Server Radio button. Apply these settings. A warning points you to the correct firewall rules to enable. This screenshot shows which rule to set on both servers.\n\nSimply accept all the defaults for the rest of the wizard. There are also many areas for configuration, to allow for more flexible use of replication.","content_type":"","title":null,"shrink":null},{"type":"particle","particle_id":137618,"object_id":"1345710921","particle_type":"image","picture":"http://s3-eu-west-1.amazonaws.com/infogram-particles-700/1345710921.jpg"},{"type":"particle","particle_id":137665,"object_id":"1345712719","particle_type":"bodytitle","picture":null,"text":"Now do it all over again","content_type":"","title":null,"shrink":null},{"type":"particle","particle_id":137643,"object_id":"1345711652","particle_type":"bodytext","picture":null,"text":"Replication is now enabled, and the initial replication has started. If this is a small machine and the network is quick, go to the second server and see if the replicated VM has appeared. If it has, in the bottom section of Hyper-V manager, you will see there is now a Replication tab. Select the replicated VM and click that Replication tab. You will see it is listed as a replica.\n\nRepeat the above steps for the VM on Server Two.\n\nProvided that you set the Firewall rules correctly, you now have a cross-replicated system, where each server hosts a primary and a replica VM. There is no cluster, no SAN, no shared storage, just replicas as shown below.\n\nIt’s possible to select a time period for replication - and whether it starts manually or automatically. VHDs can be included and excluded from the replication if required. Recovery points can be maintained, and the number of these to be stored is also configurable (between 1 and 15). The transmitted data can be compressed and encrypted if required. \n\nAll of these settings can be managed in the VM Settings window.\n","content_type":"","title":null,"shrink":null},{"type":"particle","particle_id":137621,"object_id":"1345710947","particle_type":"image","picture":"http://s3-eu-west-1.amazonaws.com/infogram-particles-700/1345710947.jpg"},{"type":"particle","particle_id":137666,"object_id":"1345712722","particle_type":"bodytitle","picture":null,"text":"Three Failover scenarios","content_type":"","title":null,"shrink":null},{"type":"particle","particle_id":137627,"object_id":"1345710985","particle_type":"bodytext","picture":null,"text":"Hyper-V replication allows for several different failover scenarios. From the replica copy itself, these options are available:","content_type":"","title":null,"shrink":null},{"type":"particle","particle_id":137623,"object_id":"1345710960","particle_type":"image","picture":"http://s3-eu-west-1.amazonaws.com/infogram-particles-700/1345710960.jpg"},{"type":"particle","particle_id":137648,"object_id":"1345712114","particle_type":"bodytext","picture":null,"text":"While from the Primary VM, the below are available:","content_type":"","title":null,"shrink":null},{"type":"particle","particle_id":137626,"object_id":"1345710979","particle_type":"image","picture":"http://s3-eu-west-1.amazonaws.com/infogram-particles-700/1345710979.jpg"},{"type":"particle","particle_id":137629,"object_id":"1345711006","particle_type":"bodytext","picture":null,"text":"So there are: \n1. Test Failover\n2. Failover\n3. Planned Failover","content_type":"","title":null,"shrink":null},{"type":"particle","particle_id":137671,"object_id":"1345713288","particle_type":"bodytitle","picture":null,"text":"1. Test Failover","content_type":"","title":null,"shrink":null},{"type":"particle","particle_id":137636,"object_id":"1345711368","particle_type":"bodytext","picture":null,"text":"This option ensures that your replica VM starts correctly, and is a viable DR solution. By selecting this, a new VM is created which allows the administrator to confirm its status:","content_type":"","title":null,"shrink":null},{"type":"particle","particle_id":137628,"object_id":"1345710989","particle_type":"image","picture":"http://s3-eu-west-1.amazonaws.com/infogram-particles-700/1345710989.jpg"},{"type":"particle","particle_id":137677,"object_id":"1345713426","particle_type":"bodytext","picture":null,"text":"To ensure that your Test Failover doesn’t interfere with your production machines, Hyper-V now has the ability to inject a different IP addressing scheme into your Replica. It can also start it using an entirely different network, using the virtual switch.\n\nIn the VM Settings - under Network Adaptor - the configuration options cater for IPv4 , IPv6 and advanced options and test failover for networks. This flexibility allows an administrator to carry out failover tests regularly - this is best practice! \n\nOnce tested, right-click the original replica VM and click Replication. Stop Test Failover, and the test VM will be deleted.","content_type":"","title":null,"shrink":null},{"type":"particle","particle_id":137630,"object_id":"1345711013","particle_type":"image","picture":"http://s3-eu-west-1.amazonaws.com/infogram-particles-700/1345711013.jpg"},{"type":"particle","particle_id":137672,"object_id":"1345713412","particle_type":"bodytitle","picture":null,"text":"2. Failover","content_type":"","title":null,"shrink":null},{"type":"particle","particle_id":137622,"object_id":"1345711408","particle_type":"bodytext","picture":null,"text":"This is the one to use when the Primary VM has failed, and you need to get your virtualised workload up and running as soon as possible. Simply select Replication and Failover. The standard warning appears, select your recovery point and click Failover. The replica remains the replica, but is the active VM. The Replication tab highlights the completed failover, and the warning that the primary is offline.\n\nOnce the Primary VM is up and running there are several options to return to normal. Though these are outside the scope of a short article. Microsoft has published an 82-page Understanding and Troubleshooting guide for Hyper-V replicas, which will assist with this and any other unanswered questions.","content_type":"","title":null,"shrink":null},{"type":"particle","particle_id":137678,"object_id":"1345713448","particle_type":"bodytitle","picture":null,"text":"3. Planned Failover","content_type":"","title":null,"shrink":null},{"type":"particle","particle_id":137675,"object_id":"1345713833","particle_type":"bodytext","picture":null,"text":"This is carried-out from the primary VM. When selecting the option from the Replication sub-menu, a prerequisite check is carried-out to ensure that the replica can take over in the absence of the primary. And that all the necessary action is then set in motion; including reversing the replication to ensure the original primary is kept up-to-date when it comes back online.","content_type":"","title":null,"shrink":null},{"type":"particle","particle_id":137686,"object_id":"1345713934","particle_type":"bodytitle","picture":null,"text":"Summary","content_type":"","title":null,"shrink":null},{"type":"particle","particle_id":137687,"object_id":"1345713946","particle_type":"bodytext","picture":null,"text":"This has been a short toe-dipping into what is set to be one of Windows Server 2012 ‘Big Five’ areas of functionality. The ability to carry out failovers and high-availability on a tiny budget is something small businesses have been crying-out for, and can now embrace with zero additional costs.","content_type":"","title":null,"shrink":null},{"type":"particle","particle_id":137707,"object_id":"1345714948","particle_type":"image","picture":"http://s3-eu-west-1.amazonaws.com/infogram-particles-700/1345714948.gif"}],"theme":{"createdAt":"2016-04-22T04:54:07.000Z","updatedAt":"2016-12-28T10:33:43.000Z","logoImages":[""],"charts":{"treemap":{"labels":{"name":{"fontFamily":"PT Sans Narrow","fontWeight":"700"},"value":{"fontFamily":"PT Sans Narrow"}}},"wordcloud":{"labels":{"fontFamily":"Arial","fontWeight":"700"}},"table":{"cellBackground":"#ffffff","headerBackground":"#eeeeee","cellColor":"#232323","headerColor":"#232323","shapeFill":"#232323"}},"color":{"bg":"#ffffff","text":"#000000","chart":{"bg":"transparent","text":"#767676"},"element":{"bg":"transparent","text":"#000000"}},"colorPresets":[],"localFonts":[],"font":{"common":{"textAlign":"initial","fontSize":"16","fontStyle":"normal","fontWeight":"400","fontFamily":"PT Sans Narrow"},"legend":{"fontSize":"16","fontWeight":"400"},"label":{"fontSize":16,"fontWeight":400}},"fontPresets":[],"fontFamilies":["Pontano Sans","PT Sans","PT Sans Narrow","Arial Narrow"],"id":31,"title":"Light-new","usergroup":"archived","picture":"https://d1m5pq7b4fzvad.cloudfront.net/31/thumbnail.png","thumb":"/i/templates/S/grey.png","order":28,"public":0,"width":550,"fonts":"Pontano+Sans;PT+Sans+Narrow","colors":["#34a6b5","#bfbfbf","#5bb7c3","#959595","#287f8a","#4c4c4c","#005863","#000000","#9af3ff","#e2e2e2"],"logocolor":"6abac5","logoUrl":"","showLogo":"","showEmbed":"","embedButtonText":"Share","top":0,"padding":20,"spacing":10,"shrinkMargin":20,"shrinkPadding":20,"spacingElementMin":null,"spacingElementMax":null,"css":".heatmap-legend {\n\tmargin-bottom: 10px;\n\tbackground: rgba(255, 255, 255, 0.7);\n}\n.igc-textual-figure {\n\tfont-size: 45px;\n}\n.igc-sheets .igc-sheet .igc-sheet-ico,\n.igc-sheets .igc-sheet:hover .igc-sheet-ico {\n\tborder-color: #7d7d7d;\n}\n.igc-sheets .igc-sheet .igc-sheet-label,\n.igc-sheets .igc-sheet:hover .igc-sheet-label,\n.igc-sheets .igc-sheet.active .igc-sheet-label {\n\tcolor: #7d7d7d;\n}\n.igc-sheet .igc-sheet-ico,\n.igc-sheet.active .igc-sheet-ico {\n\tbackground: transparent;\n}\n.igc-sheets .igc-sheet.active .igc-sheet-ico::after,\n.igc-sheets .igc-sheet:hover .igc-sheet-ico::after {\n\theight: 14px;\n\twidth: 14px;\n\tleft: 2px;\n\ttop: 2px;\n\tbackground: #7d7d7d;\n}\ndiv[id^='table_'] .inner {\n\tbackground: transparent;\n\tpadding-left: 0;\n\tpadding-rigth: 0;\n}\n.igc-table-scroll {\n\tbackground: #eee;\n}\n.chart > .inner {\n\tpadding-top: 21px;\n\tpadding-left: 21px;\n\tpadding-right: 21px;\n}\n.chart > .igc-chart.inner\n.ig-copyright,\n#madewith a:link,\n#madewith a:active,\n#madewith a,\n#madewith a:visited,\n#madewith a:hover {\n\tcolor: #7d7d7d !important;\n}\n.ig-container {\n\tbackground: url(/i/templates/31/fons2.png);\n}\n.headline {\n\tfont-family: Pontano Sans;\n\tfont-weight: 400;\n\tfont-size: 40px;\n\tcolor: #34a6b5;\n\ttext-transform: uppercase;\n\ttext-align: center;\n\tline-height: 50px;\n}\n.chart-title {\n\tbackground: rgba(52, 166, 181, 0.7);\n\tfont-family: Pontano Sans;\n\tfont-weight: 400;\n\tfont-size: 22px;\n\tcolor: #fff;\n\ttext-align: center;\n}\n.chart-title .innertext {\n\tpadding: 3px;\n}\n.bodytext {\n\tfont-family: Pontano Sans;\n\tpadding: 20px;\n\tpadding-top: 10px;\n\tpadding-bottom: 10px;\n\tfont-size: 16px;\n\tcolor: #464646;\n}\n.quote {\n\tpadding-top: 10px;\n\tpadding-bottom: 10px;\n\tfont-family: Pontano Sans;\n\ttext-align: center;\n\tfont-weight: 400;\n\tfont-size: 27px;\n\tcolor: #34a6b5;\n\ttext-transform: uppercase;\n\tpadding-left: 30px;\n\tpadding-right: 30px;\n}\n.quotetitle {\n\tcolor: #3e4648;\n\tfont-size: 22px;\n}\n.chart .inner,\n.map {\n\tbackground: #f7f7f7;\n}\n.chart {\n\tpadding-bottom: 10px;\n\theight: auto !important;\n}\n.headline.active:hover {\n\tcolor: #0d6874;\n}\n#madewith.active a:hover {\n\tcolor: #0d6874 !important;\n}\n.titlepopup {\n\ttop: 1px;\n}\n.titlepopup1,\n.titlepopup2 {\n\tborder-color: #0d6874;\n}\n.shrink .chart > .inner {\n\tpadding-left: 10px;\n\tpadding-right: 10px;\n}\n.shrink .chart {\n\tmargin-left: 0;\n\tmargin-right: 0;\n}\n.ig-separator-line {\n\tbackground: rgba(118, 118, 118, 0.5);\n}\n.heatmap-legend-item,\n.heatmap-label {\n\tcolor: #767676;\n\tfont-size: 11px;\n\tfont-family: PT Sans;\n}\n.igc-graph-pie-piece {\n\tstroke: rgba(255, 255, 255, 0.7);\n}\n.igc-tabs .igc-tab-active {\n background: #ffffff;\n }\n .igc-tabs .igc-tab .igc-tab-content,\n .igc-tabs .igc-tab.icon-down:after {\n font-family: PT Sans Narrow;\n color: #000000;\n font-weight: 400;\n }\n .igc-tabs .igc-tab,\n .igc-tab-switcher {\n color: #000000;\n } .igc-tabs.igc-tabs-dropdown .igc-tab-name {\n font-family: PT Sans Narrow;\n color: #000000;\n font-weight: 400;\n } .captiontext {font-family: PT Sans Narrow;color: #000000;font-weight: 400;} .captiontext .innertext {line-height: 1.5;}","chartOptions":{"waterfall":{"colors":"005863 34a6b5 959595"},"candle":{"colors":"959595 34a6b5"},"map":{"showLegend":false,"countryyStroke":"#e1e1e1","countryFill":"#e1e1e1","canvasFill":"transparent"},"common":{"textStyle":{"font-family":"PT Sans Narrow, Arial Narrow","font-size":16,"cursor":"default","fill":"#5a5a5a"},"backgroundStyle":{"stroke-opacity":0,"stroke-width":0},"_gridOptions":{"fontStyle":{"font-family":"PT Sans","font-size":11,"text-anchor":"start","fill":"#767676","cursor":"default"},"lineStyle":{"stroke-width":1,"stroke":"#767676","fill":"none","stroke-dasharray":"."}},"legendOptions":{"font-size":16,"font-family":"PT Sans Narrow"},"tooltipOptions":{"nameFontStyle":{"font-family":"PT Sans Narrow","text-anchor":"start","font-weight":700,"font-size":16,"fill":"#ffffff"},"valueFontStyle":{"font-family":"PT Sans Narrow","text-anchor":"start","font-size":16,"fill":"#fff"},"containerStyle":{"stroke":"#464646","fill":"#464646"}}}},"version":1,"archived":true,"tabs":false,"zeroPaddingEmbed":true,"created_at":"2016-04-22T04:54:07.000Z","updated_at":"2016-12-28T10:33:43.000Z"},"embed":"<script id=\"infogram_0_-1345710696-50701\" title=\"How to use Hyper-V Replicas in Windows Server 2012\" src=\"//e.infogr.am/js/dist/embed.js?PYp\" type=\"text/javascript\"></script><div style=\"padding:8px 0;font-family:Arial!important;font-size:13px!important;line-height:15px!important;text-align:center;border-top:1px solid #dadada;margin:0 30px\"><a href=\"https://infogr.am/-1345710696-50701\" style=\"color:#989898!important;text-decoration:none!important;\" target=\"_blank\" rel=\"nofollow\">How to use Hyper-V Replicas in Windows Server 2012</a><br><a href=\"https://infogr.am\" style=\"color:#989898!important;text-decoration:none!important;\" target=\"_blank\" rel=\"nofollow\">Create your own infographics</a></div>","embedIframe":"<iframe src=\"//e.infogr.am/-1345710696-50701?src=embed\" title=\"How to use Hyper-V Replicas in Windows Server 2012\" width=\"550\" height=\"\" scrolling=\"no\" frameborder=\"0\" style=\"border:none;\"></iframe><div style=\"padding:8px 0;font-family:Arial!important;font-size:13px!important;line-height:15px!important;text-align:center;border-top:1px solid #dadada;margin:0 30px\"><a href=\"https://infogr.am/-1345710696-50701\" style=\"color:#989898!important;text-decoration:none!important;\" target=\"_blank\" rel=\"nofollow\">How to use Hyper-V Replicas in Windows Server 2012</a><br><a href=\"https://infogr.am\" style=\"color:#989898!important;text-decoration:none!important;\" target=\"_blank\" rel=\"nofollow\">Create your own infographics</a></div>","embedWordpress":"[infogram id=\"-1345710696-50701\" prefix=\"Nj6\" format=\"interactive\" title=\"How to use Hyper-V Replicas in Windows Server 2012\"]","embedWordpressImage":"[infogram id=\"-1345710696-50701\" prefix=\"U0b\" format=\"image\" title=\"How to use Hyper-V Replicas in Windows Server 2012\"]","embedAsync":"<div class=\"infogram-embed\" data-id=\"-1345710696-50701\" data-type=\"interactive\" data-title=\"How to use Hyper-V Replicas in Windows Server 2012\"></div><script>!function(e,t,n,s){var i=\"InfogramEmbeds\",o=e.getElementsByTagName(t),d=o[0],a=/^http:/.test(e.location)?\"http:\":\"https:\";if(/^\\/{2}/.test(s)&&(s=a+s),window[i]&&window[i].initialized)window[i].process&&window[i].process();else if(!e.getElementById(n)){var r=e.createElement(t);r.async=1,r.id=n,r.src=s,d.parentNode.insertBefore(r,d)}}(document,\"script\",\"infogram-async\",\"//e.infogr.am/js/dist/embed-loader-min.js\");</script><div style=\"padding:8px 0;font-family:Arial!important;font-size:13px!important;line-height:15px!important;text-align:center;border-top:1px solid #dadada;margin:0 30px\"><a href=\"https://infogr.am/-1345710696-50701\" style=\"color:#989898!important;text-decoration:none!important;\" target=\"_blank\" rel=\"nofollow\">How to use Hyper-V Replicas in Windows Server 2012</a><br><a href=\"https://infogr.am\" style=\"color:#989898!important;text-decoration:none!important;\" target=\"_blank\" rel=\"nofollow\">Create your own infographics</a></div>","embedImageAsync":"<div class=\"infogram-embed\" data-id=\"-1345710696-50701\" data-type=\"image\" data-title=\"How to use Hyper-V Replicas in Windows Server 2012\"></div><script>!function(e,t,n,s){var i=\"InfogramEmbeds\",o=e.getElementsByTagName(t),d=o[0],a=/^http:/.test(e.location)?\"http:\":\"https:\";if(/^\\/{2}/.test(s)&&(s=a+s),window[i]&&window[i].initialized)window[i].process&&window[i].process();else if(!e.getElementById(n)){var r=e.createElement(t);r.async=1,r.id=n,r.src=s,d.parentNode.insertBefore(r,d)}}(document,\"script\",\"infogram-async\",\"//e.infogr.am/js/dist/embed-loader-min.js\");</script><div style=\"padding:8px 0;font-family:Arial!important;font-size:13px!important;line-height:15px!important;text-align:center;border-top:1px solid #dadada;margin:0 30px\"><a href=\"https://infogr.am/-1345710696-50701\" style=\"color:#989898!important;text-decoration:none!important;\" target=\"_blank\" rel=\"nofollow\">How to use Hyper-V Replicas in Windows Server 2012</a><br><a href=\"https://infogr.am\" style=\"color:#989898!important;text-decoration:none!important;\" target=\"_blank\" rel=\"nofollow\">Create your own infographics</a></div>"}