Deploy Analyzer using Docker on Linux
This procedure provides basic steps for deploying Process Discovery Analyzer on a standalone server on a Linux-based system using Docker.
-
Start MySQL server.
MySQL server can also be deployed using Docker. You can find the latest MySQL server image on the official Docker Hub website.
-
Start
Management Console
and specify
Process Discovery Analyzer
parameters. Use the default settings where they are available in the following fields.
- In the Management Console, expand the Settings menu and click Process Discovery Analyzer.
- Specify Process Discovery Analyzer database connection settings1, runtime parameters, cluster settings, and supply the database root password.
- Perform database provisioning by clicking Create schema and Grant user access on the Database provisioning tab. For details, see the Process Discovery Analyzer.
- Download KofaxRPAProcessDiscoveryAnalyzer-11.5.0.0.<buildnumber>.zip and extract all files from the archive to a folder on your computer.
- Download Docker from https://www.docker.com and install it on your computer.
- You can add the current user to the Docker group to avoid being asked to type sudo with every Docker command. For example, to add a "kofax" user, replace docker:x:<n> with docker:x:<n>:kofax in the /etc/group file. Log out and log in or reboot to update permissions.
- Navigate to the folder with the Dockerfile from the archive.
-
Build the Analyzer Docker image by running the following command:
docker build --tag process_discovery_analyzer_11.5.0.0 .
-
Specify environment variables of the container and start the Analyzer. The Analyzer starts with the following default
settings:
MC_URL=localhost:50080 LOG=info LOCALE=<system settings>
You can set the following environment variables:
-
MC_URL: Management Console URL
-
MC_USER: Username
-
MC_PASSWORD: Password
-
LOG: Sets logging level. Possible values are CRITICAL, ERROR, WARNING, INFO, DEBUG.
-
LOCALE: Sets the preferred language for the Analyzer.
-
DUMP: Dumps some intermediate data into a temporary folder.
To start the Analyzer, use the docker run command and specify environment variables at the container startup as follows:
docker run -it [-e <ENV VAR>=<VALUE>] process_discovery_analyzer_11.5.0.0
To specify environment variable DUMP, use the following pattern:
-e DUMP=True
For the list of Analyzer options and default settings, see Process Discovery Analyzer options.
To get the Analyzer container ID, run the following command:
docker ps
To stop the Analyzer, run the following command:
docker stop <container-id>
To apply new settings to the Analyzer, first stop the container and then restart it with new parameters.
-