Sun Java System Access Manager Policy Agent 2.2 Guide for Sun Java System Web Server 6.1

Windows Systems: Agent Installation for Sun Java System Web Server 6.1

This section describes the installation of Agent for Sun Java System Web Server 6.1 on Windows systems.

Preparing to Install Agent for Sun Java System Web Server 6.1 on Windows Systems

Follow the specific steps outlined in this section before you install the web agent to reduce the chance of complications occurring during and after the installation.

ProcedureTo Prepare to Install Agent for Sun Java System Web Server 6.1 on Windows Systems


Note –

You must have Java Runtime Environment (JRE) 1.3.1 or higher installed or available on a shared file system in order to run the graphical user interface (GUI) of the web agent installation program. Currently, JRE 1.3.1 or any version higher is certified for use with the web agent installation program.


Perform the following pre-installation tasks:

  1. Ensure that Policy Agent 2.2 for Sun Java System Web Server 6.1 is supported on the desired platform as listed in Supported Platforms and Compatibility of Agent for Sun Java System Web Server 6.1.

  2. Install Sun Java System Web Server 6.1 if not already installed.

    Refer to the Sun Java System Web Server 6.1 documentation for details on how best to install and configure this server for your platform.

  3. Ensure that Sun Java System Web Server 6.1 has the latest patches available.

  4. Set your JAVAHOME environment variable to a JDK version 1.3.1_04 or higher.

    The installation requires that you set up your JAVAHOME variable correctly. However, if you have incorrectly set the JAVAHOME variable, the setup script will prompt you for supplying the correct JAVAHOME value:

    Please enter JAVAHOME path to pick up java:

  5. Ensure that required libraries are available on the Sun Java System Web Server 6.1 instance.

    Depending on the Windows system you are using, the following libraries, msvcp70.dll and msvcr70.dll, might not be available. If these libraries are not available to the Sun Java System Web Server 6.1 instance upon which you are installing the agent, you must make them available as described in the following substeps.

    1. Obtain these Windows libraries: msvcp70.dll and msvcr70.dll.

      These libraries come with certain Windows applications. You can also obtain them by contacting Sun technical support.

    2. Place the libraries in the system32 subdirectory.

      The following path is an example of a conceivable path to this directory:

      c:\WINDOWS\system32

Installing Agent for Sun Java System Web Server 6.1 on Windows Systems

The web agent installation program has one interface, the graphical user interface (GUI), for Windows systems. Use the following instructions to install Agent for Sun Java System Web Server 6.1 using the GUI on Windows systems.

GUI Installation of Agent for Sun Java System Web Server 6.1 on Windows Systems

You must have administrator privileges to run the installation program.

