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

ProcedureTo Deploy the Distributed Authentication User Interface 2 WAR

Before You Begin

This procedure assumes you just completed To Configure the WAR for Distributed Authentication User Interface 2 and are still logged into the AuthenticationUI–2 host machine as the non-root user.

  1. Start the Web Server administration server.


    # cd /opt/SUNWwbsvr/admin-server/bin
    # ./startserv
    
  2. Add the Distributed Authentication User Interface WAR.


    # cd /opt/SUNWwbsvr/bin
    # ./wadm add-webapp --user=admin --host=AuthenticationUI-2.example.com
      --port=8989 --config=AuthenticationUI-2.example.com 
      --vs=AuthenticationUI-2.example.com 
      --uri=/distAuth /export/da71adm/amauthdistui.war
    
    Please enter admin-user-password:web4dmin
    ...
    Do you trust the above certificate? [y|n] y
    
    CLI201 Command 'add-webapp' ran successfully
  3. Deploy the Distributed Authentication User Interface WAR.


    # ./wadm deploy-config --user=admin --host=AuthenticationUI-2.example.com 
      --port=8989 AuthenticationUI-2.example.com
    Please enter admin-user-password: web4dmin
    
    CLI201 Command 'deploy-config' ran successfully
  4. Restart the Web Server AuthenticationUI-2 instance.


    # cd /opt/SUNWwbsvr/https-AuthenticationUI-2.example.com/bin
    # ./stopserv; ./startserv
    
  5. Verify that the distAuth web module is loaded.


    # cd /opt/SUNWwbsvr/https-AuthenticationUI-2.example.com/
      web-app/AuthenticationUI-2.example.com
    # ls -al
    
    total 6
    drwxr-xr-x   3 da71adm  staff        512 Jul 19 21:00 .
    drwxr-xr-x   3 da71adm  staff        512 Jul 19 21:00 ..
    drwxr-xr-x   8 da71adm  staff        512 Jul 19 21:00 distAuth
    
  6. Log out of the AuthenticationUI–2 host machine.