Skip to content

Commit 299c886

Browse files
Merge pull request #231346 from rvandenbedem/patch-1
Update sql-server-hybrid-benefit.md
2 parents 6f09991 + 4274f00 commit 299c886

File tree

4 files changed

+83
-96
lines changed

4 files changed

+83
-96
lines changed

articles/azure-vmware/migrate-sql-server-always-on-cluster.md

Lines changed: 34 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Migrate Microsoft SQL Server Always-On cluster to Azure VMware Solution
33
description: Learn how to migrate Microsoft SQL Server Always-On cluster to Azure VMware Solution.
44
ms.topic: how-to
55
ms.service: azure-vmware
6-
ms.date: 3/17/2023
6+
ms.date: 3/20/2023
77
ms.custom: engagement-fy23
88
---
99
# Migrate Microsoft SQL Server Always-On cluster to Azure VMware Solution
@@ -35,9 +35,9 @@ The table below indicates the estimated downtime for each Microsoft SQL Server t
3535

3636
| **Scenario** | **Downtime expected** | **Notes** |
3737
|:---|:-----|:-----|
38-
| **Standalone instance** | LOW | Migrate with VMware vMotion, the DB is available during migration, but it is not recommended to commit any critical data during it. |
39-
| **Always-On Availability Group** | LOW | The primary replica will always be available during the migration of the first secondary replica and the secondary replica will become the primary after the initial failover to Azure. |
40-
| **Failover Cluster Instance** | HIGH | All nodes of the cluster are shutdown and migrated using VMware HCX Cold Migration. Downtime duration depends upon database size and private network speed to Azure cloud. |
38+
| **Standalone instance** | Low | Migrate with VMware vMotion, the DB is available during migration, but it is not recommended to commit any critical data during it. |
39+
| **Always-On Availability Group** | Low | The primary replica will always be available during the migration of the first secondary replica and the secondary replica will become the primary after the initial failover to Azure. |
40+
| **Failover Cluster Instance** | High | All nodes of the cluster are shutdown and migrated using VMware HCX Cold Migration. Downtime duration depends upon database size and private network speed to Azure cloud. |
4141

4242
## Windows Server Failover Cluster quorum considerations
4343

