WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  IHS with multiple plugin-cfg.xml

    Posted Wed January 18, 2012 10:06 AM
    I searched the web and found that you can use pluginMerge.sh to merge multiple plugin files into one.  However,  is there any other way to make IHS able to handle multiple plugin-cfg files without running pluginMerge tool ?



  • 2.  IHS with multiple plugin-cfg.xml

    Posted Wed January 18, 2012 03:21 PM
    Hi Sam,

    I didn't get your point about merging plug-ins to one file for IHS, could you please explain your need in order to help you better?

    //Ahmed


  • 3.  IHS with multiple plugin-cfg.xml

    Posted Wed January 18, 2012 04:04 PM
    Here is an example.  Assume that I have 2 single WAS server JVMs.   One on box A and the other on box B.  Because of business requirement,  I don't want to put them into one cell with ND.    These 2 single WAS JVMs will generate its own plugin-cfg.xml file.   Let's say that application on these 2 JVMs will be serving for same domain,  for example:  www.example.com/boxA for JVM on box A  and www.example.com/boxB for JVM on box B,  while www.example.com is served by one instance of IHS.      

    From what I search from the web,  the only way is to merge 2 plugin files into one file.  I wonder if there is other way that can I keep these 2 plugin files untouched.


  • 4.  IHS with multiple plugin-cfg.xml

    Posted Thu January 19, 2012 05:43 AM
    Hi,

    In such case, i guess that the only way is to merge them either manually or using tools like pluginCfgMerge or pluginMerge but i recommend to revisit the business case in order to use clustering topoligies.

    //Ahmed


  • 5.  IHS with multiple plugin-cfg.xml

    Posted Wed January 25, 2012 02:31 AM
    Hello,

    If your business case really needs it. Many tools available to merge plugins, but simple way is to merge the plugins manually.

    Regards,
    Rajakumar G


  • 6.  IHS with multiple plugin-cfg.xml

    Posted Thu January 26, 2012 08:23 PM
    You can either do that or if you have multiple domains but need to serve them , then you can multiple httpd.conf pointing to their respective plugin files. Based on your requirement, it seems like merging plugins is the best way of accomplishing your goal.


  • 7.  IHS with multiple plugin-cfg.xml

    Posted Fri February 10, 2012 04:31 PM

    It will work only when u use two different IHS configuration file with different port number. Each conf file will point to different plugin file. Restart of this IHS process will be different.

    ex:

    IHS root: c:\ihs\bin
    To Restart IHS instance 1:
    apachectl.bat -k stop -f c:\ihs\conf\httpd.conf (This is to stop IHS instance 1)

    To restart IHS instance 2:
    apachectl.bat -k stop -f c:\ihs\conf\httpd1.conf (This is to stop IHS instance 2).

    Simmilarly you can start those ihs instances.



  • 8.  IHS with multiple plugin-cfg.xml

    Posted Fri February 17, 2012 10:39 AM
    For this particular situation I would merge them manually.  Once you look at the format of the plugin config file it is very easy to manipulate to get the desired end result.


  • 9.  IHS with multiple plugin-cfg.xml

    Posted Tue February 21, 2012 04:11 PM
    Have you tried using ProxyPass or a JK connector in IHS?