netscape2zeus
Migration from Netscape installations to Zeus
Overview
netscape2zeus is a tool that can help you migrate from Netscape webservers to Zeus, by providing automatic generation of Zeus configuration files based on a running Netscape server installation directory. The program can automatically detect and configure several Netscape configuration entities, making the migration work easier.
Usage
The netscape2zeus program can be found on the adminserver machine at $ZEUSHOME/webadmin/bin/netscape2zeus.To run the tool, you need read access to the Netscape installation directory, and write access to the Zeus installation directory. The simplest way to achieve this, is to run the script as the user that owns the Zeus Webserver installation, which is usually root.
netscape2zeus is straightforward to use, just give the Netscape and Zeus installation directories as arguments, for example:
$ netscape2zeus /opt/netscape/suitespot /usr/local/zeus The above command will try to translate the Netscape configuration in /opt/netscape/suitespot to a Zeus configuration in /usr/local/zeus. The success of the translation process will vary according to the complexity of your Netscape configuration.
If netscape2zeus detects any ambiguities or errors during the analysis of the Netscape installation it will allow you to review the generated Zeus configuration file before copying it to the Zeus installation directory. For example, in this case the output of the command would be:hades_1 has 1 pending warnings. Would you like to edit the generated config. file ? [y]: if you reply "y", the script will invoke an editor (/bin/vi by default, or the one specified in the EDITOR environment variable) with the generated configuration for the hades_1 virtual server. Any changes you make will be integrated into the installed Zeus configuration file.If you run the script in the verbose mode, you will be able to see the progress of the translation, including any warnings or errors that occurs. For example,
$ netscape2zeus -v /opt/netscape/suitespot /usr/local/zeus Step 1: checking directories. Checking consistency of /opt/netscape/suitespot/... done! Checking consistency of /usr/local/zeus... done! Step 2: checking installed servers. Checking running/installed Netscape virtual servers... /opt/netscape/suitespot/https-hades_1 -> hades_1 /opt/netscape/suitespot/https-hades_2 -> hades_2 Step 3: checking technical configuration. Analyzing hades_1/magnus.conf...done! Analyzing hades_2/magnus.conf...done! Step 4: checking object configuration. Processing hades_1... *WARNING: hades_1 doesn't define LoadObjects. I'll assume obj.conf... Configuring CGI (/cgi-bin->/opt/netscape/suitespot/https-hades_1/cgi-bin)...done! Configuring user home mapping (public_html) Merging with /usr/local/zeus/webadmin/conf/skel... Processing hades_2... Merging with /usr/local/zeus/webadmin/conf/skel... Step 5: generating final configurations. hades_1 has 1 pending warnings. Would you like to edit the generated config. file ? [y]: Once the script is finished, you can review the generated configuration via the admin server, and then start each configured virtual server to check the correctness of the configuration.
Current Migration Capabilities
In the current version, netscape2zeus can migrate simple Netscape configurations, it can recognize and configure the following:
If you have any other migration needs, please contact our support representatives.
- Virtual Server detection and configuration.
- Correct port number/server name.
- Error log configuration.
- Access log configuration.
- MIME types configuration.
- CGI configuration.
- Index file configuration.
- User home mapping.
- Directory mappings.