Administration guide to CLEAR Engine and Web UI

2024/1/20 |

An instance of Lucent Sky AVM server has two major components: CLEAR Engine and Web UI. By default, they are installed on the same server, but can also be installed on different servers as well. This guide covers the installation, configuration, administration, and removal of CLEAR Engine and Web UI.

In this article, you will learn how to:

  • Install CLEAR Engine and the Web UI as a standalone instance
  • Install CLEAR Engine and the Web UI as the first node of a new cluster
  • Install CLEAR Engine and the Web UI as a node in an existing cluster
  • Configure Internet Information Services (IIS) for Web UI
  • Install and uninstall licenses
  • Configure CLEAR Engine and Web UI settings
  • Uninstall CLEAR Engine and the Web UI

At the end, you will be able to install configure, manage, and uninstall of CLEAR Engine and the Web UI.

Prerequisites

  • Windows Communication Foundation (WCF) - CLEAR Engine communicate with its interfaces through WCF, using bindings including named pipes, TCP, and optionally other WCF channels.
  • Windows Server - CLEAR Engine runs as a Windows Service and Web UI runs on Internet Information Services (IIS). You might need to change settings of Windows Firewall to allow communications between CLEAR Engine and its interfaces.

System Requirements

Processor, memory, and hard disk space requirements:

  • Processor: two 1.6 GHz x64 processors
  • Memory: 4 GB
  • Hard disk space: 40 GB

