Follow the guide from the APP Server Installation (only steps
1-14 should be executed).
Replace environment.conf on the second node with file from
the first node and edit the following fields:
Name
Description
Default
WFHOSTNAME
FQDN of WorkFusion second node. This should be different from first node FQDN, S3 Emulator FQDN, DB FQDN
-
Change vault configuration
Copy client
certificates FIRST.NODE.DNS.p12 and FIRST.NODE.DNS-ws-sndbx.p12 from /opt/workfusion/apps/webapps/wf_sec_storage on first
node to all others nodes
Edit
file /opt/workfusion/apps/webapps/tomcat/conf/workfusion.properties on
the second node and change the following properties. They should
be the same as on the first node
Edit
file /opt/workfusion/apps/webapps/tomcat/conf/workspace.properties on
the second node and change the following properties. They should
be the same as on the first node
Property name
dataSource.url
web.resourceUrl
secure.storage.safe.customer.default
secure.storage.safe.internal
secure.storage.serverApi
secure.storage.client.certificate
secure.storage.username.customer
Edit
file /opt/workfusion/apps/webapps/tomcat/conf/workspace-sandbox.properties on
the second node and change the following properties. They should
be the same as on the first node
Property name
dataSource.url
web.resourceUrl
secure.storage.safe.customer.default
secure.storage.safe.internal
secure.storage.serverApi
secure.storage.client.certificate
secure.storage.username.customer
Update hazelcast.network.tcpip.members property with a list of
all nodes ip addresses
Log in to the first node via SSH.
Change the working directory:
cd /opt/workfusion/apps/webapps/wf_sec_storage/
Create a file ha-members.properties with the following content:
Edit the /opt/workfusion/apps/webapps/tomcat/conf/server.xml file on
each node
Section
Name
Description
Receiver
address
ip address of the configured app node
port
Specify the port for tomcat cluster. Should be different from Tomcat Server port. Should be the same on all nodes. Should be different from Connector port (Connector port can be found in ****/opt/workfusion/apps/webapps/tomcat/conf/server.xml****)
Member
port
use the same value as a receiver port
host
ip address of the next application node
uniqueId
Should be unique on each node
Copy license.properties file (obtain from first node) to the
location specified as LICENSE_PATH in environment.conf file
Restart tomcat on each node
Update Nginx configuration on all nodes
Edit the /opt/workfusion/apps/nginx/etc/upstream/wf-ha file.
Add each node to to the bottom of upstream wf_ha section of this file using the following format: