I wanna setup my ambari-server to use proxy.pac by following the steps in the official document(
Adding the following to "/var/lib/ambari-server/ambari-env.sh." didn't help and the Ambari-server fails to find others
nodes by FQDN names.
Following is an example, shows how we can apply it
export AMBARI_JVM_ARGS=$AMBARI_JVM_ARGS' -Xms512m -Xmx2048m -Djava.security.auth.login.config=/etc/ambari-server/conf/krb5JAASLogin.conf -Djava.security.krb5.conf=/etc/krb5.conf -Djavax.security.auth.useSubjectCredsOnly=false -Dhttp.proxyHost=your.example.com -Dhttp.proxyPort=8888'
The reason trying to use proxy.pac setting is that, by default, proxy setup tries to resolve a domain name on WAN and Ambari-server fails to resolve the FQDN names specified during the cluster nodes registration.
With proxy.pac, system tries to resolve a FQDN at LAN level then, if necessary, on WAN.
In a hope that proxy.pac will make it work I've added the following line to the bottom of
However, Ambari-server still couldn't seem to resolve the specified FQDN names.