Skip to content

Portal, Reporting & Replay Server

Install Order

graph LR
  A(**Portal**) ==> B(**Reporting**) ==> C(**Replay**) ==> D(*Processing*) --> E(*HBR*) --> F(*DNCA*);

Prerequisites

  • - Anti-virus software may impact performance, if this is identified exclude the folder <Discover_Home_Directory>\Log folder
  • - Disable the Windows Defender Real-Time Protection feature temporarily during installing
  • - TCP ports should be opened, refer to the Server to Server Communication guide
  • - Install prerequisite .Net Desktop (x86 and x64), and ASP.Net Hosting Bundle as outlined in the install documentation readme located in the download package
  • - SSL certificate is required for the Portal server access over HTTPS

Installation

  1. Access the server with Administrator rights.
  2. Disable the 'User Access Control' feature.
  3. Confirm that the server's specs meet the sizing requirements/recommendations (OS, CPU Cores, Physical memory, Disks, Network, Internet access (for replay).
  4. Upload the Discover installation files, including the following onto the server in a temporary location, e.g., C:\HCL_Discover_Source\

    Install files

    1. DataExport installers
    2. SessionArchiving installers
    3. FixPacks, HotFixes, iFixes

Install IIS and .Net

  1. Install the IIS web server role along with roles shown below:

    Info

    Some items may be shown ticked below, however in your environment by default may not be. They are not required for Discover install and should not impact the install. ONLY install the items highlighted and ticked.

  2. Install the .NET Framework 4.8 or greater with the below features.

    Already installed?

    You should not need to do this if you have installed the prerequisite .Net components as outlined above. .Net framework in pre-installed as part of the .Net Desktop x86/x64 packages.

  3. (optional) Install the 'Telnet Client' feature. This can be used to check port are open and listening as part of installation validation.

  4. From the Start Menu select Internet Information Services(IIS) Manager to validate the Default Website is present, if not it must be created manually. This is required as during the Discover installation two new sites (Portal, PortalAPI) associated with the default website (shown in screenshot below).

    Info

    In some environments the Default Web Site may not be created when the IIS feature is installed as part of the prerequisites, this may be due to an organisational policy constraint. When installed the Portal and PortalAPI applications must be associated with the Default Web Site.

  5. The Reporting server is the only server that requires JAVA. Download the x64 related JRE installer, move it to a temporary location on the server and install the latest Java SE Runtime Environment. Older archived versions of Java, 21 onwards is OK to use.

  6. From the server Start Menu select Server Manager > Local Server then click the Computer Name.

  7. Click Advanced and select Environment Variables > System Variables.

  8. The JRE_HOME environment variable may already be defined, if so skip. this step. If not defined, create the JRE_HOME environment variable by clicking New ..., create the following e.g., JRE_HOME = C:\Program Files\Java\jre-xxxx or jdk-xxx as needed.

  9. The following required folders on their respective servers (local or remote). Should the Discover Reporting component and Microsoft SQL Server coexist you must give full control to the '\Users' account onto the SQLData folder.

    Server / Function Example Actual
    Discover installation D:\HCL Discover\
    MS SQLData H:\Data01\UserData\
    MS SQLLog G:\Tlog\

    Info

    Prior to any installation It is key that servers are pre-configured with a DNS-managed fully qualified domain name (FQDN) such as myserver.mydomain.com. Should no managed DNS be available at installation time, host files can be used but should not be a long term or production level solution.

    Additionally, if FQDNs can only be provided after installation using short names and or host files, were given at a later stage and installation was completed based on entries in the hosts file, amend with DNS managed FQDN's once available (see below Windows Registry entries)

    Windows Registry
    HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Unica Discover\Components\
    PROCESSINGSERVERS = CAN_SERVER_01.MYDOMAIN.COM|CAN_SERVER_02.MYDOMAIN.COM|CAN_SERVER_03.MYDOMAIN.COM
    
    HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Unica Discover\Components\
    REPORTDBSERVER = SQL_SERVER_01.MYDOMAIN.COM
    
    HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Unica Discover\Components\
    TMSSERVER = REP_SERVER_01.MYDOMAIN.COM
    
    HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Unica Discover\DataStore\AlertService\
    CanisterServers = CAN_SERVER_01.MYDOMAIN.COM|CAN_SERVER_02.MYDOMAIN.COM|CAN_SERVER_03.MYDOMAIN.COM
    
    HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Unica Discover\DataStore\AlertService\
    Monitors = REP_SERVER_01.MYDOMAIN.COM
    
    HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Unica Discover\DataStore\AlertService\
    PortalURL = http://REP_SERVER_01.MYDOMAIN.COM/Portal
    
    HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Unica Discover\DataStore\ReportServer\
    Host = SQL_SERVER_01.MYDOMAIN.COM
    
    HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Unica Discover\DataStore\TrackingService\
    TrackingSvcHost = https://REP_SERVER_01.MYDOMAIN.COM:9001/
    
    HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Unica Discover\DCMgmtSrv\
    MasterServer = localhost
    

    Info

    DMS will fail to start when using FQDN - e.g. REP_SERVER_01.MYDOMAIN.COM

    In the Discover Portal amend all hostnames (from short names to FQDNs) - both the 'Display Name' and the 'Host Name' fields - for all servers via the Discover Portal's 'Manage Servers' page

