High availability setup
note
Before you proceed, make sure that you have prepared for installation and executed the precheck.
Remember to run the following commands from the directory, where you have downloaded and extracted the installation package, for example, /opt/workfusion/wf_installer.
cd PACKAGE_DIR # /opt/workfusion/wf_installer
note
If your security policy doesn't allow users to have sudo privileges, you can execute the preinstall root steps as another user, which already has sudo permissions. All you have to do is to provide ownership of the PACKAGE_DIR directory to that user, perform preinstall, and then revert ownership.
Install HAProxy
To install HAProxy, run the following commands as the application user:
On the first APP server, execute:
$ ./install.sh preinstall lb -c local --limit app[0] $ ./install.sh install lb -c local --limit app[0]On the APP2 server, execute:
$ ./install.sh preinstall lb -c local --limit app[1] $ ./install.sh install lb -c local --limit app[1]
Install INT components
To install the INT components, run the following commands as the application user:
On the INT2 server, execute:
./install.sh preinstall int2 -c local --limit int[1] ./install.sh install int2 -c local --limit int[1]On the INT1 server, execute:
./install.sh preinstall int -c local --limit int[0] ./install.sh install int -c local --limit int[0]Again, on the INT2 server, execute:
./install.sh preinstall int -c local --limit int[1] ./install.sh install int -c local --limit int[1]On the INT3 server, execute:
./install.sh preinstall int -c local --limit int[2] ./install.sh install int -c local --limit int[2]
Install BEP Master components
To install the BEP Master components, run the following commands as the application user:
On the BEP Master 1 server, execute:
$ ./install.sh preinstall bep-master -c local --limit bep_master[0] $ ./install.sh install bep-master -c local --limit bep_master[0] $ ./install.sh check bep-master -c local --limit bep_master[0]On the BEP Master 2 server, execute:
$ ./install.sh preinstall bep-master -c local --limit bep_master[1] $ ./install.sh install bep-master -c local --limit bep_master[1] $ ./install.sh check bep-master -c local --limit bep_master[1]On the BEP Master 3 server, execute:
$ ./install.sh preinstall bep-master -c local --limit bep_master[2] $ ./install.sh install bep-master -c local --limit bep_master[2] $ ./install.sh check bep-master -c local --limit bep_master[2]
BEP Agent Server
To install the BEP Agent components, run the following commands as the application user:
On the BEP Agent 1 server, execute:
$ ./install.sh preinstall bep-agent -c local --limit bep_agent[0] $ ./install.sh install bep-agent -c local --limit bep_agent[0] $ ./install.sh check bep-agent -c local --limit bep_agent[0]On the BEP Agent 2 server, execute:
$ ./install.sh preinstall bep-agent -c local --limit bep_agent[1] $ ./install.sh install bep-agent -c local --limit bep_agent[1] $ ./install.sh check bep-agent -c local --limit bep_agent[1]On the BEP Agent 3 server, execute:
$ ./install.sh preinstall bep-agent -c local --limit bep_agent[2] $ ./install.sh install bep-agent -c local --limit bep_agent[2] $ ./install.sh check bep-agent -c local --limit bep_agent[2]
APP Server
To install the APP components, run the following commands as the application user:
On the first APP server, execute:
$ ./install.sh preinstall app -c local --limit app[0] $ ./install.sh install app -c local --limit app[0] $ ./install.sh check app -c local --limit happ[0]On the second APP server, execute:
$ ./install.sh preinstall app -c local --limit app[1] $ ./install.sh install app -c local --limit app[1] $ ./install.sh check app -c local --limit happ[1]
OCR Server
To install the OCR components, run the following commands as the application user:
On the first OCR server, execute:
$ ./install.sh preinstall ocr -c local --limit ocr[0] $ ./install.sh install ocr -c local --limit ocr[0] $ ./install.sh check ocr -c local --limit ocr[0]On the second OCR server, execute:
$ ./install.sh preinstall ocr -c local --limit ocr[1] $ ./install.sh install ocr -c local --limit ocr[1] $ ./install.sh check ocr -c local --limit ocr[1]