ProcedureTo Install Agent for Sun Java System Web Server 6.1 on Windows Systems Using the GUI

  1. Unpack the product binaries.


    unzip binaryname.zip

    Note –

    On Microsoft Windows 2003, the zip file is not automatically unpacked. Therefore, after you download the agents zip file, be sure to extract the zip file to a directory first and then execute setup.exe. To extract the zip file, right click on the zip file in the File Manager and select Extract. After extracting to a directory, double click setup.exe to execute it.


  2. Run the installation program by double-clicking setup.exe.

    The Welcome page appears.

  3. In the Welcome page, click Next.

  4. Read the License Agreement. Click Yes to accept the license agreement.

  5. Select the directory where you want to install the agent.

    The directory you choose in which to install the web agent is referred to as the Policy Agent base directory, or PolicyAgent-base.

  6. Enter the applicable information about the Sun Java System Web Server 6.1 instance where this agent will be installed in the dialog box.

    The dialog box provides fields for entering the required information. You are prompted for information in the order shown as follows:

    Web Server Host Name: Enter the fully qualified domain name (FQDN) of the system where the Sun Java System Web Server 6.1 instance is installed.

    For example, if the host is host1, the subdomain is eng, and the domain is example.com, then the Host Name in this case is host1.eng.example.com.

    Web Server Instance Directory: Specify the Sun Java System Web Server 6.1 instance that this agent will protect. Enter the full path to the directory where the instance is located. For example: /WebServer-base/https-web-server-instance-name.

    WebServer-base

    Represents the installation directory for Sun Java System Web Server 6.1. The following is an example of a conceivable Sun Java System Web Server 6.1 installation directory:

    /opt/SUNWwbsvr/
    web-server-instance-name

    Represents the FQDN of Sun Java System Web Server 6.1. The following is an example of a conceivable Sun Java System Web Server 6.1 instance name:

    host2.eng.example.com

    Therefore, the following is an example of a full path to the web server instance directory:

    /opt/SUNWwbsvr/https-host2.eng.example.com

    Web Server Port: Enter the port number for the Sun Java System Web Server 6.1 instance that will be protected by the agent.

    Web Server Protocol: If your Sun Java System Web Server 6.1 instance has been configured for SSL, then select HTTPS; otherwise select HTTP.

    Web Agent Deployment URI: Enter a Universal Resource Identifier (URI) that will be used to access Agent for Sun Java System Web Server 6.1. The default value is /amagent.


    Note –

    The web agent uses the value of the com.sun.am.policy.agents.config.agenturi.prefix property in the web agent AMAgent.properties configuration file to support some essential functions such as notification and POST data preservation. Web agent URI prefix is a configurable subset of Web Agent Deployment URI. It is important to set a valid URL for this property. Its value should be http://host.domain:port/web-agent-deployment-uri where host, domain and port are FQDN and port number of the Sun Java System Web Server 6.1 instance where the agent is installed and web-agent-deployment-uri is the URI where the Sun Java System Web Server 6.1 instance will look for web-agent related HTML pages. Its default value is amagent.

    The following is an example of an Agent Deployment URI:

    http://host1.example.com:80/amagent

  7. When you have entered all the information, click Next.

  8. Provide the following information about the Access Manager host:

    The deployment container will connect to this server.

    Primary Server Host: Enter the FQDN of the primary Access Manager host.

    For example, if the host is host3, the subdomain is eng, and the domain is example.com, then the Host Name in this case is host3.eng.example.com.

    Primary Server Port: Enter the port number for the primary Access Manager host.

    Primary Server Protocol: If the primary Access Manager host is SSL-enabled, select HTTPS. Otherwise select HTTP.

    Primary Server Deployment URI: Enter the location that was specified when Access Manager was installed. The default URI for Access Manager is /amserver.

    Primary Console Deployment URI: Enter the location that was specified when Access Manager console was installed. The default URI for Access Manager is /amconsole.

    Failover Server Host: Enter the FQDN of the secondary Access Manager host if the primary Access Manager host becomes unavailable. If no failover server host exists, then leave this field blank.

    Failover Server Port: Enter the port number of the secondary Access Manager host. If no failover server host exists, then leave this field blank.

    Failover Server Protocol: If the failover Access Manager host is SSL-enabled, select HTTPS. Otherwise select HTTP. If no failover server host exists, then leave this field blank.

    Failover Server Deployment URI: Enter the location that was specified when Access Manager was installed. The default URI for Access Manager is /amserver. If no failover server host exists, then leave this field blank.

    Failover Console Deployment URI: Enter the location that was specified when Access Manager Console was installed. The default URI for Access Manager is /amconsole. If no failover server host exists, then leave this field blank.

    Agent Access Manager Shared Secret: Enter the password for the Access Manager internal LDAP authentication user. This user is also referred to as amldapuser.

    For more information about the shared secret and its relationship with the Access Manager agent profile, see Chapter 4, The Relationship Between the Agent Profile and Web Agents in Policy Agent 2.2.

    Re-enter Shared Secret: Re-enter the password for the Access Manager internal LDAP authentication user (amldapuser).

    CDSSO Enabled: Check this box if you want to enable the CDSSO feature.

  9. After entering all the information, click Next.

  10. Review the installation summary to ensure that the information you have entered is correct.

    Note that it displays the CDCServlet URL if you have checked the CDSSO Enabled box in the previous panel.

    If you want to make changes, click Back. If all the information is correct, click Next.

  11. In the Ready to Install page, click Install Now.

  12. When the installation is complete, you can click Details to view details about the installation, or click Close to end the installation program.

  13. Restart the Sun Java System Web Server 6.1 instance on which you just installed the agent.

    Restarting your computer is necessary for the agent to work properly. The installation modifies the system path by appending to it the location of the agent libraries. This change takes effect only after your computer is restarted.

Next Steps

To ensure that the installation was successful, see All Systems: Verifying a Successful Installation on Policy Agent 2.2.