How to run 2 different instances of IHS with 1 install

Sai1319
Sai1319 used Ask the Experts™
on
Hi Experts,

It may be odd question, but I am curiously looking for answer on this.
We have an Application that receives Online and Web Services traffic. This application is running on IBM HTTP Server 7.0 and WebSphere ND 7.0
I want to separate the traffic for both Online users and Web Services when the hit HTTP Server.
Right now IHS is listening on port 18080 and 18081 for Online users and web Services respectively.
What I want to have two separate httpd.conf files (example - httpd_online.conf and httpd_webservices.conf) and two separate plugin-cfg.xml respectively.
Now I wanted to know how can I kick-off two http conf files under 1 IHS instance.
If this is possible at all, if Not, is there any other options I can choose. But I cannot have two separate IHS instances (just keep in mind)
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2015

Commented:
# apachectl -f /opt/webs/intranet.conf start

Could you detail what is Web Services site and online Users site for? Do they both interface to WebSphere?
What operating system are you running?

Author

Commented:
Thanks for your response. I tried this before, but get the below: The operating system is AIX. Many other application (online (UI) and Web Services) connect to this application downstream. Both need to have separate plug-in and IHS tuning parameters.
bash$ ./apachectl -f /ebiz/xxx/IHS70stg/conf/httpd_online.conf start
Usage: /ebiz/gps/IHS70stg/bin/httpd [-D name] [-d directory] [-f file]
                                    [-C "directive"] [-c "directive"]
                                    [-k start|restart|graceful|graceful-stop|stop]
                                    [-v] [-V] [-h] [-l] [-L] [-t] [-S]
Options:
  -D name            : define a name for use in <IfDefine name> directives
  -d directory       : specify an alternate initial ServerRoot
  -f file            : specify an alternate ServerConfigFile
  -C "directive"     : process directive before reading config files
  -c "directive"     : process directive after reading config files
  -e level           : show startup errors of level (see LogLevel)
  -E file            : log startup errors to file
  -v                 : show version number
  -V                 : show compile settings
  -h                 : list available command line options (this page)
  -l                 : list compiled in modules
  -L                 : list available configuration directives
  -t -D DUMP_VHOSTS  : show parsed settings (currently only vhost settings)
  -S                 : a synonym for -t -D DUMP_VHOSTS
  -t -D DUMP_MODULES : show all loaded modules
  -M                 : a synonym for -t -D DUMP_MODULES
  -t                 : run syntax check for config files
Top Expert 2015
Commented:
./apachectl -f /ebiz/xxx/IHS70stg/conf/httpd_online.conf -k start

common apache does not require -k

Normally one would use virtual hosts inside same httpd.conf to split websites.
Do you have people from internet connecting?
How to Generate Services Revenue the Easiest Way

This Tuesday! Learn key insights about modern cyber protection services & gain practical strategies to skyrocket business:

- What it takes to build a cloud service portfolio
- How to determine which services will help your unique business grow
- Various use-cases and examples

Author

Commented:
This one worked for me. Thank you very much.

This application is internal though we do have sites that connect via Web Services that are in the internet, wonder why you asked that?

I thought of Virtual Hosts inside the same httpd.conf, but given that both plug-in have separate parameter values like MaxConnections, ServerIOTimeout, BufferSize.. etc..
Top Expert 2015

Commented:
No need to juggle with those parameters. Sum MaxConnections, set whatever timeout to 10x20 seconds and estabilish some monitoring on both services. No need to juggle with low-level socket parameters. Unles solving an immediate problem they are best left as they are....
Since peak load does not happen on both sites at the same moment you are covered for quite some time.

Author

Commented:
Great, thanks!
Top Expert 2015

Commented:
Check http://www.cymru.com/Documents/ip-stack-tuning.html

clean_partial_conns will help to survive small scale DOS attacks and benchmarks...

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial