Skip to content

Commit 23227d4

Browse files
committed
Initial review of draft
1 parent d510ef3 commit 23227d4

File tree

4 files changed

+86
-82
lines changed

4 files changed

+86
-82
lines changed

articles/azure-vmware/migrate-sqlserver-always-on-cluster.md

Lines changed: 29 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -8,30 +8,30 @@ ms.custom: engagement-fy23
88
---
99
# Migrate Microsoft SQL Server Always-On cluster to Azure VMware Solution
1010

11-
In this article, you’ll learn how to migrate Microsoft SQL Server Always-On Cluster to Azure VMware Solution.For VMware HCX, you can use the vMotion migration method.
11+
In this article, you’ll learn how to migrate Microsoft SQL Server Always-On Cluster to Azure VMware Solution.For VMware HCX, you can follow the vMotion migration procedure.
1212

1313
:::image type="content" source="media/sql-server-hybrid-benefit/sql-alwayson-architecture.png" alt-text="Diagram showing the architecture of always on SQL server for Azure VMware Solution." border="false":::
1414

1515
## Prerequisites
1616

17-
These prerequisites and requirements should be met before planning to migrate your SQL server instance to Azure VMware Solution.
17+
These are prerequisites to migrating your SQL server instance to Azure VMware Solution.
1818

