In this procedure you modify the AMAgent.properties file. Map Protected Resource 1 and Protected Resource 2 to Load Balancer 5.
Log in as a root user to Protected Resource 1.
# cd /etc/opt/SUNWam/agents/es6/ config/_opt_SUNWwbsvr_https-ProtectedResource-1.example.com |
Use a text editor to modify the AMAgent.properties file.
Make a backup of AMAgent.properties, and then add the following entry:
com.sun.am.policy.agents.config.fqdn.map = LoadBalancer-5.example.com|LoadBalancer-5.example.com |
For this property:
com.sun.am.policy.agents.config.notenforced_list
append the following to the end of the value string :
http://ProtectedResource-1.example.com:1080/launch.html http://LoadBalancer-5.example.com:90/launch.html
Save the file.
Log in as a root user to Protected Resource 2.
# cd /etc/opt/SUNWam/agents/es6/ config/_opt_SUNWwbsvr_https-ProtectedResource-2.example.com |
Use a text editor to modify the AMAgent.properties file.
Make a backup of AMAgent.properties, and then add the following entry:
com.sun.am.policy.agents.config.fqdn.map = LoadBalancer-5.example.com|LoadBalancer-5.example.com |
For this property:
com.sun.am.policy.agents.config.notenforced_list
append the following to the end of the value string :
http://ProtectedResource-2.example.com:1080/launch.html http://LoadBalancer-5.example.com:90/launch.html
Save the file.