9 Enable External Communication Between OCNADD Gateways
Prerequisites
- mTLS should be enabled.
- External IPs must be used to create the certificates. There will not be any dynamic IP addresses for gateway external communication. Users need to provide static IPs and configure the certificates with these IPs.
OCNADD Gateway External Access in OCCNE LBVM
OCNADD Management Gateway External Access
Update the custom values file
ocnadd-management-custom-values.yaml.
Update Management Gateway Parameters
- Edit
ocnadd-management-custom-values.yamland update the following parameters:ocnaddmanagementgateway.service.externalAccess.enabled: false # =======> set it to true ocnaddmanagementgateway.service.externalAccess.enabled.staticLoadBalancer.enabled: false # =============> set it to true ocnaddmanagementgateway.service.externalAccess.enabled.staticLoadBalancer.staticIP: x.x.x.x # ===========> set it to appropriate external load balancer IP - Edit
ocnadd-common-custom-values.yaml:management_info.management_gateway_ip: x.x.x.x # ==============> This should be set to the management gateway load balancer IP - If the changes are done as part of installation, continue with the installation steps using the Install guide. Otherwise, continue with the further steps.
- Helm Upgrade management group: See Updating Management Group Service Parameters to perform the Helm upgrade.
- Verify that
ocnaddmanagementgatewayservice is running with load balancer IPs.
OCNADD Mediation Gateway External Access
Update the custom values file
ocnadd-mediation-custom-values.yaml.
Update Mediation Gateway Parameters
- Edit
ocnadd-mediation-custom-values.yamland update the following parameters:ocnaddmediation.deployment.gwToMgmtGwExternalCommEnabled: false # =======> set it to true ocnaddmediation.deployment.mediationGatewayIp: x.x.x.x # ===========> set it to appropriate external load balancer IP - If the changes are done as part of installation, continue with the installation steps using the Install guide. Otherwise, continue with the further steps.
- Helm Upgrade mediation group: See Update Mediation Group Service Parameters to perform the helm upgrade.
- Verify that
ocnaddmediationgatewayservice is running with load balancer IPs.
OCNADD Relay Agent Gateway External Access
Update the custom values file
ocnadd-relay-agent-custom-values.yaml.
Update Relay Agent Gateway Parameters
- Edit
ocnadd-relay-agent-custom-values.yamland update the following parameters:ocnaddrelayagent.deployment.gwToMgmtGwExternalCommEnabled: false =======> set it to true ocnaddrelayagent.deployment.relayAgentGatewayIp: x.x.x.x ===========> set it to appropriate external loadbalancer IP - If the changes are done as part of installation, continue with the installation steps using the Install guide. Otherwise, continue with the further steps.
- Helm Upgrade relay group: See Update Relay Agent Group Service Parameters to perform the helm upgrade.
- Verify that
ocnaddrelayagentgatewayservice is running with load balancer IPs.
OCNADD Gateway External Access in OCCNE CNLB
See Enable OCNADD Gateways External Access in CNLB Enabled Cluster.