Skip to main content
Version: 32.0.0

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.

IaaS Variables

Here are the variables you need to declare on your IaaS variable files in order to have the a9s Router deployed with success.

IaaS VariableTypeDescription
iaas.a9s_router.router_ipsArray of StringArray of static IPs to be used for HAProxy cluster.
iaas.a9s_router.registry.networkStringNetwork to be used by the registry instance.

Besides these variables, you will also need the ones used to configure your Consul cluster.

BOSH Properties

Here are the BOSH Properties you can use to configure a9s Router instances:

BOSH PropertyTypeDescription
ha_proxy.https_redirect_allBooleanForce redirect of http traffic to https (enabled by default)
a9s-route-registry.open_files_limit *IntegerThe number of files this process is allowed to have open at any one time.
a9s-route-registry.timeoutreadIntegerThe number of seconds before the HTTP server timeouts a read connection. Default: 5 seconds.
a9s-route-registry.timeoutwriteIntegerThe 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 open_files_limit.