For this part of the deployment, you must have the JES 5 installer and Web Policy Agent installer mounted on the host Protected Resource 1. See the section 2.2 Downloading and Mounting the Java Enterprise System 2005Q4 Installer in this manual.
Use the following as you checklist for installing Web Server 4 and Web Policy Agent 4:
As a root user, log into the Protected Resource 4 host.
Start the Java Enterprise System installer with the -nodisplay option.
# cd /mnt/Solaris_sparc # ./installer -nodisplay |
When prompted, provide the following information:
(Optional) During installation, you can monitor the log to watch for installation errors. Example:
# cd /var/sadm/install/logs
# tail —f Java_Enterprise_System_install.B xxxxxx
Upon successful installation, enter ! to exit.
Verify that the Web Server is installed properly.
Start the Web Server administration server to verify it starts with no errors.
# cd /opt/SUNWwbsvr/https-admserv
# ./stop; ./start
Run the netstat command to verify that the Web Server ports are open and listening.
# netstat -an | grep 8888 *.8888 *.* 0 0 49152 0 LISTEN |
Go to the Web Server URL.
http://ProtectedResource-4.siroe.com:8888
Log in to the Web Server using the following information:
admin
11111111
You should be able to see the Web Server console. You can log out of the console now.
Start the Protected Resource 4 instance.
# cd /opt/SUNWwbsvr/https-ProtectedResource-4.siroe.com # ./stop; ./start |
Run the netstat command to verify that the Web Server ports are open and listening.
# netstat -an | grep 2080 *.2080 *.* 0 0 49152 0 LISTEN |
Go to the instance URL.
http://ProtectedResource-4.siroe.com:1080
You should see the default Web Server index page.
If the Web Policy Agent installer is hosted on the same system where you are installing the Web Policy Agent, you can disregard this warning.
If the installer is hosted on a system other than the local system where you are installing the Web Policy Agent, you must start an X-display session on the system that hosts the installer. You must use an X-display program such as Reflections X or VNC even though you use the command-line installer. This is a known problem with this version of the Web Policy Agent. For more information about this known problem, see http://docs.sun.com/app/docs/doc/819-2796/6n52flfoq?a=view#adtcd.
As a root user, log into the Protected Resource 4 host.
Download the Java System Web Policy Agents 2.2 package from the following website:
Unpack the downloaded package.
In this example, the package was downloaded into the directory /temp.
# cd /temp # gunzip sun-one-policy-agent-2.2-es6-solaris_sparc.tar.gz # tar —xvof sun-one-policy-agent-2.2-es6-solaris_sparc.tar |
Start the Web Policy Agents installer.
# ./setup -nodisplay
When prompted, provide the following information:
|
Press Enter. |
||
|
Press Enter. |
||
|
Enter y. |
||
|
Accept the default value. |
||
|
Accept the default value. |
||
|
Enter
|
||
|
Enter 2080. |
||
|
Accept the default value. |
||
|
Accept the default value. |
||
|
For this example, enter the load balancer host name. Example: LoadBalancer-9.siroe.com |
||
|
Enter the load balancer HTTP port number. For this example, enter 3443. |
||
|
Enter https. |
||
|
Enter /federation. |
||
|
Enter /federation. |
||
|
Accept the default value. |
||
|
Enter the amldapuser password that was entered when Access Manager was installed. For this example, enter 11111111 . |
||
|
Enter the 11111111 password again to confirm it. |
||
|
Accept the default value. |
||
|
First, see the next (Optional) numbered step. When you are ready to start installation, press Enter. |
(Optional) During installation, you can monitor the log to watch for installation errors. Example:
# cd /var/sadm/install/logs # tail —f var/sadm/install/logs/ Sun_Java_tm__System_Access_Manager_Policy_Agent_install.Bxxxxxxxx |
Restart the Web Server.
# cd /opt/SUNWwbsvr/https-ProtectedResource-4.siroe.com # cd ./stop; ./start |
Examine the Web Server log for startup errors.
# /opt/SUNWwbsvr/https-ProtectedResource-4.siroe.com/logs # vi errors |