Chapter 4 Migrating and Upgrading This chapter contains information on migrating your configuration settings and data from Enterprise Server 3.6 to iPlanet Web Server 4.1, and upgrading from iPlanet Web Server 4.0 to iPlanet Web Server 4.1. This chapter contains the following sections:
This chapter contains information on migrating your configuration settings and data from Enterprise Server 3.6 to iPlanet Web Server 4.1, and upgrading from iPlanet Web Server 4.0 to iPlanet Web Server 4.1.
Migrating from a Pre-3.6 Enterprise Server
Migrating from Enterprise Server 3.6
Upgrading From iPlanet Web Server 4.0
Migrating from a 3.6 server to a 4.1 server
Upgrading from iPlanet Web Server 4.0 to 4.1
Instructions for migrating from an earlier release to 3.6 are at the following URL (a link within the Netscape Enterprise Server 3.6 release notes):
Once you have migrated to Enterprise Server 3.6, you can migrate to 4.1. For more information, see "Migrating from Enterprise Server 3.6".
All user and group information stored in a local database (if you choose to migrate it)
Document roots and any other directory mappings
Configuration styles information
Software and hardware virtual server settings
Search collections
Clusters
Note. In general, when this document refers to Enterprise Server 3.6, the information applies not only to Enterprise 3.6 but to service pack releases as well, for example, Enterprise Server 3.6 SP3.
Agents
Auto-catalog
Server-side Java applets (HttpApplets)
Version control and link management in web publishing
Multiformat collections in search
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:
server-applets
servlets
agents
web publishing
Warning. Shut down all server instances before migrating.
To migrate settings and data from a 3.6 server to the 4.1 server, follow these steps:
In the 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.
iPlanet Web 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.1 components you installed. The following sections of parameters are possible:
General Migration Parameters
Users and Groups
Document Root
Web Publishing
Search Collections
Search Pattern Files
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.1.
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
If you used a local database for your user and group information, follow these steps:
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 the 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.
If you used the Directory Server, you do not need to do anything during the migration process to migrate users and groups. After migrating, in the Administration Server, on the Global Settings tab, use the Configure Directory Service page to point to a Directory Server. You must use a 4.1 or 4.11 Directory Server.
Note. If you are migrating an SSL-enabled server, you will have to manually start the migrated server because you have to specify a password when starting it.
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. Choosing to use your old document root also preserves the web publishing user information.
In the Web Publishing section, choose to migrate web publishing metadata. If you do not choose this option, your metadata will be lost.
Note. When you install the Java subcomponent, the configuration files that are installed include a set of files that end in .default (for example, rules.properties.default). These files contain the default values for the Java configuration files. During migration, the Java configuration files are not changed from the previous version. If you want to update the old files to the new settings, refer to the .default files. You can also refer to the .default files in the future if you want to revert to the iPlanet Web Server 4.1 default settings.
Warning. You must install the ORB before migrating your Enterprise Server. If you do not, you will get an error message when you try to start your migrated server instance.
CLASSPATH in the jvm12.conf file now includes SDKBeans10.jar This change does not affect existing servlets.
Windows NT registry entries and service names are changed from Netscape Enterprise Server to iPlanet Web Server.
Shut down your existing servers.
Run the iPlanet Web Server installer for 4.1.
When you install subcomponents, you must install all the subcomponents you installed for 4.0, otherwise they are not upgraded properly and may not work. You can install additional subcomponents as well.
When prompted for the installation directory, choose the directory where your 4.0 server was installed.
Answer the rest of the installation prompts.
Before installing the software, the installer displays a message that it has detected an upgrade, and that in addition to installing the components you selected, it will also upgrade any components that have been previously installed.
Press any key to continue.
You do not need to answer any more installation prompts. The installer installs the software.
Go to the Control Panel and choose Services.
Start the iPlanet Web Server and Administration Server services.
When you access the Administration Server, you need to click Save and Apply and Load Configuration Changes.
To cancel the upgrade at this point, press CTRL-c.
Go to the https-admserv directory under your server root directory and start the Administration Server by typing ./start. You can also type ./startconsole in the server root directory.
If you have a Netscape console installed, startconsole starts the console. If you do not have a console installed, it starts the Administration Server and launches a browser to the Administration Server administration pages.