You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-sql/database/active-geo-replication-configure-portal.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
title: "Tutorial: Geo-replication & failover in portal"
3
-
description: Configure geo-replication for an Azure SQL Database using the Azure portal and initiate failover.
3
+
description: Configure geo-replication for a database using the Azure portal and initiate failover.
4
4
services: sql-database
5
5
ms.service: sql-database
6
6
ms.subservice: high-availability
@@ -12,7 +12,7 @@ ms.author: sashan
12
12
ms.reviewer: mathoma, carlrab
13
13
ms.date: 02/13/2019
14
14
---
15
-
# Tutorial: Configure active geo-replication & failover in portal (Azure SQL Database)
15
+
# Tutorial: Configure active geo-replication and failover in the Azure portal (Azure SQL Database)
16
16
17
17
This article shows you how to configure [active geo-replication for Azure SQL Database](active-geo-replication-overview.md#active-geo-replication-terminology-and-capabilities) using the [Azure portal](https://portal.azure.com) and to initiate failover.
18
18
@@ -27,7 +27,7 @@ To configure active geo-replication by using the Azure portal, you need the foll
27
27
* A database in Azure SQL Database: The primary database that you want to replicate to a different geographical region.
28
28
29
29
> [!Note]
30
-
> When using Azure portal, you can only create a secondary database within the same subscription as the primary. If secondary database is required to be in a different subscription, use[Create Database REST API](https://docs.microsoft.com/rest/api/sql/databases/createorupdate) or [ALTER DATABASE Transact-SQL API](https://docs.microsoft.com/sql/t-sql/statements/alter-database-transact-sql).
30
+
> When using Azure portal, you can only create a secondary database within the same subscription as the primary. If a secondary database is required to be in a different subscription, use [Create Database REST API](https://docs.microsoft.com/rest/api/sql/databases/createorupdate) or [ALTER DATABASE Transact-SQL API](https://docs.microsoft.com/sql/t-sql/statements/alter-database-transact-sql).
Copy file name to clipboardExpand all lines: articles/azure-sql/database/automatic-tuning-email-notifications-configure.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ ms.date: 06/03/2019
14
14
---
15
15
# Email notifications for automatic tuning
16
16
17
-
Azure SQL Database tuning recommendations are generated by Azure SQL Database [Automatic tuning](automatic-tuning-overview.md). This solution continuously monitors and analyzes workloads of Azure SQL Databases providing customized tuning recommendations for each individual database related to index creation, index deletion, and optimization of query execution plans.
17
+
Azure SQL Database tuning recommendations are generated by Azure SQL Database [Automatic tuning](automatic-tuning-overview.md). This solution continuously monitors and analyzes workloads of databases providing customized tuning recommendations for each individual database related to index creation, index deletion, and optimization of query execution plans.
18
18
19
19
Azure SQL Database automatic tuning recommendations can be viewed in the [Azure portal](database-advisor-find-recommendations-portal.md), retrieved with [REST API](https://docs.microsoft.com/rest/api/sql/databaserecommendedactions/listbydatabaseadvisor) calls, or by using [T-SQL](https://azure.microsoft.com/blog/automatic-tuning-introduces-automatic-plan-correction-and-t-sql-management/) and [PowerShell](https://docs.microsoft.com/powershell/module/az.sql/get-azsqldatabaserecommendedaction) commands. This article is based on using a PowerShell script to retrieve automatic tuning recommendations.
20
20
@@ -30,7 +30,7 @@ The following solution automates the sending of email notifications containing A
30
30
31
31
To use Azure Automation, the first step is to create an automation account and to configure it with Azure resources to use for execution of the PowerShell script. To learn more about Azure Automation and its capabilities, see [Getting started with Azure automation](https://docs.microsoft.com/azure/automation/automation-offering-get-started).
32
32
33
-
Follow these steps to create Azure Automation Account through the method of selecting and configuring Automation app from the Marketplace:
33
+
Follow these steps to create an Azure Automation Account through the method of selecting and configuring an Automation app from Azure Marketplace:
34
34
35
35
1. Log into the Azure portal.
36
36
1. Click on "**+ Create a resource**" in the upper left corner.
@@ -76,7 +76,7 @@ Follow these steps to load a PowerShell script inside the runbook created:
76
76
77
77
In the header of the provided PowerShell script, you need to replace `<SUBSCRIPTION_ID_WITH_DATABASES>` with your Azure subscription ID. To learn how to retrieve your Azure subscription ID, see [Getting your Azure Subscription GUID](https://blogs.msdn.microsoft.com/mschray/20../../getting-your-azure-subscription-guid-new-portal/).
78
78
79
-
In case of several subscriptions, you can add them as comma-delimited to the "$subscriptions" property in the header of the script.
79
+
In the case of several subscriptions, you can add them as comma-delimited to the "$subscriptions" property in the header of the script.
@@ -183,7 +183,7 @@ To complete the solution, as the final step, create an automation flow in Micros
183
183
184
184
To learn more about Microsoft Flow capabilities, see [Getting started with Microsoft Flow](https://docs.microsoft.com/flow/getting-started).
185
185
186
-
Prerequisite for this step is to sign up for [Microsoft Flow](https://flow.microsoft.com) account and to log in. Once inside the solution, follow these steps to set up a **new flow**:
186
+
Prerequisite for this step is to sign up for a [Microsoft Flow](https://flow.microsoft.com) account and to log in. Once inside the solution, follow these steps to set up a **new flow**:
187
187
188
188
1. Access "**My flows**" menu item.
189
189
1. Inside My flows, select the "**+Create from blank**" link at the top of the page.
@@ -200,25 +200,25 @@ The next step is to add three jobs (create, get output and send email) to the ne
200
200
- In the Create job pane, configure the job properties. For this configuration, you will need details of your Azure subscription ID, Resource Group and Automation Account **previously recorded** at the **Automation Account pane**. To learn more about options available in this section, see [Azure Automation - Create Job](https://docs.microsoft.com/connectors/azureautomation/#create-job).
201
201
- Complete creating this action by clicking on "**Save flow**".
202
202
203
-
2. Create action to retrieve output from the executed PowerShell script
203
+
2. Create an action to retrieve output from the executed PowerShell script
204
204
205
205
- Select "**+New step**", followed by "**Add an action**" inside the Recurrence flow pane
206
-
- In the search filed type "**automation**" and select "**Azure Automation – Get job output**" from the search results. To learn more about options available in this section, see [Azure Automation – Get job output](https://docs.microsoft.com/connectors/azureautomation/#get-job-output).
206
+
- In the search field type "**automation**" and select "**Azure Automation – Get job output**" from the search results. To learn more about options available in this section, see [Azure Automation – Get job output](https://docs.microsoft.com/connectors/azureautomation/#get-job-output).
207
207
- Populate fields required (similar to creating the previous job) - populate your Azure subscription ID, Resource Group, and Automation Account (as entered in the Automation Account pane).
208
208
- Click inside the field "**Job ID**" for the "**Dynamic content**" menu to show up. From within this menu, select the option "**Job ID**".
209
209
- Complete creating this action by clicking on "**Save flow**".
210
210
211
-
3. Create action to send out email using Office 365 integration
211
+
3. Create an action to send out email using Office 365 integration
212
212
213
213
- Select "**+New step**", followed by "**Add an action**" inside the Recurrence flow pane.
214
-
- In the search filed type "**send an email**" and select "**Office 365 Outlook – Send an email**" from the search results.
214
+
- In the search field type "**send an email**" and select "**Office 365 Outlook – Send an email**" from the search results.
215
215
- In the "**To**" field type in the email address to which you need to send the notification email.
216
216
- In the "**Subject**" field type in the subject of your email, for example "Automatic tuning recommendations email notification".
217
217
- Click inside the field "**Body**" for the "**Dynamic content**" menu to show up. From within this menu, under "**Get job output**", select "**Content**".
218
218
- Complete creating this action by clicking on "**Save flow**".
219
219
220
220
> [!TIP]
221
-
> To send automated emails to different recipients, create separate flows. In these additional flows, change the recipient email address in the "To" field, and the email subject line in the "Subject" field. Creating new runbooks in Azure Automation with customized PowerShell scripts (such as with change of Azure subscription ID) enables further customization of automated scenarios, such is for example emailing separate recipients on Automated tuning recommendations for separate subscriptions.
221
+
> To send automated emails to different recipients, create separate flows. In these additional flows, change the recipient email address in the "To" field, and the email subject line in the "Subject" field. Creating new runbooks in Azure Automation with customized PowerShell scripts (such as with change of Azure subscription ID) enables further customization of automated scenarios, such as for example emailing separate recipients on Automated tuning recommendations for separate subscriptions.
222
222
223
223
The above concludes steps required to configure the email delivery job workflow. The entire flow consisting of three actions built is shown in the following image.
224
224
@@ -230,7 +230,7 @@ Statistics of running the automated jobs, showing success of email notifications
230
230
231
231

232
232
233
-
The Flow analytics is helpful for monitoring the success of job executions, and if required for troubleshooting. In the case of troubleshooting, you also might want to examine the PowerShell script execution log accessible through Azure Automation app.
233
+
The Flow analytics pane is helpful for monitoring the success of job executions, and if required for troubleshooting. In the case of troubleshooting, you also might want to examine the PowerShell script execution log accessible through the Azure Automation app.
234
234
235
235
The final output of the automated email looks similar to the following email received after building and running this solution:
0 commit comments