The agent installation program requires the Java Runtime Environment (JRE) 1.5 or later. Before you install the agent , set your JAVA_HOME environment variable to point to the JDK installation directory for the JDK version you are using. If you have not set this variable (or if you set it incorrectly), the program will prompt you for the correct path.
Login into the server where you want to install the agent.
Create a directory to unzip the agent distribution file.
Download and unzip the agent distribution file, depending on your platform:
Platform |
Distribution File |
---|---|
Solaris SPARC systems, 64–bit |
apache_v20_SunOS_sparc_64_agent_3.zip |
Solaris SPARC systems, 32–bit |
apache_v20_SunOS_sparc_agent_3.zip |
Solaris x86 systems, 64–bit |
apache_v20_SunOS_x86_64_agent_3.zip |
Solaris x86 systems, 32–bit |
apache_v20_SunOS_x86_agent_3.zip |
Linux systems, 64–bit |
apache_v20_Linux_64_agent_3.zip |
Linux systems, 32–bit |
apache_v20_Linux_agent_3.zip |
Windows systems |
apache_v20_WINNT_agent_3.zip |
IBM AIX systems |
apache_v20_AIX_agent_3.zip |
HP-UX systems |
apache_v20_HP-UX_agent_3.zip |
These distribution files are available from the following sites:
Sun Downloads under View by Category, Identity Management, and Policy Agents: http://www.sun.com/download/index.jsp
OpenSSO project: https://opensso.dev.java.net/public/use/index.html
The following table shows the files and directories after you unzip the agent distribution file. These files are in the following directory:
AgentHome/web_agents/apache_agent, where AgentHome is where you unzipped the agent distribution file.
For example: /opt/web_agents/apache_agent
A web agent uses an agent profile to communicate with OpenSSO Enterprise server. A version 2.2 web agent can use the default agent profile (UrlAccessAgent). For a version 3.0 agent, however, you must create an agent profile using any of these three methods:
Use the OpenSSO Enterprise Console, as described in Creating an Agent Profile.
Use the ssoadm command-line utility with the create-agent subcommand. For more information about the ssoadm command, see the Sun OpenSSO Enterprise 8.0 Administration Reference.
Choose the “Option to create the agent profile in the server during installation” when you run the agentadmin program.
Login into the OpenSSO Enterprise Administration Console as amAdmin.
Click Access Control, realm-name, Agents, and Web.
Under Agent, click New.
In the Name field, enter the name for the new agent profile.
Enter and confirm the Password.
Important: This password must be the same password that you enter in the agent profile password file that you specify when you run the agentadmin program to install the agent.
In the Configuration field, check the location where the agent configuration properties are stored:
Local: In the OpenSSOAgentConfiguration.properties file on the server where the agent is installed.
Centralized: In the OpenSSO Enterprise server central configuration data repository.
In the Server URL field, enter the OpenSSO Enterprise server URL.
For example: http://openssohost.example.com:8080/opensso
In the Agent URL field, enter the URL for the agent.
For example: http://agenthost.example.com:8090/
Click Create.
The console creates the agent profile and displays the WebAgent page again with a link to the new agent profile.
To do additional configuration for the agent, click this link to display the Edit agent page. For information about the agent configuration fields, see the Console online Help.
If you prefer, you can also use the ssoadm command-line utility to edit the agent profile. For more information, see the Sun OpenSSO Enterprise 8.0 Administration Reference.
A password file is an ASCII text file with only one line specifying the password in clear text. By using a password file, you are not forced to expose a password at the command line during the agent installation. When you install the Apache HTTP Server agent using the agentadmin program, you are prompted to specify paths to following password files:
An agent profile password file is required for both the agentadmin default and custom installation options.
An agent administrator password file is required if you use the custom installation option and have the agentadmin program automatically create the agent profile in OpenSSO Enterprise server during the installation. If you prefer, you can use amadmin as the agent administrator
Create an ASCII text file for the password file. For example: /tmp/apache2agentpw
If you want the agentadmin program to automatically create the agent profile in OpenSSO Enterprise server during the installation, create another password file for the agent administrator. For example: /tmp/agentadminpw
Using a text editor, enter the appropriate password in clear text on the first line in each file.
Secure each password file appropriately, depending on the requirements for your deployment.
Perform this task only if you are installing the Apache HTTP Server 2.0.x agent on an IBM AIX system and you are using the IBM JDK/JRE.
After you download and unzip the Apache HTTP Server 2.0.x agent distribution file for AIX, locate the agentadmin script in the following directory:
AgentHome/web_agents/apache_agent/bin, where AgentHome is where you unzipped the agent distribution file.
In the agentadmin script, comment out the following line, which sets the regular JDK/JRE classpath:
$JAVA_VM -classpath "$AGENT_CLASSPATH" com.sun.identity.install.tools.launch.AdminToolLauncher $*
In the agentadmin script, uncomment the following line at the end of the file, which sets the IBM JDK/JRE classpath:
#$JAVA_VM -DamKeyGenDescriptor.provider=IBMJCE -DamCryptoDescriptor.provider=IBMJCE -DamRandomGenProvider=IBMJCE -classpath "$AGENT_CLASSPATH" com.sun.identity.install.tools.launch.AdminToolLauncher $*
Save your changes.
Creating an agent administrator is optional. An agent administrator can manage agents in OpenSSO Enterprise, including:
Agent management: Use the agent administrator to manage agents either in the OpenSSO Enterprise Console or by executing the ssoadm utility.
Agent installation: If you install the agent using the custom installation option (agentadmin --custom-install) and want to have the installation program create the agent profile, specify the agent administrator (and password file) when you are prompted.
Login to OpenSSO Enterprise Console as amadmin.
Create a new agents administrator group:
Create a new agent administrator user and add the agent administrator user to the agents administrator group:
Click Access Control, realm-name, Subjects, and then User.
Click New and provide the following values:
ID: Name of the agent administrator. For example: agentadminuser
This is the name you will use to login to the OpenSSO Enterprise Console .
First Name (optional), Last Name, and Full Name.
For simplicity, use the same name for each of these values that you specified in the previous step for ID.
Password (and confirmation)
User Status: Active
Click OK.
Click the new agent administrator name.
On the Edit User page, click Group.
Add the agents administrator group from Available to Selected.
Click Save.
Assign read and write access to the agents administrator group:
Login into the OpenSSO Enterprise Console as the new agent administrator. The only available top-level tab is Access Control. Under realm-name, you will see only the Agents tab and sub tabs.