Context: Customer is facing issue while configuring the Ops Manager in HA(High Availability) using Load Balancer. He is using Layer-4 LoadBalancer which do not support X-Forwarded headers.
Blocker: The X-Forwarded-for is not mentioned as requirement on our documentation page https://docs.opsmanager.mongodb.com/current/tutorial/configure-application-high-availability/#multiple-application-servers , due to which his Ops Manager HA is not able to identify source IP. In his words:
"mentioned" != "MUST BE CONFIGURED ON LOAD BALANCER".
that's the reason I raised this ticket for mongo support. we missed it because it wasn't clearly described as a requirement. And, as a result, HA does not work properly.
--Another point he has mentioned in his comment is that why we are relaying on non-MongoDB customer headers, why not create mongodb specific custom HTTP header for source IP of automation agent like we are using for MongoDB Service version below:
< X-MongoDB-Service-Version: gitHash=980038b07091a533affeaca3452736391c0df9f7; versionString=188.8.131.52.20210901T1617Z--
Is it possible to mark X-forwarded-for as requirement for configuring the OPS Manager in HA ?