Routers
Defined routers are listed.
Column | Description |
---|---|
Name | The name of the router. |
Running | Indicator if the router is running. Green bullet means that the router is running. |
Host |
The host that the router is configured to run on. It is possible to configure a router so that it automatically runs on all hosts in the grid by choosing <all hosts>. This can be useful if configuring a load balancer to distribute the load of client connections amongst all the hosts in the grid for either resilience or load balancing. |
Port | The port the router is listening on. |
Encryption | Indicates whether encryption is in use for this router. Note that this only relates to grid client traffic which is connected via the port specified previously. |
External Address | Optional external address (IP number). If undefined, the router listens on the same address as the grid agent is using on this host. If the host has several network interfaces, it is possible to select a different one here. |
Http Port | The HTTP port of the router if defined. The HTTP port serves web applications and web services. |
Https Port | The HTTPS port of the router if defined. The HTTPS port serves web applications and web services. |
Dispatcher | A list of connection dispatchers exposed by this router (if any). |
Remove button | Removes this router. |
Editing and Adding Routers
Routers may be added or existing routers may be reconfigured. Client applications may connect to any router as long as it is exposing the right type of port (for example, HTTP) and that port is exposed on a network interface that is accessible from the client.
One reason for adding a new router is that you want to bind it to another network interface compared to the existing routers. The external address property of the router is used for this. See above. Another reason for adding a router is to achieve high availability. By having two routers that serve the same types of ports but on different hosts, you still have a way for clients to connect to the grid even if one of the routers fails. To make this fully transparent to the clients, some form of network load balancer in front of the routers may be needed.
To add a router, click the Add Router link. Edit a router by clicking on the router name link in the list. In both cases you will be presented with a dialog that lets you configure the router.