{"id":1696,"date":"2013-09-12T00:00:00","date_gmt":"2013-09-12T00:00:00","guid":{"rendered":"https:\/\/test.simple-talk.com\/uncategorized\/a-practical-guide-to-microsoft-hyper-v-replica-part-ii\/"},"modified":"2021-04-27T13:55:26","modified_gmt":"2021-04-27T13:55:26","slug":"a-practical-guide-to-microsoft-hyper-v-replica-part-ii","status":"publish","type":"post","link":"https:\/\/www.red-gate.com\/simple-talk\/devops\/containers-and-virtualization\/a-practical-guide-to-microsoft-hyper-v-replica-part-ii\/","title":{"rendered":"A Practical Guide to Microsoft Hyper-V Replica: Part II"},"content":{"rendered":"<div class=\"article-content\">\n<p class=\"start\"> \tIn <a href=\"https:\/\/www.simple-talk.com\/sysadmin\/virtualization\/a-practical-guide-to-microsoft-hyper-v-replica-part-i\/\">Part I<\/a> of this article series, I explained the basic concepts of Microsoft Hyper-V Replica and how to configure a virtual machine for Hyper-V Replication. In this article, I&#8217;ll explain the Replication options for a Replica Virtual Machine. <\/p>\n<p>A Hyper-V Replica installation consists of a primary site where all Hyper-V hosts and the respective Virtual Machines are running. Besides the primary site there&#8217;s also a replica site. Hyper-V hosts are also located in this replica site but they contain replicas of virtual machines that are running in the primary site. Every five minutes, the primary site sends information regarding these last five minutes to the replica site where this information is replayed into the Hyper-V Replica.<\/p>\n<h2>Replication Actions on a Replica Virtual Machine<\/h2>\n<p> \tFor any Replica Virtual Machine participating in the Hyper-V Replica, right-click the machine name to bring up the context menu and view the Replication actions available as shown in the figure 1.19 below: <\/p>\n<p> \t<strong><img decoding=\"async\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/imported\/1870-2286bbc0-1b57-4a84-974c-672cd3d8ca49.png\" alt=\"1870-2286bbc0-1b57-4a84-974c-672cd3d8ca4\" \/><\/strong> <\/p>\n<p class=\"caption\"> \tFigure 1.19 &#8211; Context Menu of the Replica Virtual Machine on Replica Server <\/p>\n<p> \t<strong>&#8220;Failover&#8221; <\/strong>and <strong>&#8220;Test Failover&#8221; <\/strong>will be discussed further on in this article. <\/p>\n<p> \t&#8220;<strong>Pause Replication<\/strong>&#8221; pauses the replication for the Virtual Machine. The status of the Virtual Machine replication will be reflected on the &#8220;Replication Health&#8221; status page. This action can be performed on the Primary or Replica Server. <\/p>\n<p> \t&#8220;<strong>View Replication Health<\/strong>&#8221; brings up the following screen which shows the overall status of the Replica Virtual Machine. This action can be performed from the Primary or Replica Server. <\/p>\n<p> \t&#8220;<strong>Remove Replication<\/strong>&#8221; is used to stop the replication for the Replica Virtual Machine. This action can be performed on the Primary or Replica Server. Stopping the replication for the Virtual Machine does not delete the Virtual Machine and its files from the Replica Server! You must manually delete the files if you need to do so. <\/p>\n<h2> \tHyper-V Failover  <\/h2>\n<p> \tFor any Primary and Replica Virtual Machine in a Hyper-V Replica environment, there are three types of failover operations available. Some of the failover tests can be used for the Primary Virtual Machine and some can be used for Replica Virtual Machine. <\/p>\n<ul>\n<li> \tTest Failover (TFO) <\/li>\n<li> \tPlanned Failover (PFO) <\/li>\n<li> \tUnplanned Failover (UFO) <\/li>\n<\/ul>\n<h3>Test Failover (TFO)<\/h3>\n<p> \tTest Failover, as the name suggests, can be used to run tests against the Replica Virtual Machine. The &#8220;Failover Test&#8221; action is executed on the Replica Virtual Machine to ensure that it can come online successfully at the Replica Server in case of a Primary Virtual Machine running on Primary Server disaster. You can initiate a &#8220;<strong>Test Failover<\/strong>&#8221; without impacting the Primary Virtual Machine. <\/p>\n<div class=\"note\">\n<p class=\"note\"> <strong>NOTE:<\/strong> The &#8220;Test Failover&#8221; is same as Windows Failover Cluster&#8217;s &#8220;<strong>Simulate<\/strong>&#8221; feature.  <\/p>\n<\/p><\/div>\n<p> \tThis type of failover can be performed by using the &#8220;<strong>Test Failover<\/strong>&#8221; option located on the Right Click context menu on the Replica Virtual Machine as shown in the Figure 1.20 below. <\/p>\n<p> \t<img decoding=\"async\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/imported\/1870-d3168eb2-0916-4a6f-8464-4896377f38c9.png\" alt=\"1870-d3168eb2-0916-4a6f-8464-4896377f38c\" \/><\/p>\n<p class=\"caption\"> \tFigure 1.20 &#8211; &#8220;Test Failover&#8221; action on Right Click Context Menu of Replica Virtual Machine <\/p>\n<p> \tOnce you click &#8220;<strong>Test Failover<\/strong>&#8220;, the next snapshot shows the available recovery points for the Replica Virtual Machine. <\/p>\n<p> \t<img decoding=\"async\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/imported\/1870-7e93c9aa-4dc9-4cba-a743-aec771c0a7ad.png\" alt=\"1870-7e93c9aa-4dc9-4cba-a743-aec771c0a7a\" \/><\/p>\n<p class=\"caption\"> \tFigure 1.21 &#8211; Available Recovery Points for a Replica Virtual Machine <\/p>\n<p> \tThere are following types of recovery points available for your selection: <\/p>\n<ul>\n<li> \tLatest Recovery Point <\/li>\n<li> \tStandard Replicas (multiple) <\/li>\n<li> \tApplication-Consistent Recovery Point (multiple) <\/li>\n<\/ul>\n<p> \t &#8220;Latest Recovery Point&#8221; is the backup of Primary VHD of the Replica Virtual Machine which will be used to test the failover. <\/p>\n<p> \t&#8220;Application-Consistent Recovery Point&#8221; and &#8220;Standard Replicas&#8221; are created by the Volume Shadow Copy Service (VSS) based on the interval you specified when configuring this Virtual Machine for replication. <\/p>\n<h3>What does Test Failover Do?<\/h3>\n<p> \tUsing one of the recovery points you selected, the &#8220;<strong>Test Failover<\/strong>&#8221; operation creates a &#8220;Test Virtual Machine&#8221; on the Replica Server. The new Virtual Machine is appended with a tag &#8220;-Test&#8221; as shown in the figure 1.23 below. <\/p>\n<p> \t<strong><img decoding=\"async\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/imported\/1870-819c83f6-ff06-4371-acd5-85058642e9d5.png\" alt=\"1870-819c83f6-ff06-4371-acd5-85058642e9d\" \/><\/strong> <\/p>\n<p class=\"caption\"> \tFigure 1.22 &#8211; Test Virtual Machine created by &#8220;Test Failover&#8221; Action on the Replica Server <\/p>\n<p> \tIn fact, &#8220;Test Failover&#8221; operation uses Hyper-V&#8217;s &#8220;Export and Import&#8221; feature internally to create a new Virtual Machine and then rename it. The &#8220;Test Failover&#8221; operations include: <\/p>\n<ol>\n<li> \tExport the Replica Virtual Machine to a temporary location (XML file, VHD files, etc.) <\/li>\n<li> \tModify the XML file of exported Virtual Machine to use a unique GUID <\/li>\n<li> \tRegister the newly created Virtual Machine with Hyper-V (VMMS.exe) <\/li>\n<li> \tRename the Virtual Machine name <\/li>\n<li> \tImport the Virtual Machine onto the same Hyper-V server <\/li>\n<\/ol>\n<div class=\"note\">\n<p class=\"note\"> <strong>NOTE:<\/strong> The Test Virtual Machine remains OFF after it has been imported successfully, by default, an imported Virtual Machine is not started automatically.  <\/p>\n<\/p><\/div>\n<p> \tAfter turning Test Virtual Machine (RVM1 &#8211; Test in this case) ON and once you are satisfied that it functions properly, you can always delete the test Virtual Machine from the Replica Server. Before you delete the test Virtual Machine, use &#8220;<strong>Stop Test <\/strong><strong>Failover<\/strong>&#8221; action from the Right Click Context menu. This action will clean up the duplicate files (VHD and configuration files) for the test Virtual Machine. <\/p>\n<div class=\"note\">\n<p class=\"note\"> <strong>NOTE:<\/strong> You must have enough resources available on the Replica Server in order to start the test Replica Virtual Machine and enough storage for &#8220;Test Failover&#8221; operation to create\/store VHD files. <\/p>\n<\/p><\/div>\n<div>\n<table>\n<tbody>\n<tr>\n<td><strong>Tip:<\/strong>                  <\/td>\n<td>Only one &#8220;Test Failover&#8221; operation is allowed at one time for a Replica Virtual Machine. However, you can perform multiple &#8220;Test Failover&#8221; operations for different Replica Virtual Machines at the same time.                 <\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div>\n<table>\n<tbody>\n<tr>\n<td><strong>Tip:<\/strong>                  <\/td>\n<td>Since the &#8220;Test Failover&#8221; operation is performed at the Replica Site, there is no impact on the Primary Virtual Machine which continues to serve the client requests.                 <\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h3>Planned Failover (PFO)<\/h3>\n<p> \tA &#8220;<strong>Planned Failover<\/strong>&#8221; action is available to be performed on the Primary Virtual Machine running on the Primary Server. This action can be performed when you know that Primary Server or Primary Site will go down for some maintenance purpose and you want to move the virtualized workloads to the Replica Server or Replica Site with minimum downtime. This type of failover operation is performed from the Right Click context menu on the Replica Virtual Machine as shown in the Figure 1.23 below. <\/p>\n<p> \t<img decoding=\"async\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/imported\/1870-12cc0322-d356-4832-aa14-4d20906f7e77.png\" alt=\"1870-12cc0322-d356-4832-aa14-4d20906f7e7\" \/><\/p>\n<p class=\"caption\"> \tFigure 1.23 &#8211; &#8220;Planned Failover&#8221; action on Right Click Context Menu of Primary Virtual Machine <\/p>\n<p> \tWhen you click on the &#8220;<strong>Planned Failover<\/strong>&#8221; action, it shows the following screen shown in the Figure 1.24 below: <\/p>\n<p> \t<img decoding=\"async\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/imported\/1870-5f41675f-4a69-4c41-bab7-4f972147d21d.png\" alt=\"1870-5f41675f-4a69-4c41-bab7-4f972147d21\" \/><\/p>\n<p class=\"caption\"> \tFigure 1.24 &#8211; &#8220;Planned Failover&#8221; <\/p>\n<p> \tThere are a number of prerequisites checks and actions performed when you click the &#8216;<strong>Fail Over<\/strong>&#8221; button located on the above Figure 1.24. Prerequisites include checking to make sure the Primary Virtual Machine is turned off and reverse replication is allowed from Replica to Primary Server. <\/p>\n<p> \tThe checkbox &#8220;<strong>Start the Replica Virtual machine after failover<\/strong>&#8221; allows you to turn on the Replica Virtual Machine on the Replica Server. <\/p>\n<div class=\"note\">\n<p class=\"note\"> <strong>Note:<\/strong> The &#8220;Planned Failover&#8221; operation requires manual intervention and must be performed by an administrator. This is similar to Live Migration or Shared-Nothing Live Migration Planned Failover. The only difference is that there will be little downtime in case of &#8220;Planned Failover&#8221; performed in the Hyper-V Replica environment. <\/p>\n<\/p><\/div>\n<p> \tA few actions are performed which are listed in Figure 1.24. <\/p>\n<p> \tThe &#8220;Primary Virtual Machine&#8221; must be turned off and the Primary Server (this server) must be configured to accept the replication from the Replica Server before the planned failover operation can start. If none of the conditions are true, an error message will be displayed as shown in Figure 1.25 below. <\/p>\n<p> \t<img decoding=\"async\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/imported\/1870-d6aaa463-f4c5-4d68-bd2c-8e8bccc51ccb.png\" alt=\"1870-d6aaa463-f4c5-4d68-bd2c-8e8bccc51cc\" \/><\/p>\n<p class=\"caption\"> \tFigure 1.25 &#8211; &#8220;Planned Failover&#8221; Error message for Primary Virtual Machine at Primary Server <\/p>\n<p> \tThe following requirements must be met before the &#8220;Planned Failover&#8221; operation can start: <\/p>\n<ul>\n<li> \tPrimary Server is configured to accept replication <\/li>\n<li> \tThe Primary Virtual Machine is turned off <\/li>\n<\/ul>\n<p> \tUsually, in a Hyper-V Replica environment, it is the Replica Server which accepts replication packets from a Primary Server running in production site but not the vice-versa &#8211; in some cases it is required by the Hyper-V Replica to reverse replicate the virtualized workload. The &#8220;Reverse Replicate&#8221; action requires this type of configuration, this will be touched on again later in this article. <\/p>\n<p> \tA &#8220;Planned Failover&#8221; operation initiated for a Primary Virtual Machine is initiated manually by an administrator. Since it is a &#8220;planned event&#8221;, Hyper-V Primary Server knows what all actions need to be taken for a Primary Virtual Machine. This is what happens as part of the operation: <\/p>\n<ol>\n<li> \tAn administrator initiates the &#8220;Planned Failover&#8221; action from a Right Click context menu of Primary Virtual Machine <\/li>\n<li> \tHyper-V server process (VMMS.exe) is notified of the action <\/li>\n<li> \tVMMS.exe talks to Hyper-V VSS Writer to create a snapshot of the Primary Virtual Machine <\/li>\n<li> \tHyper-V VSS Writer creates a &#8220;Standard Replica&#8221; backup copy. <\/li>\n<li> \tThe Replica Server is notified of the event. <\/li>\n<li> \t&#8220;Standard Replica&#8221; backup copy is sent to the Replica Server <\/li>\n<li> \tThe Replica Server applies the backup copy it has received and starts the Replica Virtual Machine <\/li>\n<\/ol>\n<p> \tIn case of a Planned Failover, there is no data loss. Since the Primary Server is informed of the action, it takes the necessary actions on the Primary Virtual Machine ensuring no data loss occurs because they are sent to Replica Server. <\/p>\n<h3>Unplanned Failover (UFO)<\/h3>\n<p> \tThe &#8220;<strong>Unplanned Failover<\/strong>&#8221; operation is performed on the Replica Virtual Machine running on the Replica Server and must be used only if you are experiencing issues with: <\/p>\n<ul>\n<li> \tPrimary Server alone <\/li>\n<li> \tPrimary Site where the Primary Servers resides <\/li>\n<li> \tPrimary Virtual Machine which cannot be brought online <\/li>\n<li> \tNetwork connectivity issues for the Primary Virtual Machine <\/li>\n<\/ul>\n<p> \tThe objective of performing the unplanned failover action is to resume the services at the Replica Site as soon as possible. <\/p>\n<div class=\"note\">\n<p class=\"note\"> <strong>Note:<\/strong> &#8220;Unplanned Failover&#8221; operation is unplanned and occurs without your notice. <\/p>\n<\/p><\/div>\n<p> \tUnplanned Failover appears as the &#8220;<strong>Failover<\/strong>&#8221; action on the Right Click Context Menu of the Replica Virtual Machine as shown in the below figure 1.26. <\/p>\n<p> \t<img decoding=\"async\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/imported\/1870-9307140b-8908-42eb-bd38-ab73cd1fd7e2.png\" alt=\"1870-9307140b-8908-42eb-bd38-ab73cd1fd7e\" \/><\/p>\n<p class=\"caption\"> \tFigure 1.26 &#8211; &#8220;Failover&#8221; (unplanned failover) Action on Right Click Context Menu Of Virtual Machine <\/p>\n<div>\n<table>\n<tbody>\n<tr>\n<td><strong>Tip:<\/strong>                  <\/td>\n<td>&#8220;Failover&#8221;, &#8220;Cancel Failover&#8221; and &#8220;Reverse Replication&#8221; actions are related to each other which are explained in this section.                 <\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p> \tClicking the &#8220;Failover&#8221; button brings up the following screen: <\/p>\n<p> \t<img decoding=\"async\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/imported\/1870-b6a1f16d-9514-43d1-81cc-3d8327ea894c.png\" alt=\"1870-b6a1f16d-9514-43d1-81cc-3d8327ea894\" \/><\/p>\n<p class=\"caption\"> \tFigure 1.27 &#8211; Selecting Recovery Points for Virtual Machine <\/p>\n<p> \tFailover allows you to select the recovery point if you enabled for the Primary Virtual Machine. <\/p>\n<div>\n<table>\n<tbody>\n<tr>\n<td><strong>Tip:<\/strong>                  <\/td>\n<td>Always select the latest recovery point from the drop down list to restore the Replica Virtual Machine from a latest recovery point.                 <\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h3>Planned vs Unplanned Failover Types<\/h3>\n<p> \tIn the case of a &#8220;Planned Failover&#8221;, the Hyper-V Primary Server is notified of the operation\/action so it takes necessary actions for the primary Virtual Machine. On the other hand, &#8220;Unplanned Failover&#8221;, which is performed at the Replica Server, does not provide any notification to the Replica Server. <\/p>\n<p> \tIf the Replica Server is notified of a failure on the Primary VM, then there&#8217;s no difference between Hyper-V Replica and Windows Failover Clustering. <\/p>\n<p> \tSince the Replica Server is not notified of any issues with the Primary Virtual Machine in an unplanned failover, it maintains a list of recovery points or backup copies you can choose to recover the Virtual Machine to resume its services. <\/p>\n<p> \tAn &#8220;Unplanned Failover&#8221; must be performed only when one of the following conditions is true: <\/p>\n<ul>\n<li> \tThe Primary Site is experiencing some issues and cannot be contacted. <\/li>\n<li> \tClients cannot connect to the Primary Virtual Machine and you need to restore the services as soon as possible on the Replica Virtual Machine running on Replica Server. <\/li>\n<\/ul>\n<div class=\"note\">\n<p class=\"note\"> <strong>Note:<\/strong> The Primary Virtual Machine at Primary Server site must be turned off before you can use the &#8220;Unplanned Failover&#8221;. <\/p>\n<\/p><\/div>\n<div>\n<table>\n<tbody>\n<tr>\n<td><strong>Tip:<\/strong>                  <\/td>\n<td>Any test Replica Virtual Machine, created by the &#8220;Test Failover&#8221; action, will be deleted when you use &#8220;Failover&#8221; action on the Replica Virtual Machine.                 <\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div>\n<table>\n<tbody>\n<tr>\n<td><strong>Tip:<\/strong>                  <\/td>\n<td>There is no need to turn on the Replica Virtual Machine on Replica Server as the Failover operation will automatically turn it on.                 <\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h3>Cancel Failover and Reverse Replication<\/h3>\n<p> \t&#8220;<strong>Cancel Failover<\/strong>&#8221; and &#8216;<strong>Reverse Replication<\/strong>&#8221; actions are available on the Replica Virtual Machine on which you initiated the &#8220;Failover&#8221; action. These two actions are shown in the below Figure 1.28. <\/p>\n<p> \t<img decoding=\"async\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/imported\/1870-0e40092e-b10a-47ad-aacb-41ae17c7dd8e.png\" alt=\"1870-0e40092e-b10a-47ad-aacb-41ae17c7dd8\" \/><\/p>\n<p class=\"caption\"> \tFigure 1.28 &#8211; &#8220;Cancel Failover&#8221; and &#8220;Reverse Replication&#8221; options for Virtual Machine <\/p>\n<p> \t&#8220;<strong>Cancel Failover<\/strong>&#8221; action allows you to cancel the failover and turn off the Replica Virtual Machine. The &#8220;<strong>Cancel Failover<\/strong>&#8221; action is created in a situation where a Replica Virtual Machine restored from a recovery point is not working normally. You can always initiate the &#8220;Cancel Failover&#8221; action to revert back the changes and then start over with a different recovery backup copy this time. <\/p>\n<p> \t&#8220;<strong>Reverse Replication<\/strong>&#8221; is a manual failback option provided with Replica Virtual Machine! You may wonder; <em>Why not have automatic failback<\/em>? Well, Hyper-V Replica is a disaster recovery solution and not a high availability solution. Microsoft may develop further the Hyper-V Replica components in the next few years to provide the failback functionality but it is not implemented in the current version of Hyper-V Replica. <\/p>\n<p> \t&#8220;<strong>Reverse Replication<\/strong>&#8221; action just allows you to failback the load from Replica Server to Primary Server. Clicking on the &#8220;<strong>Reverse Replication<\/strong>&#8221; brings the following screen as shown in the figure 1.29 below: <\/p>\n<p> \t<img decoding=\"async\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/imported\/1870-d5e7969a-6c4b-4b4c-8c56-32ecbd897cb9.png\" alt=\"1870-d5e7969a-6c4b-4b4c-8c56-32ecbd897cb\" \/><\/p>\n<p class=\"caption\"> \tFigure 1.29 &#8211; &#8220;Reverse Replication&#8221; wizard <\/p>\n<p> \tAs stated in figure 1.29, this is the same wizard which you used to enable a Virtual Machine for replication earlier in this article. The configuration pages provided in this wizard are similar to those when you enable a Virtual Machine to participate in the Hyper-V Replica. <\/p>\n<p> \tThe wizard checks to see if the destination server is able to accept the incoming replication traffic generated from this server and this is where it is required for Primary Server to become a Replica Server. <\/p>\n<div class=\"note\">\n<p class=\"note\"> <strong>Note:<\/strong> &#8220;Planned Failover&#8221; and &#8220;Reverse Replication&#8221; actions can be performed only if Primary Server is allowed to accept incoming replication requests. <\/p>\n<\/p><\/div>\n<p> \tYou might want to remove all the recovery points associated with a Replica Virtual Machine. You would want to do that if recovery points are corrupted or you just don&#8217;t need them. To remove all the recovery points, select &#8220;<strong>Remove Recovery Points<\/strong>&#8221; action, as shown on the Right Click menu in Figure 1.29 above. When you click this action, a warning message will be displayed which requires your confirmation before recovery points associated with this Replica Virtual Machine can be removed from the local disk. <\/p>\n<p> \t<img decoding=\"async\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/imported\/1870-97071dfb-3bd3-4d41-8cca-fe1f79b18e46.png\" alt=\"1870-97071dfb-3bd3-4d41-8cca-fe1f79b18e4\" \/><\/p>\n<p class=\"caption\"> Figure 1.30 &#8211; &#8220;Remove recovery points&#8221; confirmation message <\/p>\n<p>Recovery Points for a Replica Virtual Machine can be removed only if the Virtual Machine has been failed over using &#8220;Failover&#8221; action. The &#8220;Remove Recovery Points&#8221; action does not provide you a list of available recovery points rather it deletes all the recovery points associated with this Virtual Machine at a time.  <\/p>\n<p> \tAs suggested in the Figure above, &#8220;Cancel Failover&#8221; option will no longer be available on the Right Click Context Menu if all recovery points are deleted. <\/p>\n<div>\n<table>\n<tbody>\n<tr>\n<td><strong>Tip:<\/strong> <\/td>\n<td>Remove recovery points for a Virtual Machine if you want to start over or if you think there is no use of all the recovery points of a Virtual Machine.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p> \tTo summarize, the following actions are available on the Right Click Context Menu of Primary and Replica Virtual Machines: <\/p>\n<table>\n<tbody>\n<tr>\n<td valign=\"top\">\n<p> \t\t<strong>Right Click Context Menu Actions<\/strong><\/p>\n<\/td>\n<td valign=\"top\">\n<p> \t\t<strong>Available On Replica Virtual Machine<\/strong><\/p>\n<\/td>\n<td valign=\"top\">\n<p> \t\t<strong>Available on Primary Virtual Machine<\/strong><\/p>\n<\/td>\n<td valign=\"top\">\n<p> \t\t<strong>Description<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">\n<p> Test Failover<\/p>\n<\/td>\n<td valign=\"top\">\n<p> \t\tYes<\/p>\n<\/td>\n<td valign=\"top\">\n<p> \t\t \t\tNo<\/p>\n<\/td>\n<td valign=\"top\">\n<p> \t\t \t\tTest to see if Replica Virtual Machine can come online successfully at  \t\tDR site. Creates a test virtual machine at the DR site.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">\n<p> \t\tPlanned Failover<\/p>\n<\/td>\n<td valign=\"top\">\n<p> \t\tNo<\/p>\n<\/td>\n<td valign=\"top\">\n<p> \t\tYes<\/p>\n<\/td>\n<td valign=\"top\">\n<p> \t\tUsed to failover from Primary to Replica Server<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">\n<p> \t\tPause\/Resume Replication<\/p>\n<\/td>\n<td valign=\"top\">\n<p> \t \t\tYes<\/p>\n<\/td>\n<td valign=\"top\">\n<p> \t\t \t\tYes<\/p>\n<\/td>\n<td valign=\"top\">\n<p> \t\t \t\tPause or Resume Replication for Virtual Machine<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">\n<p> \t\tView Replication Health<\/p>\n<\/td>\n<td valign=\"top\">\n<p> \t\tYes<\/p>\n<\/td>\n<td valign=\"top\">\n<p> \t\tYes<\/p>\n<\/td>\n<td valign=\"top\">\n<p> \t\tShows replication health of the Virtual Machine<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">\n<p> \t\tRemove Replication<\/p>\n<\/td>\n<td valign=\"top\">\n<p> \t \t\tYes<\/p>\n<\/td>\n<td valign=\"top\">\n<p> \t \t\tYes<\/p>\n<\/td>\n<td valign=\"top\">\n<p> \t \t\tRemove replication for Virtual Machine<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">\n<p> \t\tReverse Replication<\/p>\n<\/td>\n<td valign=\"top\">\n<p> \t\tYes&lt;<\/p>\n<\/td>\n<td valign=\"top\">\n<p> \t\tNo<\/p>\n<\/td>\n<td valign=\"top\">\n<p> \t\tUsed to  \t\treverse replicate from Replica to Primary Server<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">\n<p> \t\tCancel Failover<\/p>\n<\/td>\n<td valign=\"top\">\n<p> \t\t \t\tYes<\/p>\n<\/td>\n<td valign=\"top\">\n<p> \t\t \t\tNo<\/p>\n<\/td>\n<td valign=\"top\">\n<p> \t\t \t\tUsed to cancel the failover operation<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">\n<p> \t\tRemove Replication Points<\/p>\n<\/td>\n<td valign=\"top\">\n<p> \t\tYes<\/p>\n<\/td>\n<td valign=\"top\">\n<p>No<\/p>\n<\/td>\n<td valign=\"top\">\n<p> \t\tThis Action  \t\tcan be used to remove all Recovery Points<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"caption\"> \tTable 1.0 &#8211; Right Click Context Menu Actions <\/p>\n<h2> \tConclusion <\/h2>\n<p> \tIn the final part of this article series, we learned the actions available on Right Click context menu on Virtual Machines. I also covered the different types of failover available in Hyper-V Replica environment and what they do when recovering a virtual machine.  <\/p>\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>A Hyper-V replica installation provides rapid disaster-recovery by asynchronously replicating a VM running at a primary site to a replica site. Know how to prepare for something to go wrong at the Primary Server\/Site? In this article Nirmal Sharma presents the Replication options for a Replica Virtual Machine with a focus on Hyper-V Failover.<br \/>\n&hellip;<\/p>\n","protected":false},"author":143880,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[143513],"tags":[5892,4908,4286,4871,5893,4907],"coauthors":[],"class_list":["post-1696","post","type-post","status-publish","format-standard","hentry","category-containers-and-virtualization","tag-failover","tag-hyper-v","tag-replication","tag-sysadmin","tag-virtual-machine","tag-virtualization"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/posts\/1696","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/users\/143880"}],"replies":[{"embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/comments?post=1696"}],"version-history":[{"count":2,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/posts\/1696\/revisions"}],"predecessor-version":[{"id":90750,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/posts\/1696\/revisions\/90750"}],"wp:attachment":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/media?parent=1696"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/categories?post=1696"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/tags?post=1696"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/coauthors?post=1696"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}