You must have the Sun Java System Application Server installer and the Sun J2EE Policy Agent installer mounted on Protected Resource 1. See Chapter 2, Before You Beginat the beginning of this manual.
As a root user, log into the Application Server 3 host.
Start the Java Enterprise System installer with the -nodisplay option.
# cd /mnt/Solaris_sparc # ./installer -nodisplay |
When prompted, provide the following information:
After you have exited the installer, start Application Server 3:
# cd /opt/SUNWappserver/appserver/bin # ./asadmin start-domain --user admin --password 11111111 Starting Domain domain1, please wait. Log redirected to /var/opt/SUNWappserver/domains/domain1/logs/server.log. Domain domain1 started. |
To verify that the Application Server 3 is successfully installed, go to the Application Server URL:
http://ProtectedResource-3:8080/index.html |
The default Application Server page is displayed and contains the following message: “Your server is up and running!”
You must obtain and unpack the J2EE Policy Agent software from the following Sun Microsystems web page: http://www.sun.com/download/products.xml?id=43543381.
In the directory where you downloaded the J2EE Policy Agent TAR file, unpack the J2EE Policy Agent bits using the GNU untar utility. Example:
# cd /export # gunzip SJS_Appserver_81_agent_2.2.tar.zip # gtar -xvf /usr/sfw/bin/SJS_Appserver_81_agent_2.2.tar |
For .tar.gz archives, do not use a program other than GNU_tar to untar the contents of the J2EE agent deliverables. Using a different program, such as another tar program, can result in some files not being extracted properly. To learn more about the GNU_tar program, visit the following web site: http://www.gnu.org/software/tar/tar.html
Start the J2EE Policy Agent installer.
# cd /export/j2ee_agents/am_as81_agent/bin # ./agentadmin --install
When prompted, provide the following information:
|
Accept the default value. |
|
|
Accept the default value. |
|
|
Enter LoadBalancer-9.siroe.com. |
|
|
Enter 3443. |
|
|
Enter https. |
|
|
Enter /federation. |
|
|
ProtectedResource-3.siroe.com |
|
|
Accept the default value. |
|
|
Enter 8080. |
|
|
Accept the default value. |
|
|
Accept the default value. |
|
|
Accept the default value. |
|
|
Enter asagent. |
|
|
Enter /export/agent_profile_password. |
|
|
Accept the default value. |
|
|
Accept the default value. |
|
|
Accept the default value. |
After the installer has finished installing the agent, verify that installation was successful. You check can for installation errors in the following log file:
/export/j2ee_agents/am_as81_agent/logs/audit/install.log |