On Windows® operating systems, you can create multiple
instances of IBM® HTTP
Server by manually creating additional service names.
Before you begin
About this task
When you install IBM HTTP Server, you create one IBM HTTP Server as a Windows service
with a default name. If you need to run with more than one IBM HTTP Server
instance, you can manually create additional service names.
Procedure
- Install a new service name. Use the httpd.exe program,
which is located in the bin directory of the IBM HTTP Server installation. The command
syntax for installing a new service name is:
httpd -k install -n <new_service_name> -f
<path_to_new_configuration_file>
This
command allows you to associate a unique configuration file with each service
name.
- Specify different IP addresses or ports in the Listen directives
of each configuration file and specify different log file names.
- Optional: Change settings of the new service using
the Windows Services
control panel. The new service name will have "Log On" set to "Local
System Account" and will have "Startup Type" set to "Automatic." You can change
these default settings using the Windows Services control panel. It might
be necessary to change the "Log On" setting of the new service name to match
the "Log On" of the main installation in order to ensure that file permissions
will allow the new service name to run.
- Disable the Fast Response Cache Accelerator (FRCA). When
running multiple instances of IBM HTTP Server, you must disable the FRCA
(AFPA directives) in all configuration files.
What to do next
After creating a new service name, you can add it to the WebSphere
® Administration
Server administrative console by creating a new Web server definition and
specifying the new service name and the path to the new configuration file.
The
syntax for uninstalling an existing service name is:
httpd -k uninstall -n <service_name>