Proxy Support

Configuring a proxy allows you to install Unified Assurance and update packages without the need for a direct internet connection.

Detailed Steps

Prerequisites

  1. Modify /etc/environment and add the following:

    https_proxy=PROXYSTRING
    no_proxy=NOPROXYSTRING
    
    • PROXYSTRING: The proxy connection string detailing the proxy server, user/pass, port, etc. For example, http://myproxy.example.com:3128/

    • NOPROXYSTRING: Comma separated list of domains or IPs that should not be proxied, for example .example.com, localhost,127.0.0.1,WEDFQDN, etc. This should at least be the server's local domain (e.g. example.com) to prevent proxied API requests between Unified Assurance servers.

  2. Create a proxy profile script /etc/profile.d/proxy.sh and add the following:

    export https_proxy=PROXYSTRING export no_proxy=NOPROXYSTRING

SetupWizard and Perl Scripts

  1. Login again or source the proxy profile created.

    source /etc/profile.d/proxy.sh
    
  2. Verify the environment variables.

    # env | grep _proxy
    https_proxy=http://myproxy.example.com:3128/
    no_proxy=.example.com
    

Updating Unified Assurance Packages UI

  1. Copy the example $A1BASEDIR/distrib/config/vendorApache/apache/base-proxy.conf to $A1BASEDIR/etc/apache/.

    cp -p $A1BASEDIR/distrib/config/vendorApache/apache/base-proxy.conf $A1BASEDIR/etc/apache/
    
  2. Modify the $A1BASEDIR/etc/apache/base-proxy.conf to replace PROXYSTRING with appropriate proxy string. For example http://myproxy.example.com:3128/

  3. Save your work.

  4. Use the following command to restart apache:

    service assure1-web restart