PowerTools needs HTTP/S access to InfiniBox for provisioning volumes. When there's no direct route between the host network and the InfiniBox, there's a need to configure PowerTools to use a proxy service.
There are three environment variables that control the proxy settings:
Key | Value | Example |
---|---|---|
HTTP_PROXY | Address of the proxy service for HTTP | http://[user:password@]proxy.yourdomain.com:port/ |
HTTPS_PROXY | Address of the proxy service for HTTPS | https://[user:password@]proxy.yourdomain:port/ |
NO_PROXY | Comma-separated list of address that will be accessed directly, bypassing the proxy | localhost,127.0.0.1 |
This guide includes step-by-step instructions to configure PowerTools to use a proxy service.
Settings in Windows and Linux are environment variables, therefore they are only session consistent!
New session would clear those.
Step-by-step guide to configure HTTP proxy for PowerTools for Windows
In a command prompt window, enter the following commands:
set HTTP_PROXY=<proxy-address> set HTTPS_PROXY=<proxy-address> set NO_PROXY=127.0.0.1
Once these environment variables are set, you can run infinihost or infinihost-gui and the communication to InfiniBox will be done via the proxy.
Step-by-step guide to configure HTTP proxy for PowerTools for Linux
In a command prompt window, enter the following commands:
export HTTP_PROXY=<proxy-address> export HTTPS_PROXY=<proxy-address> export NO_PROXY=127.0.0.1
Once these environment variables are set, you can run infinihost or infinihost-gui and the communication to InfiniBox will be done via the proxy.
When running infinihost settings check, PowerTools may execute child processes such as yum or apt to download and install additional software packages that are required. Those processes will inherit the proxy settings, so make sure that either your proxy provides access to your repository servers, or add their addresses to address list in the
NO_PROXY
environment variables
Step-by-step to configure HTTP proxy for PowerTools for VMware
- Get the IP address of the appliance from the vSphere client. The IP address is shown in the summary tab of the virtual machine:
- Open the appliance management portal in a browser at the following URL: https://<appliance-address>:5480/, the default credentials are root/nfinidat1
Modify the proxy settings under the Network tab and click Save Settings:
There is no option to set
NO_PROXY
from the management portal; the proxy tunnel needs to provide access both to the vCenter server itself, and to the InfiniBox(es).Reboot the appliance
Related articles
Comments