CLEAR Engine can be installed on the following operating systems:

  • Windows Server 2022
  • Windows Server 2019
  • Windows Server 2016
  • Windows Server 2012 R2 (Standard, Datacenter)[^](## "Windows Server 2012 R2 has reached end of support on October 10, 2023.")

The following components are required:

  • .NET Framework: .NET Framework 3.5 SP1 and .NET Framework 4.8.
  • Desktop Experience: CLEAR Engine and the Web UI might work on Windows Server installations without Desktop Experience, but these scenarios are not supported.
  • Network Software: Supported operating systems for CLEAR Engine have built-in network software. CLEAR Engine supports the following network protocols: named pipe and TCP/IP.
  • Virtualization: CLEAR Engine is supported in virtual machine environments running on Hyper-V. Support for virtual machine environments running on other hypervisor-based virtualization software is provided "as-is".
  • Database: SQL Server 2014 or later. SQL Server 2019 Express is included in Lucent Sky AVM setup and can be installed as part of the setup process.

Other recommendations:

  • CLEAR Engine comes with its own JDK. It is recommended to install CLEAR Engine on a computer without any JDK or JRE installed.

Install CLEAR Engine and Web UI as a standalone instance

  1. Sign on with a local or domain administrator account. It is recommended to use the built-in local Administrator account for the installation process.
  2. Extract and execute the self-extracting file (CLEAR_x64.exe) in the CLEAR Engine setup package. It will create a CLEAR_x64 directory.
  3. Navigate to the CLEAR_x64 directory, right-click on Setup.bat, and select Run as administrator to launch the setup program.

    1. Welcome – Select Next.
    2. License – Review the end-user licensing agreement (EULA). If you accept the EULA, select Agree. Otherwise, select Decline to exit the setup program.
    3. Prerequisites – .NET Framework 3.5, .NET Framework 4.8 and Internet Information Services (IIS) 7.0 or higher are required components. To install these components, select Install Windows Components. If they have already been installed, select Skip.

      • Install Windows Components – Select Install Required Windows Features. Once the installation completes, select Next.
    4. Cluster - Select A Standalone Instance, then select Next.

      • Setup Instance - In Serial Number, enter the serial number of this instance. Then, select Next.
    5. Database - If you want to install and setup a new SQL Server Express instance for CLEAR Engine, select Install SQL Server. If you want to setup an existing SQL Server instance for CLEAR Engine, select Use Existing Database.

      • Install SQL Server – Select Launch SQL Server Setup to launch the setup program of SQL Server Express. Follow the setup program to install SQL Server Express, and the setup parameters have been preconfigured so you should be able to accept the default configurations. When the installation is completed, go back to Lucent Sky AVM server setup, and then select Next.
      • Setup SQL Server – Enter the FQDN, IP address, or the computer name, and instance name in SQL Server (for example, sqlserver.contoso.com\MSSQLSERVER, where sqlserver.contoso.com is the FQDN of the SQL Server, and MSSQLSERVER is the instance name), select the authentication mode, as well as username and password if necessary, and then select Next.
    6. CLEAR Engine – The path button indicates he default storage location. To choose a different storage location, select the path button and select the desired location. Then, select Next. The setup program may become unresponsive for several minutes during this process.
    7. Web UI – To install Web UI on the same server, enter the FQDN or IP (computer name such as ClearServer is not supported) of the Web UI in Web UI FQDN or IP address, then select Next. To install Web UI on another server or to skip its installation, select Skip.
    8. Complete – Lucent Sky AVM server setup has completed.

Install CLEAR Engine and Web UI as the first node of a new cluster

  1. Sign in with a local or domain administrator account. It is recommended to use the built-in local Administrator account for the installation process.
  2. Extract and execute the self-extracting file (CLEAR_x64.exe) in the CLEAR Engine setup package. It will create a CLEAR_x64 directory.
  3. Navigate to the CLEAR_x64 directory, right-click on Setup.bat, and select Run as administrator to launch the setup program.

    1. Welcome – Select Next.
    2. License – Review the end-user licensing agreement (EULA). If you accept the EULA, select Agree. Otherwise, select Decline to exit the setup program.
    3. Prerequisites – .NET Framework 3.5, .NET Framework 4.8 and Internet Information Services (IIS) 7.0 or higher are required components. To install them, select Install Windows Components. If they have already been installed, select Skip.

      • Install Windows Components – Select Install Required Windows Features. Once the installation completes, select Next.
    4. Cluster - Select Create a New Cluster, then select Next.

      • Setup Instance and Cluster - In Serial Number, enter the serial number of this instance. A new cluster key will be shown in the Cluster Key field. Write down this key as it is required to join other instances to this cluster. Then, select Next.
    5. Database - If you want to install and setup a new SQL Server Express instance for CLEAR Engine, select Install SQL Server. If you want to setup an existing SQL Server instance for CLEAR Engine, select Use Existing Database.

      • Install SQL Server – Select Launch SQL Server Setup to launch the setup program of SQL Server Express. Follow the setup program to install SQL Server Express, and the setup parameters have been preconfigured so you should be able to accept the default configurations. When the installation is completed, go back to Lucent Sky AVM server setup, and then select Next.
      • Setup SQL Server – Enter the FQDN, IP address, or the computer name, and instance name in SQL Server (for example, sqlserver.contoso.com\MSSQLSERVER, where sqlserver.contoso.com is the FQDN of the SQL Server, and MSSQLSERVER is the instance name), select the authentication mode, as well as username and password if necessary, and then select Next.
    6. CLEAR Engine – The path button indicates the default storage location. To choose a different storage location, select the path button and select the desired location. Leave the cluster key as it is. Then, select Next. The setup program may become unresponsive for several minutes during this process.
    7. Web UI – To install Web UI on the same server, enter the FQDN or IP (computer name such as ClearServer is not supported) of the Web UI in Web UI FQDN or IP address, then select Next. To install Web UI on another server or to skip its installation, select Skip.
    8. Complete – Lucent Sky AVM server setup has completed.

Install CLEAR Engine and the Web UI as a node in an existing cluster

  1. Sign on with a local or domain administrator account. It is recommended to use the built-in local Administrator account for the installation process.
  2. Extract and execute the self-extracting file (CLEAR_x64.exe) in the CLEAR Engine setup package. It will create a CLEAR_x64 directory.
  3. Navigate to the CLEAR_x64 directory, right-click on Setup.bat, and select Run as administrator to launch the setup program.

    1. Welcome – Select Next.
    2. License – Review the end-user licensing agreement (EULA). If you accept the EULA, select Agree. Otherwise, select Decline to exit the setup program.
    3. Prerequisites – .NET Framework 3.5, .NET Framework 4.8 and Internet Information Services (IIS) 7.0 or higher are required components. To install them, select Install Windows Components. If they have already been installed, select Skip.

      • Install Windows Components – Select Install Required Windows Features. Once the installation completes, select Next.
    4. Cluster - Select Join an Existing Cluster, then select Next.

      • Setup Instance and Cluster - In Serial Number, enter the serial number of this instance. In Cluster Key, enter the cluster key of the cluster this instance will join. Then, select Next.
    5. Database - If you want to install and setup a new SQL Server Express instance for CLEAR Engine, select Install SQL Server. If you want to setup an existing SQL Server instance for CLEAR Engine, select Use Existing Database.

      • Install SQL Server – Select Launch SQL Server Setup to launch the setup program of SQL Server Express. Follow the setup program to install SQL Server Express, and the setup parameters have been preconfigured so you should be able to accept the default configurations. When the installation is completed, go back to Lucent Sky AVM server setup, and then select Next.
      • Setup SQL Server – Enter the FQDN, IP address, or the computer name, and instance name in SQL Server (for example, sqlserver.contoso.com\MSSQLSERVER, where sqlserver.contoso.com is the FQDN of the SQL Server, and MSSQLSERVER is the instance name), select the authentication mode, as well as username and password if necessary, and then select Next.
    6. CLEAR Engine – The path button indicates he default storage location. To choose a different storage location, select the path button and select the desired location. Verify the cluster key is correct. To change the cluster key, select the cluster key button. Then select Next. The setup program may become unresponsive for several minutes during this process.
    7. Web UI – To install Web UI on the same server, enter the FQDN or IP (computer name such as ClearServer is not supported) of the Web UI in Web UI FQDN or IP address, then select Next. To install Web UI on another server or to skip its installation, select Skip.
    8. Complete – Lucent Sky AVM server setup has completed.

Configure Internet Information Services (IIS) for Web UI

  1. Open Internet Information Services (IIS) Manager. In the Connections pane, select the server that has Web UI installed.
  2. In Features View, double-click Server Certificates. For the SSL binding of Web UI, you can choose to use a self-signed certificate, to import an existing certificate, or to create a certificate request.

    • Creating a self-signed certificate – In the Actions pane, select Create Self-Signed Certificate…. In the Create Self-Signed Certificate dialog, enter a friendly name for the certificate, for example, Lucent Sky AVM Web UI.
    • Importing an existing certificate – In the Actions pane, select Import… and follow the on-screen instructions.
    • Creating a certificate request – In the Actions pane, select Create Certificate Request… and follow the on-screen instructions.
  3. Under Connections, expand the server that has Web UI installed, expand Sites, right-click on CLEAR Web, and then select Edit Bindings…
  4. In the Site Bindings dialog, select Add… In the Add Site Binding dialog, select https in the Type drop-down list. If necessary, change the IP address, Port, and specify a Host name. Select the certificate created in last step in the SSL certificate drop-down list, and then select OK.
  5. Select the http binding, and select Remove. Select Close to close the Site Bindings dialog.
  6. Right-click on CLEAR Web, select Manage Website, and then select Start.

Install Lucent Sky AVM license

A valid license must be installed prior to scanning an application. To learn more about installing Lucent Sky AVM license to the CLEAR Engine instance, view the following article in the Lucent Sky Knowledge Base:
Install Lucent Sky AVM license

Optional tasks

After you have installed CLEAR Engine and the Web UI, you may want to complete these optional tasks depending on your environment:

  • Enable long path support

    Consider enabling long path support if you need to scan applications developed on non-Windows operating systems. To learn more about installing Lucent Sky AVM license to the CLEAR Engine instance, view the following article in the Lucent Sky Knowledge Base:
    Enable long path support

  • Exclude CLEAR Engine files from antivirus scanning

    Excluding CLEAR Engine files from antivirus scanning can improve performance. To learn more about installing Lucent Sky AVM license to the CLEAR Engine instance, view the following article in the Lucent Sky Knowledge Base:
    Exclude CLEAR Engine files from antivirus scanning

  • Configure package repositories

    Configuring custom package repositories can make storage maintenance easier. To learn more about configurating custom package repositories, view the following article in the Lucent Sky Knowledge Base:
    Configure package repositories

Deactivate CLEAR Engine license

Deactivating CLEAR Engine license allows moving the license to another server. To learn more about uninstalling Lucent Sky AVM license from the CLEAR Engine instance, view the following article in the Lucent Sky Knowledge Base:
Install Lucent Sky AVM license

Configure CLEAR Engine and Web UI settings

Both CLEAR Engine and the Web UI can be custom configured through configuration files. To learn more about configuring settings of CLEAR Engine and the Web UI, view the following article in the Lucent Sky Knowledge Base:
Configure CLEAR Engine and Web UI settings

Backup and restore CLEAR Engine settings and data

CLEAR Engine settings and data can be backed up and restored individually or along with the operating system. To learn more about how to backup and restore CLEAR Engine settings and data, view the following article in the Lucent Sky Knowledge Base:
Backup and restore a Lucent Sky AVM instance or cluster

Remove CLEAR Engine and Web UI

  1. Sign in with a local or domain administrator account.
  2. Open Windows PowerShell as administrator.
  3. Enter the following commands:

     cd "C:\ProgramData\Lucent Sky\CLEAR Engine\Maintenance\Current"
     .\Setup.bat -m
    
  4. Select Remove CLEAR Engine. This will remove the Windows service. To remove CLEAR Engine completely from the system, delete the directory C:\Program Files\Lucent Sky\CLEAR Engine.

  5. Select Remove Web UI. This will remove the IIS Application Pool and Site. To remove Web UI completely from the system, delete the directory C:\Program Files\Lucent Sky\CLEAR Web.

If this is a standalone instance, follow these steps to remove its data from the system:

  1. Open Windows PowerShell as administrator.
  2. Enter the following command:

     # Replace .\SQLEXPRESS if using a custom SQL Server instance
     $sqlInstance = ".\SQLEXPRESS"
     sqlcmd -S $sqlInstance -Q "drop database [SkyAnalyzer]"
    
  3. Enter the following command:

     Remove-Item "C:\ProgramData\Lucent Sky" -Recurse
    

If this is the last node in the CLEAR Engine cluster, follow these steps to remove its data from the system:

  1. On the server hosting the cluster database, sign in with a local or domain administrator account.
  2. Open Windows PowerShell as administrator.
  3. Enter the following command:

     # Replace .\SQLEXPRESS if using a custom SQL Server instance
     $sqlInstance = ".\SQLEXPRESS"
     sqlcmd $sqlInstance -Q "drop database [SkyAnalyzer]"
    
  4. On the server hosting the cluster storage, sign in with a local or domain administrator account.
  5. Open Windows PowerShell as administrator.
  6. Enter the following command:

     # Replace C:\ProgramData\Lucent Sky if using a custom file system storage location
     $fileSystemStorage = "C:\ProgramData\Lucent Sky\CLEAR Engine"
     Remove-Item $fileSystemStorage -Recurse