VMM 2019 or VMM 2022

Adam12-6469 0 Reputation points
2023-06-02T00:37:48.7666667+00:00

I wondering if someone can steer me in the right direct.

We have a proof of concept project, 4 Hyper-V servers in a Stretch cluster configuration. VMM 2022 to manage the the four hosts. 2 hosts at each site. Local Storage using a replica group.

In VMM for Site A - we have "logical-Switch-Site-A-Public" with multiple VLAN IDs: 10,11,12,13, 14

In VMM for Site B

"logical-Switch-Site-B-Public" with multiple VLAN IDs: 20,21,22,23, 24

Lets say i have a virtual machine call it "VM01" set with logical-Switch-Site-A-Public with VLAN 10 assigned. This VM will primarily run at Site A. Now i need to fail it over to Site B. in the event of an outage, how would i get the VM to use logical-Switch-Site-B to VLAN 20.

I have several hundred VMs that could or would need to failover and or failback.

Thanks in advance

Adam

System Center Virtual Machine Manager
Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,560 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. XinGuo-MSFT 14,621 Reputation points
    2023-06-05T02:03:05.7733333+00:00

    Hi,

    To failover a virtual machine (VM) from Site A to Site B in System Center Virtual Machine Manager (VMM) with logical switches, you can follow the below steps:

    1. Create a Hyper-V replica of the VM on Site B by enabling Hyper-V Replica for the VM and including it in the replica group that is being used to replicate data between the two sites.
    2. Configure Failover and Reprotection settings for the replica of the VM on Site B in VMM by following these steps: a. Go to the Properties of the VM in VMM, and select Replication Settings. b. Select the virtualization host on Site B where the replica VM is located under the Replication Servers tab. c. Set the Failover Options and Reprotection Settings by selecting the replica VM and clicking Configure Failover. d. In the Configure Failover Wizard, select the Destination Host and Network Adapter, and then choose the Destination Switch. e. Map the Destination Logical Network to the Source Logical Network that the VM was originally using by choosing the appropriate network mapping. f. Configure other settings like IP settings, availability options, etc. as needed.
    3. After the replica VM is configured, you can create a Failover Plan in VMM to automate the failover process for multiple VMs. a. Go to the VMM Library, and select Create > Virtual Machine Rollout > Create Failover Plan. b. Follow the wizard to create a new Failover Plan and add the replica VM that you created earlier to the plan. c. Select the necessary options for the Failover Plan, including the destination host, network, and replication settings. d. Choose the VMs that you want to include in the Failover Plan, and configure any additional settings like IP addressing, etc. as needed.
    4. When a failover is triggered due to an outage or other event, the VM will be shut down gracefully on the source site, and then started up on the destination site using the replica data.
    5. After the outage is resolved, you can failback the VM by reversing the replication process, and then creating a new VM on the source site using the replica data that was generated during the failover process.

    It is recommended to use VMM 2022 and Azure Site Recovery for handling disaster recovery scenarios, as this version of VMM has reached the end of support. In addition, it is important to follow best practices when deploying VMM and logical networks to ensure that your environment is properly configured and secure.

    References:

    0 comments No comments