Configure High Availability for
Management Gateway
This section describes how to configure high availability for Management
Gateway.
High availability can be configured on the Management Gateway which allows it to operate
without failing for a designated period of time during their egress data pipeline to OCI
cloud services.
Perform the following tasks to configure Management Gateway high
availability:
Configure a Response File for Management
Gateway High Availability 🔗
The Management Gateway installation requires a response file to read the parameters
specific to your environment for the Management Gateway configuration to OCI, and
indicate that this specific Management Gateway is part of the cluster.
When creating a response file
for Management Gateway high availability, FreeFormTags is a
mandatory parameter. Ensure to include it with the name
"GatewayGroup" and the cluster group name as its value
in the response file. You can choose any preferred name for the cluster
group. For example: GatewayCluster.
All Management
Gateways that will be part of the same cluster group should have the same
value for the GatewayGroup key tag.
See below an example of the Management Gateway response
file:
If the Management Gateway and the load balancer are configured in different domains when
having a Management Gateway automatic certificate created then you need to perform the
Management Gateway installation using the GatewayCertSubjectAltNames
custom parameter with the required certificates subject alternate names per custom setup
to enable certificate creation with proper domain for secure communication.
For example, if the load balancer is in domain phx.abc.com and the
Management Gateway is in domain phx.bcd.com then the parameter looks
like the following:
You need to set up the load balancer for the newly installed Management
Gateway.
Considerations:
Any load balancer can be used.
The Management Gateway(s) should be configured as backend for
the load balancer.
Supported health check options:
TCP check on configured gateway port.
HTTPS check via invocation to
https://<Gatewayhost>:<port>/healthcheck.
This returns status 200 if the
Management Gateway is healthy.
Configure Management Agents
with Load Balancer
After installing the Management Gateway, you need to configure each
Management Agent to use the load balancer.
In this case, since the Management Gateway is configured in high
availability mode, you need to provide the load balancer host name using the
GatewayServerHost parameter and the load balancer port number
using the GatewayServerPort parameter when configuring the
Management Agent.
See below an example of the Management Agent response file:
Since the load balancer host and port information is provided, the
Management Agent connects to one of the Management Gateway through the load
balancer.