Skip to content

Commit 60eaa97

Browse files
Merge pull request #231177 from rvandenbedem/patch-2
MS-SQL Server tweaks
2 parents 8d60b89 + c03b8b5 commit 60eaa97

File tree

4 files changed

+50
-48
lines changed

4 files changed

+50
-48
lines changed

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

Lines changed: 23 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@ 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/7/2023
6+
ms.date: 3/17/2023
77
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 follow the vMotion migration procedure.
11+
In this article, you learn how to migrate Microsoft SQL Server Always-On Cluster to Azure VMware Solution. For VMware HCX, you can follow the VMware vMotion migration procedure.
1212

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

1515
## Prerequisites
1616

17-
These are prerequisites to migrating your SQL server instance to Azure VMware Solution.
17+
These are the 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.
2020
- Backup the full database.
@@ -23,25 +23,25 @@ These are prerequisites to migrating your SQL server instance to Azure VMware So
2323
- 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).
2424
- 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, 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.
26+
VMware HCX over VPN is supported in Azure VMware Solution for workload migration. However, due to the size of database workloads, VMware HCX over VPN is not recommended for 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 may be suitable, depending upon the size of the database, to migrate.
2727

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.
28+
Microsoft SQL Server (2019 and 2022) was 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. The on-premises source infrastructure was VMware vSphere 7.0 Update 3 and VMware vSAN running on Dell PowerEdge servers and Intel Optane P4800X SSD NVMe devices.
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 be executed with low database downtime. However, plan to conduct the migration during off-peak hours within a pre-approved change window.
32+
Predicting downtime during a migration depends upon the size of the database to be migrated and the speed of the private network connection to Azure cloud. Always-On migrations are intended to be executed with low database downtime. However, plan to conduct the migration during off-peak hours within a pre-approved change window.
3333

3434
The table below indicates the estimated downtime for each Microsoft SQL Server topology.
3535

3636
| **Scenario** | **Downtime expected** | **Notes** |
3737
|:---|:-----|:-----|
38-
| **Standalone instance** | LOW | Migration will be done using vMotion, the DB will be available during migration time, but it is not recommended to commit any critical data during it. |
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. |
3939
| **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 will be shut down and migrated using VMware HCX Cold Migration. Downtime duration will depend upon database size and private network speed to Azure cloud. |
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

44-
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.
44+
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

4646
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

@@ -51,9 +51,9 @@ An odd number of voting elements is required, which is achieved by an odd number
5151

5252
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

54-
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.
54+
If the cluster uses a **File share witness** running on-premises, then the type of witness for your migrated cluster depends upon 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 your datacenter and Azure should always be available. In any case, take into consideration bandwidth constraints and plan accordingly.
56+
- **Datacenter Extension**: Maintain the file share witness on-premises. Your workloads are 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.
5757
- **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.
@@ -62,9 +62,6 @@ If the cluster uses a **File share witness** running on-premises, then the type
6262

6363
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).
6464

65-
66-
67-
6865
## Migrate Microsoft SQL Server Always-On cluster
6966

7067
1. Access your Always-On cluster with SQL Server Management Studio using administration credentials.
@@ -75,25 +72,25 @@ For details about configuring and managing the quorum, see [Failover Clustering
7572

7673
1. Change **Availability Mode** to **Asynchronous commit** only for the replica to be migrated.
7774
1. Change **Failover Mode** to **Manual** for every member of the availability group.
78-
1. Access the on-premises vCenter and proceed to HCX area.
75+
1. Access the on-premises vCenter Server and proceed to HCX area.
7976
1. Under **Services** select **Migration** > **Migrate**.
8077
1. Select one virtual machine running the secondary replica of the database the is going to be migrated.
81-
1. Set the vSphere cluster in the remote private cloud that will run the migrated SQL cluster as the **Compute Container**.
78+
1. Set the vSphere cluster in the remote private cloud to run the migrated SQL cluster as the **Compute Container**.
8279
1. Select the **vSAN Datastore** as remote storage.
83-
1. Select a folder if you want to place the virtual machines in specific folder, this not mandatory but is recommended to separate the different workloads in your Azure VMware Solution private cloud.
80+
1. Select a folder. This not mandatory, but is recommended to separate the different workloads in your Azure VMware Solution private cloud.
8481
1. Keep **Same format as source**.
8582
1. Select **vMotion** as **Migration profile**.
8683
1. In **Extended Options** select **Migrate Custom Attributes**.
8784
1. Verify that on-premises network segments have the correct remote stretched segment in Azure.
88-
1. Select **Validate** and ensure that all checks are completed with pass status. The most common error here will be one related to the storage configuration. Verify again that there are no virtual SCSI controllers with physical sharing setting.
89-
1. Click **Go** and the migration will initiate.
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.
9087
1. Once the migration has been completed, access the migrated replica and verify connectivity with the rest of the members in the availability group.
9188
1. In SQL Server Management Studio, open the **Availability Group Dashboard** and verify that the replica appears as **Online**.
9289
:::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":::
9390

9491
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.
9592
1. Edit the **Availability Group** **Properties** again and set **Availability Mode** back to **Synchronous commit**.
96-
1. The secondary replica will start to synchronize back all the changes made to the primary replica during the migration. Wait until it appears in Synchronized state.
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.
9794
1. From the **Availability Group Dashboard** in SSMS click on **Start Failover Wizard**.
9895
1. Select the migrated replica and click **Next**.
9996

@@ -137,15 +134,14 @@ For details about configuring and managing the quorum, see [Failover Clustering
137134

138135
[Windows Server Technical Documentation](https://learn.microsoft.com/windows-server/)
139136

140-
[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)
141-
142-
[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)
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)
143138

144-
[VMware KB 100 2951 – Tips for configuring Microsoft SQL Server in a virtual machine](https://kb.vmware.com/s/article/1002951)
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)
145140

146-
[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)
141+
[VMware KB 100 2951 – Tips for configuring Microsoft SQL Server in a virtual machine](https://kb.vmware.com/s/article/1002951)
147142

148-
[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)
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)
149144

150-
[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)
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)
151146

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)

articles/azure-vmware/migrate-sql-server-failover-cluster.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Migrate SQL Server failover cluster to Azure VMware Solution
33
description: Learn how to migrate SQL Server failover cluster to Azure VMware Solution
44
ms.topic: how-to
55
ms.service: azure-vmware
6-
ms.date: 3/15/2023
6+
ms.date: 3/17/2023
77
ms.custom: engagement-fy23
88
---
99

@@ -30,7 +30,7 @@ VMware HCX doesn't support migrating virtual machines with SCSI controllers in p
3030

3131
VMware HCX over VPN is supported in Azure VMware Solution for workload migration. However, due to the size of database workloads it isn't recommended for Microsoft SQL Server Failover Cluster Instance and Microsoft SQL Server Always-On migrations, especially 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.
3232

33-
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.
33+
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. The on-premises source infrastructure was VMware vSphere 7.0 Update 3 and VMware vSAN running on Dell PowerEdge servers and Intel Optane P4800X SSD NVMe devices.
3434

3535
## Downtime considerations
3636

@@ -139,4 +139,3 @@ Finally, check the connectivity to SQL from other systems and applications in yo
139139
- [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)
140140
- [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)
141141
- [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)
142-

0 commit comments

Comments
 (0)