How to create a load balanced CEWS environment

Netwrix Data Classification
Copy Article URL Copied

This article describes how to configure a basic load balanced environment for the Netwrix Data Classification CEWS product. In this configuration each server will run both the:

  • Netwrix Data Classification QS Administration Interface
  • Netwrix Data Classification CEWS Web Service Endpoint

With the CEWS endpoint leveraging the local conceptQS.asmx web service endpoint on each server.

This article assumes that the environment is currently a single server instance – not a DQS configuration.

  1. Access the current conceptCEWS server via RDP (mstsc) and perform the following actions:
    1. Locate your conceptDB directory (default location of C:\Program Files\ConceptSearching)
    2. Share the conceptDB folder with an appropriate service account (we will be mapping this to each of the other servers)
    3. Locate your conceptQS/conceptCEWS directory (default location of C:\inetpub\wwwroot)
    4. Copy both directories
  2. Access the new server via RDP and perform the following actions:
    1. Map a shared drive to the share created in 1(a) 
    2. Navigate to the default IIS location (C:\inetpub\wwwroot)
    3. Paste the copied applications
    4. Navigate into the \conceptQS\bin folder
    5. Open conceptConfig.exe
    6. Amend the CSE files location to the mapped network drive
    7. Open IIS Manager (Run + inetmgr)
    8. Right-click each of the two new folders and select “Convert to Application
    9. Validate that the configured Application Pool is configured for both the correct account and the correct .NET version (4.0)
  3. Configure your Load Balancer to point to the two servers, typically: http://servername/conceptQS/ContentEnrichmentWebService.svc
  4. Amend the SharePoint CEWS configuration to point to the Load Balancer rather than the new server. An example script is shown below for reference:
$ssa = Get-SPEnterpriseSearchServiceApplication
$config = New-SPEnterpriseSearchContentEnrichmentConfiguration
$config.Endpoint = "http://loadbalancer/conceptCEWS/ContentProcessingEnrichmentService.svc"
$config.InputProperties = "Body", "Title", "OriginalPath", "<CustomField1>", "<CustomField2>", ....
$config.OutputProperties = "<OutputFieldName1>", "<OutputFieldName2>", ....
$config.SendRawData = $True
$config.MaxRawDataSize = 8192
$config.Timeout = 30000
Set-SPEnterpriseSearchContentEnrichmentConfiguration -SearchApplication $ssa -ContentEnrichmentConfiguration $config
Go Up