Kofax Insight: Installation Guide
Kofax Insight: Installation Guide
Kofax Insight: Installation Guide
Installation Guide
Version: 6.3.0
Date: 2020-09-10
© 2013–2020 Kofax. All rights reserved.
Kofax is a trademark of Kofax, Inc., registered in the U.S. and/or other countries. All other trademarks
are the property of their respective owners. No part of this publication may be reproduced, stored, or
transmitted in any form without the prior written permission of Kofax.
Table of Contents
Preface.......................................................................................................................................................... 5
Product documentation.......................................................................................................................5
Offline documentation.............................................................................................................. 6
Chapter 1: Introduction.............................................................................................................................. 8
Insight Web Applications.................................................................................................................. 11
Insight Data Services....................................................................................................................... 12
Insight Scheduler.............................................................................................................................. 12
Chapter 2: System requirements.............................................................................................................14
Server software.................................................................................................................................14
Microsoft packages required................................................................................................. 14
IIS web server....................................................................................................................... 14
Metadata repository............................................................................................................... 16
Insight license................................................................................................................................... 16
Databases......................................................................................................................................... 16
Administration database........................................................................................................ 17
Project databases.................................................................................................................. 17
Multi-tenant database............................................................................................................ 17
Combine Administration, Meta, and Data databases............................................................17
Database access rights......................................................................................................... 18
Port requirements............................................................................................................................. 19
Multi-tenancy overview..................................................................................................................... 20
Chapter 3: Installation.............................................................................................................................. 22
Install Kofax Insight.......................................................................................................................... 22
Run Insight Installation Manager..................................................................................................... 23
General settings.....................................................................................................................23
Insight Web Applications IIS Settings................................................................................... 25
Insight Data Services Settings.............................................................................................. 26
Scheduler Service Settings................................................................................................... 27
Activate the product license............................................................................................................. 28
Change Insight configuration after installation................................................................................. 28
Change the encrypted key after installation.................................................................................... 29
Run a silent installation.................................................................................................................... 29
Silent installation sample configuration files..........................................................................30
Set up Insight in a three-tier architecture........................................................................................ 34
3
Kofax Insight Installation Guide
4
Preface
This guide includes instructions for installing and upgrading Kofax Insight, and for activating the product
license.
Product documentation
1
The Kofax Insight documentation set is available online at the following URL :
http://docshield.kofax.com/Portal/Products/en_US/Insight/6.3.0-48om56k3fr/Insight.htm
1
You must be connected to the Internet to access the full documentation set online. For access without an
Internet connection, see "Offline documentation."
5
Kofax Insight Installation Guide
Offline documentation
To make the documentation available for use in offline mode (without an active Internet connection),
obtain the documentation.zip file from the product package that you downloaded from the Kofax
Fulfillment Site. The product package includes the following documentation files for offline use:
• KofaxInsightDocumentation_6.3.0_EN.zip
Contains the entire product documentation set in English.
• KofaxInsightDocumentation_6.3.0_JA.zip
Contains the entire product documentation set in Japanese.
For each language, the .zip files include the following folders:
• The print folder contains the Kofax Insight Installation Guide and Kofax Insight Administrator's Guide
for Azure.
• The help folder contains Help for Kofax Insight Admin Console, Help for Kofax Insight Studio, Help for
Kofax Insight Data Loader, Help for Kofax Insight Multi-Tenant Console, Help for Kofax Insight Viewer,
Help for Kofax Insight Themes and Formats, API Online Help, and Tutorial and Sample Project Help.
1. Obtain the compressed documentation package for the required language from the Kofax Insight
6.3.0 product package that you downloaded from the Downloads page on the Kofax Fulfillment Site.
2. Create the Documentation folder to extract the contents of the documentation .zip file to the
following location:
[drive:]\Program Files\Kofax\Insight 6.3.0\HtmlInsight\Documentation
3. Start any Insight application and click the Help icon to open the help in a separate browser window.
6
Kofax Insight Installation Guide
To use the PDF documentation offline, you can open it from the Documentation folder or from another
location on your computer. When the offline documentation is installed for Kofax Insight according to these
instructions, the product will use the offline version of the documentation by default, even if an active
Internet connection exists.
Note The Documentation folder is not removed automatically in case the product is uninstalled, and you
need to delete it manually.
7
Chapter 1
Introduction
This document describes the components and its technical architecture for Kofax Insight 6.3.0.
Kofax Insight is a browser-based system that runs on HTML5/JavaScript supported browsers. The server
components are built on the Microsoft .NET Framework and run on Windows (64-bit)/IIS servers.
The following diagram displays the architecture of Insight deployed in a single-tenant mode. In this
document, "DB" is used to denote "database."
8
Kofax Insight Installation Guide
The following diagram shows the architecture of Insight deployed in a multi-tenant mode.
9
Kofax Insight Installation Guide
Each tenant can be set up with the Kofax Insight Multi-Tenant Console application. Once a tenant is set
up, use the following URL to access the Insight tenant environment:
http(s)://<tenant_id>.<host:port>/Insight/[Admin|Studio|View|Themes|
DataLoader]
For example, if Insight is set up on a domain named MyInsight and a tenant with a tenant ID called
tenant2, tenant2 can access Insight using the following URL:
http://tenant2.MyInsight.com/Admin
The Tenant (Customer) admin should have a record in the DNS for the subdomain that points to the same
IP as the domain.
When an Insight application gets a request, Insight reads the tenant ID and sends it to the Data Service as
an additional parameter.
Insight Data Service reads the tenant ID from parameters and then retrieves the connection string to the
Admin DB of the tenant from the Insight MT database. Insight authenticates the user in the same way as
in a single-tenant mode.
10
Kofax Insight Installation Guide
11
Kofax Insight Installation Guide
Insight Scheduler
The Insight Scheduler is a Windows service that launches a Scheduler-Data Loader EXE that loads the
data from external data sources into the Insight Data Mart (Insight project data database).
12
Kofax Insight Installation Guide
13
Chapter 2
System requirements
The system requirements (hardware and software) for Kofax Insight are listed in the Kofax Insight
Technical Specifications document, which is available from the Kofax Insight 6.3.0 Support pages on the
Kofax website. We recommend that you review the document carefully before installing your product.
This chapter is intended to supplement the Technical Specifications document and to offer details about
databases, ports, and related requirements.
Server software
See the Kofax Insight 6.3.0 Technical Specifications for information about requirements and supported
versions for the following:
• Operating system
• .NET Framework
• HTML 5 Browser
• IIS Web Server
• Database management system
Also, the Microsoft .NET Framework 4.7.2 or later must be pre-installed on the server prior to installing
Insight.
On the server where Insight is installed, you are encouraged to install Microsoft Access Database
Engine 2010 Redistributable to work with Excel files (.xls or .xlsx) as a data source, create records on
files as data sources, or to load and use custom shapes for the Map component.
You can obtain the Microsoft Access Database Engine from the Microsoft website and install it after
Insight is set up.
14
Kofax Insight Installation Guide
Important When you configure Insight manually on IIS, the application pool (default or custom) must
be .NET v4.x. For Managed pipeline mode, select Integrated.
When using a custom application pool, you must have a dedicated application pool that contains the
ChartSnapshotService. If you use an Active Directory account for an application pool, it must have the
same level of permissions as the NetworkService. We recommend that the application pool has the idle
timeout set to zero, so that it always remains active.
Configure IIS
1. Using Control Panel, navigate to Administrative Tools > Server Manager.
2. In Server Manager, select Add roles and features.
3. In the Add roles and features wizard, under Server Roles, select Web Server (IIS) and expand the
list to select the following options.
• Common HTTP features:
• Static Content
• Default Document
• HTTP Errors
• HTTP Redirection
• Health and Diagnostics
• HTTP Logging
• Security
• Request Filtering
• Basic Authentication
• Client Certificate Mapping Authentication
• IIS Client Certificate Mapping Authentication
• URL Authorization
• Windows Authentication
• Application Development
• .NET Extensibility (use the latest version)
• ASP.NET (use the latest version)
• ISAPI Extensions
• ISAPI Filters
• Management Tools
• IIS Management Console
• IIS Management Scripts and Tools
• Management Service
4. Click Next to configure the Features and select the following options:
• .NET Framework 4.x (select the latest version)
• WCF Services
• HTTP Activation
5. Click Install to install the selected roles and features.
15
Kofax Insight Installation Guide
Important For IIS 10 on Windows 2016, when you add Role Services for the server, select all the
features related to the IIS Web Server. Later, when IIS is installed, you may remove all unnecessary
features.
Metadata repository
Kofax Insight stores its metadata and calculated data in either Oracle, Microsoft SQL Server, or MySQL
databases. The database can be located on a dedicated server or on the same shared server with Insight.
Insight license
Although you can perform a new Insight 6.3.0 installation without a license, you cannot use the product
until the license is activated. When upgrading to Insight 6.3.0 from version 5.x or 6.x, you can continue
with the current license without reactivating it. If you need help to obtain an Insight license, contact the
Insight Sales team.
To use multi-tenancy, you need to get a multi-tenant license, which is available separately.
Databases
The Insight Application server and Scheduler must be able to access the data to be analyzed. If the
databases are accessed over a network connection, you must verify the necessary security/firewall
settings and the availability of the drivers required for the target databases.
16
Kofax Insight Installation Guide
Administration database
The Administration database stores administrative data related to the Insight environment and projects,
including users, roles, filtering, alert messages, logs, themes and formats. The Administration database
contains connection to the Project Meta database, and information about other databases is stored in the
Meta database of each project.
One Administration database exists per Insight server. You can use the MS SQL Server, Oracle, or
MySQL for the Administration database.
Project databases
Each Insight project consists of the following databases:
• Meta database: Stores configuration information about the documents that make up a project. The
project documents include data sources, records, metrics, translation tables, view (dashboard), reports,
execution plans, file processor, processes, parameters, constants, and accelerators.
No data is stored in the Meta database, which stores localization strings for project documents.
• Data database: Stores the data related to processed records, metrics, and other project documents.
A new table is created for each document, and the database schema is updated as documents are
added, modified, or removed.
• Staging database (optional): Stores the data for external files parsed by the file processor. Examples
include XML, CSV or Excel files.
Multi-tenant database
If you have a Multi-tenant license, see Multi-tenancy overview in this guide for details.
17
Kofax Insight Installation Guide
default database schemes, such as Meta, Data, and Admin. Later, when configuring the connection, you
can use a single database and different users.
MS SQL Server
The database administrator can create three databases. An SQL user should have privileges (or have a
membership) in the following groups:
• db_datareader
• db_datawriter
• db_ddladmin
Also, the database administrator can create an SQL user with the privilege of creating databases (or
have a membership of the db_creator role). In this case, Insight creates databases automatically and no
additional assignment of rights is required.
Database Connectors
No additional drivers or connectors are required for Insight to connect to the MS SQL Server.
Oracle
Database Connectors
Insight requires the Oracle Data Provider for .NET (ODP.NET), which is available in the Oracle Data
Access Components (ODAC) for Windows Downloads pages on the Oracle website. Be sure to select the
ODP.NET option when you perform the Oracle database installation.
Note If you use "Xcopy," make sure that you complete all installation steps appropriately, including
registering the libraries in .NET and the registry.
• CREATE SESSION
• CREATE TABLE
• CREATE PROCEDURE
• CREATE SEQUENCE
The user must have an appropriate tablespace (also temporary tablespace) quota. Indexes will be stored
in the same tablespace.
Example:
18
Kofax Insight Installation Guide
IDENTIFIED BY <PASSWORD>
GRANT
CREATE SESSION
CREATE TABLE
CREATE PROCEDURE
CREATE SEQUENCE
TO <USER NAME>
Machine-wide configuration is no longer supported beginning with ODAC 18c. Administrators can still
place ODP.NET in the GAC and add the configuration section handler and DbProviderFactory information
to machine.config manually to override the ODP.NET settings for individual applications. For details, see
the Oracle support website.
MySQL
MySQL Connector/NET is required only if you use MySQL. On the MySQL Connector/NET website, select
a version that is compatible with your version of MySQL.
Port requirements
Insight uses the ports listed in the table.
19
Kofax Insight Installation Guide
Multi-tenancy overview
In Insight, you can use multi-tenancy to deploy multiple customers (tenants) on the same set of Insight
servers where each tenant's data and configuration is protected from other tenants. At the same time,
each tenant can configure its own projects, users, authentication, roles, themes, and other parameters.
Each tenant has its own Insight databases (Admin DB, Meta DB, Data DB), and information about all
tenants is stored in the Insight MT (Multi-tenant) DB.
20
Kofax Insight Installation Guide
The following overview diagram shows the basic principles of multi-tenancy in Insight.
21
Chapter 3
Installation
This chapter includes instructions for installing Kofax Insight. Installation is a two-part process:
1. Run the Insight installer to copy the necessary files to the server.
2. Run the Insight Installation Manager to create and configure the Insight database and Insight
websites on IIS.
Insight includes a silent installer for performing an Insight installation without manual input. See Run a
silent installation.
Important If you reinstall or upgrade Insight, the procedure may overwrite existing configuration files.
Therefore, before performing any of these procedures, be sure to back up any configuration files that
contain custom settings. After completing the Insight upgrade, you need to manually reapply any
required customization to the new configuration files.
22
Kofax Insight Installation Guide
Important If you install multiple instances of Insight for high availability, share access to the Data
root folder so that all Insight instances can access it.
12. On the Ready to install Kofax Insight page, click Install to begin the installation.
13. On the Completed the Kofax Insight Setup Wizard page, click Finish.
The Insight Installation Manager appears. For instructions, continue to the section Run the Insight
Installation Manager.
Note After a successful installation, all installation steps are logged to a file in the log folder
specified previously on the "Custom setup" page. If the installation fails, you can check the
respective log in the Event Viewer.
If you are new to Insight, we encourage you to review Kofax Insight Tutorial to get started with the
product.
In most cases, the Insight Installation Manager is launched automatically after you run the Insight installer
to copy files to the server. You can also launch the Insight Installation Manager from your Insight program
folder. When you run the Installation Manager after the first successful configuration, you need to provide
credentials for any Admin user. Also, you can use Windows authentication.
If you need to run the Insight Installation Manager to repair configuration settings or change IIS settings,
start the Command Prompt and run the following command:
<installation folder>\Insight_6.X.X\InstallationManager
\Altosoft.Insight.InstallManager.exe /i
General settings
When the Insight Installation Manager is launched, you are prompted to set up a database for Admin
Console to store information.
23
Kofax Insight Installation Guide
Note If you select to deploy Insight in multi-tenant mode, you need to add the license and configure
tenants using the Multi-Tenant Console application. To log in as a tenant administrator, use the
MTAdmin user name and enter the password.
2. Select the High Availability check box to turn the high availability mode on. For details, see the
Kofax Insight Technical Architecture and High Availability Setup guide.
3. Connection Type: The server to use (Microsoft SQL, Oracle, or MySQL).
4. SQL Server Name: Enter the server name or the TNS name for the database server.
If you use MySQL or Oracle, ensure that you have the necessary database drivers installed prior to
installing Insight.
For the Microsoft SQL server, you can use the Windows authentication.
5. Login and Password: Provide the login credentials for an Administration database.
For the Oracle database, you need to create a user with privileges before installation. For the
Microsoft SQL and MySQL databases, Insight creates new databases automatically if they do not
exist, but the user must have required privileges for creating a database. As another option, you can
create the Administration database before installation.
6. Select the Administration Database Name to assign a name.
7. Use Additional Connection String to define additional parameters for a connection string.
8. Select the Use Custom Key check box to encrypt the Insight connections for security purposes. Two
options are available:
• Generate New Key: In this case, the key is generated and stored in a local folder with Insight
licenses. To save the key also in the Data Folder, select the respective check box.
• Use Existing Key: Select this option and click Open file to specify the path to an existing
encryption key. In this case, the key is copied to a local folder with Insight licenses.
9. Select the Save to Data Folder check box to save the key in the Data Folder. This is required for the
purposes of high availability: If you change the key, you do not need to change it for each computer.
The following connections are encrypted:
• Connection to the Administration database
• Connection document from Admin Console
• Connection to the project meta and data databases
• Connection used in the Data Source document to the databases
Important: If the generated file in the Data Folder gets lost, you will not be able to work with all of
these connections.
You may later change the generated key by running the Insight Installation Manager or through the
silent installation.
24
Kofax Insight Installation Guide
10. Under the Localization group, use the drop-down lists to set Insight Locale and Viewer Locale. By
default, English locale is selected.
25
Kofax Insight Installation Guide
Important We strongly recommend that you use an SSL connection. Use IIS Manager
to create or import SSL certificate before you continue with the Installation Manager. For
information on how to set up SSL on IIS, see the Microsoft support website.
If you use Https binding type, select the SSL Certificate from the list.
After you save the changes, the Use TLS/SSL check box is automatically selected. To
change the SSL settings after the installation is finished, see the procedure in Change Insight
configuration after installation.
c. Click OK to save the changes and close the dialog box.
26
Kofax Insight Installation Guide
5. Optional. Select the Use only for Sheduler service check box to apply the remote service settings
only for the Scheduler service.
6. Click Next.
The Scheduler Service Settings screen appears.
27
Kofax Insight Installation Guide
3. Click Next and review the setup details. After reviewing, click Next. To make changes, click
Previous to return to the previous pages.
A list of installed components appears while the installation is in progress.
4. When notified that the Insight 6.3.0 installation is complete, click Next. Select Admin Console to
activate the product license. Also, you can select one of the following options.
• Use Manage Settings to update the Insight IIS settings or the Insight Admin database.
• Use Admin Console to activate the product license and configure the projects, users, roles, and
rights.
• Setup Kofax Analytics Project to start the Kofax Analytics installation wizard. For details, see
Help for Insight Admin Console.
• Use Exit to clear the notification message and return to the desktop.
Important Before proceeding to the next section, we recommend that you check for and apply any
fix packs that may be available for Insight 6.3.0.
28
Kofax Insight Installation Guide
5. Follow the procedure to update the settings as described in Run the Insight Installation Manager.
Note The /q runs the Insight installer in silent mode (no user interface).
3. To specify the log folder, add the argument LOGFOLDER="<folder>" to the command.
Example:
msiexec /i KofaxInsightSetup_6.3.0.0.0.NNNN_x64.msi /quiet LOGFOLDER="D:
\Temp"
where "D:\Temp" is the folder where the log files will be stored.
To specify the data folder, add the argument DATAFOLDER="<folder>" to the command.
Example:
msiexec /i KofaxInsightSetup_6.3.0.0.0.NNNN_x64.msi /quiet DATAFOLDER="D:
\Temp"
where "D:\Temp" is the folder where the data files will be stored.
29
Kofax Insight Installation Guide
4. To define the Insight components for installation, use the following arguments.
a. Set the installation type parameter as follows: INSTALLATION_TYPE="Custom"
b. Define the component for installation:
• INSTALLATION_TYPE_I: Web Application
• INSTALLATION_TYPE_S: Scheduler
• INSTALLATION_TYPE_W: WcfDataService
To install the component, set the value to 1. Otherwise, set the value to 0.
For example, to install the Web Application and the Scheduler, run the following command:
msiexec /i KofaxInsightSetup_6.3.0.NNNN_x64.msi /q
INSTALLATION_TYPE="Custom" INSTALLATION_TYPE_I="1" INSTALLATION_TYPE_S="1"
INSTALLATION_TYPE_W="0"
Note When you install WcfDataService, the Web Application is also installed, even though the
value for Web Application is set to 0. This exception provides a means for printing the reports in
PDF.
Note In silent mode, the installer uses InstallManagerSettings.xml to obtain the configuration
settings that otherwise would be entered from the Installation Manager user interface.
30
Kofax Insight Installation Guide
31
Kofax Insight Installation Guide
</AuthSettings>
<InsightLocale>en-us</InsightLocale>
<ViewerLocale></ViewerLocale>
<SchedulerSettings LogOnAsNetworkService="True" LogOnAsAccount=".\UserName"
LogOnAsPassword="password"
UseWindowsAuthentication="False" UserName="Administrator" Password="password">
</SchedulerSettings>
<!--Uncomment RemoteInsightDataserviceSettings for remote application service-->
<!--<RemoteInsightDataserviceSettings Host="Host" Port="Port" UseSSL="False"
UseOnlyForScheduler="False|True">
</RemoteInsightDataserviceSettings>-->
</InstallSettings>
Oracle
<?xml version="1.0" encoding="UTF-8"?>
<InstallSettings>
<InstallDirectory>C:\Program Files\Kofax\Insight 6.3.0</InstallDirectory>
<HighAvailability>True</HighAvailability>
<DBSettings>
<ConnectionType>Oracle</ConnectionType>
<AuthTNS>AuthTNS</AuthTNS>
<AuthUser>AuthUser</AuthUser>
<AuthPassword>AuthPassword</AuthPassword>
<AdditionalConnectionString>AdditionalConnectionString</AdditionalConnectionString>
</DBSettings>
<WebDirContext CreateAppPool="True" CreateWebSite="False" Port="80" Host="hostname"
UseSSL="False">
32
Kofax Insight Installation Guide
MySQL Server
<?xml version="1.0" encoding="UTF-8"?>
<InstallSettings>
<InstallDirectory>C:\Program Files\Kofax\Insight 6.3.0</InstallDirectory>
<HighAvailability>True</HighAvailability>
<DBSettings>
<ConnectionType>MySQL</ConnectionType>
<AuthDBName>Insight_DB</AuthDBName>
<ServerName>Insight_Server</ServerName>
<User>sa</User>
<Password>sa</Password>
<AdditionalConnectionString>AdditionalConnectionString</AdditionalConnectionString>
</DBSettings>
<WebDirContext CreateAppPool="True" CreateWebSite="False" Port="80" Host="hostname"
UseSSL="False">
<AppPool NetworkService="True" Identity=".\administrator" Password="password"/>
<ApplicationPoolName>ASP.NET v4.0</ApplicationPoolName>
<WebSiteName>Default Web Site</WebSiteName>
</WebDirContext>
<Security UseCustomKey="True" KeyPath="c:\temp\CSEncrypt.key"
SaveToDataFolder="True"/>
<Projects UpdateAll="False">
</Projects>
<AuthSettings Login="Administrator" Password="password">
</AuthSettings>
<InsightLocale>en-us</InsightLocale>
<ViewerLocale></ViewerLocale>
<SchedulerSettings LogOnAsNetworkService="True" LogOnAsAccount=".\UserName"
LogOnAsPassword="password"
UseWindowsAuthentication="False" UserName="Administrator" Password="password">
</SchedulerSettings>
<!--Uncomment RemoteInsightDataserviceSettings for remote application service-->
<!--<RemoteInsightDataserviceSettings Host="Host" Port="Port" UseSSL="False"
UseOnlyForScheduler="False|True">
</RemoteInsightDataserviceSettings>-->
</InstallSettings>
33
Kofax Insight Installation Guide
See the Technical Architecture and High Availability Setup Instructions in the Insight documentation folder
for more information.
34
Kofax Insight Installation Guide
4. Click Install.
The installer copies the files to the selected folder and a completion message appears when the
process is finished.
5. Click Finish to close the installer and launch the Insight Installation Manager.
6. Enter the necessary information about the IIS server on the Web Server layer.
7. Select the Use remote Insight Data Service check box, enter the Host and TCP port for the app
server layer, and click Next.
These settings are necessary to ensure that the web server is able to access the app server.
35
Kofax Insight Installation Guide
4. Click Install.
The installer copies the files to the selected folder and a completion message appears when the
process is finished.
5. Click Finish to close the installer and launch the Insight Installation Manager.
6. Enter the Database Connection information.
7. Enter the IIS information for the Insight Data Services.
8. Enter the Insight Administrator login credentials and select the Windows authentication check box
as applicable.
9. Review the IIS settings and click Next.
10. Configure the Scheduler settings and click Next.
The Insight app server components are installed.
11. When notified that the Insight 6.3.0 installation is complete, click Next, and then click Exit.
The three-tier installation is completed.
Upgrade Insight
If you reinstall or upgrade Insight, the procedure may overwrite existing configuration files. Therefore,
before performing any of these procedures, be sure to back up any configuration files that contain custom
settings. After completing the Insight upgrade, you need to manually reapply any required customization
to the new configuration files.
Before starting the upgrade process, we strongly recommend that you back up the Insight Admin and
project databases.
Important To perform a direct upgrade to Insight 6.3.0, you must have version 5.4.0 or later. To upgrade
from a version earlier than 5.4.0, you must first upgrade to version 5.4.0, and then to 6.3.0.
36
Kofax Insight Installation Guide
5. Follow the procedure described in Run the Insight Installation Manager, and make sure to do the
following:
a. Under Insight Engine Database Configuration, specify the connection and authentication
information for the existing Insight Admin database.
b. Under Databases, specify the name of the existing Insight Admin database.
c. Provide configuration settings. Under Insight Data Services Settings, you must specify the
Insight Administrator password (even if you plan to retain the same password from the previous
version).
d. Finish the installation.
The Admin database is upgraded to the format required for Insight 6.3.0. Once the upgrade is
finished, your existing Insight projects are available in Admin Console and Studio. To upgrade
your projects, see the next section.
e. Check for the latest fix pack for Insight 6.3.0 and apply it if it is available.
Note As another option, you can upgrade an existing project in Studio. When you select a project
created in an earlier version of Insight, Studio automatically prompts you to convert the project for use in
the current version.
37
Kofax Insight Installation Guide
Perform the Insight 6.3.0 installation according to the instructions in Install Kofax Insight and Run the
Installation Manager, but with the exceptions noted in this section.
1. Before starting the installation:
a. Use IIS Manager to create a new web site, which is available for selection when you run the
Insight 6.3.0 Installation Manager. Select the new port. Or you can skip this step and create the
site from the Installation Manager.
b. Use the current version of Insight to export your existing projects and admin settings.
Note Also, you can clone databases and use existing clones for the new Insight version. In
this case the databases are updated automatically to the new version. But in this case you
should open each project in the Admin database, do not update the existing project, but click
Change and then provide the credentials to the copied project databases.
2. When you run the Insight 6.3.0 installer, select Install separately on the screen that appears after the
license agreement.
3. Run the Installation Manager but use the new Admin database for the new Insight version.
4. Start Insight 6.3.0 Admin Console, create a new project, and then import the projects and Admin
settings that were exported from the earlier version of Insight.
38
Kofax Insight Installation Guide
the Insight build number listed in the "Version information" section in the Kofax Insight Release Notes
6.3.0.
To install the Fix Pack, copy the .msp file in the Insight folder, then open the InsightWeb.Dockerfile
and Scheduler.Dockerfile for editing and uncomment the following line:
#RUN Start-Process msiexec.exe -ArgumentList '/update', 'C:\Insight
\KofaxInsight_6.3.0.X.0.YYYY_x64.msp', '/qn' -NoNewWindow -Wait, where X is the
fix pack number, and YYYY stands for the build number.
In InsightWeb.Dockerfile, add the RUN C:\\Insight\\install_fonts.ps1 string after the
COPY Insight C:\\Insight string.
If you use Windows 2016, in InsightWeb.Dockerfile, comment the RUN C:\\Insight\
\install_fonts.ps1 line as follows: #RUN C:\\Insight\\install_fonts.ps1
7. Optional. Insight on Docker is supported only on Microsoft SQL Server. To use a new database,
complete the following steps:
a. On Microsoft SQL server, create a new Administration database.
b. Open the [drive]:<DockerFolder>/DatabaseScripts/MS SQL folder and execute the
respective script in the created database:
• For single-tenant mode: CreateInsightDB.sql
• For multitenant mode: CreateMultiTenantDB.sql
39
Kofax Insight Installation Guide
8. Open the Docker-compose.yml file for editing to define the database and user settings.
• For a single tenant environment:
a. Define the connection for
DataService_Insight.Admin.MasterDBConnectionString in the following format:
Data Source=<datasource>; Initial Catalog=<DBName>;
Password=<userpassword>; User Id=<username>
b. For a new Administration database, define the Administrator password in the
DataService_Insight.Password setting.
c. Specify the Administrator password for the Scheduler in the Scheduler_Password setting.
Note If you created a new database, the Administrator password for the Scheduler is the
same as defined above for the Dataservice.
Note If you created a new database, the MTAdmin password for the Scheduler is the same
as defined above for the Dataservice.
9. Start PowerShell as an Administrator user and navigate to the DockerFolder using the following
command:
cd <DockerFolder>
10. To build the Insight image on Docker, run the following command:
docker-compose build
The first time, it may take up to two hours to download the basic Windows image.
11. To start the containers, run the command:
docker-compose up
12. After two containers are launched, you can start Insight in a browser using this URL:
http://servername:8080/insight/admin
Note You can specify any alternative port in the Docker-compose.yml file.
40
Kofax Insight Installation Guide
In the following diagram, the Insight environment consists of two Insight servers with Web Application,
Data Service, and Scheduler. Data Service URLs for all Schedulers are set up to the Load Balancer entry
point, and Data Service URLs for Web Application are configured to use the local Data Service.
The Web Application on each server must have a connection to Data Service. It is possible to use the
connection with Load Balancer or connect to the local Data Service (on the same server). In case of
two-tier architecture, where Web Application and Data Service are installed on the same server, we
recommend that you use a local Data Service because traffic from the client is balanced upon requests to
the Web Application, which functions as proxy between the client and the Data Service. Also, each Data
Service must have a connection to another service, which is required for Data Services synchronization.
The Scheduler service must also have access to the Data Service. It is recommended to use the Load
Balancer as an entry point from a Scheduler to a Data Service (green arrow), instead of connecting to the
local Data Service on the same server (red arrow). With this configuration, if the IIS service on the local
server fails, the Scheduler remains available as it is a Windows service. In this case, the Load Balancer
41
Kofax Insight Installation Guide
redirects the requests from the Scheduler to another available Data Service and continues processing the
requests from Scheduler. This option allows to achieve high availability for the Scheduler.
The Scheduler can be installed on the same Insight servers with Data Service or on separate machines.
After Insight servers are configured to run in high availability mode, Insight assigns one Scheduler as
the "Main" Scheduler. The Main Scheduler executes plans and tasks and assigns the tasks to the other
Schedulers using TCP connection. Also, the Main Scheduler must be available from all Data Services
(WCF) to allow execution of various tasks, such as manual data load, tests, schedule plans, and more. If
the Main Scheduler fails, another Scheduler takes its role and becomes the Main Scheduler. If the failed
Scheduler is back online, it starts executing the tasks received from the Main Scheduler.
Important All Insight servers running the Scheduler should use the same set of database drivers and
time zone settings. Also, the system time should be synchronized.
After the configuration is completed, to improve the performance, set the View mode by clicking the Stop
icon in Admin Console. In View mode, no updates can be made to Admin Console or projects, and the
Viewer application functions as usual. To update the project in Admin Console or Studio, set Insight to
the Edit mode by clicking the Play icon in Admin Console. When the system is in Edit mode, Viewer is
available with reduced performance.
Prerequisites:
• Servers: You need at least three Windows servers. In this example, one server is the load balancer
entry point, and the other two are the Insight servers.
• You must have administrator rights to access all computers or virtual machines that run the Windows
Server 2012 or higher.
Follow the procedure below to install Insight on each server. Also, you can perform a silent installation on
each server.
1. Download the Kofax Insight product files to the computer where you plan to install the product.
2. Extract KofaxInsight-6.3.0_64-bit.ZIP.
3. Run the applicable .msi file, such as KofaxInsightSetup_6.3.0.0.0.<NNNN>_x64.msi, where
<NNNN> is the Insight build number listed in the "Version information" section of the Kofax Insight
6.3.0 Release Notes.
The installation wizard appears.
4. Click Next.
42
Kofax Insight Installation Guide
5. If the installer is not being run as administrator, a notification window appears. In this situation, click
Restart to run as administrator.
6. Review the license agreement, select the check box to accept the terms, and click Next.
7. On the Kofax Insight Setup screen, select Full environment and click Next.
8. On the Custom setup page, accept or change the default installation folder.
9. Specify a folder or browse to select the location for storing log files. Initially, permissions to the
log folder are granted to everyone. We recommend that you use a local folder to improve the
performance and split the logs from different servers. Also, you can use a shared folder, but in this
case, it is recommended to create individual subfolders for each Insight server to split the logs.
10. Set up the Data root folder. We recommend that you use a shared drive for the Data root folder:
This approach allows all instances of Insight to access the Data root folder used for uploading
files and projects to Insight. The Insight pool user and Scheduler login user must have read/write
permissions to this folder.
The Data root folder is used for all files that you upload through Insight. Initially, access rights to this
folder are assigned to everyone. This folder can contain the following subcategories.
• Solution: Stores all ZIP files for solution import and creating a project.
• ImportExport: Stores all extracted project and solution files.
• <ProjectName>: Default subfolder that stores data for the project. You can create individual
subfolders for your projects as required.
• Encryption key: You can store the encryption key used for security purposes.
11. Click Next.
12. On the Ready to install Kofax Insight page, click Install to begin the installation.
13. On the Completed the Kofax Insight Setup Wizard page, click Finish.
The Insight Installation Manager appears. For instructions, continue to the section Configure Insight
in the Installation Manager.
Note After a successful installation, all installation steps are logged to a file in the log folder
specified previously on the "Custom setup" page. If the installation fails, you can check the
respective log in the Event Viewer.
Note When you run the Installation Manager after the first successful configuration, you need to provide
credentials for any Insight Administrator user. Also, you can use Windows authentication. If you need
to run the Insight Installation Manager to repair configuration settings or change IIS settings after
installation, start the Command Prompt and run the following command:
[drive:]\Insight_6.X.X\InstallationManager
\Altosoft.Insight.InstallManager.exe /i
43
Kofax Insight Installation Guide
General settings
When the Insight Installation Manager is launched, you are prompted to set up Administration database
for Admin Console to store information.
Note If you select to deploy Insight in multi-tenant mode, you need to add the license and configure
tenants using the Multi-Tenant Console application. To log in as a tenant administrator, use the
MTAdmin user name and enter the password.
2. Select the High Availability check box to turn the high availability mode on.
3. Connection Type: The server to use (Microsoft SQL, Oracle, or MySQL).
4. SQL Server Name: Enter the server name or the TNS name for the database server.
If you use MySQL or Oracle, ensure that you have the necessary database drivers installed prior to
installing Insight.
For the Microsoft SQL server, you can use the Windows authentication.
5. Login and Password: Provide the login credentials for an Administration database.
For the Oracle database, you need to create a user with privileges before installation. For the
Microsoft SQL and MySQL databases, Insight creates new databases automatically if they do not
exist, but the user must have required privileges for creating a database. As another option, you can
create the Administration database before installation.
6. Select the Administration Database Name to assign a name.
7. Use Additional Connection String to define additional parameters for a connection string.
8. Select the Use Custom Key check box to encrypt the Insight connections for security purposes. Two
options are available:
• Generate New Key: In this case, the key is generated and stored in a local folder with Insight
licenses. To save the key also in the Data Folder, select the respective check box.
• Use Existing Key: Select this option and click Open file to specify the path to an existing
encryption key. In this case, the key is copied to a local folder with Insight licenses.
Make sure that you use the same key on each server. If you already have the key file, copy the file
to a shared folder and select the Use Existing Key option, and then specify the path to the shared
folder. If you do not have the file, select Generate New Key and Save to Data folder during the first
installation. For the next installation, select Use Existing Key and specify the path to shared Data
folder.
Note For silent installation, you can select Use Existing Key and specify the path to shared Data
folder. In this case, if the file does not exist, a new file will be generated. If you decide to change
the key, you should restart all Insight services (Web Application/IIS and Scheduler) on all nodes
after the change.
44
Kofax Insight Installation Guide
9. Select the Save to Data Folder check box to save the key in the Data Folder: If you change the key,
you do not need to change it for each computer.
The following connections are encrypted:
• Connection to the Administration database
• Connection document from Admin Console
• Connection to the project meta and data databases
• Connection used in the Data Source document to the databases
Important: If the generated file in the Data Folder gets lost, you will not be able to work with all of
these connections.
You may later change the generated key by running the Insight Installation Manager or through the
silent installation.
10. Under the Localization group, use the drop-down lists to set Insight Locale and Viewer Locale. By
default, English locale is selected.
11. Click Next.
The Insight Web Applications IIS Settings page appears.
45
Kofax Insight Installation Guide
4. Web Site Name: If you already created an IIS website, select it from the list and make sure that
the entered TCP port is assigned to this site. Otherwise, make sure that the entered TCP port is
available and click New to create a new website.
a. In the Add Website dialog box, enter the Site Name.
b. In the Binding group, set the Type, Port, and Host Name.
Important We strongly recommend that you use an SSL connection. Use IIS Manager
to create or import SSL certificate before you continue with the Installation Manager. For
information on how to set up SSL on IIS, see the Microsoft support website.
If you use Https binding type, select the SSL Certificate from the list.
After you save the changes, the Use TLS/SSL check box is automatically selected. To
change the SSL settings after the installation is finished, see the procedure in Change Insight
configuration after installation.
c. Click OK to save the changes and close the dialog box.
Note As the Scheduler uses the shared Data folder, we recommend that you use Windows
account for Scheduler instead of default Network service.
46
Kofax Insight Installation Guide
2. Under Insight Authentication method, specify the credentials for Scheduler to access the Data
service. Use one of the following options:
• Insight user: Enter the Insight user login, type and confirm the password.
• Windows authentication
3. Click Next and review the setup details. After reviewing, click Next. To make changes, click
Previous to return to the previous pages.
A list of installed components appears while the installation is in progress.
4. When notified that the Insight 6.3.0 installation is complete, click Next. To make changes, click
Previous to return to the previous pages. A list of installed components appears while the installation
is in progress.
5. When notified that the Insight 6.3 installation is complete, click Next.
6. Select Admin Console to activate the product license. Also, you can select one of the following
options.
• Use Manage Settings to update the Insight IIS settings or the Insight Admin database.
• Use Admin Console to activate the product license and configure the projects, users, roles, and
rights.
• Setup Kofax Analytics Project to start the Kofax Analytics installation wizard. For details, see
Help for Insight Admin Console.
• Use Exit to clear the notification message and return to the desktop.
Important Before proceeding to the next section, we recommend that you check for and apply any
fix packs that may be available for Insight 6.3.0.
Note When upgrading from a previous release, a new license is not required.
Note This folder should be shared for all Insight servers. Insight pool user should have read access to
this folder.
47
Kofax Insight Installation Guide
48
Kofax Insight Installation Guide
Use the Custom installation option to install and configure Insight servers in 3-tier architecture following
the same recommendations as for 2-tier architecture.
For all servers select the Use remote Insight Data service option and specify the Application Load
Balancer server.
For Insight servers with Web applications, leave the Use only for Scheduler service check box
unselected. In this case, Web Application uses the Application Load Balancer as entry point.
49
Appendix A
A lockout may occur in the event that the administrator configures Windows authentication for Insight
applications (Admin Console, Multi-Tenant Console, Viewer, Studio, Themes and Formats, or Data
Loader) incorrectly and cannot log in. Use this procedure to recover from a lockout and restore the
Authentication setting to None.
1. Locate Web.config at [drive:]\Program Files\Kofax\Insight 6.x.x\HtmlInsight
\Admin.
2. Verify that the PreventConfigChange key is True under the <appSettings>. If not, add the
following:
<add key="PreventConfigChange" value="true"/>
3. Change the authorization to the following:
<authorization>
<allow users="*" />
</authorization>
4. Change the authentication mode to None.
<authentication mode="None">
5. Repeat the procedure for other Insight applications, such as the Viewer, Studio, Themes and
Formats, or Data Loader.
50
Appendix B
Use this section if the encryption keys are not available any more.
• To re-enter credentials for the Admin DB, run the Installation Manager in the Install mode (with the \i
key).
• To re-enter credentials for the admin connection, launch Admin Console, open all connections and
provide the credentials.
• To re-enter project credentials, open each project in Admin Console and provide the credentials.
• To re-enter data source credentials, expand a project, open each data source, and provide the
credentials.
51
Appendix C
(Optional) If you have Excel 2016 on the Insight server, you have the option to use the File Parser to
parse files.
1. Log in to the server as an Administrator.
2. Navigate to Control Panel > System and Security > Administrative Tools > Component
Services.
3. On the Console Root, navigate to Component Services > Computers > My Computer > DCOM
Config and find Microsoft Excel Application.
4. Right-click Microsoft Excel Application and select Properties. On the Identity tab:
a. Select This user.
b. Specify the user with access to Excel files.
c. Fill in the User and Password fields.
d. Confirm the password.
5. On the Security tab, in the Launch and Activation Permissions group, select the Customize
check box and click Edit.
6. On the Launch and Activation Permissions - Security tab:
a. Select Network service.
b. Select the Allow check box for Local Launch and Local Activation.
7. On the Access Permission - Security tab:
a. Select the Customize check box.
b. Click Edit.
8. On the Security tab, in the Access Permissions group, select the Customize check box and click
Edit.
On the Access Permission - Security tab:
a. Select Network service.
b. Select the Allow check box for Local Access.
52
Kofax Insight Installation Guide
9. If Microsoft Excel Application does not appear on the list in DCOM Config, you need to edit the
registry.
a. Open a Command Prompt window and run REGEDIT.
b. Navigate to HKEY_CLASSES_ROOT > AppId, click Edit and search for
"{00020812-0000-0000-C000-000000000046}". If this folder is not found, create a new one by
right-clicking AppID > New > Key and naming the folder Microsoft Excel Application.
c. Also check permission rights to be set as follows.
CREATOR OWNER: Special permissions is selected.
SYSTEM: Full Control and Read are selected.
Administrators (<machine name>\Administrators): Full Control and Read are selected.
Users (<machine name>\Users): Read is selected.
d. Run steps 2-3 to configure files for Excel 2016 processing.
10. To configure the permissions for systemprofile\Desktop folders:
a. Navigate to C:\Windows\SysWOW64\config\systemprofile\Desktop\ and create the
Desktop folder if it does not exist.
b. Right-click the systemprofile folder and select Properties.
c. On the Security tab, select The launching user (IIS Application Pool account) and select the
Read and Write check boxes to set the permissions.
d. Navigate to C:\Windows\System32\config\systemprofile\Desktop\, create the
Desktop folder if it does not exist, and repeat steps b and c.
53
Appendix D
This section introduces an example of an entry point configuration. You can follow the recommended
steps or use any load balancer as an entry point at your own responsibility. In the following example
procedure, IIS Manager is used to configure load balancing. We recommend that you follow these steps
to set up your own entry point. If you use a different load balancer as an entry point, refer to its respective
documentation.
1. In IIS Manager, select Get New Web Platform Components.
2. In the browser window, download Microsoft Web Platform Installer Download, find Application
Request Routing, and then install it.
3. A new menu item Server Farms is now present in IIS Manager. Right-click Server Farms and select
Create Server Farm.
4. Enter the farm name.
5. On the Add Server screen, enter IP addresses for the computers with Insight and click Finish.
6. On the Rewrite Rules screen, click Yes.
Insight-specific cookies
Although additional configuration is usually not required to set up sessions, you may take into account the
following Insight-specific cookies:
<ApplicationType>__Insight_SessionId_<FullVersion>
and <FullVersion> is the Insight build number listed in the "Version information" section in the Kofax
Insight Release Notes 6.3.0.
54
Kofax Insight Installation Guide
Viewer_<ApplicationName>_Insight_SessionId_<FullVersion>
where <ApplicationName> is the name for a Viewer application (you can add custom viewers), default
application name is "View",
and <FullVersion> is the Insight build number listed in the "Version information" section in the Kofax
Insight Release Notes 6.3.0.
55
Appendix E
In case of a login failure, use the following steps to troubleshoot the issue. Perform an attempt to log in
to the Viewer or Insight to capture the HTTP session parameters and values from the Windows Active
Directory into the log file.
1. Verify that Authentication and User mapping settings are configured properly.
Note For example, if you set up Windows authentication for the Viewer, make sure that under
Authentication and User mapping settings the application is set as "Viewer."
56
Appendix F
This section gives you an overview of the information that is available in the Insight log files, which are
located in the folder specified during installation:
AlertDistribution
Altosoft.Insight.InstallManager
Information on Insight software installation and other activities related to the Insight Installation Manager.
BridgeService
Information related to the Insight Bridge Service, which is used to communicate with 32-bit data sources
on 64-bit operating systems. This might be used with Excel or a 32-bit ODBC driver on a 64-bit computer.
ChartSnapshot
DataLoad
DataProcessing
Information related to dashboard queries (to the Data database/Data mart) to get data for dashboard
display at runtime (View application) and design time (Studio application).
ImportExport
Information related to import and export activity of the standalone Import/Export tool.
InsightAdmin
InsightInstallation
InsightServer_WinApp
57
Kofax Insight Installation Guide
InsightStudio
InsightThemes
InsightViewer
ProcessManager
ReportDistribution
Scheduler
Information on the Insight Scheduler Service, which is used to update and launch scheduled tasks (as
defined in execution plans).
UpdateTable
Information related to database and table schema changes, typically due to Studio project development
and Import/Export activity.
WcfDataService
Information related to the WcfDataService web service. Includes database (Admin, Meta, and Data)
queries for all Insight web applications; and user authentication and login activity for all the web
applications.
58