Sun Java System Portal Server 6 2005Q4 Release Notes

Search


Need instructions for removing components except search server. (6298021)

Description:

No easy way exists to remove all components except a search server during the unconfiguration process.

Solution:

Use the following example to specify a search server that does not exist.

<?xml version = "1.0" encoding = "UTF-8"?>
<PortalServerConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="file:///opt/sun/portal/lib/psconfig.xsd">
        <Unconfigure ConfigurationHostName="HOSTNAME.DOMAIN" Validate="true" UnconfigureAll="false">
                <AccessManager>
                        <UserCredentials
                                AdministratorUID="amadmin"
                                AdministratorUserPassword="AMADMIN.PASSWORD"
                                LDAPUserId="amldapuser"
                                LDAPUserIdPassword="AMLDAPUSER.PASSWORD"
                                DirectoryManagerDn="cn=Directory Manager"
                                DirectoryManagerPassword="DIRECTORY.MANAGER.PASSWORD"/>
                </AccessManager>
                <PortalConfiguration>
                        <ComponentsToConfigure>
                                <component>portalserver</component>
                                <component>sracore</component>
                                <component>gateway</component>
                                <component>netletproxy</component>
                                <component>rewriterproxy</component>
                        </ComponentsToConfigure>
                        <SearchServer SearchServerID="nonexistentSearchServer"></SearchServer>
                        <PortalServer PortalID="MyFirstPortal">
                                <Instance InstanceID="nicp204_80"></Instance>
                        </PortalServer>
                        <PortalServer PortalID="MySecondPortal">
                        </PortalServer>
                        <Gateway Profile="default"/>
                        <NetletProxy Profile="default"/>
                        <RewriterProxy Profile="default"/>
                </PortalConfiguration>
        </Unconfigure>
*/PortalServerConfiguration>