Deployment Example 1: Access Manager 7.1 Load Balancing, Distributed Authentication UI, and Session Failover

ProcedureTo Configure Load Balancer Cookies for the Distributed Authentication User Interface

Modify AMconfig.properties on both Distributed Authentication User Interface host machines.

  1. Log in as a root user to the AuthenticationUI–1 host machine.

  2. Change to the classes directory.


    # cd /opt/SUNWwbsvr/https-AuthenticationUI-1.example.com/
      web-app/AuthenticationUI-1.example.com/distAuth/WEB-INF/classes
    
  3. Make the following changes to AMconfig.properties.


    Tip –

    Backup AMConfig.properties before you modify it.


    • Uncomment the last two lines at the end of the file.

    • Set the following values:

      com.iplanet.am.lbcookie.name=AuthenticationUILBCookie 
      com.iplanet.am.lbcookie.value=AuthenticationUI-1
  4. Save the file and close it.

  5. Restart the AuthenticationUI–1 host machine.

  6. Log in as a root user to the AuthenticationUI–2 host machine.

  7. Change to the classes directory.


    # cd /opt/SUNWwbsvr/https-AuthenticationUI-2.example.com/
      web-app/AuthenticationUI-2.example.com/distAuth/WEB-INF/classes
    
  8. Make the following changes to AMconfig.properties.


    Tip –

    Backup AMConfig.properties before you modify it.


    • Uncomment the last two lines at the end of the file.

    • Set the following values:

      com.iplanet.am.lbcookie.name=AuthenticationUILBCookie 
      com.iplanet.am.lbcookie.value=AuthenticationUI-2
  9. Save the file and close it.

  10. Restart the AuthenticationUI–2 host machine.