Install .Net Core Components

Follow the information provided in the Installing and configuring prerequisite software section of the documentation, these are required components. This will cover downloading and installing the following:

  • ASP.NET Core Runtime X.X.x
  • .NET Desktop Runtime X.X.x
  • .NET Runtime X.X.x

Warning

Failure to install these key components will lead to issues often identified in Windows Event Viewer and HCL Discover log files. An example og this will be where the database install will fail as these key components are required.

Install 12.2.1

  1. Open up File Explorer and navigate to where you have the HCL Discover install zip. Extract the ZIP HCL_Discover_12.2.1_Installer_Win.zip to a root drive as filenames are long and MS Windows has restrictions on length.

  2. Then navigate into the extracted folder HCL_Discover_12.2.1_Installer_Win\DISK1

  3. Right-click on 'DCSetup.exe' and select Run as Administrator. In some circumstances it may be required to unblock that file (right-click on 'DCSetup.exe', select 'Properties', click on the 'Unblock' button).

  4. Start the install process

  5. Accept the License Agreement

  6. Set the location where you wish to install the HCL Discover software

  7. Uncheck Processor Service

  8. Select Default Transport Pipeline (No HBR) in the Transport Pipeline option

  9. Set the Master Management Server. For the Portal server install this can be left as localhost, however it is best practice to enter the FQDN or IP of the Portal Server here.

  10. You can leave the Tracking Service options as they are

  11. To enable the ability to send reports, etc via email enter the FQDN or IP of your companies SMTP server which will be used

  12. Set the Report Database options next. If you are installing locally on the Portal server you can leave the setting as they are. Alternatively, if you are connecting to a shared SQL server, please change the option to Remote, ensure that the server FQDN or IP address is entered into the Server text box and the location on the server where the Database will be installed is configure correctly in the Path text box.

    Local

    Remote

  13. Do NOT create the Reporting databases (SQL) at this point (this step will be performed post-installation). Select No

  14. Leave the following screens as default

  15. Enter the FQDN or IP address of all processing servers

  16. Now install

Certificate

An SSL certificate will be required to access the Portal over HTTPS, this will be installed into Microsoft IIS. Generating the certificate should be inline with your organisations IT policies. A self signed certificate cannot be used and is generally not supported by modern browsers.

