Installation of the Edge Gateway server for a multi-node platform¶
An Edge Gateway server of a multi-node platform is installed as for a Standalone platform; once paired, it connects to the SSL Router of each node of the platform.
Install the Edge Gateway server
The following points are specific to the multi-node architecture.
Configuration of the HTML5 Gateway on every node¶
The configuration that publishes HTML5 applications through the Mediation Controller (the /etc/ipdiva/httpd/commonParameters.extra.conf file, described in the Configurations prior to connecting the HTML5 Gateway section) must be applied to every node of the platform, then the Apache2 service of each node reloaded.
Connection to every node¶
Pairing an Edge Gateway or an HTML5 Gateway with a token generated on one of the nodes creates on the server one instance per node of the platform, each connected to the SSL Router of its node: the Edge Gateway remains reachable when a node is unavailable, without any second instance to create by hand.
The instances are named after the Edge Gateway and the identifier of the node (gateway-<name>-<node identifier>, html5gateway-<name>-<node identifier>), and their settings are in the directory of the same name under /etc/ipdiva/. Each instance connects to the address recorded for its node when it joined the platform (see Joining the multi-node platform).
Example
For the Edge Gateway edge-gateway, paired with a platform whose nodes have the identifiers
node1-a1b2c3 and node2-d4e5f6, the pairing creates the instances
gateway-edge-gateway-node1-a1b2c3 and gateway-edge-gateway-node2-d4e5f6, configured in
/etc/ipdiva/gateway-edge-gateway-node1-a1b2c3/ and /etc/ipdiva/gateway-edge-gateway-node2-d4e5f6/.
Recommendation
The security hardening guide details the protection of the certificates of the Edge Gateways
and of their p12 files: see Edge Gateway certificate and private key.