1919
- Review and record the storage and network configuration of every node in the cluster.
20-
- Take a full backup of the database.
21-
- Take a full backup of the virtual machine running the Microsoft SQL Server instance.
22-
- Remove the virtual machine from any VMware vSphere DRS Groups and rules.
23-
- VMware HCX must be configured between your on-premises datacenter and the Azure VMware Solution private cloud that will run the migrated workloads. Refer to [Azure VMware Solution documentation](https://learn.microsoft.com/en-us/azure/azure-vmware/install-vmware-hcx) for the procedure.
24-
- Ensure that all the network segments in use by the Microsoft SQL Server are extended into your Azure VMware Solution private cloud. Please refer to [Configure VMware HCX network extension](https://learn.microsoft.com/en-us/azure/azure-vmware/configure-hcx-network-extension) documentation to verify this step.
20+
- Backup the full database.
21+
- Backup the virtual machine running the Microsoft SQL Server instance.
22+
- Remove the virtual machine from any VMware vSphere Distributed Resource Scheduler (DRS) groups and rules.
23+
- VMware HCX must be configured between your on-premises datacenter and the Azure VMware Solution private cloud that runs the migrated workloads. For more information on how to configure HCX, see [Azure VMware Solution documentation](install-vmware-hcx.md).
24+
- Ensure that all the network segments in use by the Microsoft SQL Server are extended into your Azure VMware Solution private cloud. To verify this step, see [Configure VMware HCX network extension](configure-hcx-network-extension.md).
2525

26-
VMware HCX over VPN is supported in Azure VMware Solution for workload migration. However, due to the size of database workloads it is not recommended for Microsoft SQL Server Failover Cluster Instance and Microsoft SQL Server Always-On migrations, especially for production workloads ExpressRoute connectivity is more performant and reliable. For Microsoft SQL Server Standalone and non-production workloads this can be suitable, depending upon the size of the database, to migrate.
26+
VMware HCX over VPN is supported in Azure VMware Solution for workload migration. However, due to the size of database workloads, HCX over VPN is not recommended for Microsoft SQL Server Failover Cluster Instance and Microsoft SQL Server Always-On migrations for production workloads. ExpressRoute connectivity is recommended as more performant and reliable. For Microsoft SQL Server Standalone and non-production workloads this can be suitable, depending upon the size of the database, to migrate.
2727

28-
Microsoft SQL Server 2019 and 2022 were tested with Windows Server 2019 and 2022 Data Center edition with the virtual machines deployed in the on-premises environment. Windows Server and SQL Server have been configured following best practices and recommendations from Microsoft and VMware.
28+
Microsoft SQL Server 2019 and Microsoft SQL Server 2022 were tested with Windows Server 2019 and Windows Server 2022 Data Center edition with the virtual machines deployed in the on-premises environment. Windows Server and SQL Server have been configured following best practices and recommendations from Microsoft and VMware.
2929

3030
## Downtime considerations
3131

32-
Predicting downtime during a migration will depend upon the size of the database to be migrated and the speed of the private network connection to Azure cloud. Always On migration is designed to have low database downtime during its execution, plan for the migration to be executed during off-peak hours with an approved change window.
32+
Predicting downtime during a migration will depend upon the size of the database to be migrated and the speed of the private network connection to Azure cloud. Always-On migration is designed to be executed with low database downtime. However, plan to conduct the migration during off-peak hours within a pre-approved change window.
3333

34-
The table below indicates the downtime for each Microsoft SQL Server topology.
34+
The table below indicates the estimated downtime for each Microsoft SQL Server topology.
3535

3636
| **Scenario** | **Downtime expected** | **Notes** |
3737
|:---|:-----|:-----|
@@ -43,28 +43,31 @@ The table below indicates the downtime for each Microsoft SQL Server topology.
4343

4444
Microsoft SQL Server Always-On Availability Groups rely on Windows Server Failover Cluster which requires a quorum voting mechanism to maintain the coherence of the cluster.
4545

46-
An odd number of voting elements is required, which is achieved by an odd number of nodes in the cluster or by using a witness. Witness can be configured in three different forms:
46+
An odd number of voting elements is required, which is achieved by an odd number of nodes in the cluster or by using a witness. Witness can be configured in three different ways:
4747

4848
- Disk witness
4949
- File share witness
5050
- Cloud witness
5151

52-
If the cluster uses **Disk witness**, then the disk must be migrated with the rest of cluster shared storage with the procedure described in this document.
52+
If the cluster uses **Disk witness**, then the disk must be migrated with the rest of cluster shared storage using the procedure described in this document.
5353

5454
If the cluster uses a **File share witness** running on-premises, then the type of witness for your migrated cluster will depend on the Azure VMware Solution scenario, there are several options to consider.
5555

56-
- Datacenter Extension: Maintain the file share witness on-premises. Your workloads will be distributed across your datacenter and Azure, therefore the connectivity between both should always be available. In any case take into consideration bandwidth constraints and plan accordingly.
57-
- Datacenter Exit: For this scenario there are two options. In both cases you can maintain the file share witness on-premises during the migration in case you need to do rollback during the process.
56+
- **Datacenter Extension**: Maintain the file share witness on-premises. Your workloads will be distributed across your datacenter and Azure. Therefore the connectivity between your datacenter and Azure should always be available. In any case, take into consideration bandwidth constraints and plan accordingly.
57+
- **Datacenter Exit**: For this scenario, there are two options. In both options, you can maintain the file share witness on-premises during the migration in case you need to do rollback during the process.
5858
- Deploy a new **File share witness** in your Azure VMware Solution private cloud.
5959
- Deploy a **Cloud witness** running in Azure Blob Storage in the same region as the Azure VMware Solution private cloud.
60-
- Disaster Recovery and Business Continuity: For a disaster recovery scenario the best and most reliable option is to create a **Cloud Witness** running in Azure Storage.
61-
- Application Modernization: For this use case the best option is to deploy a **Cloud Witness**.
60+
- **Disaster Recovery and Business Continuity**: For a disaster recovery scenario, the best and most reliable option is to create a **Cloud Witness** running in Azure Storage.
61+
- **Application Modernization**: For this use case, the best option is to deploy a **Cloud Witness**.
62+
63+
For details about configuring and managing the quorum, see [Failover Clustering documentation](https://learn.microsoft.com/windows-server/failover-clustering/manage-cluster-quorum). For information about deployment of Cloud witness in Azure Blob Storage, see [Manage a cluster quorum for a Failover Cluster](https://learn.microsoft.com/windows-server/failover-clustering/deploy-cloud-witness).
64+
65+
6266

63-
Full details about quorum configuration and management can be consulted in [Failover Clustering documentation](https://learn.microsoft.com/windows-server/failover-clustering/manage-cluster-quorum). Refer to [Manage a cluster quorum for a Failover Cluster](https://learn.microsoft.com/windows-server/failover-clustering/deploy-cloud-witness) documentation for the details about deployment of Cloud witness in Azure Blob Storage.
6467

6568
## Migrate Microsoft SQL Server Always-On cluster
6669

67-
1. Access your Always-On cluster with SQL Server Management Studio with administration credentials.
70+
1. Access your Always-On cluster with SQL Server Management Studio using administration credentials.
6871
1. Select your primary replica and open **Availability Group** **Properties**.
6972

7073

@@ -104,25 +107,25 @@ Full details about quorum configuration and management can be consulted in [Fail
104107
:::image type="content" source="media/sql-server-hybrid-benefit/sql-alwayson-5.png" alt-text="Availability Group failover operation review." border="false":::
105108

106109

107-
1. Monitor the progress of the failover in the next screen and click **Close** when the operation is finished.
110+
1. Monitor the progress of the failover in the next screen, and click **Close** when the operation is finished.
108111
:::image type="content" source="media/sql-server-hybrid-benefit/sql-alwayson-6.png" alt-text="Failover successfully finished." border="false":::
109112

110113

111-
1. Refresh the **Object Explorer** view in SSMS and verify that the migrated instance is now the primary replica.
114+
1. Refresh the **Object Explorer** view in SQL Server Management Studio (SSMS), and verify that the migrated instance is now the primary replica.
112115
1. Repeat steps 1 to 6 for the rest of the replicas of the availability group.
113-
at.
116+
114117
1. Do not migrate all the replicas at the same time using **HCX Bulk Migration**. Instead, migrate one replica at a time and verify that all changes are synchronized back to the replica after each migration.
115-
1. Once the migration of all the replicas is completed, access your Always-On availability group with **SQL Server Management Studio**.
116-
1. Open the Dashboard and verify there is no data loss in any of the replicas and that all are in **Synchronized** state.
118+
1. After the migration of all the replicas is completed, access your Always-On availability group with **SQL Server Management Studio**.
119+
1. Open the Dashboard and verify there is no data loss in any of the replicas and that all are in a **Synchronized** state.
117120
:::image type="content" source="media/sql-server-hybrid-benefit/sql-alwayson-7.png" alt-text="Availability Group Dashboard with new primary replica and all migrated secondary replicas in synchronized state." border="false":::
118121
1. Edit the **Properties** of the availability group and set **Failover Mode** to **Automatic** in all replicas.
119122
:::image type="content" source="media/sql-server-hybrid-benefit/sql-alwayson-8.png" alt-text="Set Failover back to Automatic for all replicas." border="false":::
120123

121124
## Next steps
122125

123-
[Enable SQL Azure hybrid benefit for Azure VMware Solution](https://learn.microsoft.com/azure/azure-vmware/enable-sql-azure-hybrid-benefit).
126+
[Enable SQL Azure hybrid benefit for Azure VMware Solution](enable-sql-azure-hybrid-benefit.md).
124127

125-
[Create a placement policy in Azure VMware Solution](https://learn.microsoft.com/azure/azure-vmware/create-placement-policy)
128+
[Create a placement policy in Azure VMware Solution](create-placement-policy.md)
126129

127130
[Windows Server Failover Clustering Documentation](https://learn.microsoft.com/windows-server/failover-clustering/failover-clustering-overview)
128131

0 commit comments

Comments
 (0)