+

Search Tips   |   Advanced Search

Home Operating Systems: Windows

 

Creating multiple instances of IHS on Windows operating systems

On Windows operating systems, you can create multiple instances of IBM HTTP Server by manually creating additional service names.

When you install IHS, you create one IHS as a Windows service with a default name. If we need to run with more than one IHS instance, you can manually create additional service names.

  1. Install a new service name. Use the httpd.exe program, which is located in the bin of the IHS 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.

  2. Specify different IP addresses or ports in the Listen directives of each configuration file and specify different log file names.

  3. 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.

  4. Disable the Fast Response Cache Accelerator (FRCA). When running multiple instances of IHS, 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 admin 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>


 

Related tasks

Install IHS