網頁

2013年2月28日 星期四

Hyper-V 3.0 --- Execute Planned Failover for Kerberos authentication on the same AD Domain (part 5)

After deploying Hyper-V Replica, maybe one day need to take Host/VM offline on the Primary Server due to the Host/VM need to update Windows security or replace bad equipment. When this status happens, we need to failover VM from the Primary to Replica role and change replication direction for configuring “reverse replication”. So does that we have to do a planned failover.
Drawing3
How to do it?
Configure primary server to receive replicationIn Hyper-V Manger of the primary server, click this Host next to click Hyper-V Settings… in the Actions paneScreenHunter_02In the Hyper-V Settings dialog, click Replication Configuration Enabled as a Replica Server, choose Enable this computer as Replica Server and Use Kerberos(HTTP) check box in the Authentication and ports sections, select Allow replication from the
specified server
option in the Authorization and Storage sections.ScreenHunter_03
Click Add… buttonScreenHunter_18In Add Authorization Entry dialog, key in the specified word as the primary server, the default location to store replica files and the trust group next to click OK button (# 1)ScreenHunter_19Click OK button to complete Replication Configuration settingScreenHunter_21
Configure the firewall rule on the primary serverIn Windows Firewall with Advanced Security dialog, click Inbound Rules and select Hyper-V Replica HTTP Listener (TCP-In) next to click Enable Rule then in Actions panel.ScreenHunter_23
Do a Planned Failover
In Hyper-V Manager on the primary server, turn off VM that we want to fail over. (# 2)ScreenHunter_27Right-click offline VM next to select Replication, Planned Failover… in menuScreenHunter_28In Planned Failover dialog, enable Start the Replica virtual machine after failover check box next to click Fail Over button to begin to transfer VM on the replica server.ScreenHunter_29If the prerequisite is done, the Failover operation will be successful.ScreenHunter_30The VM replication role will be changed on the original server.ScreenHunter_31The VM plays the part of the primary server will be started and replication direction will be from primary to replica server.ScreenHunter_32
Verify the replication healthRight-click VM on the replica server and click replication, View Replication Health… link in menuScreenHunter_33The dialog will pop up and the some information can tell us whether replication is healthful now. (# 3)ScreenHunter_34In the primary server, we also do the same step to realize replication health information.ScreenHunter_36
Reference :
(# 1) In reverse replication setting, the replica files will locate on the original VM path. Its location doesn’t base on our assignment.ScreenHunter_37(# 2) If VM is still running and execute planned failover activity, we will get a error so that planned failover cannot be work.ScreenHunter_26(# 3) About interpreting replication health attribute, we can refer to these information as the following URL
         Interpreting Replication Health – Part 1
         Interpreting Replication Health - Part 2

<<< Hyper-V 3.0 --- One-Way Replication between Non-Cluster Hosts on the same AD domain (part 4)

沒有留言:

張貼留言

Since 2010 Design by Davidwa
©Copyright Davidwa Inc. All rights reserved.