Scaling-OCR
In a typical deployment there is just 1 OCR instance. It's possible to add more instances combining them into a single cluster without additional configuration on Control Tower. This guide assumes that the user is already familiar with the WorkFusion installation procedure.
Primary Server
Install as per regular installation guide. Concurrent executions is based on available CPU or can be configured.
Secondary Server
The main idea is to add the OCR Worker component by installing the full OCR component pointing to the existing DB server.
Prerequisites
- DB Server is installed.
- Primary OCR is installed.
Configuration and installation
Refer to Linux Servers installation (for OCR installation on Linux) or OCR Windows Server installation.
Workers should point to the same MongoDB instance.
Remember to configure ocr.health.worker.name to for OCR Health Check.
Remember to configure Platform Monitor for OCR. Each of PM instances should have an unique agent namespace: environment: agent.ns: ocr_2
Validation
- Check that the Worker process is started without errors (ocr-worker.log).
- Load a few documents to OCR Server. The
ocr-taskprocess should be started andocr-task.logshould be created (on both primary and secondary servers).