Chapter 4 Migrating from 3.6 to 4.0 This chapter contains information on migrating your configuration settings and data from Enterprise Server 3.6 to Enterprise Server 4.0. This chapter contains the following sections:
This chapter contains information on migrating your configuration settings and data from Enterprise Server 3.6 to Enterprise Server 4.0.
Migrating from Earlier Versions
Migration Overview
Migrating Settings and Data
Migrating Applications
All user and group information stored in a local database
Document roots and any other directory mappings
Configuration styles information
Software and hardware virtual server settings
Search collections
Clusters
Agents
Auto-catalog
HTTP Java applets
Version control and link management in web publishing
Init directives:
SJavaBootInit
java-init
java-run
java-find-applet
java-run-applet
ns_agent
agent_name_trans
rdm-init
rdm-type
rdm-service
rdm-log
es-search
CM_Init
NameTrans directives for everything listed above, plus the following:
es-search-nametrans
publisher
search-ui
webpub-ui
Service directives for everything listed in the previous two bullets, plus the following:
shtml-send
all CM_* functions
Objects for the following:
servlet-applets
servlets
agents
web publishing
In the Enterprise Administration Server page, click the Servers tab.
Click Migrate Server.
Enter the server root of the server from which you want to migrate and click Search.
Enterprise Server detects whether there are servers installed in the directory you specified and displays the servers you can migrate in a section of the page called "Installed Servers."
Choose a server from the drop-down list and click Migrate.
A new window appears showing the migration parameters.
Fill in the form.
The sections on the form that you see depend upon which features your 3.6 Enterprise Server is using and which 4.0 components you installed. The following sections of parameters are possible:
General Migration Parameters
Users and Groups
Document Root
Web Publishing
Search Collections
Keys and Certificates
For more information, see "The Migration Parameters Page".
Click Migrate.
The Migrate Server_name page appears. It shows the results of the migration, including the parameters successfully migrated and the parameters that you need to migrate manually. It also shows any features of your 3.6 server that are not supported in 4.0.
Click Configure Migrated Server to configure your migrated server instance in the Server Manger, or click Close to close the migration window.
Figure 4.1    Migration information
During the migration process, choose to export your local database to an LDIF file.
In your 4.x Directory Server, use the file ldif2ldap to add DN information to your exported file. The ldif2ldap file is in your Directory Server instance folder. To run it on Windows NT, type:
ldif2ldap.bat filename
where filename is the name of the exported LDIF file.
On Unix, type:
./ldif2ldap filename
Open Directory Server in Netscape Console. From the Configuration tab, right-click on the Database item and choose Import. Browse to your converted file.
In Enterprise Administration Server, on the Global Settings tab, use the Configure Directory Service page to point to the Directory Server where you imported your database information.
Migrating Web Publishing If you had web publishing turned on in Enterprise Server 3.6 server, the configuration files are migrated automatically as part of the migration process.
In the Document Root section, choose to use your old document root. Web publishing relies on pathnames, and if you use a new document root your pathnames change.
In the Web Publishing section, choose to migrate web publishing metadata. If you do not choose this option, your metadata will be lost.
Download the filters from Verity at http://www.verity.com/netscapefilters.
Uncompress them and install them into the server_root/plugins/search directory.
For each instance of the server for which you want to enable document conversion, open the server_root/https-server-id/config/webpub.conf file for editing.
Within the [NS-loader] section of this file, add the following line:
NS-enable-conversion=Y
Go to the Server Manager for the server instance.
Click Apply to apply the changes you made to the webpub.conf file for that server instance. The server automatically restarts.
Reindex any multi-format collections.
Open the server_root/https-server-id/config/webpub.conf file for editing.
Reindex your multiformat collections.