... h2. How to install opensso web agent 3.0 for sjs web server 7
{noformat} 1. Download sjsws_v70_SunOS_sparc_agent_3.zip from the same b4 build mentioned above.
2. Unzip it to an install directory say /myagent. Create a text file /myagent/passwordfile that contains the agent user password in clear text.
3. cd to /myagent/web_agents/sjsws_agent/bin
4. Start installation: agentadmin --install
************************************************************************ Welcome to the Access Manager Policy Agent for Sun Java System Web Server If the Policy Agent is used with Federated Access Manager services, User needs to enter information relevant to Federated Access Manager.
************************************************************************
Enter the complete path to the directory which is used by Sun Java System Web Server to store its configuration Files. This directory uniquely identifies the Sun Java System Web Server instance that is secured by this Agent. [ ? : Help, ! : Exit ] Enter the Sun Java System Web Server Config Directory Path [/var/opt/SUNWwbsvr7/https-agent-host.example.com/config]: /opt/sun/webserver7//https-agent-host.example.com/config
Enter the URL where the Access Manager is running. Please include the deployment URI also as shown below: (http://opensso.sample.com:58080/opensso) [ ? : Help, < : Back, ! : Exit ] Access Manager URL: http://fam-host.example.com:8080/opensso
Enter the Agent URL as shown below: (http://agent1.sample.com:1234) [ ? : Help, < : Back, ! : Exit ] Agent URL: http://agent-host.example.com:8090
Enter a valid Agent profile name. Before proceeding with the agent installation, please ensure that a valid Agent profile exists in Access Manager. [ ? : Help, < : Back, ! : Exit ] Enter the Agent Profile name: ws7-agent
Enter the path to a file that contains the password to be used for identifying the Agent. [ ? : Help, < : Back, ! : Exit ] Enter the path to the password file: /myagent/passwordfile
----------------------------------------------- SUMMARY OF YOUR RESPONSES ----------------------------------------------- Sun Java System Web Server Config Directory : /opt/sun/webserver7//https-agent-host.example.com/config Access Manager URL : http://fam-host.example.com:8080/opensso Agent URL : http://agent-host.example.com:8090 Agent Profile name : ws7-agent Agent Profile Password file name : /myagent/passwordfile
Verify your settings above and decide from the choices below. 1. Continue with Installation 2. Back to the last interaction 3. Start Over 4. Exit Please make your selection [1]:
Creating directory layout and configuring Agent file for Agent_001 instance ...DONE.
Reading data from file /myagent/passwordfile and encrypting it ...DONE.
Generating audit log file name ...DONE.
Creating tag swapped FAMAgentBootstrap.properties file for instance Agent_001 ...DONE.
Creating a backup for file /opt/sun/webserver7/https-agent-host.example.com/config/obj.conf ...DONE.
Creating a backup for file /opt/sun/webserver7/https-agent-host.example.com/config/magnus.conf ...DONE.
Adding Agent parameters to /opt/sun/webserver7/https-agent-host.example.com/config/magnus.conf file ...DONE.
Adding Agent parameters to /opt/sun/webserver7/https-agent-host.example.com/config/obj.conf file ...DONE.
SUMMARY OF AGENT INSTALLATION ----------------------------- Agent instance name: Agent_001 Agent Bootstrap file location: /myagent/web_agents/sjsws_agent/Agent_001/config/FAMAgentBootstrap.properties Agent Configuration Tag file location /myagent/web_agents/sjsws_agent/Agent_001/config/FAMAgentConfiguration.properties Agent Audit directory location: /myagent/web_agents/sjsws_agent/Agent_001/logs/audit Agent Debug directory location: /myagent/web_agents/sjsws_agent/Agent_001/logs/debug
Install log file location: /myagent/web_agents/sjsws_agent/logs/audit/install.log
Thank you for using Access Manager Policy Agent. INSTALL NOTE: Installer modifies obj.conf file in the config directory you specified. To make agent changes effective do Pull and deploy configuration using Web Server Admin Console or CLI. If there are multiple obj.conf files already present, then manually add agent settings to the required obj.conf files. UNINSTALL NOTE: Uninstall removes agent settings from obj.conf file in the config directory you specified. If there are multiple obj.conf files configured manually in the same config directory, then please remove them manually. For more information, please refer agent documentation.
7. Agent install is done. Go to FAM 8 server to create an agent profile ws7-agent.
8. Login to FAM 8 server console as amadmin user: http://fam-host.example.com:8080/opensso
9. Navigate to "Configuration -> Agents -> Web"
10. In the Agent section, click on New button
11. In the Name field, enter ws7-agent Enter password (the same password as specified in /myagent/passwordfile, provided during agent install) Reenter password Enter http://fam-host.example.com:8080/opensso in Server URL field Enter http://agent-host.example.com:8090/ in Agent URL field Then click on Create button at the top right corner.
12. The console displays the Web Agent page again with a link ws7-agent click on the ws7-agent link, the Edit ws7-agent page shows up.
13. The agent profile is now created.
14. Now restart the agent container.
15. The agent should now function.
{noformat} |