How Does eG Enterprise Monitor a Microsoft SQL Cluster Server?

eG Enterprise monitors the target Microsoft SQL Cluster Server in an agentless manner. For this purpose, deploy an eG agent on a remote host in the environment. A Premium Monitor license is required to monitor the target cluster server. To start monitoring the target component, first, add an Microsoft SQL Cluster Server component by following the steps described in Adding a Microsoft SQL Cluster Server component topic.

Prerequisites for Monitoring Microsoft SQL Cluster Server

Group Managed Service Account (gMSA) is a domain-managed service account in Microsoft Active Directory that automatically manages its password and allows services to authenticate with domain resources without requiring administrators to manually maintain passwords. When monitoring a Microsoft SQL Cluster configured with gMSA, you should configure the eG agent service to run using the gMSA account of the target SQL cluster. Once this is done, then you no longer have to explicitly configure the eG tests with a separate password. The eG agent service will automatically authenticate itself with the target SQL cluster using its Windows security context, and pull metrics of interest.

To configure the eG agent service to run using the gMSA account of the target cluster, follow the steps below:

  1. On the Windows server where the eG agent is installed, open Windows Services (services.msc).

  2. Locate and right-click the eGurkhaAgent service, and select Properties.

  3. Navigate to the Log On tab.

  4. Select This account and enter the required gMSA account name in the format username$@domain_name. For example: srv_sqlengine$@domain.com.

  5. Enter the Password and confirm it in the Confirm Password field.

  6. Alternatively, click Browse to locate and select the account from the domain.

  7. Configure the account and apply the changes. Restart the eG agent service if required.

Once the eG agent service runs under the gMSA account, turn on GMSA Enabled flag in the test configuration page and provide the gMSA account name (including the trailing $) in the USERNAME parameter and the complete domain name in the DOMAIN parameter. Set the PASSWORD parameter to None, as the test uses the Windows security context of the eG agent service for authentication.