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

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

The web agent installation program has two interfaces: the graphical user interface (GUI) and the command-line Interface. The following sections present instructions to install Agent for Sun Java System Web Server 6.1 using both of these interfaces:

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

Use the following instructions to install Agent for Sun Java System Web Server 6.1 using the GUI on Linux systems.

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

You must have root permissions when you run the agent installation program.

  1. Unpack the product binaries.

    Unpack the product binary in the directory of your choice using the following command:

    # gunzip -dc binaryname.tar.gz| tar -xvof -

  2. From the directory in which you unpack the binaries, issue the following command:

    # ./setup

    The Welcome page appears.

  3. In the Welcome page, click Next.

  4. Read the License Agreement. Click Yes to agree to the license terms.

  5. To search for the directory where you would like to install the web agent, click Browse. To accept the default, click Next.

  6. When prompted, provide the following information about the Sun Java System Web Server 6.1 instance this agent will protect:

    Install Sun Java System Access Manager Policy Agent in this directory: Enter the full path to the directory where you want this agent to be installed, and then click Next.

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

    Web Server Host Name: Enter the FQDN of the machine 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 the Sun Java System Web Server 6.1 instance has been configured for SSL, choose HTTPS; otherwise choose 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. Enter information about the Access Manager host.

    The web agent will connect to this server.

    Primary Server Host: Enter the fully qualified domain name (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 host exists, then leave this field blank.

    Failover Server Port: Enter the port number of the secondary Access Manager host. If no failover 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 host exists, then leave this field blank.

    Failover Console Deployment URI: Enter the location that was specified when console was installed. The default URI for Access Manager is /amconsole. If no failover 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 CDSSO feature.

  9. After entering all the information, click Next.

  10. Review the installation summary to ensure that the information you’ve 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 close the installation program.

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

Next Steps

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

Command Line Installation of Agent for Sun Java System Web Server 6.1 on Linux Systems

Use the following instructions to install Agent for Sun Java System Web Server 6.1 using the command line on Linux systems.

ProcedureTo Install Agent for Sun Java System Web Server 6.1 on Linux Systems Using the Command Line

You must have root permissions when you run the agent installation program.

  1. Unpack the product binary in the directory of your choice using the following command:

    # gunzip -dc binaryname.tar.gz| tar -xvof -

  2. From the directory in which you unpack the binaries, issue the following command:


    # ./setup -nodisplay
  3. When prompted, provide the following information:

    Have you read, and do you accept, all of the terms of the preceding Software License Agreement? Enter yes.

    Install the agent in this directory: Enter the full path to the directory in which 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.

  4. Provide the following information about the Sun Java System Web Server 6.1 instance this agent will protect:

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

    • Primary Server Host

    • Primary Server Port

    • Primary Server Protocol

    • Primary Server Deployment URI

    • Primary Console Deployment URI

    • Failover Server Host

    • Failover Server Port

    • Failover Server Protocol

    • Failover Server Deployment URI

    • Failover Console Deployment URI

    • Agent-Access Manager Shared Secret

    • Re-enter Shared Secret

    • CDSSO Enabled

      For a description of the information to enter for these prompts, see GUI Installation of Agent for Sun Java System Web Server 6.1 on Linux Systems.

      The following text is displayed:


      Ready to Install
      
      1. Install Now
      2. Start Over
      3. Exit Installation
      
                           
  6. When prompted, What would you like to do?, enter 1 to start the installation.

    The following text is displayed:


    Product                                             Result      More Information
    1.  Sun Java(tm) System Access Manager Policy Agent Installed   Available
    2.  Done
    
                      
  7. To see log information, enter 1. To exit the Installation program, enter 2.

Next Steps

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