Set Up the Load Balancer and Configure with FME Server
Use these instructions to:
- Set up your load balancer to prepare for routing traffic between each FME Server instance you installed under Installing a Scalable, Fault-Tolerant FME Server.
- Configure FME Server to recognize the load balancer URL.
Load Balancing the FME Server Web Services
- Route traffic on port 80 to each FME Server instance in your deployment.
- Set up a health check for FME Server. A health check endpoint determines if either the FME Server Web Services or FME Server Core node is down, and if so, requests are not routed to that server. Without a health check configured, the load balancer may try to route client requests to an unhealthy (down) server. The consequences of routing requests to an unhealthy server vary depending on the load balancer, and may result in error responses or long delays in response due to request timeouts and retrying on a healthy server.
- Configure timeouts for client- and server-side inactivity. When configuring timeouts, consider that longer timeouts on the server are appropriate for time-consuming operations, particularly running workspaces that take a long time to complete.
Load Balancing the WebSocket Server
- Route traffic on port 7078 to one WebSocket Server, and switch to others if the one in use fails. If the load balancer does not support automatic failover to backup servers, then manual intervention is required to route to a healthy WebSocket Server.
- Set longer client- and server-side timeouts to allow for longer WebSocket connections.
To configure FME Server to recognize the load balancer URL, perform the following tasks in the FME Server Web User Interface:
Update Service URLs
- On the Services page, click Change All Hosts. In the Change All Hosts dialog, enter the public load balancer URL, and click OK.
- On the Network & Email page, expand Topic Monitoring.
- Under Fault Tolerant Configuration, update the Internal WebSocket URL field with the public load balancer URL. Automations Destinations (and Notification Service Subscribers) use this URL to communicate with the FME Server WebSocket Server. The load balancer URL redirects requests to the active WebSocket Server.
- If necessary, update Advanced Routing settings:
- External WebSocket Host: The load balancer name. For example:
- External WebSocket Port: If the WebSocket Server is accessed through a port other than 7078, specify the port number here. Otherwise, leave blank.
This setting does not likely need to be changed, and should only be set if you use separate hosts to route HTTP and Websocket traffic to FME Server.
Update Reset Password URL (Optional)
If you plan to enable the Reset Password feature, update the Public URL field on the Reset Password page with the public load balancer URL, and click Save.
Proceed to Log on to the Web User Interface.