a9s Router Configuration
This document describes the special configuration necessary for an a9s Router deployment.
The a9s Router is a basic HAProxy 3 noded cluster with a a9s Route Registry. New instances announces its new routes to the a9s Route Registry, which uses the Dataplane API to add the new routes to the HAProxy cluster.
Here are the variables you need to declare on your IaaS variable files in order to have the a9s Router deployed with success.
|Array of String||Array of static IPs to be used for HAProxy cluster.|
|String||Network to be used by the registry instance.|
Besides these variables, you will also need the ones used to configure your Consul cluster.
Here are the BOSH Properties you can use to configure a9s Router instances:
|Boolean||Force redirect of http traffic to https (enabled by default)|
|Integer||The number of files this process is allowed to have open at any one time.|
|Integer||The number of seconds before the HTTP server timeouts a read connection. Default: 5 seconds.|
|Integer||The number of seconds before the HTTP server timeouts a write connection. Default: 10 seconds.|
* It can happen that the
a9s-route-registry is not able to create new routes and errors with
too many open files. To solve this issue you can increase the