Netscape Compass Server Administrator's Guide

[Contents] [Previous] [Next] [Index]

Appendix A
Migrating from Catalog Server 1.0

All Netscape servers provide a way for you to migrate from an existing, older server to a new one, maintaining as much of the old configuration as possible. In the case of Netscape Compass Server, there are some extra considerations involved when migrating from a Netscape Catalog Server 1.0 installation.

NOTE: Migration takes place on a single computer. That is, you install the new server on the same system as the old one, and the migration process copies and translates configuration files and prepares the new server to receive content from the old one. You cannot perform migration across a network. Similarly, migrating a server on one operating system of a dual-boot Windows NT system will not migrate to the other operating system.

Things to Do Before Migrating

There are several things you need to do before attempting to migrate a Catalog Server into a new Compass Server.

Install the Compass Server.

You must install the Compass Server on the same computer that has the Catalog Server running on it. Because they use different administration servers, you must install the Compass Server in a different server root directory.
Instructions on installing the server are in the Netscape Compass Server Installation Guide or in the readme file accompanying the server.
If you install the new server to use the same port as the old one, you must not turn on the servers at the same time. Leave the Compass Server off at first, until after the migration process.

  1. Update the Catalog Server.
    The migration process copies information to the Compass Server only from a Catalog Server. That means that any information held in Resource Description Servers that has not been imported into the Catalog Server will not migrate. Therefore, make sure the Catalog Server is as up-to-date as possible before migrating.
    Specifically, this means you should import all available resource descriptions from all available RDSs into the Catalog Server before starting the migration process. If you do not, it is possible for your resource descriptions to get out of synch with configuration files such as the schema and categories.
NOTE: During the migration process, you will likely see messages that indicate that your Resource Description Servers are not installed, even though they are. What this really means is that there is no information you can migrate from those servers.

Migrating the Server

The migration process is fairly simple, but there are a few messages presented that might seem confusing. It is important that you follow these directions in the proper order.

When you migrate from a Catalog Server, the migration process copies or translates the following information:

The migration process also creates an import agent for the new Compass Server to import the entire contents of the Catalog Server database.

To migrate a Catalog Server to a Compass Server, do the following:

Install the Compass Server as described in the Netscape Compass Server Installation Guide or the readme file.

Do not start the Compass Server.

  1. Access the administration server for the Compass Server.

  2. Click the link near the bottom of the Netscape Server Administration page labeled "Migrate from previous version."
    You will see a form headed "Choose 2.x Server Root to Import From." The 2.x refers to the version number of the administration server used by Netscape Catalog Server 1.0.

  3. Type the path of the Catalog Server's server root directory in the text box.
    For Unix systems, the default path is /usr/ns-home. For Windows NT systems, the default directory is C:\Netscape.

  4. Click Find Servers.
    This generates a list of the servers in that server root, including the Administration Server itself, the Catalog Server, and any other servers sharing that administration server, possibly including your Resource Description Servers.
    If you have one or more Resource Description Servers installed, they will appear with a message "Can't import server name, rds not installed." Don't worry about the message. The migration process does not need to import from these servers directly.

  5. Check the import boxes for the Administration Server and the Catalog Server.
    For the Catalog Server, you'll see a form headed "Import 1.x Catalog Server Info." By default, the server name, port, and user ID are copied directly from the Catalog Server.
    You can also choose which Resource Description Server to import filter rules and site information from. You can only migrate the rules and sites from a single RDS. All resource descriptions from all RDSs should already have been imported into the Catalog Server prior to migration.

  6. Click Import.
When you click Import, the migration process copies configuration files from the Catalog Server to the Compass Server and creates an import agent to import the contents of the Catalog Server database into the Compass Server.

If you chose to keep the same port number for the Compass Server that the Catalog Server used, you need to ensure that you don't run both servers at the same time, as they cannot share the port. The following procedure for importing the Catalog Server database into the Compass Server ensures that the two do not conflict.

To import the Catalog Server database contents, do the following:

Make sure the Compass Server is turned off.

  1. Make sure the Catalog Server is turned on.

  2. Access the Server Manager for the Compass Server.

  3. Choose Database|Import Agents.
    You should see one import agent listed, importing from the Catalog Server.

  4. Click Run to run the import agent.

  5. Wait for the import agent to complete its job.

  6. Turn the Catalog Server off.

  7. Turn the Compass Server on.
Users should now be able to access the Compass Server, with the same contents as the old Catalog Server.


[Contents] [Previous] [Next] [Index]

Last Updated: 02/12/98 13:36:22


Copyright © 1997 Netscape Communications Corporation

Any sample code included above is provided for your use on an "AS IS" basis, under the Netscape License Agreement - Terms of Use