Configure a proxy server for the OIM
Note
You can skip the proxy setup using site_config.yml input file if you have direct internet access on the OIM.
OIM proxy configuration is now available for Omnia users. This means that the OIM will not have direct access to the internet but via a proxy server. To set up the OIM with a proxy server, do the following:
Go to
omnia/inputfolder.Open the
site_config.ymlfile and add the proxy server details to theproxyvariable, as explained below:
Parameter |
Description |
|---|---|
|
|
|
|
|
|
Sample input:
proxy: - { http_proxy: "http://corporate-proxy:3128", https_proxy: "http://corporate-proxy:3128", no_proxy: "controlplane.omnia.test,10.5.0.1" }
Configure the
http_proxy,https_proxy, andno_proxyenvironment variables on the OIM server.Execute the following commands to temporarily update the proxy environment variable:
export http_proxy=http://<Corporate_proxy>:<port> export https_proxy=http://<Corporate_proxy>:<port> export no_proxy="<OIM_hostname>","<Admin_Network_IP>"
For persistent proxy, update the
/etc/environmentor/root/.bashrcwith the proxy environment details.http_proxy=http://<Corporate_proxy>:<port> https_proxy=http://<Corporate_proxy>:<port> no_proxy="<OIM_hostname>","<Admin_Network_IP>"
Caution
You must configure the proxy environment variables on the OIM before running any Omnia playbooks.
If you have any feedback about Omnia documentation, please reach out at omnia.readme@dell.com.