Sun Web Server
Sun Web Server
Sun Web Server
9
Installation and Migration Guide
This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual
property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license,
transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software,
unless required by law for interoperability, is prohibited.
The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing.
If this is software or related software documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following
notice is applicable:
U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are
“commercial computer software” or “commercial technical data” pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental
regulations. As such, the use, duplication, disclosure, modification, and adaptation shall be subject to the restrictions and license terms set forth in the applicable
Government contract, and, to the extent applicable by the terms of the Government contract, the additional rights set forth in FAR 52.227-19, Commercial
Computer Software License (December 2007). Oracle America, Inc., 500 Oracle Parkway, Redwood City, CA 94065.
This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently
dangerous applications, including applications which may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you
shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any
liability for any damages caused by use of this software or hardware in dangerous applications.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices. Intel and Intel Xeon are
trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC
International, Inc. UNIX is a registered trademark licensed through X/Open Company, Ltd.
This software or hardware and documentation may provide access to or information on content, products, and services from third parties. Oracle Corporation and
its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle Corporation
and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services.
100723@24661
Contents
Preface .....................................................................................................................................................7
3
Contents
4 Oracle iPlanet Web Server 7.0.9 Installation and Migration Guide • July 2010
Contents
Index ......................................................................................................................................................85
5
6
Preface
This Installation and Migration Guide explains how to install Oracle iPlanet Web Server (Web
Server) and how to migrate from a previous version of the product. This guide also includes
basic information about getting started with Web Server.
For an introduction to Web Server, refer to the books in the order in which they are listed in the
following table.
Documentation Center Web Server documentation topics organized by tasks and subject
7
Preface
NSAPI Developer’s Guide Creating custom Netscape Server Application Programmer’s Interface
(NSAPI) plug-ins
Developer’s Guide to Java Web Implementing Java Servlets and JavaServer Pages (JSP) technology in
Applications Web Server
8 Oracle iPlanet Web Server 7.0.9 Installation and Migration Guide • July 2010
Preface
CLI Reference Manual Administration commands that allow you to administer the Web
Server through the CLI
Documentation Conventions
This section describes the following conventions used in Web Server documentation:
■ “Typographic Conventions” on page 9
■ “Symbol Conventions” on page 9
■ “Shell Prompts in Command Examples” on page 10
Typographic Conventions
The following table describes the typographic changes that are used in this book.
AaBbCc123 The names of commands, files, and Edit your .login file.
directories, and onscreen computer
Use ls -a to list all files.
output
machine_name% you have mail.
AaBbCc123 A placeholder to be replaced with a real The command to remove a file is rm filename.
name or value
AaBbCc123 Book titles, new terms, and terms to be Read Chapter 6 in the User's Guide.
emphasized (note that some emphasized
A cache is a copy that is stored locally.
items appear bold online)
Do not save the file.
Symbol Conventions
The following table explains symbols that might be used in this book.
9
Preface
{|} Contains a set of choices for a -d {y|n} The -d option requires that you use
required command option. either the y argument or the n
argument.
- Joins simultaneous multiple Control-A Press the Control key while you press
keystrokes. the A key.
+ Joins consecutive multiple Ctrl+A+N Press the Control key, release it, and
keystrokes. then press the subsequent keys.
→ Indicates menu item File → New → Templates From the File menu, choose New.
selection in a graphical user From the New submenu, choose
interface. Templates.
Shell Prompt
Bourne shell and Korn shell superuser on UNIX and Linux systems #
10 Oracle iPlanet Web Server 7.0.9 Installation and Migration Guide • July 2010
Preface
install-dir Represents the base installation Installation as the root user on the Solaris, Linux,
directory for Web Server. AIX, and HP-UX platforms:
/opt/oracle/webserver7
Installation as a non-root user on the Solaris, Linux,
AIX, and HP-UX platforms:
user-home-dir/oracle/webserver7
All installations on the Windows platform:
SystemDrive:\Program Files\Oracle\Webserver7
instance-dir Directory that contains the For all installations, the same as install-dir.
instance-specific subdirectories.
The following table shows the default paths and file names for Web Server when installed as a
component of Sun Java Enterprise System (Java ES).
TABLE P–6 Default Paths and File Names for Java ES Installations
11
Preface
search-term site:docs.sun.com
proxy site:docs.sun.com
To include other Oracle web sites in your search (for example, java.sun.com, www.sun.com,
and developers.sun.com), use sun.com in place of docs.sun.com in the search field.
Note – Oracle is not responsible for the availability of third-party web sites mentioned in this
document. Oracle does not endorse and is not responsible or liable for any content, advertising,
products, or other materials that are available on or through such sites or resources. Oracle will
not be responsible or liable for any actual or alleged damage or loss caused or alleged to be
caused by or in connection with use of or reliance on any such content, goods, or services that
are available on or through such sites or resources.
12 Oracle iPlanet Web Server 7.0.9 Installation and Migration Guide • July 2010
1
C H A P T E R 1
Installation Overview
This chapter provides an overview of Web Server installation. For detailed installation
instructions, see Chapter 2, “Installing the Web Server.”
13
New Administration Framework
■ Java Software Development Kit, Standard Edition bundled with the product (version
1.5.0_09)
Server farms, clusters, and this new administration framework are described in detail in the
Oracle iPlanet Web Server 7.0.9 Administrator’s Guide, but a general understanding of related
terms will be helpful as you perform the installation:
■ Node refers to a server or host in a network.
■ Configuration refers to a set of metadata that configures the runtime services of a Web
Server. Serving web pages from a given document root is an example of a runtime service.
The configuration metadata is used by the server runtime to load built-in services (SAFs)
and third party plug-ins, and to configure other server extensions such as database drivers.
All of these services help serve web pages and dynamic web applications.
The metadata for a configuration is stored in the Config Store, which contains the
configuration files, applications, and other elements that are part of a configuration. The
configuration files managed by the administration framework are magnus.conf,
server.xml, obj.conf, mime.types, keyfile and digestfile, acl files, and the certificate
database files. These files are described in detail in the Oracle iPlanet Web Server 7.0.9
Administrator’s Configuration File Reference.
Web applications are uploaded as WAR files during deployment and expanded into the
Config Store. Third-party NSAPI plug-ins and third-party Java Archive (JAR) files are also
stored in the Config Store, as are search collections if the search collection index directory is
not specified during migration (for more information, see “Search” on page 73). The
Config Store is located in the config-store directory under the instance_dir directory of
the Administration Server instance. For detailed information about the contents of the
config-store directory, see the Oracle iPlanet Web Server 7.0.9 Administrator’s
Configuration File Reference.
Caution – Do not edit any file under config-store directory. The files under this directory
are created by Web Server for internal use.
14 Oracle iPlanet Web Server 7.0.9 Installation and Migration Guide • July 2010
New Administration Framework
■ Instance refers to the environment of a Web Server daemon on a given node, including its
configuration, log files, deployed applications and the resources needed by them, and other
runtime artifacts such as lock databases, caches, and temporary files. Server instances are
created from configurations.
■ Cluster refers to a set of instances spanning one or more nodes, all running an identical
configuration and offering an identical set of runtime services. All instances in a cluster
must be homogeneous, that is, run on an identical operating system version and patches, use
an identical Web Server configuration, and offer identical services.
Note – It is important to note the distinction between a configuration and an instance. In Web
Server 7.0, a server instance is created by deploying a configuration to one or more nodes in a
server farm. A configuration is a virtual representation of an instance.
Note – You can install the administration command-line interface without installing server core,
but you cannot install server core without installing the administration command-line
interface.
Server Core
Server core refers to the core binaries required for the Web Server environment. If Server Core
is selected, an Administration instance is created and it can be configured as either the
Administration Server or the Administration Node, both of which are described below. If the
Administration instance is configured as Administration Server, a default Web Server instance
is installed. These installation options are used in server farm environments in which a
centralized Administration Server resides on one of the nodes and Administration Nodes reside
on the rest.
■ Administration Server
The Administration Server is a specially configured Web Server instance used only for
administration purposes and on which administration applications are deployed. Each node
in a server farm or cluster environment has an Administration Server running on it. Of these
nodes, one is configured to be the master server, referred to as the Administration Server,
and the rest are configured to be slave servers, referred to as Administration Nodes
(described below). The Administration Server is used to administer all Web Server instances
in a server farm and to push configurations to the various nodes. The master Administration
Server runs the graphical administration console and command-line administration
interface, while the nodes in the farm run just the Administration Node application. The
Administration Server maintains the configuration repository for all instances.
■ Administration Node
The Administration Node is a Web Server instance without the features and functionality of
the Administration Server (no graphical console, for instance). The Administration Node
receives commands from the designated Administration Server and performs limited
actions on that particular node, such as creating, deleting, starting, and stopping Web Server
instances. Instances can be created on Administration Nodes only by the Administration
Server. The nodes within a server farm or cluster cannot be configured independently.
The Administration Node must be registered with the Administration Server, either during
the installation (see the related steps in Chapter 2, “Installing the Web Server”) or after
installation (see “Registering the Administration Node From the Command-Line” on
page 57). The Administration Server must be running during the registration.
When considering the options described above, use the following general guidelines:
■ If you are not setting up a server farm and want just a straightforward Web Server, choose to
configure the Administration instance as the Administration Server. A default Web Server
instance will also be created.
■ If you are setting up a server farm, first configure the centralized Administration Server
instance. Then configure the rest of the nodes in the server farm as Administration Nodes by
selecting the option to configure the Administration instance as an Administration Node. If
you configure the Administration instance as the Administration Server, a default Web
Server instance is also created.
16 Oracle iPlanet Web Server 7.0.9 Installation and Migration Guide • July 2010
64-bit Support
Note – You can install the administration command-line interface without installing server core,
but you cannot install server core without installing the administration command-line
interface.
Sample Applications
If you select Sample Applications in the component selection portion of the installation, sample
applications demonstrating Web Server features and functionality are installed. The default
installation location is install-dir/samples. For more information about the sample
applications, see “Sample Applications in Web Server” in Oracle iPlanet Web Server 7.0.9
Developer’s Guide to Java Web Applications.
64-bit Support
Web Server 7.0 provides the option of installing a 64-bit version of the Web Server on Solaris
SPARC and Solaris AMD64. If the installer detects a 64-bit system, you have the option to install
the 64-bit binaries. This option is available only for the following platforms:
■ Oracle Enterprise Linux 4 U8+
■ Oracle Enterprise Linux 5 U4+
■ Oracle Solaris 8, 9, and 10 on SPARC v9
■ Oracle Solaris 10 on AMD64
■ Red Hat Enterprise Linux 4 64–bit
■ Red Hat Enterprise Linux 5 64–bit
■ SuSE Enterprise Linux 10.2 64–bit
■ SuSE Enterprise Linux 11 64–bit
■ To determine if your Solaris operating system is 32- or 64-bit, use the isainfo -v
command.
■ Following installation, the Web Server runs in 32-bit mode by default. For information
about actions that must be taken to run the Web Server in 64-bit mode, see “Enabling 64–bit
Support” on page 56.
■ When the server is configured to run in 32-bit mode (the default), 32-bit NSAPI plug-ins
will continue to work even if 64-bit runtime is installed. Existing 32-bit plug-ins, however,
will need to be recompiled as 64-bit plug-ins to work with a 64-bit server. In some cases,
code changes will also be necessary. For more information, see the Oracle iPlanet Web
Server 7.0.9 NSAPI Developer’s Guide.
■ Pure Java code does not need to be recompiled for the 64-bit architecture. If the Java code
uses native Java Native Interface (JNI) user code, only the JNI code needs to be compiled. No
changes are required for any JAR files. For more information about migrating Java Web
applications to the 64-bit architecture, see the Oracle iPlanet Web Server 7.0.9 Developer’s
Guide to Java Web Applications.
■ The Administration Server is a 32-bit application, but manages both the 32- and 64-bit Web
Server instances.
■ Web Server 64-bit Linux is a separate stand alone distribution and cannot exist with Web
Server 7.0 32-bit Linux. Web Server 7.0 64-bit Linux requires 64-bit JDK 5.0 Update 12 or
above. Both Administration Server and server instance only are in 64-bit server
Directory Structure
For detailed information about the directory structure created when you first install the Web
Server, see the Oracle iPlanet Web Server 7.0.9 Administrator’s Configuration File Reference.
18 Oracle iPlanet Web Server 7.0.9 Installation and Migration Guide • July 2010
2
C H A P T E R 2
This chapter provides instructions for installing Web Server. Before you begin, make sure your
system meets the requirements specified in the Oracle iPlanet Web Server 7.0.9 Release Notes.
Note – UNIX installation supports both root and non-root user installations. Non-administrator
installation is not supported on Windows. Windows users must have power user or
administrator access.
Installation Requirements
Your system must meet the installation requirements specified in the Oracle iPlanet Web
Server 7.0.9 Release Notes. Review that document before beginning the installation.
19
Installation Modes
Installation Modes
There are three installation modes: graphical, command-line, and silent. These modes enable
you to choose the interactive or non-interactive option that best suits your needs.
This section provides a brief overview of the installation modes. For installation instructions,
see Chapter 2, “Installing the Web Server.” Graphical, command-line, and silent modes are also
available for uninstallation. For uninstallation instructions, see Chapter 4, “Uninstalling the
Web Server.”
Graphical Mode
The graphical mode is an interactive graphical wizard that walks you through the installation
process with a series of screens, prompting for installation information and preferences. This is
the default mode when the installation program is started without options (./setup). For more
information, see “Installing in Graphical Mode” on page 24.
Note – On UNIX systems, the installation interface defaults to command-line mode if the
DISPLAY environment variable has not been exported to your local machine and if X Windows
is not supported.
Command-Line Mode
The command-line mode is an interactive, text-based interface that prompts for responses in a
terminal window. To activate the command-line mode, start the installation program using the
--console option (./setup --console). For more information, see “Installing in
Command-Line Mode on UNIX and Linux” on page 29.
Silent Mode
Silent installation is a non-interactive mode that enables you to run the installer on multiple
hosts using an installer configuration file called a state file. The state file is created when the
--savestate option is used with the setup command. The state file is saved in the installation
directory, install-dir. The default name of the file is statefile, but the file name can be changed
if desired.
To activate the silent mode, create the state file and then start the installation program using the
--silent option (./setup --silent state_file). After the silent mode is activated, installation
takes place without additional input. For more information about creating a state file and
installing the Web Server using silent installation, see “Installing in Silent Mode” on page 42.
20 Oracle iPlanet Web Server 7.0.9 Installation and Migration Guide • July 2010
Selecting the Installation Mode
Note – Ensure that the required patches are installed before installation can complete
successfully on Solaris. For more information on patch requirement see, Oracle iPlanet Web
Server 7.0.9 Release Notes
Option Description
./setup --savestate Runs the installer in graphical mode and also creates
an installation configuration file (state file) based on
this installation, to be used for silent installation. The
state file is created and saved in the installation
directory, install-dir. The default name of the file is
statefile, but the file name can be changed if
desired.
./setup --console --savestate Runs the installer in command-line mode and also
creates an installation configuration file (state file)
based on this installation, to be used for silent
installation.
./setup --javahome java_dir Defines the location of the JDK installation that
should be used for the installer Java Virtual Machine
(JVM), in graphical mode.
./setup --console --javahome java_dir Defines the location of the JDK installation that
should be used for the installer JVM, in
command-line mode.
./setup --id Shows the unique identifier for the installer build.
This option is provided to simplify reuse of installer
state files between builds, if necessary. Each installer
build has a unique identifier. To reuse installer state
files created by different installer builds, the unique
identifier referenced in the installer state file must
match the one in the current installer build. The --id
option enables you to determine this value so you can
edit the value in the state file.
Installation Types
There are two types of installation: Express (the default) and Custom. The installation type is
specified at the start of the installation process. This section briefly describes each type. For
more information about specific settings, see the installation instructions in Chapter 2,
“Installing the Web Server.”
Express Installation
Express installation enables you to quickly install the Web Server using the most common
options and predefined defaults. Express installation is the default installation type and makes
assumptions regarding host name, port numbers, and Java Development Kit (JDK) installation.
If you select Express, you do not specify these settings during installation. Settings will be
configured automatically using the defaults listed in the following table. Use Express
installation if you are new to the Web Server or for evaluation purposes. Choose Custom
installation if you want to customize your installation.
Setting Default
22 Oracle iPlanet Web Server 7.0.9 Installation and Migration Guide • July 2010
Installation Types
Runtime User ID (UNIX) For root installation, default is root. For non-root
installation default is the user that is performing the
installation.
Server name The name of the computer on which you are installing
the default Web Server instance.
Custom Installation
Custom installation provides more flexibility and enables you to configure settings that are not
specified during Express installation, such as Administration Server and Web Server port
numbers and which JDK to use. Use Custom installation if you are an experienced Web Server
user and want to customize your installation.
Note – On UNIX systems, the installation interface defaults to command-line mode if the
DISPLAY environment variable has not been exported to your local machine and if X Windows
is not supported. To install in command-line mode, follow the instructions in “Installing in
Command-Line Mode on UNIX and Linux” on page 29.
24 Oracle iPlanet Web Server 7.0.9 Installation and Migration Guide • July 2010
Installing in Graphical Mode
1 Download the installer file for your platform to a temporary directory. The file format is:
Oracle-iPlanet-Web-Server-7.0.9-platform.zip
5 Select the installation type, Express (the default) or Custom. For more information about each
type, see “Installation Types”on page 22.
Note – Server Core and Administration Command Line Interface (and Server Core 64–bit
Binaries, if applicable for your system) are selected by default. You can install the
administration command-line interface without installing server core, but you cannot install
server core without installing the administration command-line interface. For more
information, see “Web Server Components” on page 15.
■ Server Core. Installs the core binaries needed to set up the Web Server environment.
■ Server Core 64-bit Binaries. (Solaris SPARC, AMD64 and Linux only) Installs the 64–bit
binaries required for setting up the 64–bit runtime for the default Web Server instance. This
option is selected by default and displays only if the system on which you are installing has
64-bit support. If this option is selected, the 64- and 32-bit binaries are installed. For more
information about 64-bit support in Web Server 7.0, see “64-bit Support” on page 17.
■ Administration Command Line Interface. Installs the command-line administration
client used to manage and configure Web Server and its hosted applications from the
command line. Specify Java configuration information as described in Step 8, and then go to
Step 13 to finish the installation.
■ Sample Applications. Installs the sample applications that demonstrate Web Server
features and functionality.
For more information about each component, see “Web Server Components” on page 15.
26 Oracle iPlanet Web Server 7.0.9 Installation and Migration Guide • July 2010
Installing in Graphical Mode
■ Host Name. Specify the fully qualified domain name of the computer on which you are
installing the Administration Node instance.
■ SSL Port. Specify the SSL port for the Administration Node instance or accept the
default. The default is 8989 unless that port is unavailable, in which case this defaults to
the next highest available port.
■ Runtime User ID. (UNIX, root) Specify the UNIX user name to use when running the
Administration Server. For root installations, the default is root. For non-root
installations, the default is the user name that you used at login.
■ Register Node with Remote Administration Server. Specify whether this
Administration Node instance should be registered with the Administration Server
instance at the time of installation (the default), or later (as described in “Registering the
Administration Node From the Command-Line” on page 57). If registration is selected,
specify the following settings and then go to Step 13 to finish the installation:
■ Administration Server Host Name. Specify the fully qualified domain name of the
remote host on which the Administration Server is installed.
■ Administration Server SSL Port. Specify the SSL port on which the remote
Administration Server is listening. The default is 8989.
■ Administrator User Name. Specify the administrator user name used to log in to the
remote Administration Server.
■ Administrator Password. Specify the administrator user password used to log in to
the remote Administration Server.
10 For Custom installations performed as root, specify whether the Web Server and its associated
Administration Server should be started and stopped automatically on system startup and
shutdown (the default is No). For Custom installations performed as non-root, go to Step 11.
Note – SSL port is default for Administration Server. However, you can also choose to use the
Non-SSL port. When you choose to install through SSL port, use https:// to access the
Administration Server.
■ Runtime User ID. (UNIX, root) Specify the UNIX user name to use when running the
Administration Server. For root installations, the default is root. For non-root installations,
the default is the user you logged in as to perform the installation.
■ Administrator User Name. Specify the Administration Server user name. The default is
admin.
■ Administrator Password. Specify the Administration Server user password.
■ Retype Password. Retype the Administration Server user password.
Note – root user can bind to any port in Solaris 10 OS. However, on other version of Solaris
root only can bind to ports lesser than 1024. Solaris 10 provides an alternative way for
non-root users to bind to ports less then 1024. On Solaris 10, you need to provide
net_privaddr privileges to a non-root user and start the server. For example, you can start
the server as webservd. Log in as root and execute the following command:
/usr/sbin/usermod -K defaultpriv=basic,net_privaddr webservd. To start the server
as another user, you need to change the user name in the above command. For more
information on usermod see,
http://docs.sun.com/app/docs/doc/816-5166/6mbb1kqk6?a=view. For more
information on privileges see,
http://docs.sun.com/app/docs/doc/816-5175/6mbba7f30?a=view.
■ Runtime User ID. (root only) If the Administration Server instance's runtime user ID is
non-root, the default is the same as Administration Server instance's runtime user ID. If the
Administration Server instance's runtime user ID is root, the default is webservd.
■ Enable a 64–bit runtime. Specify whether the 64–bit runtime should be enabled for the
default Web Server instance. The default is No (the option is not selected).
■ Create a document Root. Specify whether the default document root should be created
during installation. The default is install-dir/https-server_name/docs. The server's
content files reside in this directory.
28 Oracle iPlanet Web Server 7.0.9 Installation and Migration Guide • July 2010
Installing in Graphical Mode
■ Use the following directory as document Root. Specify a document root other than the
default.
13 On the Ready to Install screen, click Install Now to install the Web Server software.
A progress bar displays status. Click Stop at any time to stop the installation.
When the installation process is complete, a screen indicates whether installation succeeded or
failed, and provides information about using the Administration Server and reviewing the
installation log file. Make note of this information for future reference.
The following procedure describes how to install the Web Server in command-line mode on
UNIX and Linux.
1 Download the file for your platform to a temporary directory. The file format is:
Oracle-iPlanet-Web-Server-7.0.9-platform.zip
4 Proceed through the introductory information and then specify the installation directory.
The default is /opt/oracle/webserver7 for the root user and user-home/oracle/webserver7
for non-root users.
Web Server components will be installed in the directory specified. If the directory does not
exist, you have the option to create it. If a Web Server installation exists in the directory, you
have the option to upgrade that installation or specify a different directory.
5 Specify the installation type, Express (the default) or Custom. For more information about each
type, see “Installation Types”on page 22.
Note – You can install the administration command-line interface without installing server core,
but you cannot install server core without installing the administration command-line
interface.
■ Server Core. Installs the core binaries needed to setup the Web Server environment.
■ Server Core 64–bit Binaries. (Solaris SPARC, AMD64 and Linux only) Installs the 64–bit
binaries required for setting up the 64–bit runtime for the default Web Server instance. This
option is available only if the system on which you are installing has 64-bit support. If this
option is selected, the 64- and 32-bit binaries are installed. For more information about
64-bit support in Web Server 7.0, see “64-bit Support” on page 17.
■ Administration Command Line Interface. Installs the command-line administration
client used to manage and configure Web Server and its hosted applications from the
command line. If Administration Command Line Interface is selected and Server Core is
not, specify Java configuration information as described in Step 8, and then go to Step 13 to
finish the installation.
Note – wdeploy command only supports the backward compatibility with Web Server 6.0
and 6.1 releases. This command will work only on the Administration Node.
■ Sample Applications. Installs the sample applications that demonstrate Web Server
features and functionality.
30 Oracle iPlanet Web Server 7.0.9 Installation and Migration Guide • July 2010
Installing in Graphical Mode
For more information about each component, see “Web Server Components” on page 15.
Note – This option is available only for UNIX custom installation performed as root. Specify
whether the Web Server and its associated Administration Server should be started and stopped
automatically on system startup and shutdown, (default is No).
■ If you select Configure Administration Instance as Administration Server (the default), go
to Step 10.
■ Enable SMF. Select this option to enable Service Management Facility in both
Administration and default instance server. This flag is valid only for Solaris 10. For more
information about Service Management Facility, see
■ If you select Configure Administration Instance as Administration Node, specify the
Administration Node settings listed below and then go to Step 13 to finish the installation:
■ Host Name. Specify the fully qualified domain name of the computer on which you are
installing the Administration Node instance.
■ SSL Port. Specify the SSL port for the Administration Node instance or accept the
default. The default is 8989 unless that port is unavailable, in which case this defaults to
the next highest available port.
■ Runtime User ID. Specify the UNIX user name to use when running the Administration
Server. For root installations, the default is root. For non-root installations, default is the
user name that you used at login to perform the installation.
■ Register Node with Remote Administration Server. Specify whether this
Administration Node instance should be registered with the Administration Server
instance at the time of installation (the default), or later (as described in “Registering the
Administration Node From the Command-Line” on page 57). If registration is selected,
specify the following settings and then go to Step 13 to finish the installation:
■ Administration Server Host Name. Specify the fully qualified domain name of the
remote host on which the Administration Server is installed.
■ Administration SSL Server Port. Specify the SSL port on which the remote
Administration Server is listening. The default is 8989.
■ Administrator User Name. Specify the administrator user name used to log in to the
remote Administration Server.
■ Administrator Password. Specify the administrator user password used to log in to
the remote Administration Server.
10 For Custom installations performed as root, specify whether the Web Server and its associated
Administration Server should be started and stopped automatically on system startup and
shutdown (the default is No). For Custom installations performed as non-root, go to Step 11.
Note – SSL port is default for Administration Server. However, you can also choose to use the
Non-SSL port. When you choose to install through SSL port, use https:// to access the
Administration Server.
■ Runtime User ID. (UNIX, root only) Specify the UNIX user name to use when running the
Administration Server. For root installations, the default is root. For non-root installations,
default is the user name that you used at login to perform the installation.
■ Administrator User Name. Specify the Administration Server user name. The default is
admin.
■ Administrator Password. Specify the Administration Server user password.
■ Retype Password. Retype the Administration Server user password.
32 Oracle iPlanet Web Server 7.0.9 Installation and Migration Guide • July 2010
Installing in Graphical Mode on Windows
■ HTTP Port. Default value depends upon the runtime user ID of the Administration Server
instance. If the Administration Server instance's runtime user ID is non-root, the default is
8080. If the Administration Server instance's runtime user ID is root, the default is 80.
Note – root user can bind to any port in Solaris 10 OS. However, on other version of Solaris
root only can bind to ports lesser than 1024. Solaris 10 provides an alternative way for
non-root users to bind to ports less then 1024. On Solaris 10, you need to provide
net_privaddr privileges to a non-root user and start the server. For example, you can start
the server as webservd. Log in as root and execute the following command:
/usr/sbin/usermod -K defaultpriv=basic,net_privaddr webservd. To start the server
as another user, you need to change the user name in the above command. For more
information on usermod see,
http://docs.sun.com/app/docs/doc/816-5166/6mbb1kqk6?a=view. For more
information on privileges see,
http://docs.sun.com/app/docs/doc/816-5175/6mbba7f30?a=view.
■ Runtime User ID. Specify the UNIX user name to use when running the default instance of
the Web Server. For root installations, the default is webservd on all UNIX platforms. For
non-root installations, default is the user name that you used at login to perform the
installation.
■ Document Root Directory. Specify the document root directory. The default is
install-dir/https-server_name/docs. The server's content files reside in this directory.
13 Specify whether you want to install the product (the default), start over, or exit the installation.
Following installation, text displays indicating whether the installation succeeded or failed, and
providing information about using the Administration Server and reviewing the installation log
file. Make note of this information for future reference.
Note – On Windows XP SP2 and Windows server 2003 SP1 onwards, only one instance listens
on the same port.
3 Start the installation by double-clicking setup.exe, or by typing setup from the command line.
The graphical installation wizard displays. General navigation is as follows:
■ Click Back to return to the previous screen.
■ Click Next to move to the next screen.
■ Click Cancel to cancel the installation.
■ Click Help to display documentation specific to the current screen.
4 Proceed from the Welcome screen and specify the installation directory.
The default is C:\Program Files\Oracle\Webserver7.
Web Server components are installed in the directory specified. If the directory does not exist,
you have the option to create it. If a Web Server installation exists in the directory, you have the
option to upgrade that installation. Otherwise, you must uninstall the existing installation. Only
one Web Server 7.0 installation is permitted.
5 Select the installation type, Express (the default) or Custom. For more information about each
type, see “Installation Types”on page 22.
34 Oracle iPlanet Web Server 7.0.9 Installation and Migration Guide • July 2010
Installing in Graphical Mode on Windows
Note – You can install the administration command-line interface without installing the server
core, but you cannot install the server core without installing the administration command-line
interface. For more information, see“Web Server Components” on page 15.
■ Server Core. Installs the core binaries needed to set up the Web Server environment.
■ Administration Command Line Interface. Installs the command-line administration
client used to manage and configure Web Server and its hosted applications from the
command line. If Administration Command Line Interface is selected and Server Core is
not, specify Java configuration information as described in Step 8, and then go to Step 12 to
finish the installation.
■ Sample Applications. Installs the sample applications that demonstrate Web Server
features and functionality.
For more information about each component, see “Web Server Components” on page 15.
■ Administration Server Host Name. Specify the fully qualified domain name of the
remote host on which the Administration Server is installed.
■ Administration Server SSL Port. Specify the SSL port on which the remote
Administration Server is listening. The default is 8989.
■ Administrator User Name. Specify the administrator user name used to log in to the
remote Administration Server.
■ Administrator Password. Specify the administrator user password used to log in to
the remote Administration Server.
Note – SSL port is default for Administration Server. However, you can also choose to use the
Non-SSL port. When you choose to install through SSL port, use https:// to access the
Administration Server.
■ Administrator User Name. Specify the Administration Server user name. The default is
admin.
■ Administrator Password. Specify the Administration Server user password.
■ Retype Password. Retype the Administration Server user password.
36 Oracle iPlanet Web Server 7.0.9 Installation and Migration Guide • July 2010
Installing in Graphical Mode on Windows
■ Create a default document root. Specify whether the default document root directory
should be created during installation. The default is install-dir\https-server_name\docs.
The server's content files reside in this directory.
■ Use the following directory as document Root. Specify a document root other than the
default.
12 On the Ready to Install screen, click Install Now to install the Web Server software.
A progress bar displays status. Click Stop at any time to stop the installation.
When the installation process is complete, a screen displays indicating whether installation
succeeded or failed, and providing information about using the Administration Server and
reviewing the installation log file. Make note of this information for future reference.
1 Download the installer file to a temporary directory. The file format is:
Oracle-iPlanet-Web-Server-7.0.9-windows.zip
■ Default values are shown in brackets: [ ]. To accept the default, press Enter or Return. To
provide a different value, type the value at the command prompt and then press Enter or
Return.
4 Proceed through the introductory information and then specify the installation directory.
The default is C:\Program Files\Oracle\Webserver7.
Web Server components are installed in the directory specified. If the directory does not exist,
you have the option to create it. If a Web Server installation exists in the directory, you have the
option to upgrade that installation. Otherwise, you must uninstall the existing installation. Only
one Web Server 7.0 installation is permitted.
5 Specify the installation type, Express (the default) or Custom. For more information about each
type, see “Installation Types”on page 22.
Note – You can install the administration command-line interface without the installing server
core, but you cannot install server core without installing the administration command-line
interface.
■ Server Core. Installs the core binaries needed to set up the Web Server environment.
■ Administration Command Line Interface. Installs the command-line administration
client used to manage and configure Web Server and its hosted applications from the
command line. If Administration Command Line Interface is selected and Server Core is
not, specify Java configuration information as described in Step 8, and then go to Step 13 to
finish the installation.
■ Sample Applications. Installs the sample applications that demonstrate Web Server
features and functionality.
For more information about each component, see “Web Server Components” on page 15.
38 Oracle iPlanet Web Server 7.0.9 Installation and Migration Guide • July 2010
Installing in Graphical Mode on Windows
■ Administration Server Host Name. Specify the fully qualified domain name of the
remote host on which the Administration Server is installed.
■ Administration Server SSL Port. Specify the SSL port on which the remote
Administration Server is listening. The default is 8989.
■ Administrator User Name. Specify the administrator user name used to log in to the
remote Administration Server.
■ Administrator Password. Specify the administrator user password used to log in to
the remote Administration Server.
10 Specify whether the Web Server and its associated Administration Server should be started and
stopped automatically on system startup and shutdown (the default is No).
■ Server Host. Specify the fully qualified domain name of the computer on which you are
installing the Administration Server.
■ SSL Port. Specify the SSL port for the Administration Server or accept the default. The
default is 8989 unless that port is unavailable, in which case this defaults to the next highest
available port.
■ Non-SSL Port. To create Non-SSL port, select the checkbox Create non-ssl port for the
Administration Server. The default is 8800 unless that port is unavailable, in which case this
defaults to the next highest available port.
Note – SSL port is default for Administration Server. However, you can also choose to use the
Non-SSL port. When you choose to install through SSL port, use https:// to access the
Administration Server.
■ Administrator User Name. Specify the Administration Server user name to use for
authentication. The default is admin.
■ Administrator Password. Specify the Administration Server user password to use for
authentication.
■ Retype Password. Retype the Administration Server user password.
13 Specify whether you want to install the product (the default), start over, or exit the installation.
Following installation, text displays indicating whether the installation succeeded or failed, and
providing information about using the Administration Server and reviewing the installation log
file. Make note of this information for future reference.
If you have completed installation successfully. For more information see Chapter 3, “Getting
Started”
Windows Entries
Start menu and registry entries are created during installation, as described in the following
sections.
40 Oracle iPlanet Web Server 7.0.9 Installation and Migration Guide • July 2010
Upgrading Web Server from 7.0 to 7.0.9
Start Menu
The following Start menu folder is created:
Start > All Programs > Oracle Corporation > Web Server 7.0
If you configure it as Admin Server, the folder contains the following:
■ Start Admin Server
■ Start Admin Console
■ Uninstall
If you configure it as Admin Node, the folder contains the following:
■ Start Admin Node
■ Start Admin Console
■ Uninstall
Registry Entries
Registry entries are modified as follows:
■ A registry key is created under
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall,
which adds Web Server to the list of applications that can be uninstalled using the Add or
Remove Programs functionality accessed from the Control Panel. This key is removed when
the product is uninstalled using the uninstaller.
■ Entries are added for the Web Server service key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\https-admserv70 for the
Administration Server, and
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\https-config_name (for
example, https-config_name would be https-test for a configuration named test).
■ During upgrade, installer stops the server instances. You must restart the server instances
once the upgrade is done.
■ If you have installed JDK, which was bundled with Web Server 7.0 and trying to upgrade to
Web Server 7.0.9, installation program installs the new version of JDK and it overwrites the
existing JDK installation. Ensure to take a backup of the existing JDK installation folder, if
you have made any changes to it. If you have used your existing JDK installation during 7.0,
then upgrade will continue to use the same JDK.
■ During upgrade, no change is made to configuration. If you have configured the
Administration Server in the Web Server 7.0 installation, then no change is made to it. Only
the bits are upgraded.
1 Navigate to the directory that contains the setup script and other installation files.
42 Oracle iPlanet Web Server 7.0.9 Installation and Migration Guide • July 2010
Advanced Installation Options
3 Perform the installation as described in the installation steps in “Installing in Graphical Mode”
on page 24 or “Installing in Command-Line Mode on UNIX and Linux”on page 29.
The state file is created and saved in the installation directory, install-dir. The default name of
the file is statefile, but the file name can be changed if desired. For information about using
the state file for silent installation, see “Running the Installer in Silent Mode” on page 48.
Note – Ensure you only edit the values and variables. The structure of the state file should not be
modified.
In Web Server 7.0, the values supported for the selected components property were
admincli_l10 and svrcore_l10n.
44 Oracle iPlanet Web Server 7.0.9 Installation and Migration Guide • July 2010
Advanced Installation Options
46 Oracle iPlanet Web Server 7.0.9 Installation and Migration Guide • July 2010
Advanced Installation Options
The following fields are displayed when you configure Administration Node to an
Administration Server.
1 Review the installer configuration file (state file) and verify that it contains the settings you
want to use for silent installation.
2 Copy the state file to each system on which you plan to install the Web Server software.
3 Copy the Web Server installation files to each system on which you plan to install the Web Server
software.
4 Navigate to the directory where you copied the state file and the installation files.
5 Start silent installation at the command line using the following syntax:
■ ./setup --silent state_file (UNIX)
■ setup --silent state_file (Windows)
where state_file is the installer configuration file. The installer program reads thestate_file,
checks for adequate disk space, and then installs the product based on the data in state_file.
When the prompt is returned, silent installation is complete and the installation components
have been installed.
48 Oracle iPlanet Web Server 7.0.9 Installation and Migration Guide • July 2010
Advanced Installation Options
Note – Ensure you only edit the values and variables. The structure of the properties file should
not be changed. Do not edit WS_IS_JES and WS_JDK_HOME values.
50 Oracle iPlanet Web Server 7.0.9 Installation and Migration Guide • July 2010
Advanced Installation Options
Note – When you configure in Configure Late Mode, you must execute configureServer script
in the following location:
Solaris: install-dir/setup/configureServer
Linux/HP-UX: install-dir/setup/configureServer
Windows: jes_install_dir\webserver7\setup\
An asterisk * in the script name refers to the unique hashcode generated during each
installation, for example webserver7–99bbdd. The script contains the variable
WS_INSTANCE_ROOT which is set to 1. To disable the Start on Boot option, –-set
WS_START_ONBOOT to 0
Note – Be careful to choose the correct script for your system. Each installation includes its own
script with a different hashcode.
Install Log
The install log file is located in the following directory:
install-dir/setup/Oracle_iPlanet_Web_Server_install.log
Install log file entries contain information about the attempted action, the outcome of the
action, and the cause of failure if applicable. Entries fall into three categories: INFO, WARNING,
and ERROR. The following table describes each category.
Category Description
52 Oracle iPlanet Web Server 7.0.9 Installation and Migration Guide • July 2010
Viewing Installation Log Files
/var/tmp/Oracle_iPlanet_Web_Server_install.timestamp
■ Linux, HP-UX, AIX
/var/tmp/Oracle_iPlanet_Web_Server_install.timestamp
■ Windows
%tmp%\Oracle_iPlanet_Web_Server_install.timestamp
Getting Started
3
This chapter provides basic information about getting started with Web Server.
55
Accessing the Administration Server
For example, if the server name specified during installation is myserver and the port is 8989,
the URL used to launch the Administration Server graphical interface is
https://myserver:8989. You will be prompted for the Administration Server user name and
password, which were also specified during installation.
Note – You must use https:// in the URL prefix to access the Administration Server through SSL
port.
Use the --help option (wadm --help) to obtain top-level help for the CLI. Use wadm
sub_command --help for command-specific help. For more information about the
administration CLI, see the man pages and the Oracle iPlanet Web Server 7.0.9 CLI Reference
Manual.
Note – wdeploy command only supports the backward compatibility with Web Server 6.0 and
6.1 releases. This command will work only on the Administration Node.
56 Oracle iPlanet Web Server 7.0.9 Installation and Migration Guide • July 2010
Viewing Access and Error Log Files
Note – When registering an Administration Node with an Administration Server, ensure that
the system date and time of the Administration Node is same as or later than that of the
Administration Server.
■ user_name: Administrator user name to log into remote Administration Server.
■ host_name: Fully qualified domain name of the host on which the Administration Server is
installed.
■ port_name: SSL port on which the remote Administration Server is listening. The default is
8989.
The Access log records information about requests to and responses from the server. The Error
log lists all errors that the server has encountered since the log file was created, and also contains
informational messages about the server, such as when the server was started and who tried
unsuccessfully to log in. By default, the access and server logs are located in
install-dir/admin-server/logs.
For more information about the log files and their configuration, see the Oracle iPlanet Web
Server 7.0.9 Administrator’s Guide, and the online help that is available from the Admin console.
You can also refer other books in the Web Server 7.0 documentation set.
58 Oracle iPlanet Web Server 7.0.9 Installation and Migration Guide • July 2010
4
C H A P T E R 4
This chapter describes how to uninstall the Web Server software, and contains the following
sections:
■ “Selecting the Uninstallation Mode” on page 59
■ “Uninstalling in Graphical Mode” on page 60
■ “Uninstalling in Command-Line Mode” on page 61
■ “Uninstalling in Silent Mode” on page 61
■ “Viewing Uninstallation Log Files” on page 62
If you run the uninstall command without options, the uninstallation programs runs in
graphical mode.
Option Description
59
Uninstalling in Graphical Mode
./uninstall --javahome java_dir Defines the location of the JDK installation that
should be used for the uninstaller JVM, in graphical
mode.
./uninstall --console --javahome java_dir Defines the location of the JDK installation that
should be used for the uninstaller JVM, in
command-line mode.
Note – On UNIX systems, the uninstallation interface defaults to command-line mode if the
DISPLAY environment variable has not been exported to your local machine and if X Windows
is not supported. To uninstall in command-line mode, follow the instructions in “Uninstalling
in Command-Line Mode” on page 61.
60 Oracle iPlanet Web Server 7.0.9 Installation and Migration Guide • July 2010
Uninstalling in Silent Mode
3 Click Next, and then specify whether to save instance configuration information.
Selecting Save Instances (not selected by default) retains all the server instance directories in the
Web Server's install-dir. Saving instances allows you to reuse the configurations by copying
them to the config-store of the new Administration Server
4 Click Next, and then Uninstall Now to proceed with the uninstallation.
A progress bar shows status. Following uninstallation, a summary page displays. Click Details
for more information, or Close to exit the uninstallation wizard.
Uninstall Log
The uninstall log file is located as follows:
install-dir/setup/Oracle_iPlanet_Web_Server_uninstall.log.
Uninstall log file entries contain information about the attempted action, the outcome of the
action, and the cause of failure if applicable. Entries fall into three categories: INFO, WARNING,
and ERROR. The following table describes each category.
Category Description
62 Oracle iPlanet Web Server 7.0.9 Installation and Migration Guide • July 2010
Viewing Uninstallation Log Files
/var/tmp/Oracle_iPlanet_Web_Server_uninstall.timestamp
■ Linux, HP-UX, AIX
/var/tmp/Oracle_iPlanet_Web_Server_uninstall.timestamp
■ Windows
%tmp%\Oracle_iPlanet_Web_Server_uninstall.timestamp
This chapter describes the migration of Sun ONE Web Server 6.0 and Sun Java System Web
Server 6.1 configurations to Web Server 7.0.
Migration Overview
Web Server 7.0 enables you to migrate server instances from Sun ONE Web Server 6.0 and Sun
Java System Web Server 6.1. For a general overview of this terminology and distinction, see
“New Administration Framework” on page 14.
You must first migrate the Web Server 6.0 and 6.1 instance to create a Web Server 7.0
configuration. The Web Server 7.0 configuration is then used to create a Web Server 7.0
instance. Web Server 7.0 includes a new command-line interface for migration, so migration
can now be performed either from the graphical interface or from the command line. See
“Migrating Using the Graphical Interface” on page 79 or “Migrating Using the Command-Line
Interface” on page 80 for specific procedures.
65
What Is and Is Not Migrated
Note – The server being migrated and the Web Server 7.0 Administration Server must reside on
the same host. However, an instance can be created on an associated remote node.
Only Sun ONE Web Server 6.0 and Sun Java System Web Server 6.1 instances can be migrated.
Direct migration from earlier product versions is not supported. To migrate earlier versions,
first migrate them to Sun Java System Web Server 6.1 and confirm that the migration is
successful. For information see the latest Sun Java System Web Server 6.1 documenation
collection at http://docs.sun.com/prod/sjs.websrv61#hic.
Detailed migration information is provided during and after the migration process in the
migration log file. It lists the settings and configurations that were and were not migrated, warns
about required manual changes, and indicates whether the migration succeeded or failed. For
more information about this file, see “Viewing the Migration Log File” on page 83. Many but
not all settings are migrated, as described in “What Is and Is Not Migrated” on page 66.
What Is Migrated
The following are migrated by the migration tool:
■ ACL Files
■ Configuration files
■ Scheduler settings
■ Configuration settings for file cache tuning
■ Key & cert databases and certificate mappings
■ Listen socket settings
■ Mime files
■ NSAPI information
■ SHTML settings
66 Oracle iPlanet Web Server 7.0.9 Installation and Migration Guide • July 2010
Files Requiring Manual Migration
■ SNMP settings
■ SSL information
■ User databases
■ Virtual server settings
■ Web applications (see “Web Applications” on page 75 for more information)
■ WebDAV settings, but not the physical collections and locks (see “WebDAV” on page 76
for more information)
■ Web Server 6.1 search collections informations. see “Search” on page 73 for more
information)
Some configuration file changes are briefly mentioned here but are not described in detail. For
complete information about configuration file changes in Web Server 7.0, see the Web Server
7.0 Administrator's Configuration File Reference.
For information about changes made in Sun Java System Web Server 6.1 and earlier product
versions, see the latest Sun Java System Web Server 6.1 documenation collection at
http://docs.sun.com/prod/sjs.websrv61#hic.
install_root/alias/https-server_id-hostname install-dir
-certx.db /https-server_id/config/certx.db,
where x=7 or 8 (Web Server 7.0 supports both cert7
and cert8)
install_root/alias/https-server_id-hostname install-dir/
-key3.db https-server_id/config/key3.db
68 Oracle iPlanet Web Server 7.0.9 Installation and Migration Guide • July 2010
Configuration File Changes
install_root/alias/secmod.db install-dir/https-server_id/config/secmod.db
install_root/httpacl/generated.https install-dir/https-server_id/config/default.acl
-server_id.acl
install_root/httpacl/genwork.https Removed
-server_id.acl
install_root/userdb/certmap.conf install-dir/https-server_id/config/certmap.conf
admsrv_dir/config/schedulerd.conf Removed
instance-dir/config/*.clfilter Removed
instance-dir/config/magnus.conf install-dir/https-server_id/config/magnus.conf
Retained for NSAPI plug-in configuration, but all
functionality not related to NSAPI plug-ins has been
moved to server.xml. Support for some obsolete
directives has been dropped. The magnus.conf file is
copied into the new server configuration during
migration. If any removed or obsolete directives are
found, a warning is issued.
The following new elements will be created in
server.xml:
■ access-log
■ access-log-buffer
■ acl-cache
■ cgi
■ dns
■ dns-cache
■ http
■ keep-alive
■ localization
■ pkcs11
■ qos
■ ssl-session-cache
■ stats
■ temp-path
■ thread-pool
■ user
For detailed information about these changes, see the
Web Server 7 Administrator's Configuration File
Reference.
instance-dir/config/obj.conf install-dir/https-server_id/config/obj.conf
Retained. In Web Server 6.1, all virtual servers within
a given VSCLASS shared a common obj.conf. In Web
Server 7.0, each virtual server can have its own
obj.conf, or can still share the same obj.conf. For
detailed information about these changes, see Chapter
6, “Syntax and Use of obj.conf,” in Oracle iPlanet Web
Server 7.0.9 Administrator’s Configuration File
Reference and Chapter 2, “Configuration, Instances,
and Nodes,” in Oracle iPlanet Web Server 7.0.9
Administrator’s Guide
70 Oracle iPlanet Web Server 7.0.9 Installation and Migration Guide • July 2010
Other Migration-Related Changes
instance-dir/config/server.xml install-dir/https-server_id/config/server.xml
Most of the attribute names have changed. Some
elements have been consolidated and some have split.
For detailed information about these changes, see the
Web Server 7.0 Administrator's Configuration File
Reference.
The Web Server 6.0 or 6.1 server.xml file is parsed
and the values written in the new server.xml file,
which is created during migration.
server_instance/config/mime.types install-dir/https-server_id/config/mime.type
During migration, the mime.types file of the old
instance in the server_instance/config/mime.types
directory is migrated into the new
server_instance/config directory. Non-default
mime.types (mime1.types, mime2.types, and so on)
in the old server_instance/config directory and listed
in the MIME element of server.xml are migrated into
the new server_instance/config directory.
Content-type Header
After migration from 6.1, Web Server 7.0 will not return Content-type:text/html when there
is no message body, for instance, a redirection location header. Since response doesn't contain
the message body, there's no reason to specify a Content-Type header hence this is a conscious
change made in 7.0 as compared to 6.1. For customers who still depend on Content-type can
make the following configuration changes in 7.0.
Caution – Do not edit any files under config-store directory. The files under this directory are
created by Web Server for internal use.
Metadata for the configurations managed by the administration infrastructure is stored within a
directory called config-store, under the root directory of the Administration Server instance.
When a server is migrated, data is transferred and a configuration is created under
config-store. Configuration files, applications, and other elements that are part of a
configuration are stored in config-store, as are search collections if a different search
collection index directory is not specified during migration (for more information, see “Search”
on page 73). Web Server 7.0 instances are created from these configurations.
For more information about the config-store directory structure and about configuration
files, see the Web Server 7.0 Administrator's Configuration File Reference. For more information
about managing Web Server configurations in data centers and server farms, see the Oracle
iPlanet Web Server 7.0.9 Administrator’s Guide.
72 Oracle iPlanet Web Server 7.0.9 Installation and Migration Guide • July 2010
Other Migration-Related Changes
Element name changes in server.xml The following element names have changed:
■ MAILRESOURCE is now mail-resource.
■ CUSTOMRESOURCE is now custom-resource.
■ EXTERNALJNDIRESOURCE is now
external-jndi-resource, and most of the
attribute names have also changed.
Legacy Servlets
There are no changes to this functionality from Web Server 6.1 to Web Server 7.0. For more
information on legacy servlets, see “Migrating Legacy Servlets” in Oracle iPlanet Web
Server 7.0.9 Developer’s Guide to Java Web Applications
Log Files
Log files are not migrated.
Search
When migrating search, necessary server.xml changes are made and the collections directory
from the Web Server 6.1 server instance is moved to the search collection index directory
specified during migration. If the directory is not specified, the search collection will not be
migrated.
Security
The following table lists changes related to security.
74 Oracle iPlanet Web Server 7.0.9 Installation and Migration Guide • July 2010
Other Migration-Related Changes
SECURITY element moved and renamed security (all In Web Server 6.1, the SECURITY element was under
lower case) the JAVA element in server.xml. In Web Server 7.0,
the JAVA element has been split into two elements: jvm
and servlet-container. In Web Server 7.0, the
security element is under the servlet-container
element and is called security (all lower case) instead
of SECURITY. The necessary changes are made in the
new server_instance/config/server.xml.
Servlet Container
The following table list changes related to servlet container.
Session Manager
There are no changes to this functionality from Web Server 6.1 to Web Server 7.0.
User Libraries
User libraries are not migrated. A warning message is recorded in the migration log file.
Web Applications
The following table lists changes related to web applications.
WEBAPP element changed in server.xml The WEBAPP element is now called web-app and has
been moved under the virtual-server element. The
changes are made in the new
install-dir/admin-server/config-store
/config_name/config/server.xml. Changes are also
be made in the sun-web.xml and web.xml files for the
web applications. If the web application was located
inside the old install-dir, it is physically migrated and
changes are made in sun-web.xml and web.xml files of
the web applications else, the web applications path
element in the migrated server.xml is modified to
point to the old web application directory. No changes
will be made to sun-web.xml and web.xml. A warning
message is recorded in the migration log file to
manually edit these XML files.
WebDAV
The following table lists changes related to WebDAV.
76 Oracle iPlanet Web Server 7.0.9 Installation and Migration Guide • July 2010
Migrating From Web Server 6.0 and 6.1 to Web Server 7.0
<Object name="default">
...
Service fn="service-dav"
method="(OPTIONS|PUT|DELETE|COPY
|MOVE|PROPFIND|PROPPATCH|LOCK
|UNLOCK|MKCOL|ACL|REPORT)"
Error fn="error-j2ee"
AddLog fn="flex-log"
name="access"
<Object>
■ ACL and REPORTS are added in the dav object's
service-dav list of methods. For example:
<Object name="dav"
PathCheck fn="check-acl"
acl="dav-src"
Service fn="service-dav"
method="(GET|HEAD|POST|PUT|DELETE
|COPY|MOVE|PROPFIND|PROPPATCH|LOCK
|UNLOCK|MKCOL|ACL|REPORT)"
</Object>
New ACL entry in default.acl The following new ACL entry is added in
default.acl only if the dav-src ACL exists in
generated.https-server_id.acl:
acl uri=/magnus-internal/";
deny (all) user="anyone";
allow (list) user="all";
Migrating From Web Server 6.0 and 6.1 to Web Server 7.0
This section describes how to migrate Web Server 6.0 and 6.1 to Web Server 7.0 using both the
graphical and the command-line interfaces. Note the following considerations:
■ The server being migrated and the Web Server 7.0 Administration Server must reside on the
same host.
■ Commit all pending configuration changes made to the Sun ONE Web Server 6.0 or Sun
Java System Web Server 6.1 instance through the Administration Server console GUI before
migrating the instance.
■ Confirm that the existing Sun ONE Web Server 6.0 or Sun Java System Web Server 6.1
instance is working correctly before migrating the instance.
■ Stop the server you are migrating before the migrating settings.
■ If migrating from a Web Server version lower than 6.0, you must first migrate your legacy
server to Web Server to 6.1, and then to Web Server 7.0. Direct migration from versions
lower than 6.0 is not supported. After migrating from iPlanet Web Server 4.0 to 6.1, ensure
that Web Server 6.1 works, then migrate to Web Server 7.0.
If you are using a non-supported Linux version, you must perform one of the following tasks to
upgrade to the Web Server 7.0.9. You can perform the following task in Java ES environment as
well.
1. Stop the Web Server 6.0 or 6.1 instances.
2. Upgrade the Linux operating system to one of the Web Server 7.0.9 supported Linux
versions.
3. Migrate the Web Server 6.0 or 6.1 instances to Web Server 7.0.9.
Note – You must upgrade the Linux operating system to one of the supported versions.
or
1. Archive the Web Server 6.0 or 6.1 installation directory, including all necessary resources
like document root, libraries, and web applications.
2. Extract the archive to the system running Web Server 7.0.9.
3. Migrate the extracted Web Server 6.0 or 6.1 instances to Web Server 7.0.9.
Note – Ensure that the directory structure is the same as in Web Server 6.0 or 6.1.
78 Oracle iPlanet Web Server 7.0.9 Installation and Migration Guide • July 2010
Migrating From Web Server 6.0 and 6.1 to Web Server 7.0
To avoid the conflict, during migration, change the configuration name using either the CLI or
the Admin Console. Another option is to copy the configuration to a new configuration that
uses a unique service-id. Use either the wadm> copy-config command, or the Copy button
on the Admin Console Configurations page to copy the configuration.
Note – For detailed information about these and other tasks performed using the
Administration Server console, see the Oracle iPlanet Web Server 7.0.9 Administrator’s Guide.
1 Access the Administration Server console and click the Configurations tab.
2 In the Configuration Tasks table on the resulting Tasks screen, click Migrate Configuration.
The Migrate Instances Wizard displays.
3 In the wizard:
a. Supply the absolute path to the installation directory of the 6.0 or 6.1 Web Server you want
to migrate, then click Next.
Note – Before creating the instance from the migrated configuration, it is imperative that you
review the migration log file and fix any issues. For information about accessing the migration
log, see “Viewing the Migration Log File” on page 83.
4 In the Configuration Tasks table on the Tasks screen, click New Instance.
The New Instance Wizard displays.
5 In the wizard:
b. Select the nodes on which to create an instance of the configuration and click Next.
Note – If you want to migrate to another host than while creating an instance select the
remote node.
6 Start the migrated server and ensure that the server is working properly.
The wadm utility is located in install-dir/bin. For detailed information about using the
administration CLI, see the man pages and the Oracle iPlanet Web Server 7.0.9 CLI Reference
Manual document. For basic information that will help you get started, also see “Using the
Administration Command-Line Interface” on page 56 in this document.
The following examples demonstrate how to use the command-line interface to migrate one or
several server instances.
80 Oracle iPlanet Web Server 7.0.9 Installation and Migration Guide • July 2010
Migrating From Web Server 6.0 and 6.1 to Web Server 7.0
[--rcfile=rcfile][--echo][--no-prompt][--verbose]
[--search-collection-copy-path=directory][
[--log-dir=directory]([--all|[--config=newconfigname[--instance=instancename])
--server-root=path
--instance=instance_name
--server-root=6.xwebserver_install_root
where, for example, 6.xwebserver_install_root might be/opt/SUNWwbsvr and instance_name
might be https-foo.com.
The following is an example of migrate a single instance from Sun ONE Web Server 6.0 or Sun
Java System Web Server 6.1 to Oracle iPlanet Web Server 7.0 using a different name from the
Sun ONE Web Server 6.0 or Sun Java System Web Server 6.1 instance for the migrated
configuration:
wadm> migrate-server [--user=admin-user]
[--password-file=admin-pswd-file][--host=admin-host][--port=admin-port][--no-ssl]
[--rcfile=rcfile][--echo][--no-prompt][--verbose]
[--search-collection-copy-path=directory][
[--log-dir=directory]([--all|[--config=newconfigname[--instance=instancename])
--server-root=path
--instance=instance_name
--config=new-foo
--server-root=6.xwebserver_install_root
where, for example, 6.x webserver_install_root might be/opt/SUNWwbsvr and instance_name
might be https-foo.com.
The following is an example to migrate single instance from Sun ONE Web Server 6.0 or Sun
Java System Web Server 6.1 to Oracle iPlanet Web Server 7.0 using a different name from the
Sun ONE Web Server 6.0 or Sun Java System Web Server 6.1 instance for the migrated
configuration.
wadm> migrate-server [--user=admin-user]
[--password-file=admin-pswd-file][--host=admin-host][--port=admin-port][--no-ssl]
[--rcfile=rcfile][--echo][--no-prompt][--verbose]
[--search-collection-copy-path=directory][
[--log-dir=directory]([--all|[--config=newconfigname[--instance=instancename])
--server-root=path
--instance=instance_name
--config=new-foo
--server-root=6.xwebserver_install_root
where, for example, 6.x webserver_install_root might be/opt/SUNWwbsvr and instance_name
might be https-foo.com.
The following is an example of migrate single instance from Sun ONE Web Server 6.0 or Sun
Java System Web Server 6.1 to Oracle iPlanet Web Server 7.0 using a different name from the
Sun ONE Web Server 6.0 or Sun Java System Web Server 6.1 instance for the migrated
configuration.
--instance=instance_name
--config=new-foo
--search-collection-copy-path=custom_path
--server-root=6.xwebserver_install_root
The following is an example of migrate single instance from Sun ONE Web Server 6.0 or Sun
Java System Web Server 6.1 to Oracle iPlanet Web Server 7.0 using a different name from the
Sun ONE Web Server 6.0 or Sun Java System Web Server 6.1 instance for the migrated
configuration. Specify a different log directory for migration logs:
--instance=instance_name
--config=new-foo
--search-collection-copy-path=custom_path
--log-dir=log_path
--server-root=6.xwebserver_install_root
82 Oracle iPlanet Web Server 7.0.9 Installation and Migration Guide • July 2010
Viewing the Migration Log File
[--rcfile=rcfile][--echo][--no-prompt][--verbose]
[--search-collection-copy-path=directory][[--log-dir=directory]
([--all|[--config=newconfigname[--instance=instancename]) --server-root=path
-all=true
--server-root=6.xwebserver_install_root
Verifying Migration
To verify migration:
■ Review the task completion message, indicating whether migration did or did not take
place.
■ Review the migration log file, accessed as described in “Viewing the Migration Log File” on
page 83. This file contains detailed information about the migration and any files or
components that must be migrated manually.
Note – It is imperative that you review this information and fix any issues before creating a
server instance from the migrated configuration.
MIGRATION_yyyymmddhhmmss.log
For example, if the log directory specified during installation (--logdir) is /ws7, and the
migration process was started on 01/08/2006 at 11:16 PM, the following file is created under the
/ws7 directory: MIGRATION_20060108111600.log. If no log directory was specified during
installation, the file with the same name is created under the install-dir/admin-server/logs
directory.
Note – If you select the All Instances Migration option, all the instances migration log are stored
in the same migration log file.
The migrate-server CLI command removes the prefix https- from the old instance and uses
that name as the configuration name, while the create-instance command adds the prefix
https- to the configuration name and uses that name as the instance name.
84 Oracle iPlanet Web Server 7.0.9 Installation and Migration Guide • July 2010
Index
I
installation
A command-line mode, 20
administration command-line interface, language enhancements and changes, 13-14
pack, 15-17 Graphical Mode, 20
administration framework, node, 14-17 Modes, 20
administration server settings, configuration requirements, 19
settings, 24-33 silent mode, 20
installation graphical mode, on unix and linux, 24-33
installation types
custom, 22-24
C express, 22-24
command-line mode, silent mode, 60-61 instance, cluster, 14-17
components, server core, 15-17
configuration file changes, files removed, 68-71
configuration settings, web server settings, 24-33
N
node, instance, 14-17
E
express, installation types, 22-24
O
on unix and linux, administration server
settings, 24-33
F
files removes, file layout changes, 68-71
85
Index
R
registering the administration node from the command
Line, 57
S
server core, 64–bit binaries, 15-17
state file, changing the state file, 42-43
U
uninstall, graphical mode, 60-61
86 Oracle iPlanet Web Server 7.0.9 Installation and Migration Guide • July 2010