Sun ONE logo      Previous      Contents      Index      Next     

Sun ONE Portal Server, Secure Remote Access 6.1 Installation Guide

Chapter 3
Uninstalling Sun ONE Portal Server, Secure Remote Access

This chapter describes how to uninstall Sun™ ONE Portal Server, Secure Remote Access components.

This chapter includes the following sections:


Removing Sun™ ONE Portal Server, Secure Remote Access

To remove all or some of the Sun™ ONE Portal Server, Secure Remote Access components run the pssetup script that is used for installation.

All the web applications that have been deployed are undeployed when you choose to remove all components.


Caution

If Sun™ ONE Directory Server and Sun™ ONE Identity Server software are installed on the same machine and you choose to remove all the components, the directory server and identity server will also be removed. If Sun™ ONE Portal Server software is installed on the same machine, the portal server will not work.



Note

Removing the portal server also removes Secure Remote Access support.


    To Remove Secure Remote Access Components
  1. Log in as root to the machine on which the portal server has been installed.
  2. Change directories to where the installation program is located. Use the following command:
  3. cd exact_path/pssetup

  4. Type ./pssetup.
  5. The license agreement is displayed.

  6. Specify if you accept the license agreement. To accept, type yes.
  7. The installation script displays the Remove options menu along with the list of detected components.
  8. Type the number corresponding to the component that you want to remove or corresponding to the Remove all option.
  9. If you chose to remove one component, a message saying Removing component... appears.

    The specified component is removed.

  10. Repeat step 6 to remove additional components.


Recovering Configuration Information

When you uninstall the gateway (from the portal server node or separate node), the configuration files and the certificate database files are not uninstalled. They are renamed so that you can recover the information.

For example, if you have uninstalled a gateway instance named test, the corresponding configuration file is renamed as follows:

platform.conf.test.SRAP6.yyyymmddss

The certificate database directories are renamed as:

cert.srap6.yyyymmddss


Restarting Identity Server After Removing Portal Server

If you are running the Portal Server on the Web Server and you choose the uninstall option to remove the Portal Server only, you must restart the Identity Server. Use the following procedures to restart the Identity Server after the Portal Server software has been uninstalled.

To Restart a Single Instance

Stop Identity Server using /etc/init.d/amserver stop

Start Identity Server using /etc/init.d/amserver start

To Restart Multiple Instances

For each created instance on which Portal Server was deployed (excluding the original instance for which the ClassCache is removed by the pssetup script) perform the following steps:

cd ${BASEDIR}/SUNWam/servers/https-Instance_Name/ClassCache

rm -rf https-Instance_Name/* https-Deploy_Instance/*

Repeat Step 1 and Step 2 for each created server instance.

After the ClassCache for all additional instances is removed, stop all instances using:

/etc/init.d/amserver stopall

Restart all the instances using:

/etc/init.d/amserver startall



Previous      Contents      Index      Next     


Copyright 2003 Sun Microsystems, Inc. All rights reserved.