Both Access Manager 1 and Access Manager 2 should be up and running before you begin this verification procedure.
Stop Access Manager 1.
# cd /opt/SUNWwbsvr/https-AccessManager-1 # ./stop |
Open a browser (Browser 1) and go to the following Access Manager load balancer URL:
https://LoadBalancer-3.example.com:9443/amserver/UI/Login?realm=users |
Log in to the Access Manager console using the following information:
testuser1
password
The Edit User page for testuser1 is displayed.
This indicates that although Access Manager 1 was stopped (see step 1), the Access Manager load balancer (LoadBalancer-3) directed your login request to Access Manager 2, and the session for testuser1 was successfully created in Access Manager 2.
Leave Browser 1 open.
On the host AccessManager–1, at the command line, start Access Manager 1.
# cd /opt/SUNWwbsvr/https-AccessManager-1 # ./start |
Both Access Manager 1 and Access Manager 2 are now up and running.
Open a second browser (Browser 2) and go to the following Access Manager URL:
http://accessmanager-1.example.com:1080/amserver/UI/Login |
Log in to the Access Manager console using the following information:
amadmin
4m4dmin1
On the Realms page, click the Sessions tab.
Stop Access Manager 2.
# cd /opt/SUNWwbsvr/https-AccessManager-2 # ./stop |
Access Manager 1 is still up and running, and Access Manager 2 is now stopped.
In Browser 1, in the Edit User page for testuser1, modify the user profile.
In the Full Name field, enter NewTestUser1, and then click Save.
The message “Profile was updated” is displayed.
In Browser 2, in the Realms page, click the Sessions tab.
In the View: list, select AccessManager-1.example.com:1080.
Verify that now two UserIds, named amAdmin and testuser1, exist in the Sessions list. This indicates that the session successfully failed over to Access Manager 1.
Close Browser 2.
Start Access Manager 2.
# cd /opt/SUNWwbsvr/https-AccessManager-2 # ./start |
Both Access Manager 1 and Access Manager 2 are now up and running.
Stop Access Manager 1.
# cd /opt/SUNWwbsvr/https-AccessManager-1 # ./stop |
Access Manager now down, and Access Manager 2 is still up and running.
In a new browser (Browser 3), go to the following Access Manager URL:
http://accessmanager-2.example.com:1080/amserver/UI/Login |
Log in to the Access Manager console using the following information:
amadmin
4m4dmin1
Leave the browser open.
In Browser 1, in the Edit User page for testuser1, modify the user profile.
In the Full Name field, change NewTestUser1 back to TestUser1, and then click Save.
The message “Profile is updated” is displayed.
In Browser 3, on the Sessions tab, click Search to refresh the page.
Under Sessions, two UserIDs, named amAdmin and testuser1 , are now displayed in the Sessions list. This indicates that the session successfully failed back to Access Manager 2.