Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This set of instructions helps you to configure SQL Diagnostic Manager services in its own cluster using a Cluster Disk or Cluster Network shared folders. This option requires an available disk on the cluster to store the temporary files used by the SQLDM services.

Note

An For cluster disks, the available disk on the cluster can be any visible disk to all nodes in the cluster; including a network disk reachable via the UNC path.

  1. Launch Failover Cluster Manager on a node of the cluster.
    Info

    For more information on how to launch the Failover Cluster Manager, check Installing the Failover Cluster Feature and Tools in Windows Server 2012

  2. Right-click on Role and select Create Empty Role.
  3. Right-click on New Role and select Properties.
  4. Specify a new name for the role and click OK.
  5. Right-click on the Role, select Add Resource, and click Client Access Point.
  6. When the New Resource Wizard opens, type an a unique network name and an IP address, and click Next.
  7. Click Next on the Confirmation screen.
  8. Click Finish on the Summary screen.
  9. Create a SQLdm DataPath:
    1. For a Cluster Disk:
      1. Right-click on the Role and select Add Storage.
      2. Select a disk, and click OK.
      3. In File Explorer, create a folder to be used by SQLDM services on the disk that was added.
        Eg. P:\SQLdmDataPath
    2. For Cluster Network shared folder:
      1. On your network shared folder create a folder for SQLdm and ensure it has writing access to thisDataPath.
        Eg. \\Server\SharedFolder\SQLdmDataPath
  10. Open Registry Editor and navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Idera\SQLdm
  11. Right-click the SQLdm key, select New, click Key, and enter Default for the name.
  12. Right-click the Default key, select new New, click String Value, and enter DataPath for the name.
  13. Double-click on the recently created DataPath string value and enter the path to the folder that was created for SQLDM services, click OK.
  14. Go back to Failover Cluster Manager.
  15. Right-click on the role, select Add Resource, and  and click Generic Service.
  16. On the Select Service screen, select the SQLdm Collection Service, and click Next.
  17. Click Next on the Confirmation screen.
  18. Click Finish on the Summary screen.
  19. Repeat steps 17-20 for the remaining SQLDM services: SQLdm Management Service, SQLdm Predictive Analytics Service, and SQLdm Rest Service.
  20. Right-click on one of the added SQLDM services and select Properties.
  21. Go to the Dependencies tab and add the following resources:
    1. Name
    2. IP Address
    3. Disk
      Info

      You can skip adding the Disk resource only if a shared folder was used. 

  22. Click Apply and go to the General tab.
  23. Check the box of Use the network name for the computer name, and click click Apply.
  24. Go to the Registry Replication tab, click Add, enter SOFTWARE\Idera\SQLdm\Default, and click OK.

    Warning

    There is a bug in Window Windows 2012 where the Registry Replication tab is not available. If the tab is unavailable, use the

    Newtablink
    aliasAdd-ClusterCheckpoint
    urlhttps://docs.microsoft.com/en-us/powershell/module/failoverclusters/add-clustercheckpoint?view=win10-ps
    PowerShell cmdlet to add the necessary setting.

    EXAMPLE: Add-ClusterCheckpoint -ResourceName "SQLdmCollectionService`$Default" -RegistryCheckpoint "SOFTWARE\Idera\SQLdm\Default" -Cluster "SQLdmServices"

  25. Click Apply, and then click OK
  26. Repeat steps 17-27 for the remaining SQLDM services: SQLdm Management Service, SQLdm Predictive Analytics Service, and SQLdm Rest Service
  27. Right-click on each SQLDM service and select Bring Online

...

  1. In File Explorer, create a folder to be used by SQLDM services on a disk that has been added as a cluster resource.
  2. Open Registry Editor and navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Idera\SQLdm
  3. Right-click the SQLdm key, select New, click Key, and enter Default for the name
  4. Right-click the Defaultkey, select new, click String Value, and enter DataPath for the name
  5. Double-click the string value and enter the path to the folder that was created for SQLDM services, click OK
  6. Launch Failover Cluster Manager on a node of the cluster. For more information on how to launch the Failover Cluster Manager, check
    Newtablink
    aliasInstalling the Failover Cluster Feature and Tools in Windows Server 2012
    urlhttps://blogs.msdn.microsoft.com/clustering/2012/04/06/installing-the-failover-cluster-feature-and-tools-in-windows-server-2012/
  7. Right-click on an existing role, select Add Resource, and click Generic Service
  8. On the Select Service screen, select SQLdmCollection Service, and click Next
  9. Click Next on theConfimation the Confirmation screen
  10. Click Finish on the Summary screen
  11. Repeat steps 7-10 for the remaining SQLDM services: SQLdm Management Service, SQLdm Predictive Analytics Service, and SQLdm Rest Service
  12. Right-click on one of the added SQLDM serviceservices, and select select Properties

  13. Go to the Dependencies tab and add the following resources:
    1. Name
    2. IP Address
    3. Disk
  14. Click Apply and go to the General tab
  15. Check the box of Use network name for the computer name, and click click Apply.
  16. Go to the Registry Replication tab, click Add, enter SOFTWARE\Idera\SQLdm\Default, and click OK

    Warning

    There is a bug in Window Windows 2012 where the Registry Replication tab is not available. If the tab is unavailable, use the

    Newtablink
    aliasAdd-ClusterCheckpoint
    urlhttps://docs.microsoft.com/en-us/powershell/module/failoverclusters/add-clustercheckpoint?view=win10-ps
    PowerShell cmdlet to add the necessary setting.

    EXAMPLE: Add-ClusterCheckpoint -ResourceName "SQLdmCollectionService`$Default" -RegistryCheckpoint "SOFTWARE\Idera\SQLdm\Default" -Cluster "SQLdmServices"

  17. Click Apply, and then click OK
  18. Repeat steps 12-17 for the remaining SQLDM services: SQLdm Management Service, SQLdm Predictive Analytics Service, and SQLdm Rest Service
  19. Right-click on each SQLDM service and select Bring Online

...