Skip to content

Commit e683e2a

Browse files
committed
Addressing PR comments.
1 parent d1fb17f commit e683e2a

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

articles/azure-sql/managed-instance/managed-instance-link-use-scripts-to-replicate-database.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ms.date: 03/15/2022
1818

1919
[!INCLUDE[appliesto-sqlmi](../includes/appliesto-sqlmi.md)]
2020

21-
This article teaches you to use scripts, T-SQL and PowerShell, to setup [Managed Instance link feature](link-feature.md) to replicate your database from SQL Server to Azure SQL Managed Instance.
21+
This article teaches you to use scripts, T-SQL and PowerShell, to set up [Managed Instance link feature](link-feature.md) to replicate your database from SQL Server to Azure SQL Managed Instance.
2222

2323
Before configuring replication for your database through the link feature, make sure you've [prepared your environment](managed-instance-link-preparation.md).
2424

@@ -29,7 +29,7 @@ Before configuring replication for your database through the link feature, make
2929
> Configuration on Azure side is done with PowerShell that calls SQL Managed Instance REST API. Support for Azure PowerShell and CLI will be released in the upcomming weeks. At that point this article will be updated with the simplified PowerShell scripts.
3030
3131
> [!TIP]
32-
> SQL Managed Instance link database replication can be setup with [SSMS wizard](managed-instance-link-use-ssms-to-replicate-database.md).
32+
> SQL Managed Instance link database replication can be set up with [SSMS wizard](managed-instance-link-use-ssms-to-replicate-database.md).
3333
3434
## Prerequisites
3535

@@ -140,7 +140,7 @@ $PublicKeyEncoded = "<PublicKeyEncoded>"
140140
# ===============================================================================
141141
# INVOKING THE API CALL -- REST OF THE SCRIPT IS NOT USER CONFIGURABLE
142142
# ===============================================================================
143-
# Login and select Subscription if needed.
143+
# Log in and select Subscription if needed.
144144
#
145145
if ((Get-AzContext ) -eq $null)
146146
{
@@ -212,7 +212,7 @@ Finally, verify all created certificates by viewing the following DMV.
212212
SELECT * FROM sys.certificates
213213
```
214214

215-
## Mirroring endpoing on SQL Server
215+
## Mirroring endpoint on SQL Server
216216

217217
If you don’t have existing Availability Group nor mirroring endpoint, the next step is to create a mirroring endpoint on SQL Server and secure it with the certificate. If you do have existing Availability Group or mirroring endpoint, go straight to the next section “Altering existing database mirroring endpoint”
218218
To verify that you don't have an existing database mirroring endpoint created, use the following script.
@@ -312,7 +312,7 @@ With this you've successfully modified your database mirroring endpoint for SQL
312312

313313
## Availability Group on SQL Server
314314

315-
If you don't have existing AG the next step is to create an AG on SQL Server. If you do have existing AG go straight to the next section “Use existing Availability Group (AG) on SQL Serer”. A new AG needs to be created with the following parameters for Managed Instance link:
315+
If you don't have existing AG the next step is to create an AG on SQL Server. If you do have existing AG go straight to the next section “Use existing Availability Group (AG) on SQL Server”. A new AG needs to be created with the following parameters for Managed Instance link:
316316
- Specify SQL Server name
317317
- Specify database name
318318
- Failover mode MANUAL
@@ -365,11 +365,11 @@ Alternatively, in SSMS object explorer, expand the “Always On High Availabilit
365365

366366
## Creating SQL Managed Instance link
367367

368-
The final step of the setup is to create the SQL Managed Instance link. To accomplish this, a REST API call will be made. Invoking direct API calls will be replaced with PowerShell and CLI clients, which will be delivered in one of our next releases.
368+
The final step of the set up is to create the SQL Managed Instance link. To accomplish this, a REST API call will be made. Invoking direct API calls will be replaced with PowerShell and CLI clients, which will be delivered in one of our next releases.
369369

370370
Invoking direct API call to Azure can be accomplished with various API clients. However, for simplicity of the process, execute the below PowerShell script from Azure Cloud Shell.
371371

372-
Login to Azure portal and execute the below PowerShell scripts in Azure Cloud Shell. Make the following replacements with the actual values in the script: Replace `<SubscriptionID>` with your Azure Subscription ID. Replace `<ManagedInstanceName>` with the short name of your managed instance. Replace `<AGName>` with the name of Availability Group created on SQL Server. Replace `<DAGName>` with the name of Distributed Availability Group create on SQL Server. Replace `<DatabaseName>` with the database replicated in Availability Group on SQL Server. Replace `<SQLServerAddress>` with the address address of the SQL Server. This can be a DNS name, or public IP or even private IP address, as long as the address provided can be resolved from the backend node hosting the SQL Managed Instance.
372+
Log in to Azure portal and execute the below PowerShell scripts in Azure Cloud Shell. Make the following replacements with the actual values in the script: Replace `<SubscriptionID>` with your Azure Subscription ID. Replace `<ManagedInstanceName>` with the short name of your managed instance. Replace `<AGName>` with the name of Availability Group created on SQL Server. Replace `<DAGName>` with the name of Distributed Availability Group create on SQL Server. Replace `<DatabaseName>` with the database replicated in Availability Group on SQL Server. Replace `<SQLServerAddress>` with the address of the SQL Server. This can be a DNS name, or public IP or even private IP address, as long as the address provided can be resolved from the backend node hosting the SQL Managed Instance.
373373

374374
```powershell
375375
# =============================================================================
@@ -393,7 +393,7 @@ $ SQLServerAddress = "<SQLServerAddress>"
393393
# =============================================================================
394394
# INVOKING THE API CALL -- THIS PART IS NOT USER CONFIGURABLE
395395
# =============================================================================
396-
# Login to subscription if needed
396+
# Log in to subscription if needed
397397
if ((Get-AzContext ) -eq $null)
398398
{
399399
echo "Logging to Azure subscription"

0 commit comments

Comments
 (0)