Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch 568 #590

Merged
merged 6 commits into from
Oct 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions en/azure/sqldatabases/sql-db-multiple-az.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,18 @@
| **Recommended Action** | Ensure that each SQL Database is configured to be zone redundant. |

## Detailed Remediation Steps


1. Log in to the Microsoft Azure Management Console.
2. Select the "Search resources, services, and docs" option at the top and search for "SQL databases". </br> <img src="/resources/azure/sqldatabases/sql-db-multiple-az/step2.png"/>
3. On the "SQL database" page, click on the "Cloud shell" icon at the top next to the search bar as "Availability Zones" cannot be checked from Azure "UI Console".</br> <img src="/resources/azure/sqldatabases/sql-db-multiple-az/step3.png"/>
4. In the box that opens at the bottom, select "PowerShell".</br> <img src="/resources/azure/sqldatabases/sql-db-multiple-az/step4.png"/>
5. In the next screen, select the desired Azure Subscription & click on "Create storage" button.</br> <img src="/resources/azure/sqldatabases/sql-db-multiple-az/step5.png"/>
6. Run "Get-AzSqlServer" PowerShell command in the PowerShell prompt, to list all the "SQL servers" in the selected subscription. Note the "ResourceGroupName" and "ServerName" of the desired SQL server.</br> <img src="/resources/azure/sqldatabases/sql-db-multiple-az/step6.png"/>
7. Run "Get-AzSqlDatabase -ResourceGroupName your_resource_group_name -ServerName your_server_name -DatabaseName your_DB_Name" PowerShell command.</br> <img src="/resources/azure/sqldatabases/sql-db-multiple-az/step7.png"/>
8. If the value of property "ZoneReduntant" is "false" in the result then the database is not zone reduntant.</br> <img src="/resources/azure/sqldatabases/sql-db-multiple-az/step8.png"/>
9. If the value of ZoneReduntant is False then we need to restore the affected Database with a minimum of "Premium" grade "Compute + storage".
10. On the Azure UI Dashboard, go to the configuration of the affected database and click on "Restore" button at the top.</br> <img src="/resources/azure/sqldatabases/sql-db-multiple-az/step10.png"/>
11. On the "Create SQL Database - Restore database" page, select the "Earliest restore point" and click on "Configure database" next to "Compute + storage".</br> <img src="/resources/azure/sqldatabases/sql-db-multiple-az/step11.png"/>
12. On the Configure page, select "Premium" or higher Service tier type in the "Service tier" dropdown.Then select "yes" for "Would you like to make this database zone redundant?" and click "Apply" button at the bottom.</br> <img src="/resources/azure/sqldatabases/sql-db-multiple-az/step12.png"/>
13. Now click "Review + create" and "Create" on the "Create SQL Database - Restore database" page to complete the restoration.</br> <img src="/resources/azure/sqldatabases/sql-db-multiple-az/step13.png"/>
14. Once the restoration is complete, on Azure PowerShell run the command "Get-AzSqlDatabase -ResourceGroupName your_resource_groupname -ServerName your_server_name -DatabaseName your_DB_Name" to verify that zone reduntant property is now "True".</br> <img src="/resources/azure/sqldatabases/sql-db-multiple-az/step14.png"/>
15. Repeat steps 3 - 14 for all other SQL databases to make them zone redundant.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.