Implement well-architected database configurations in Workload Factory
Using configuration analysis insights and recommendations, leverage NetApp Workload Factory to implement best practices for your database configurations with Microsoft SQL Server and Oracle. You can easily review the well-architected status, learn about issues with database configurations, and fix configurations that aren't optimized for reliability, security, efficiency, performance, and cost.
You can also dismiss the analysis of configurations that don't apply to your environment to avoid extra alerts and inaccurate results.
About this task
Workload Factory analyzes database configurations daily. The daily analysis provides well-architected status, insights, and recommendations. You can automatically fix configuration issues to meet best practices.
You can review and fix issues from the Databases inventory or the Well-architected dashboard within the Workload Factory console.
Optionally, you can perform a one-time assessment to review best practices for your database configurations without storing credentials or registering resources.
Workload Factory analyzes the well-architected status of the following configurations:
For Microsoft SQL Server instances:
-
Storage sizing: includes storage tier, file system headroom, log drive size, and TempDB drive size
-
Storage layout: includes user data files placement, log files placement, and TempDB placement
-
Storage configuration: includes capacity management, thin provisioning, tiering policy, snapshots, Microsoft Multipath I/O (MPIO) status, and MPIO timeout setting
-
Compute: includes rightsizing, operating system patches, and network adapter settings like Receive Side Scaling (RSS), TCP offloading, and MTU alignment
-
Application: includes Microsoft SQL Server licenses, Microsoft SQL Server patch, and MAXDOP settings
-
Resiliency: includes local snapshots, FSx for ONTAP backups, cross-region replication (CRR), and Microsoft SQL High Availability.
-
Clones: includes options to refresh and delete clones (sandboxes) that were created in or outside of Workload Factory and are older than 60 days
For Oracle databases:
-
Storage sizing: includes swap space allocation and file system headroom
-
Storage configuration: includes capacity management, thin provisioning, tiering policy, snapshots, storage efficiencies, and operating system configurations for deployments using NFS or iSCSI with or without Automatic Storage Management (ASM) including Microsoft Multipath I/O (MPIO) status and settings, and the following dNFS settings: dNFS enablement, dNFS consistent IP resolution, dNFS configuration file, and dNFS
nosharecache -
Storage layout: includes redo log placement, temp tablespace placement, data files placement, archive log placement, control files placement and binaries placement, ASM disk groups LUN count
-
Compute: includes operating system patches
-
Application: includes Oracle Critical Patch Updates
-
Resiliency: includes cross-region replication (CRR) and application-consistent snapshots
The well-architected analysis for Oracle notifies you when a configuration depends on others and lists actions to optimize linked configurations.
Perform a one-time assessment of your configurations
Perform a one-time assessment to find out the well-architected status of your Microsoft SQL Server instances or Oracle databases without storing credentials or registering resources.
You can run the script and upload results multiple times. Workload Factory updates the well-architected status and insights with each upload.
-
Log in using one of the console experiences.
-
Select the menu
Then select Databases. -
In the Inventory, select SQL Server as the engine type.
-
Select One-time assessment > Learn about assessment. Review the information about the one-time assessment.
-
Select Download script.
-
Copy the script to your Microsoft SQL Server host.
-
Run the script in PowerShell. One script collects metadata from all instances.
-
-
Select One-time assessment > Upload. Find the file and upload it to the Workload Factory console.
-
View the recommendation for any configuration. Workload Factory includes best practices and potential problems in the recommendations if configurations are not optimized.
-
Log in using one of the console experiences.
-
Select the menu
Then select Databases. -
In the Inventory, select Oracle as the engine type.
-
Select One-time assessment > Learn about assessment. Review the information about the one-time assessment.
-
Select Download script.
-
Copy the Python script to your Oracle database host.
-
Run the script in the appropriate shell. One script collects metadata from all databases.
-
-
Select One-time assessment > Upload. Find the file and upload it to the Workload Factory console.
-
View the recommendation for any configuration. Workload Factory includes best practices and potential problems in the recommendations if configurations are not optimized.
Before you begin fixing, dismissing, and re-activating configurations
The following requirements are necessary for continuous monitoring of your database environment and automatic fixing of configuration issues. These requirements are not required for the one-time assessment.
-
You must grant operations and remediation permissions in your AWS account.
-
The resource must be registered in Workload Factory and the storage type must be FSx for ONTAP. Learn how to register resources.
-
Review each recommendation before fixing a setting or configuration. For RSS and MAXDOP, test recommended settings to check performance before changing your production environment.
Fix a configuration issue
Fix configuration issues for SQL Server or Oracle environments running on FSx for ONTAP storage.
|
|
Fixing a configuration may cause downtimes or service interruptions. Make sure you review the recommendation carefully before you choose to fix a configuration. |
-
Log in using one of the console experiences.
-
Select the menu
Then select Databases. -
In the Inventory, select the engine type: Microsoft SQL Server or Oracle.
-
Select resources to fix for specific configurations.
-
If you selected Microsoft SQL Server, select the Instances tab.
-
If you selected Oracle, select the Databases tab.
-
-
Select View and fix to view configuration issues for the instance.
-
On the Well-architected status page for the instance, review the findings from the analysis.
You can filter configuration issues by categories, subcategories, status, severity, and tags.
Select Export PDF to download a report of the findings.
-
Select the dropdown arrow to view the recommendation for any configuration. Recommendations include best practices, potential pitfalls of unoptimized configurations, and important considerations. Make sure you review the recommendation carefully.
-
Select to View and fix configuration issues when the option is available.
Select all is the default, but you can select specific resources to fix.
-
For all configurations except clone cleanup, review the recommendation details to see the impact of fixing the issue. Some remediation operations may cause downtime or service interruptions.
-
For clone cleanup, select cloned databases (sandboxes) to refresh or delete.
-
Refreshing a clone synchronizes it with its source database. Refresh is available only for clones created in Workload Factory.
-
Deleting a clone removes it permanently, frees up storage space, and reduces costs. You can delete clones created in and outside of Workload Factory.
-
-
-
Select Continue to fix the configuration issue.
Workload Factory begins fixing the issue(s). Select the Job monitoring tab to view the status of the operation.
Dismiss the analysis of database configurations
Dismiss the analysis of specific database configurations that don't apply to your database environment to avoid unnecessary alerts and inaccurate optimization results. You can reactivate a dismissed configuration analysis at any time.
-
Log in using one of the console experiences.
-
Select the menu
Then select Databases. -
From the Databases menu, select Inventory.
-
In the Inventory, select the database engine type: Microsoft SQL Server or Oracle.
-
Navigate to the SQL Server instance or Oracle database with the configuration to postpone, select the action menu, and then select Well-architected.
-
On the Well-architected analysis page, scroll down to the configuration to postpone, select the action menu, and then select Dismiss.
-
In the Dismiss configuration dialog, select the Dismiss option and then select Dismiss to confirm dismissal.
Workload Factory stops the configuration analysis.
You can reactivate the analysis at any time. The configuration is no longer included in the total optimization score.
Reactivate a dismissed configuration analysis
Reactivate a dismissed configuration analysis at any time. You can select one or more configurations to reactivate.
-
Log in using one of the console experiences.
-
Select the menu
Then select Databases. -
From the Databases menu, select Inventory.
-
In the Inventory, select the database engine type: Microsoft SQL Server or Oracle.
-
Navigate to the SQL Server instance or Oracle database with the configuration to postpone, select the action menu, and then select Well-architected.
-
On the Well-architected analysis page, select Dismissed configuration to display only dismissed configurations.
-
Select Reactivate to restart the configuration analysis for the postponed or dismissed configuration.
Workload Factory reactivates the configuration analysis and runs it every day from now on.