SQL Diagnostic Manager allows you to monitor SQL Server instances without SysAdmin rights. However, these lowered permissions limit the availability of data.
The user creation scripts are detailed, as follows:
- Recommended permissions for Azure
- Recommended permissions for Azure replication mirroring
- Recommended permissions on premises
- Recommended permissions on premises replication mirroring
Recommended permissions for Azure
SQL Diagnostic Manager now includes a SQL Script to create a new user for Azure SQL Database Standard and Basic Tier with the minimum and necessary permissions for the product to function. Also, includes additional permissions that are required for trace and xevent manipulation.
- Use the Find/Replace function to locate and replace all references to 'SQLdmConsoleUser' with the name of your SQLdm User.
- Connect to the SQL Server that is hosting your SQLdm Repository database and execute the script found under the name of RecommendedPermissionsAzure.sql in the following path:
C:\Program Files\Idera\Idera SQL diagnostic manager\User Creation Script
RecommendedPermissionsAzure.sql
Recommended permissions for Azure replication mirroring
Also, it includes a SQL Script to create new user for Azure SQL Database Standard and Basic Tier with minimum and necessary permissions for the product to function. This script has additional permissions required for trace, xevent manipulation, mirror, and replication.
- Use the Find/Replace function to locate and replace all references to 'SQLdmConsoleUser' with the name of your SQLdm User.
- Connect to the SQL Server that is hosting your SQLdm Repository database and execute this script.
You can find this script under the name of RecommendedPermissionsAzureReplicationMirroring.sql in the following path:
C:\Program Files\Idera\Idera SQL diagnostic manager\User Creation Scripts
Recommended permissions on premises
SQL Diagnostic Manager now includes a SQL Script to create a new user with the minimum and necessary permissions for the product to function. Additionally, it includes permissions that are required for trace and xevent manipulation.
- Use the Find/Replace function to locate and replace all references to 'SQLdmConsoleUser' with the name of your SQLdm User.
- Connect to the SQL Server that is hosting your SQLdm Repository database and execute the script found under the name of RecommendedPermissionsOnPremises.sql in the following path:
C:\Program Files\Idera\Idera SQL diagnostic manager\User Creation Scripts
Recommended permissions on premises replication mirroring
Also, it includes a SQL Script to create new user with minimum and necessary permissions for the product to function. This script has additional permissions required for trace, xevent manipulation, mirror, and replication.
- Use the Find/Replace function to locate and replace all references to 'SQLdmConsoleUser' with the name of your SQLdm User.
- Connect to the SQL Server that is hosting your SQLdm Repository database and execute this script.
You can find this script under the name of RecommendedPermissionOnPremisesReplicationMirroring.sql in the following path:
C:\Program Files\Idera\Idera SQL diagnostic manager\User Creation Scripts