It is not necessary to repeat this procedure on OpenSSO Enterprise 2.
Access https://osso-1.example.com:1081/opensso/console in a web browser.
Log in to the OpenSSO Enterprise console as the administrator.
amadmin
ossoadmin
Under the Configuration tab, click Servers and Sites.
The Servers and Sites page is displayed.
Click New under Sites.
The New Site properties page is displayed.
Enter the following values for the load balancer and click OK.
External
https://lb-2.example.com:1081/opensso
A new site called External is displayed in the Sites list.
Click on the https://osso-1.example.com:1081/opensso server entry under the Servers list.
The Edit https://osso-1.example.com:1081/opensso page is displayed.
Assign External from the Parent Site drop down list and click Save.
Click the Advanced tab.
Enter the number generated for the OSSO-1 host machine as the value of the com.iplanet.am.lbcookie.value property and click Save.
The number was generated using the makecookie command in To Configure the OpenSSO Enterprise Load Balancer.
Click Back to Server and Sites.
Click on the https://osso-2.example.com:1081/opensso server entry under the Servers list.
The Edit https://osso-2.example.com:1081/opensso page is displayed.
Assign External from the Parent Site drop down list and click Save.
Click the Advanced tab.
Enter the number generated for the OSSO-2 host machine as the value of the com.iplanet.am.lbcookie.value property and click Save.
The number was generated using the makecookie command in To Configure the OpenSSO Enterprise Load Balancer.
Click Back to Server and Sites.
You should see External under the Site Name column for both servers.
Log out of the OpenSSO Enterprise console.
As a root user, log in to the osso–1 host machine.
Restart OpenSSO Enterprise for the changes to take effect.
# su osso80adm # cd /export/osso80adm/domains/ossodomain/bin # ./stopserv; ./startserv Server was successfully stopped. admin username: domain2adm admin password: domain2pwd master password: domain2master Redirecting output to /export/osso80adm/domains/ossodomain/logs/server.log |
As a root user, log in to the osso–2 host machine.
Restart OpenSSO Enterprise for the changes to take effect.
# su osso80adm # cd /export/osso80adm/domains/ossodomain/bin # ./stopserv; ./startserv Server was successfully stopped. admin username: domain2adm admin password: domain2pwd master password: domain2master Redirecting output to /export/osso80adm/domains/ossodomain/logs/server.log |
Log out of both OpenSSO Enterprise host machines.