@@ -65,32 +65,29 @@ For details about configuring and managing the quorum, see [Failover Clustering
6565
## Migrate Microsoft SQL Server Always-On cluster
6666

6767
1. Access your Always-On cluster with SQL Server Management Studio using administration credentials.
68-
1. Select your primary replica and open **Availability Group** **Properties**.
69-
70-
68+
- Select your primary replica and open **Availability Group** **Properties**.
7169
:::image type="content" source="media/sql-server-hybrid-benefit/sql-always-on-1.png" alt-text="Diagram showing Always On Availability Group properties." border="false" lightbox="media/sql-server-hybrid-benefit/sql-always-on-1.png":::
72-
73-
1. Change **Availability Mode** to **Asynchronous commit** only for the replica to be migrated.
74-
1. Change **Failover Mode** to **Manual** for every member of the availability group.
70+
- Change **Availability Mode** to **Asynchronous commit** only for the replica to be migrated.
71+
- Change **Failover Mode** to **Manual** for every member of the availability group.
7572
1. Access the on-premises vCenter Server and proceed to HCX area.
7673
1. Under **Services** select **Migration** > **Migrate**.
77-
1. Select one virtual machine running the secondary replica of the database the is going to be migrated.
78-
1. Set the vSphere cluster in the remote private cloud to run the migrated SQL cluster as the **Compute Container**.
79-
1. Select the **vSAN Datastore** as remote storage.
80-
1. Select a folder. This not mandatory, but is recommended to separate the different workloads in your Azure VMware Solution private cloud.
81-
1. Keep **Same format as source**.
82-
1. Select **vMotion** as **Migration profile**.
83-
1. In **Extended Options** select **Migrate Custom Attributes**.
84-
1. Verify that on-premises network segments have the correct remote stretched segment in Azure.
85-
1. Select **Validate** and ensure that all checks are completed with pass status. The most common error is related to the storage configuration. Verify again that there are no virtual SCSI controllers have the physical sharing setting.
86-
1. Click **Go** to start the migration.
74+
- Select one virtual machine running the secondary replica of the database the is going to be migrated.
75+
- Set the vSphere cluster in the remote private cloud to run the migrated SQL cluster as the **Compute Container**.
76+
- Select the **vSAN Datastore** as remote storage.
77+
- Select a folder. This not mandatory, but is recommended to separate the different workloads in your Azure VMware Solution private cloud.
78+
- Keep **Same format as source**.
79+
- Select **vMotion** as **Migration profile**.
80+
- In **Extended Options** select **Migrate Custom Attributes**.
81+
- Verify that on-premises network segments have the correct remote stretched segment in Azure.
82+
- Select **Validate** and ensure that all checks are completed with pass status. The most common error is related to the storage configuration. Verify again that there are no virtual SCSI controllers have the physical sharing setting.
83+
- Click **Go** to start the migration.
8784
1. Once the migration has been completed, access the migrated replica and verify connectivity with the rest of the members in the availability group.
8885
1. In SQL Server Management Studio, open the **Availability Group Dashboard** and verify that the replica appears as **Online**.
8986
:::image type="content" source="media/sql-server-hybrid-benefit/sql-always-on-2.png" alt-text="Diagram showing Always On Availability Group Dashboard." border="false" lightbox="media/sql-server-hybrid-benefit/sql-always-on-2.png":::
9087

91-
1. **Data Loss** status in the **Failover Readiness** column is expected since the replica has been out-of-sync with the primary during the migration.
88+
- **Data Loss** status in the **Failover Readiness** column is expected since the replica has been out-of-sync with the primary during the migration.
9289
1. Edit the **Availability Group** **Properties** again and set **Availability Mode** back to **Synchronous commit**.
93-
1. The secondary replica starts to synchronize back all the changes made to the primary replica during the migration. Wait until it appears in Synchronized state.
90+
- The secondary replica starts to synchronize back all the changes made to the primary replica during the migration. Wait until it appears in Synchronized state.
9491
1. From the **Availability Group Dashboard** in SSMS click on **Start Failover Wizard**.
9592
1. Select the migrated replica and click **Next**.
9693

@@ -114,34 +111,23 @@ For details about configuring and managing the quorum, see [Failover Clustering
114111
>[!Note]
115112
> Migrate one replica at a time and verify that all changes are synchronized back to the replica after each migration. Do not migrate all the replicas at the same time using **HCX Bulk Migration**.
116113
1. After the migration of all the replicas is completed, access your Always-On availability group with **SQL Server Management Studio**.
117-
1. Open the Dashboard and verify there is no data loss in any of the replicas and that all are in a **Synchronized** state.
118-
:::image type="content" source="media/sql-server-hybrid-benefit/sql-always-on-7.png" alt-text="Diagram showing availability Group Dashboard with new primary replica and all migrated secondary replicas in synchronized state." border="false" lightbox="media/sql-server-hybrid-benefit/sql-always-on-7.png":::
119-
1. Edit the **Properties** of the availability group and set **Failover Mode** to **Automatic** in all replicas.
114+
- Open the Dashboard and verify there is no data loss in any of the replicas and that all are in a **Synchronized** state.
115+
:::image type="content" source="media/sql-server-hybrid-benefit/sql-always-on-7.png" alt-text="Diagram showing availability Group Dashboard with new primary replica and all migrated secondary replicas in synchronized state." border="false" lightbox="media/sql-server-hybrid-benefit/sql-always-on-7.png":::
116+
- Edit the **Properties** of the availability group and set **Failover Mode** to **Automatic** in all replicas.
120117

121118
:::image type="content" source="media/sql-server-hybrid-benefit/sql-always-on-8.png" alt-text="Diagram showing a setting for failover back to Automatic for all replicas." border="false" lightbox="media/sql-server-hybrid-benefit/sql-always-on-8.png":::
122119

123120
## Next steps
124121

125-
[Enable SQL Azure hybrid benefit for Azure VMware Solution](enable-sql-azure-hybrid-benefit.md).
126-
127-
[Create a placement policy in Azure VMware Solution](create-placement-policy.md)
128-
129-
[Windows Server Failover Clustering Documentation](https://learn.microsoft.com/windows-server/failover-clustering/failover-clustering-overview)
130-
131-
[Microsoft SQL Server 2019 Documentation](https://learn.microsoft.com/sql/sql-server/)
132-
133-
[Microsoft SQL Server 2022 Documentation](https://learn.microsoft.com/sql/sql-server/)
134-
135-
[Windows Server Technical Documentation](https://learn.microsoft.com/windows-server/)
136-
137-
[Planning Highly Available, Mission Critical SQL Server Deployments with VMware vSphere](https://www.vmware.com/content/dam/digitalmarketing/vmware/en/pdf/solutions/vmware-vsphere-highly-available-mission-critical-sql-server-deployments.pdf)
138-
139-
[Microsoft SQL Server on VMware vSphere Availability and Recovery Options](https://www.vmware.com/content/dam/digitalmarketing/vmware/en/pdf/solutions/sql-server-on-vmware-availability-and-recovery-options.pdf)
140-
141-
[VMware KB 100 2951 – Tips for configuring Microsoft SQL Server in a virtual machine](https://kb.vmware.com/s/article/1002951)
142-
143-
[Microsoft SQL Server 2019 in VMware vSphere 7.0 Performance Study](https://www.vmware.com/content/dam/digitalmarketing/vmware/en/pdf/techpaper/performance/vsphere7-sql-server-perf.pdf)
144-
145-
[Architecting Microsoft SQL Server on VMware vSphere – Best Practices Guide](https://www.vmware.com/content/dam/digitalmarketing/vmware/en/pdf/solutions/sql-server-on-vmware-best-practices-guide.pdf)
146-
147-
[Setup for Windows Server Failover Cluster in VMware vSphere 7.0](https://docs.vmware.com/en/VMware-vSphere/7.0/vsphere-esxi-vcenter-server-703-setup-wsfc.pdf)
122+
- [Enable SQL Azure hybrid benefit for Azure VMware Solution](enable-sql-azure-hybrid-benefit.md).
123+
- [Create a placement policy in Azure VMware Solution](create-placement-policy.md)
124+
- [Windows Server Failover Clustering Documentation](https://learn.microsoft.com/windows-server/failover-clustering/failover-clustering-overview)
125+
- [Microsoft SQL Server 2019 Documentation](https://learn.microsoft.com/sql/sql-server/)
126+
- [Microsoft SQL Server 2022 Documentation](https://learn.microsoft.com/sql/sql-server/)
127+
- [Windows Server Technical Documentation](https://learn.microsoft.com/windows-server/)
128+
- [Planning Highly Available, Mission Critical SQL Server Deployments with VMware vSphere](https://www.vmware.com/content/dam/digitalmarketing/vmware/en/pdf/solutions/vmware-vsphere-highly-available-mission-critical-sql-server-deployments.pdf)
129+
- [Microsoft SQL Server on VMware vSphere Availability and Recovery Options](https://www.vmware.com/content/dam/digitalmarketing/vmware/en/pdf/solutions/sql-server-on-vmware-availability-and-recovery-options.pdf)
130+
- [VMware KB 100 2951 – Tips for configuring Microsoft SQL Server in a virtual machine](https://kb.vmware.com/s/article/1002951)
131+
- [Microsoft SQL Server 2019 in VMware vSphere 7.0 Performance Study](https://www.vmware.com/content/dam/digitalmarketing/vmware/en/pdf/techpaper/performance/vsphere7-sql-server-perf.pdf)
132+
- [Architecting Microsoft SQL Server on VMware vSphere – Best Practices Guide](https://www.vmware.com/content/dam/digitalmarketing/vmware/en/pdf/solutions/sql-server-on-vmware-best-practices-guide.pdf)
133+
- [Setup for Windows Server Failover Cluster in VMware vSphere 7.0](https://docs.vmware.com/en/VMware-vSphere/7.0/vsphere-esxi-vcenter-server-703-setup-wsfc.pdf)

0 commit comments

Comments
 (0)