- Install Ops Manager >
- Advanced Configuration Options >
- Configure Ops Manager to Use an HTTP Proxy for Outgoing Traffic
Configure Ops Manager to Use an HTTP Proxy for Outgoing Traffic¶
In restricted network environments, you can configure Ops Manager to use a proxy to make outbound network requests. You would use a proxy to fetch files from MongoDB, including Agents, MongoDB server binaries and the Ops Manager version manifest or to contact any third-party integrated services you have enabled.
Prerequsites¶
Add Whitelist of Sites for Version Manifest Source¶
Ops Manager, the Backup Daemon, and MongoDB Agents need direct outbound access to certain MongoDB, Inc.-hosted URLs over HTTPS to download the MongoDB Agent and MongoDB versions.
If you want Ops Manager, the Backup Daemon, and the MongoDB Agents to use a proxy to limit internet access, you need to configure your proxy to allow access to MongoDB URLs.
Which URLs you add to the whitelist depends upon what you have set
as your Installer Download Source
. This setting has two
subsettings: Ops Manager gets installers from: and
Agents get the installers from:. The Agents’ installer
source is also the Backup Daemon’s source.
Ops Manager Source | Agent/Daemon Source | Domains to Whitelist |
---|---|---|
MongoDB | MongoDB |
|
MongoDB | Ops Manager |
|
Ops Manager | Ops Manager | URL to Access Ops Manager for Agents to download
MongoDB installers from Ops Manager |
See also
To learn more about maintaining MongoDB versions in Ops Manager with limited internet access, see Configure Deployment to Have Limited Internet Access.
Procedure¶
Configure the proxy settings.¶
Click the Admin link at the top left.
Click Ops Manager Config.
Click Miscellaneous.
Set the options for the proxy under the HTTP/HTTPS Proxy section:
Field Action Proxy Host Specify the hostname of the proxy server. Proxy Port Specify the port of the proxy server. Proxy Username If the proxy server requires authentication, specify the username with which to authenticate. Proxy Password If the proxy server requires authentication, specify the password with which to authenticate.
Restart Ops Manager.¶
Use the command appropriate to your platform.
Platform | Restart Service Command |
---|---|
RHEL, CentOS, Amazon Linux and Ubuntu | |
Other Linux distributions | |
Windows (Command Line) | |
Windows (Powershell) |