Hyper-V Primary Site Replication Setting Error

Proposed Answer Hyper-V Primary Site Replication Setting Error

  • Wednesday, January 16, 2013 1:24 PM
     
     

    Hello,

    I am stuck with Hyper-V Replica.

    My Scenario: I have 2 node Hyper-V 2012 Cluster and I want to test Hyper-V Replica. So i had setup a standalone Hyper-V Replica Server for this cluster. I have created a Hyper-V Replica Broker role and Enabled Replication on my VM which was successful. Planned Failover is half success since i have not  configured replication setting in my replica broker role. Planned failover throws a warning that reverse replication is not configured so perform a reverse replication manually.

    Now I got totally confused what to configure in replica broker role. Which Primary server and storage are to be configured?

    please put me out this.

    Regards

    Hari Rama K

All Replies

  • Wednesday, January 16, 2013 3:06 PM
     
     

    Hello

    with a the Replica broker you can :

    replica a stand alone host to the cluster, cluster to cluster and cluster to stand alone and let you replicate a virtual machine even if it has been live migrated after a failure to another host.

    i dont understand in what you are stucked ... ??

    it works like the connection broker in rds..  it is like a gps.. it finds where your virtual machines are.

    Regards


    ------------------------------------------------------- I understand a little computers.


    • Edited by Ales75 Wednesday, January 16, 2013 3:09 PM spelling
    •  
  • Thursday, January 17, 2013 4:40 AM
     
     

    Thanks for your reply Ales...

    Let me explain you where I am stuck.. I have a primary Hyper-v 2012 Cluster and a standalone Hyper-v Replica Server. I have created a Hyper-v Replica Broker  on my primary cluster. I want to configure reverse replication on my primary cluster. So in replication setting tab I have selected enable this as my replica server. I have followed as below:

    

    Hyper-V Replica Broker role is going to failed state. Can you tell me what values are to be entered in Replica Broker Replication Settings for Cluster to Standalone Hyper-v Replica scenario.

    Let me know if more details are required.

    Thanks

    Hari Rama K

  • Thursday, January 17, 2013 3:35 PM
     
     

    Hello

    What do you mean exactly that your replica broker is going to failed state?

    did you configured its' ipaddress i suppose right ?

    then

    you just need to configure it like you on a standalone replica host..

    so go in replica broker configuration

    enable the cluster as a replica server

    use kerberos port 80

    allow replications from any authenticated servers and choose the storage patch wich is lets say your csv

    then after this, you can replicate your virtual machine.

    Regards


    ------------------------------------------------------- I understand a little computers.

  • Friday, January 18, 2013 5:17 AM
     
     

    Hello,

    What I have configured was right.. I am able to replicate my VM. Problem occurs when I am testing a planned failover. As you have said:

    • IP Address configured yes.
    • Enabled Cluster as a replica Server
    • Port 80 is configured even in the firewall of cluster nodes and replica server
    • What should I specify in the Storage Path- Primary Cluster CSV/ File Share or any other CSV/File Share. When I gave C:\ClusterStorage\Volume1 it fails. So got confused which storage to specify.
    • What ever i configure it fails. if i dont enable replica broker settings then my role runs fine.

    Help me out..

    Regards

    Hari Rama K

  • Monday, January 28, 2013 3:33 PM
     
     

    Hi,

    I have the same issue.

    1 cluster of 2 hyper-v, 1 witness disk, 1 CSV for vms.

    I replicate from the cluster to a third hyper-v out of the cluster: no issue.

    I do a failover of a protected VM and then try to do a reverse replication. It ask to configure the Hyper-V Replica Broker for replication, I set the auth to http, allow any, and I specify C:\ClusterStorage.

    I got then the error: Cannot apply changes for replication configuration. The storage location in replication configuration muste be a CSV or a file share...

    Any help ?

  • Monday, January 28, 2013 3:45 PM
     
     Proposed Answer

    Hi,

    I have the same issue.

    1 cluster of 2 hyper-v, 1 witness disk, 1 CSV for vms.

    I replicate from the cluster to a third hyper-v out of the cluster: no issue.

    I do a failover of a protected VM and then try to do a reverse replication. It ask to configure the Hyper-V Replica Broker for replication, I set the auth to http, allow any, and I specify C:\ClusterStorage.

    I got then the error: Cannot apply changes for replication configuration. The storage location in replication configuration muste be a CSV or a file share...

    Any help ?

    Pretty sure you have to specify C:\ClusterStorage\Volume1 or whatever, rather than just C:\ClusterStorage, as that's not really a CSV, just a container of links to the actual CSVs.
    • Proposed As Answer by Chris O'Neill Monday, January 28, 2013 4:03 PM
    •  
  • Monday, January 28, 2013 4:03 PM
     
     

    Thanks TJ,

    The problem was that I didnt have "C:\ClusterStorage\Volume1"

    The reason was that the iSCSI volume hosting my test VM wasnt join as a CSV. I changed that and now everything's fine. I can replicate back.

    Have a good day.