The AMconfig.properties file for each Access Manager instance must be configured to recognize the load balancer as the virtual Access Manager service login host.
Modify the login URL property for the Access Manager instance on am1.
On am1, open the AMconfig.properties file in a text editor.
The file is located at:
/etc/opt/SUNWam/config/AMConfig.properties
Modify the login URL property:
com.sun.identity.loginurl=http://am.pstest.com:80/amserver/UI/Login
Restart the Access Manager instance.
# /opt/SUNWappserver/appserver/bin/asadmin stop-domain
# /opt/SUNWappserver/appserver/bin/asadmin start-domain --user admin domain1
When prompted, type the app-server-admin-password.
Modify the login URL property for the Access Manager instance on am2.
Use the same procedure as in Step 1, except on am2.