Redundancy proxy in E6000

Publication Date:  2013-02-04 Views:  556 Downloads:  0
Issue Description
Primary proxy is down, the second proxy will not work, if manual configure proxy.
Alarm Information
No alarm.
The only impact is customer unable to access to any internet website.
Handling Process
The only way to make server automatically select proxy server is to configure proxy script.

Example : '
//Main Script
function FindProxyForURL(url, host)
{

//Variables
// Redundancy Proxy
proxy = "PROXY hongkong.huawei.com:8080; PROXY china.huawei.com:8080; PROXY UnitedKingdom.huawei.com:8080";
// Non-redundancy proxy
proxyhk = "PROXY hongkong.huawei.com:8080";
proxycn = "PROXY china.huawei.com:8080";
proxyuk = "PROXY unitedkingdom.huawei.com:8080";

// If google then divert to UK proxy
if (shExpMatch(host, "*.google.com")) {
          return proxyuk;
      }

// If intranet then direct

if(host == "127.0.0.1") {
  return "DIRECT";
}
if(host == "localhost") {
  return "DIRECT";
}
if(dnsResolve("vpn.huawei.com") == host) {
  return "DIRECT";
}
if(localHostOrDomainIs("vpn.huawei.com", host)) {
  return "DIRECT";
}
if (isInNet(host, "10.0.0.0", "255.0.0.0")) {
  return "DIRECT";
}
if (isInNet(host, "192.168.0.0", "255.255.0.0")) {
  return "DIRECT";
}

// If not match any intranet website proceed with proxy
return proxy;
}
Root Cause
The setup in the Internet Option > Connection > LAN Setting are configure manual proxy.
Suggestions
Suggest customer to configure a Proxy.pac files and locate to one of the server and advice customer to change the proxy setting to point at the server.

Example :
Http://192.168.1.5/proxy.pac

END