Configuring non-transparent proxy in the Usage Metering Collector

Last Updated : Dec 30, 2020 |
Prolog information
If your IT infrastructure uses a non-transparent proxy, then after you install the Usage Metering Collector, you must configure the non-transparent proxy in the Usage Metering Collector. Use the proxy server details that you configured in the bash_profile file.
This allows Usage Metering Collector to access the cloud services by using the proxy server.
If your proxy server requires authentication, configure the user name and password of the proxy server in the Usage Metering Collector.
Use the um-set-proxy.sh script to configure the non-transparent proxy details in the Usage Metering Collector.
Before you begin
The proxy details that you specify when running the um-set-proxy.sh script are stored in the um.properties file. Hence, back up the um.properties file before performing this procedure. In case the um.properties file becomes corrupted, you can replace the corrupted file with the backup file.
  1. At the Usage Metering Collector server CLI command prompt, run the following command:
    ADDITIONAL INFORMATION:
    ./um-set-proxy.sh
  2. Do the following to configure the proxy server IP address and port number in the Usage Metering Collector:
    1. At the Please enter proxy IP address prompt, type the proxy server IP address that is configured in the bash_profile file and press Enter.
    2. At the Please enter proxy port number prompt, type the proxy server port number that is configured in the bash_profile file and press Enter.
  3. If the proxy server requires authentication, do the following to configure the user name and password of the proxy server:
    1. At the Please enter proxy username (Press ENTER if none) prompt, type the proxy server user name that is configured in the bash_profile file and press Enter.
      ADDITIONAL INFORMATION:
      If the proxy server does not require authentication, press Enter without specifying the user name.
    2. At the Please enter proxy password (Press ENTER if none) prompt, type the proxy server password that is configured in the bash_profile file and press Enter.
      ADDITIONAL INFORMATION:
      The password that you specify is stored in an encrypted format in the um.properties file.
      If the proxy server does not require authentication, press Enter without specifying the password.
  4. Run the following command to restart the Usage Metering Collector server:
    ADDITIONAL INFORMATION:
    um-restart
    The configured proxy details take effect after the Usage Metering Collector server is restarted.