Installation Overview
To install Vantage, follow these steps:- Prepare resources.
- Specify resource credentials.
- Run the installation scripts.
Preparing Resources
Before you begin, make sure all requirements listed in the System Requirements section are met.Specifying Resource Credentials
Prior to running the installer:- Set up configuration files.
- Prepare certificates.
- Download container images.
Setting Up Configuration Files
1. Create the installation directory: Create an installation directory and its subdirectories (ssh, kube, ssl), from which the installation will be carried out. Navigate to the installation directory.ssh folder named ansible and place the private SSH key for the ansible user in this file.
3. Create the inventory file:
Create an inventory file in the installation directory. Replace X.X.X.X with your VM IP addresses:
If you only need 1 or 2 machines for workers instead of 3, delete the extra lines in section
[abbyy_workers].Configuration Parameters
| Parameter | Description |
|---|---|
env | Installation prefix, used as subdomain name by default. |
poc | true for Without high availability, false for Highly available. |
domain | The primary domain. |
product_host | DNS name for product access (default: env.domain). |
logging.enabled | Enable/disable logging (true/false). |
logging.elasticsearch.enabled | Specifies whether Elasticsearch should be enabled. This parameter can be set to either true or false. Note: Set the value of the parameter to true only if you already have Elasticsearch and want to connect Vantage logs to it. If you don’t have existing Elasticsearch and Kibana instances, you can deploy them in a cluster using instructions in Elasticsearch and Kibana. This must be done before installing the product. |
logging.elasticsearch.host | The server IP address. |
logging.elasticsearch.port | The port used to connect to Elasticsearch. |
logging.elasticsearch.username | The username used to connect to Elasticsearch. |
logging.elasticsearch.password | The password used to connect to Elasticsearch. |
logging.elasticsearch.scheme | The protocol scheme used to connect to Elasticsearch. |
logging.file.enabled | Specifies whether logs should be written as files. This parameter can be set to either true or false. |
loadbalancer.external_ip | Floating IP address for the balancer. |
k8s.api.ip | IP address for Kubernetes API endpoint. |
securityContext.global.runAsUser | Specifies the identifier of the user that the container process should run as. This setting only applies to pods that work with external rwx stores (such as NFS). By default, the parameter is set to 65532. |
securityContext.global.runAsGroup | Specifies the identifier of the group that the container process should run as. This setting only applies to pods that work with external rwx stores (such as NFS). By default, the parameter is set to 65532. |
securityContext.global.fsGroup | Specifies the identifier of the group that will own the volumes attached to the pod. This setting only applies to pods that work with external rwx stores (such as NFS). By default, the parameter is set to 65532. |
techcore.nn_training_workers.gpu | Specifies whether the GPU workers should be deployed. GPU workers are used for training skills with the Deep Learning activity to extract data from semi-structured documents. This parameter can be set to either true or false. If the parameter is set to true, the techcore.nn_training_workers.enabled parameter must also be set to true. You can deploy this option and set the techcore.nn_training_workers.gpu and techcore.nn_training_workers.enabled parameters to true before or after installing Vantage. For more information, see Setting up GPU. |
techcore.nn_training_workers.enabled | Specifies whether the nn-extraction-training and nlp-model-train workers should be deployed. These workers are usedfor training skills with the Deep Learning activity to extract data from semi-structured documents using the CPU. This parameter can be set to either true or false. |
techcore.keep_previous_version | Specifies whether the technology core version 2 must remain when updating Vantage. By default, the techcore.keep_previous_version parameter is not specified and the technology core version 2 is deleted. To keep it, set the value of the parameter to true. |
platform_admin_email | System administrator’s email. |
container_registry_host | Domain name of the container registry. |
container_registry_user | The name of the user with the permissions to download images from the container registry. This parameter is left blank if there is no container registry. |
container_registry_password | Password/token for downloading images from the container registry. This parameter is left blank if there is no container registry. |
container_registry_name | The directory of the container registry where the images are hosted. |
smtp.host | IP address or hostname of SMTP server. |
smtp.login | The username used to connect to the SMTP server. |
smtp.password | The password used to connect to the SMTP server. |
smtp.port | The port of the SMTP server. |
smtp.useSSL | Specifies whether an encrypted connection should be used. This parameter can be set to either true or false. |
smtp.secureSocketOptions | Specifies the SSL and/or TLS encryption that should be used for a connection. |
database.enabled | Specifies whether the database server should be enabled. |
database.host | IP address of the SQL Server. |
database.port | The port of the database server. |
database.username | The username used to connect to the database (the user must have the privileges required to create databases). |
database.password | The password used to access the database. |
reporting.enabled | Specifies whether the Warehouse reporting service should be deployed. This parameter can be set to either true or false. |
id_reading.enabled | Specifies whether the Identity Documents add-on should be deployed. This parameter can be set to either true or false. |
| Parameter | Description |
|---|---|
redis.ips | The Redis cluster IP address in the following format: [‘192.168.0.1”192.168.0.2’,,‘192.168.0.3’]. If the parameter is defined as [], an in-cluster Redis instance will be deployed. |
| redis.port | The port used to connect to the Redis cluster. |
redis.password | The password used to connect to the Redis. |
redis.ssl | Specifies whether an encrypted connection to the Redis cluster should be used. This parameter can be set to either true or false. |
Preparing Certificates
- Go to the ssl directory. Place the wildcard certificate (along with the intermediate certificate) corresponding to the primary domain name inside that directory and the key (in PEM format) into the following files respectively:./ssl/cert.pem ,./ssl/key.pem. You should convert your CRT file to PEM by changing the contents of the file to the following format:
- If using an external authentication provider (ADFS) with a certificate signed by an internal CA, place the root certificate into
./ssl/adfs-root.pem.
If accessing third-party endpoints from Vantage (Custom activity scripts or external authentication), the external endpoint must have a certificate from a public authority.
Downloading Container Images
Migration scripts rely on the following properties inenv_specific.yml
Important! Ensure that you add the necessary source and target container registry properties to your env_specific.yml under the installation type, whether that is AKS or VM.
For /ansible/inventories/azure/group_vars/all/env_specific.yml, run:
k8s/group_vars/all/env_specific.yml, run:
Running the Installation Scripts
The installation of ABBYY Vantage is automatic. It is executed using the Ansible tool which is installed and set up inside the container used for the installation. Ansible interacts with the machines using various configuration scenarios (YAML playbooks). To install ABBYY Vantage, follow these steps: 1. Navigate to the installation directory. 2. Run the installer from a Docker image if you have not run it yet:| Parameter | Description |
|---|---|
-v \$PWD/kube:/root/.kube | The path to the Kubernetes directory where the kube/config file is stored. |
-v \$PWD/ssh/ansible:/root/ansible | The path to the private SSH key required to install and configure the Kubernetes cluster and some prerequisites. |
-v "//var/run/docker.sock:/var/run/docker.sock" | Required to sync images to your container registry. |
-v \$PWD/inventory:/ansible/inventories/k8s/inventory | The path to the inventory file. |
-v \$PWD/env_specific.yml:/ansible/inventories/k8s/group_vars/all/env_specific.y ml | The path to the env_specific.yml file. |
-v \$PWD/ssl:/ansible/files/ssl:ro | The path to the folder with SSL certificates that should contain the following files:cert.pem ,key.pem ,adfsroot.pem . |
- Perform a preliminary check for the resources whose parameters are specified in the
env_specific.ymlfile of the playbook (such as database and SMTP connection). - Ask the system administrator to accept the terms of the EULA and ABBYY Privacy Policy.
kubeconfig file that will be created in the kube folder after installing Kubernetes on the virtual machines. You can also download the Ansible installation log files to your local machine by following the steps below:
- Log out of the Docker container.
- Run the following command to get the list of containers:
- Run the following command with container_name replaced by the container’s name to get the logs:
- URL for the provided domain name.
- System Administrator login and password that can be used to log in, create tenants, and process documents.
Getting Installation Logs
Optional Deployments
Deploying the Logging System
If the logging system wasn’t enabled in Vantage (the value of thelogging.enabled parameter in the env_specific.yml file was false) during its installation, you can enable it after installing Vantage. For this, set the value of the logging.enabled parameter in the env_specific.yml file to true and run the following command:
Deploying Business Processing Reporting Warehouse
The Business Processing Reporting Warehouse is used for analyzing the business process and tracking data for specific periods of time. During the Vantage installation, the Business Processing Reporting Warehouse will also be installed if the value of thereporting.enabled parameter in the env_specific.yml file was set to true. If the value of the reporting.enabled parameter was set to false, you can install the Business Processing Reporting Warehouse after installing Vantage by running the following command:
Deploying the Identity Documents Add-on
The Identity Documents add-on requires Vantage to have internet access to
https://lic.regulaforensics.com and https://lic2.regulaforensics.com.id_reading.enabled parameter in the env_specific.yml file was set to true. If the value of the id_reading.enabled parameter was set to false, you can install the Identity Documents add-on after installing Vantage by running the following command:
ansible-playbook -i inventories/k8s -v playbooks/12-DeployDocumentReader.yml
It’s necessary that access to the following addresses be provided from the cluster containing the Vantage installation:
https://lic.regulaforensics.com
https://lic2.regulaforensics.com