Skip to content

Commit

Permalink
Patch 568 (#590)
Browse files Browse the repository at this point in the history
* Update sql-db-multiple-az.md

* Images & text added

* Update sql-db-multiple-az.md

* Update sql-db-multiple-az.md

* Update sql-db-multiple-az.md

* Update en/azure/sqldatabases/sql-db-multiple-az.md

Co-authored-by: alphadev4 <[email protected]>
  • Loading branch information
shuklaalok87 and alphadev4 authored Oct 18, 2022
1 parent a6071ee commit a02bbb8
Show file tree
Hide file tree
Showing 13 changed files with 15 additions and 2 deletions.
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.

0 comments on commit a02bbb8

Please sign in to comment.