|
1 | 1 | ---
|
2 | 2 | title: Upgrade Windows Server and System Center Virtual Machine Manager 2012 R2 to 2016
|
3 |
| -description: Learn how to upgrade Windows Server 2012 R2 hosts & System Center Virtual Machine Manager 2012 R2 configured with Azure Site Recovery to Windows Server 2016 & Virtual Machine Manager 2016. |
| 3 | +description: Learn how to upgrade Windows Server 2012 R2 hosts and System Center Virtual Machine Manager 2012 R2 configured with Azure Site Recovery to Windows Server 2016 and Virtual Machine Manager 2016. |
4 | 4 | services: site-recovery
|
5 | 5 | author: ankitaduttaMSFT
|
6 | 6 | manager: gaggupta
|
@@ -31,82 +31,84 @@ In this article, you learn how to upgrade the following configurations in your e
|
31 | 31 | Before you upgrade, note the following:
|
32 | 32 |
|
33 | 33 | - If you have Windows Server 2012 R2 hosts that Virtual Machine Manager doesn't manage, and it's a standalone environment setup, there will be a break in replication if you try to perform the upgrade.
|
34 |
| -- If you selected **not store my Keys in Active Directory under Distributed Key Management** while installing Virtual Machine Manager 2012 R2 in the first place, the upgrades won't finish successfully. |
| 34 | +- If you selected **Do not store my keys in Active Directory under Distributed Key Management** while installing Virtual Machine Manager 2012 R2, the upgrades won't finish successfully. |
35 | 35 |
|
36 | 36 | - If you're using System Center 2012 R2 Virtual Machine Manager:
|
37 | 37 |
|
38 |
| - - Check the database information on Virtual Machine Manager. You can find it by going to **VMM console** > **settings** > **General** > **Database connection**. |
39 |
| - - Check the service accounts being used for System Center Virtual Machine Manager Agent service. |
40 |
| - - Make sure that you have a backup of the Virtual Machine Manager Database. |
41 |
| - - Note down the database name of the Virtual Machine Manager servers involved. You can find it by going to **VMM console** > **Settings** > **General** > **Database connection**. |
42 |
| - - Note down the Virtual Machine Manager ID of both the 2012R2 primary and recovery Virtual Machine Manager servers. Virtual Machine Manager ID can be found from the registry: *HKLM:\SOFTWARE\Microsoft\Microsoft System Center Virtual Machine Manager Server\Setup*. |
43 |
| - - Ensure that you the new Virtual Machine Manager instances that you add to the cluster have the same names as before. |
| 38 | + - Check the database information on Virtual Machine Manager. You can find it by going to the Virtual Machine Manager console and selecting **Settings** > **General** > **Database connection**. |
| 39 | + - Check the service accounts that you're using for the System Center Virtual Machine Manager Agent service. |
| 40 | + - Make sure that you have a backup of the Virtual Machine Manager database. |
| 41 | + - Note down the database names of the Virtual Machine Manager servers involved. You can find them by going to the Virtual Machine Manager console and selecting **Settings** > **General** > **Database connection**. |
| 42 | + - Note down the Virtual Machine Manager IDs of the 2012 R2 primary and recovery Virtual Machine Manager servers. You can find the Virtual Machine Manager IDs in the registry: *HKLM:\SOFTWARE\Microsoft\Microsoft System Center Virtual Machine Manager Server\Setup*. |
| 43 | + - Ensure that the new Virtual Machine Manager instances that you add to the cluster have the same names as before. |
44 | 44 |
|
45 |
| -- If you're replicating between two of your sites managed by Virtual Machine Manager on both sides, ensure that you upgrade your recovery side before you upgrade the primary side. |
| 45 | +- If you're replicating between two sites managed by Virtual Machine Manager on both sides, ensure that you upgrade the recovery side before you upgrade the primary side. |
46 | 46 | > [!WARNING]
|
47 |
| - > When you're upgrading Virtual Machine Manager 2012 R2, under **Distributed Key Management**, select to **store encryption keys in Active Directory**. Choose the settings for the service account and distributed key management carefully. Based on your selection, encrypted data such as passwords in templates might not be available after the upgrade and can potentially affect replication with Azure Site Recovery. |
| 47 | + > When you're upgrading Virtual Machine Manager 2012 R2, under **Distributed Key Management**, select **Store encryption keys in Active Directory**. Choose the settings for the service account and distributed key management carefully. Based on your selections, encrypted data such as passwords in templates might not be available after the upgrade and can potentially affect replication with Azure Site Recovery. |
48 | 48 |
|
49 |
| -> [!IMPORTANT] |
50 |
| -> Refer to the detailed Virtual Machine Manager documentation of [prerequisites](/system-center/vmm/upgrade-vmm?view=sc-vmm-2016&preserve-view=true#requirements-and-limitations). |
| 49 | +For more information, see the detailed Virtual Machine Manager [documentation of prerequisites](/system-center/vmm/upgrade-vmm?view=sc-vmm-2016&preserve-view=true#requirements-and-limitations). |
51 | 50 |
|
52 | 51 | ## Windows Server 2012 R2 hosts that Virtual Machine Manager doesn't manage
|
53 | 52 |
|
54 | 53 | The following steps apply to the user configuration from [Hyper-V hosts to Azure](./hyper-v-azure-architecture.md). You can complete this configuration by following [this tutorial](./hyper-v-prepare-on-premises-tutorial.md).
|
55 | 54 |
|
56 | 55 | > [!WARNING]
|
57 |
| -> As mentioned in the prerequisites, these steps only apply to a clustered environment scenario, and not in a standalone Hyper-V host configuration. |
| 56 | +> As mentioned in the prerequisites, these steps apply only to a clustered environment scenario and not in a standalone Hyper-V host configuration. |
58 | 57 |
|
59 | 58 | 1. Follow the [steps to perform the rolling cluster upgrade](/windows-server/failover-clustering/cluster-operating-system-rolling-upgrade#cluster-os-rolling-upgrade-process).
|
60 |
| -2. With every new Windows Server 2016 host that is introduced in the cluster, remove the reference of a Windows Server 2012 R2 host from Azure Site Recovery by [following these steps]. This should be the host you chose to drain and evict from the cluster. |
61 |
| -3. After the `Update-VMVersion` command has been run for all virtual machines, the upgrades have been completed. |
| 59 | +2. With every new Windows Server 2016 host that's introduced in the cluster, remove the reference of a Windows Server 2012 R2 host from Azure Site Recovery by [following these steps]. This should be the host that you chose to drain and evict from the cluster. |
| 60 | +3. After you run the `Update-VMVersion` command for all virtual machines, the upgrades are completed. |
62 | 61 | 4. [Use these steps](./hyper-v-azure-tutorial.md#source-settings) to register the new Windows Server 2016 host to Azure Site Recovery. Note that the Hyper-V site is already active and you just need to register the new host in the cluster.
|
63 | 62 | 5. Go to the Azure portal and verify the replicated health status inside the Recovery Services vault.
|
64 | 63 |
|
65 |
| -## Upgrade Windows Server 2012 R2 hosts managed by a standalone Virtual Machine Manager 2012 R2 server |
| 64 | +## Upgrade Windows Server 2012 R2 hosts that a standalone Virtual Machine Manager 2012 R2 server manages |
66 | 65 |
|
67 |
| -Before you upgrade your Windows Sever 2012 R2 hosts, you need to upgrade the Virtual Machine Manager 2012 R2 to Virtual Machine Manager 2016. Use the following steps. |
| 66 | +Before you upgrade your Windows Sever 2012 R2 hosts, you need to upgrade Virtual Machine Manager 2012 R2 to Virtual Machine Manager 2016. Use the following steps. |
68 | 67 |
|
69 | 68 | ### Upgrade standalone Virtual Machine Manager 2012 R2 to Virtual Machine Manager 2016
|
70 | 69 |
|
71 |
| -1. Uninstall ASR provider. Go to **Control Panel** > **Programs** > **Programs and Features** > **Microsoft Azure Site Recovery**, and then select **Uninstall**. |
72 |
| -2. [Retain the Virtual Machine Manager database and upgrade the operating system](/system-center/vmm/upgrade-vmm?view=sc-vmm-2016&preserve-view=true#back-up-and-upgrade-the-operating-system) |
| 70 | +1. Uninstall the Azure Site Recovery provider. Go to **Control Panel** > **Programs** > **Programs and Features** > **Microsoft Azure Site Recovery**, and then select **Uninstall**. |
| 71 | +2. [Retain the Virtual Machine Manager database and upgrade the operating system](/system-center/vmm/upgrade-vmm?view=sc-vmm-2016&preserve-view=true#back-up-and-upgrade-the-operating-system): |
| 72 | + |
| 73 | + a. In **Add or remove programs**, select **VMM** > **Uninstall**. |
73 | 74 |
|
74 |
| - a. In **Add remove programs**, select **VMM** > **Uninstall**. |
75 | 75 | b. Select **Remove Features**, and then select **VMM management Server and VMM Console**.
|
| 76 | + |
76 | 77 | c. In **Database Options**, select **Retain database**.
|
| 78 | + |
77 | 79 | d. Review the summary and select **Uninstall**.
|
78 | 80 |
|
79 |
| -4. [Install Virtual Machine Manager 2016](/system-center/vmm/upgrade-vmm?view=sc-vmm-2016&preserve-view=true#install-vmm-2016) |
80 |
| -5. Open Virtual Machine Manager and check status of each host under the **Fabrics** tab. Select **Refresh** to get the most recent status. You should see status as **Needs Attention**. |
81 |
| -6. Install the latest [Microsoft Azure Site Recovery Provider](https://aka.ms/downloaddra) on Virtual Machine Manager. |
82 |
| -7. Install the latest [Microsoft Azure Recovery Service (MARS) agent](https://aka.ms/latestmarsagent) on each host of the cluster. Refresh to ensure Virtual Machine Manager can successfully query the hosts. |
| 81 | +4. [Install Virtual Machine Manager 2016](/system-center/vmm/upgrade-vmm?view=sc-vmm-2016&preserve-view=true#install-vmm-2016). |
| 82 | +5. Open Virtual Machine Manager and check the status of each host under the **Fabrics** tab. Select **Refresh** to get the most recent status. You should see a status of **Needs Attention**. |
| 83 | +6. [Install the latest Azure Site Recovery provider (direct download)](https://aka.ms/downloaddra) on Virtual Machine Manager. |
| 84 | +7. Install the latest [Microsoft Azure Recovery Service (MARS) agent](https://aka.ms/latestmarsagent) on each host of the cluster. Refresh to ensure that Virtual Machine Manager can successfully query the hosts. |
83 | 85 |
|
84 | 86 | ## Upgrade Windows Server 2012 R2 hosts to Windows Server 2016
|
85 | 87 |
|
86 | 88 | 1. Follow [these steps](/windows-server/failover-clustering/cluster-operating-system-rolling-upgrade#cluster-os-rolling-upgrade-process) to perform the rolling cluster upgrade.
|
87 |
| -2. After adding the new host to the cluster, refresh the host from the Virtual Machine Manager console to install the Virtual Machine Manager Agent on this updated host. |
| 89 | +2. After you add the new host to the cluster, refresh the host from the Virtual Machine Manager console to install the Virtual Machine Manager agent on this updated host. |
88 | 90 | 3. Run `Update-VMVersion` to update the versions of the virtual machines.
|
89 | 91 | 4. Go to the Azure portal and verify the replicated health status of the virtual machines inside the Recovery Services vault.
|
90 | 92 |
|
91 |
| -## Upgrade Windows Server 2012 R2 hosts that are managed by highly available Virtual Machine Manager 2012 R2 server |
| 93 | +## Upgrade Windows Server 2012 R2 hosts that a highly available Virtual Machine Manager 2012 R2 server manages |
92 | 94 |
|
93 |
| -Before you upgrade your Windows Sever 2012 R2 hosts, you need to upgrade the Virtual Machine Manager 2012 R2 to Virtual Machine Manager 2016. The following modes of upgrade are supported while upgrading Virtual Machine Manager 2012 R2 servers configured with both: |
| 95 | +Before you upgrade your Windows Sever 2012 R2 hosts, you need to upgrade Virtual Machine Manager 2012 R2 to Virtual Machine Manager 2016. The following modes of upgrade are supported while you're upgrading Virtual Machine Manager 2012 R2 servers configured with: |
94 | 96 |
|
95 |
| -- Azure Site Recovery mixed mode with no additional Virtual Machine Manager servers |
96 |
| -- Mixed mode with additional Virtual Machine Manager servers |
| 97 | +- Site Recovery mixed mode with no additional Virtual Machine Manager servers. |
| 98 | +- Site Recovery mixed mode with additional Virtual Machine Manager servers. |
97 | 99 |
|
98 | 100 | ### Upgrade Virtual Machine Manager 2012 R2 to Virtual Machine Manager 2016
|
99 | 101 |
|
100 |
| -1. Uninstall the Azure Site Recovery provider. Go to **Control Panel** > **Programs** > **Programs and Features** > **Microsoft Azure Site Recovery** , and then select **Uninstall**. |
| 102 | +1. Uninstall the Azure Site Recovery provider. Go to **Control Panel** > **Programs** > **Programs and Features** > **Microsoft Azure Site Recovery**, and then select **Uninstall**. |
101 | 103 | 2. Follow [these steps](/system-center/vmm/upgrade-vmm?view=sc-vmm-2016&preserve-view=true#upgrade-a-standalone-vmm-server) based on the mode of upgrade that you want to execute.
|
102 |
| -3. Launch the Virtual Machine Manager console and check the status of each hosts under the **Fabrics** tab. Select **Refresh** to get the most recent status. You should see status as **Needs Attention**. |
103 |
| -4. Install the latest [Microsoft Azure Site Recovery Provider](https://aka.ms/downloaddra) on Virtual Machine Manager. |
104 |
| -5. Update the latest [Microsoft Azure Recovery Service (MARS) agent](https://aka.ms/latestmarsagent) on each host of the cluster. Refresh to ensure Virtual Machine Manager can successfully query the hosts. |
| 104 | +3. Open the Virtual Machine Manager console and check the status of each host under the **Fabrics** tab. Select **Refresh** to get the most recent status. You should see a status of **Needs Attention**. |
| 105 | +4. [Install the latest Azure Site Recovery provider (direct download)](https://aka.ms/downloaddra) on Virtual Machine Manager. |
| 106 | +5. Update the latest [Microsoft Azure Recovery Service (MARS) agent](https://aka.ms/latestmarsagent) on each host of the cluster. Refresh to ensure that Virtual Machine Manager can successfully query the hosts. |
105 | 107 |
|
106 | 108 | ### Upgrade Windows Server 2012 R2 hosts to Windows Server 2016
|
107 | 109 |
|
108 | 110 | 1. Follow [these steps](/windows-server/failover-clustering/cluster-operating-system-rolling-upgrade#cluster-os-rolling-upgrade-process) to perform the rolling cluster upgrade.
|
109 |
| -2. After adding the new host to the cluster, refresh the host from the Virtual Machine Manager console to install the Virtual Machine Manager Agent on this updated host. |
| 111 | +2. After you add the new host to the cluster, refresh the host from the Virtual Machine Manager console to install the Virtual Machine Manager agent on this updated host. |
110 | 112 | 3. Run `Update-VMVersion` to update the VM versions of the virtual machines.
|
111 | 113 | 4. Go to the Azure portal and verify the replicated health status of the virtual machines inside the Recovery Services vault.
|
112 | 114 |
|
|
0 commit comments