Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

I recently setup a server to run multiple instance of IBM HTTP Server from a Single IHS Install on Windows.

Originally the servers looked like this,

...

Virtual hosting was not an option, because the team was willing to change the domain name, but not the context root. Also, the The customer was able to provide a second IP for the server.

Instructions

The instructions are well documented on two different articles,

...

Recorded here is the abridged version with the added assurance that the steps used work and has been running fine over the last yearin a Bank production environment since March 2012.

Initial IHS Setup

Version of IHS used,

  • IBM HTTPServer 7.0.0.0 / Apache 2.2.8 for Windows (32bit) 2009-05-15 from the IBM HTTP Server website
  • ihs.7000.windows.ia32.zip

...

Create a user ID for IBM HTTP Server administration server authentication = Uncheck

Creating Secondary Instance

Remove FRCA

Determine if FRCA (Fast Response Cache Accelerator) is enabled by searching for the directives AfpaEnable, AfpaCache and AfpaCache AfpaLogFile in the IHS configuration files. The configuration file C:\opt\IBMIHS\conf\httpd.conf is the starting point. It may include other files.

Restart the service after the change and ensure IHS is running properly.

Copy Configuration Folder

...

Setup the New Instance

...

Code Block
languagebash
cd \opt\apache2\
bin\apache.exe -f conf-c\httpd.conf -k install -n "IBM HTTP Server 7.0-b"
Installing the IBM HTTP Server 7.0-b service
The IBM HTTP Server 7.0-b service is successfully installed.
Testing httpd.conf....
Errors reported here must be corrected before the service can be started.

Uninstall an Instance

In some cases you will want to uninstall the instance. As far as I can tell this does not remove any files. It simply removes the service item from Windows,

Code Block
cd \opt\apache2\
bin\apache.exe -k install -n "IBM HTTP Server 7.0-b"