Sun Java System Portal Server 7 Installation Guide

Unconfiguring Portal Server

The example files 18-20 under PortalServer7-base/samples/psconfig directory can be used for unconfiguring portalserver and its subcomponents. By default, PortalServer7–base is /opt/SUNWportal.

Building an Unconfiguration XML file

This section describes the information required in the example file required for psadmin --unconfig to work.

<?xml version = "1.0" encoding = "UTF-8"?>
         <Unconfigure ConfigurationHostName="@HOST.DOMAIN@"
Validate="true" UnconfigureAll="false">
			            DirectoryManagerDn="cn=Directory Manager"
                          . . .
                          . . .
                          . . .

Tokens To Replace


The host and domain name of the machine on which configuration is occurring.


Administrator's password for the Access Manager instance with which Portal is to be configured.


Internal LDAP User password for the Access Manager instance with which Portal is to be configured.


Administrator's password of the Directory Server with which Portal is to be configured.

If Portal Server is installed in a non-default directory, the file:///opt/SUNWportal/lib/psconfig.xsd must be modified accordingly in the <PortalServerConfiguration ...> tag.

If UnconfigureAll=”false” then the components specified in the <ComponentsToConfigure> . . . </ComponentsToConfigure> is unconfigured.

Specific instances of the components can be unconfigured. For example, the following portion of code removes the SearchServer “search1,” the instance “myInstance” of the portal “MyFirstPortal,” all instances of the portal “MySecondPortal” and the instance “default” of Gateway, Netlet Proxy and Rewriter Proxy.

                        <SearchServer SearchServerID="search1">
                        <PortalServer PortalID="MyFirstPortal">
                             <Instance InstanceID="myInstance">
                        <PortalServer PortalID="MySecondPortal">
                        <Gateway Profile="default"/>
                        <NetletProxy Profile="default"/>
                        <RewriterProxy Profile="default"/>