Sun OpenSSO Enterprise Policy Agent 3.0 Guide for Sun Java System Web Proxy Server 4.0.x

Uninstalling the Web Proxy Server 4.0.x Agent

Preparing to Uninstall the Web Proxy Server 4.0.x Agent

ProcedureTo Prepare to Uninstall Web Proxy Server 4.0.x Agent

  1. Undeploy any applications protected by the Web Proxy Server 4.0.x agent.

  2. Stop the Web Proxy Server 4.0.x instance, if it is running.

Uninstalling the Web Proxy Server 4.0.x Agent Using the agentadmin Program

ProcedureTo Uninstall the Web Proxy Server 4.0.x Agent

  1. Change to the following directory:

    PolicyAgent-base/bin

  2. Issue one of the following commands:

    # ./agentadmin --uninstall

    or

    # ./agentadmin --uninstallAll

    The --uninstall removes only one instance of the agent, while the --uninstallAll option prompts you to remove all configured instances of the agent.

  3. The uninstall program prompts you for the Web Server configuration directory path. For example:

    /opt/sun/proxyserver40/proxy-server1/config

  4. The uninstall program displays the path and then asks if you want to continue:

    To continue with the uninstallation, select 1 (the default).


Example 2 Uninstallation Sample for the Web Proxy Server 4.0.x Agent


************************************************************************
Welcome to the OpenSSO Policy Agent for Sun Java System Proxy Server.
************************************************************************

Enter the complete path to the directory which is used by Sun Java System Proxy
Server to store its configuration Files. This directory uniquely
identifies the Sun Java System Proxy Server instance that is secured by this
Agent.
[ ? : Help, ! : Exit ]
Enter the Sun Java System Proxy Server Config Directory Path
[/opt/sun/proxyserver40/proxy-server1/config]: 

-----------------------------------------------
SUMMARY OF YOUR RESPONSES
-----------------------------------------------
Sun Java System Proxy Server Config Directory :
/opt/sun/proxyserver40/proxy-server1/config 

Verify your settings above and decide from the choices below.
1. Continue with Uninstallation
2. Back to the last interaction
3. Start Over
4. Exit
Please make your selection [1]: 

Deleting the config directory
/opt/web_agents/proxy40_agent/Agent_001/config
...DONE.

Removing Agent parameters from
/opt/sun/proxyserver40/proxy-server1/config/obj.conf file ...DONE.


Uninstall log file location:
/opt/web_agents/proxy40_agent/installer-logs/audit/uninstall.log

Thank you for using OpenSSO Policy Agent. INSTALL NOTE: Installer modifies
obj.conf file in the config directory you specified. 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.

After You Finish the Uninstall