Using the cert and key files you can create the required pfx file using OpenSSL for installing into the Microsoft IIS server. OpenSSL should be a command available to most Linux environments, it will be available on the DNCA if unavailable elsewhere.

  1. With the .key and.crt files, use the example command below to create a .pfx file that can be installed into Microsoft IIS.

    Example openssl command

    openssl pkcs12 -export -out certificate.pfx -inkey privateKey.key -in certificate.crt

  2. With the .pfx file created, on the Windows server double-click the .pfx certificate and follow the on-screen instructions to import the certificate into MS Windows.

  3. Select the Default Web Site within IIS
  4. Select Bindings...
  5. Click Add for a new HTTPS binding
  6. Enter the IP and FQDN for the Discover Portal

  7. Select the SSL certificate: installed earlier

  8. Click OK and Close
  9. Using the commandline, execute the utility iisreset
  10. Start and stop the Discover as Administrator

Access the Portal

The Discover Portal will be available in the browser at https://mydomain-name.com/portal.

Install the Reporting Database

Follow the install database section, and return here.

Install Data Export Module

  1. To install the Discover Data Export module, in C:\HCL_Discover_Source\ unzip Unica_Discover_12.1_DataExport_Win.zip then run the file DCSetup.exe. Ensure the application is started with Administrator User rights and all Discover Services are stopped.

  2. During the installation, select 'No' to the question 'Do you want to only enable DataExport Component in the Discover Portal?'

  3. Once installation is complete, start all Discover services using the provided script.

    Windows event Logs - validate any errors and address

    • Log-in to the Discover Portal, http://localhost/portal, the first login takes a long time due to the DMS trying to reach all Processing servers and timing out.
    • Check the health of the Search Server at http://localhost:19000/
    • Check the health of the Search Server at http://localhost:38000/
    • Confirm that the defined servers (depending on how many Processing servers were added during installation) appear on the 'Manage Servers' page
    • Confirm that the Master server appears on the DMS page
  4. Define a new Data Export server via the Discover portal. To finish click Save.

  5. Stop all Discover services using the script provided, you will note in the Services viewer that the Discover Management Server service and the Transport Service need to be stopped manually.

  6. Using your organisations naming standards, take a backup of the Discover home directory, e.g., x:\HCL Backup\Discover 12.1.0 and HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Unica Discover

    Remember

    Remember to start all Discover services using the provided script once your backups are complete.

DOMDiff validation

  1. Validate the message Welcome to DOMDiffPatch Page is seen when accessing the URL http://localhost:38005/DOMDiffServer/PatchDOMWithDiffs this is to ensure that the JAVA_HOME variable is set correctly and working.

    Tip

    For further validation of the JRE_HOME setting, execute from a Windows command prompt version.bat located in the \HCL Discover\ApacheTomcat\bin folder. The output should be similar to the screenshot below.

Release Note Steps

Follow the release notes located within the installation package. Release notes aka readme files contain must follow steps required to enable features, functions and changes. You will see errors if these are not followed.

Post installation

  1. Update the following configuration files, <Discover_Home_Folder>\DiscoverCaptureSocket.cfg for statistics, and <Discover_Home_Folder>\System\ReplayServerProfile.xml for replay rules.

  2. Update the Replay Server Global Options at http://localhost:38000/GlobalOptions?xsl=1, e.g., InsertMissingOrCachedPages = 1.

Optional Steps

For ease of access when working with the Discover server, add the following directory locations to the Windows Explorer Quick Access toolbar:

  • <HCL_Discover_Home_Directory>\
  • <HCL_Discover_Home_Directory>\Logs\
  • <HCL_Discover_Home_Directory>\Portal\WebApp\temp_chart\Logs\

Additionally, adding the following application shortcuts to the Windows Taskbar may be useful as they will be frequently used:

  • Windows Command Prompt (with Administrator access)
  • Services
  • Event Viewer
  • Notepad (or other suitable text editor)
  • Regedit (Windows Registry Editor)
  • Start Discover Services
  • Stop Discover Services
  • Restart Discover Services