?
Solved

WebSphere 6.1 Plugin Configuration

Posted on 2010-01-12
12
Medium Priority
?
2,097 Views
Last Modified: 2013-12-11
Hi
I am having two application servers running in two different profiles.
Now I am abt to configure the plugin for the two servers with one IBM HttpServer hosted on the same machine as WAS6.1 ND.
Can any one suggest what could be the best way to configure the plugin so that It can be managed efficiently.

Let me know which one of the following is the best

1) Two webserver definitions for two diff profiles ie two plugin-cfg.xml (How the plugin configuration looks at WAS side in this case)
2) one webserve definition for two profiles

In either of the above two cases what is the downside of using auto generate/propagate plugin from Admin console as we are using ND

Reply requested ASAP

Thanks in advance

Regards,
Rishi


0
Comment
Question by:RishiBang
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 6
12 Comments
 

Author Comment

by:RishiBang
ID: 26299284
HonorGod,

Can you pls answer this question?

I need to decide on the Plugin configuration asap.


Thanks,
Rishi
0
 
LVL 41

Accepted Solution

by:
HonorGod earned 2000 total points
ID: 26299866
 Hm.  I'm trying to figure out exactly what it is you are asking.

  When you said:
> I am having two application servers running in two different profiles.

  I thought that you were talking about 2 stand-alone (unfederated) Application Servers.

  But the next sentence indicates that you have a Network Deployment / Deployment Manager node/machine.

  What, exactly, do you mean by "manage" when you say:

> Can any one suggest what could be the best way to configure the plugin so that It can be managed efficiently.

  The plugin module in your web server can only know about 1 plugin-cfg.xml file.  So, for the single web server with WebSphere plugin, there has to be a single plugin-cfg.xml file that identifies all of the WebSphere resources that are to be accessible through the web server.

  So, you are going to have to merge the information from the AppServer plugin-cfg.xml files into a single file that is processed and used by the plugin module in your web server.

  Does this make sense?

  This technote explains the process:

http://www.IBM.com/support/docview.wss?rs=180&uid=swg21139573
0
 

Author Comment

by:RishiBang
ID: 26310169
HornorGod,

Thanks for the information provided.

When I say manage I mean the Plugin should be managed in such  a way that the application services should not be interrupted whenever there is any change in the configuration at WebSphere side.

For ex: Since I am running diff. applications on servers in diff profiles, if I install a new application on one of the profiles say profile2, it changes the plugin at that particular WAS profile. Since I am merging the contents of the two plugins into one file at IHS side, I need to update the same file and i need to restart the webserver to bring that into effect. This will interrupt the application services on the profile1 which has nothing to do with this change.

The suite of applications we are deploying in this setup are internal but critical applications and we have only one Machine in the topology for all the environments. So the IHS,Plugin and WAS will be installed on the same machine even in production env.

So I am asking how to handle this situation with the constraint of single plugin spraying requests to multiple profiles

Thanks
Rishi
0
Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

 
LVL 41

Assisted Solution

by:HonorGod
HonorGod earned 2000 total points
ID: 26310597
> I need to update the same file and i need to restart the webserver to bring that into effect.

Q: Will this interrupt the application services on the profile1 which has nothing to do with this change?

  If you stop and restart the web server, service to the AppServer and application could be interrupted.  However, if the plugin RefreshInterval  is set, it can cause the plugin module to refresh the plugin-cfg.xml file, so changes can be detected without the webserver being stopped and restarted

http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.nd.multiplatform.doc/info/ae/ae/rwsv_plugincfg.html

----------------------------------------------------------------------
RefreshInterval
    The time interval (in seconds) at which the plug-in should check the configuration file to see if updates or changes have occurred. The plug-in checks the file for any modifications that have occurred since the last time the plug-in configuration was loaded.

    In a development environment in which changes are frequent, a lower setting than the default setting of 60 is preferable. In production, a higher value than the default is preferable because updates to the configuration will not occur so often. If the plug-in reload fails for some reason, a message is written to the plug-in log file and the previous configuration is used until the plug-in configuration file successfully reloads. If you are not seeing the changes you made to your plug-in configuration, check the plug-in log file for indications of the problem.
0
 

Author Comment

by:RishiBang
ID: 26319347
Hi HonorGod,

From your explanation I have understood the following.

1) The Plugin configuration will be reloaded by the plugin module in IHS if the Refresh Interval is specified.
2) We need to declare/configure this interval in the plugin-cfg.xml
3) The plugin configuration will be reloaded by the module when we  change in the plugin-cfg.xml  manually or thru admin console or using GenPlugin command (I like to use GenPlugin cmd as I can provide the path of the IHS plugin location as parameter)

Pls correct me if I am wrong.

Thanks
Rishi
0
 
LVL 41

Expert Comment

by:HonorGod
ID: 26319661
2) We need to declare/configure this interval in the plugin-cfg.xml

  It defaults to 60 seconds if you don't change it.

...

Otherwise, you are correct...  as long as the web server (plugin) has direct (or even network) access to the plugin-cfg.xml file generated by the AppServer.  Otherwise, you have to have some automated way to copy it from the AppServer machine to the web server machine.
0
 

Author Comment

by:RishiBang
ID: 26335308
Hi HonorGod,

I am confused with the stmt  "as long as the web server (plugin) has direct (or even network) access to the plugin-cfg.xml file generated by the AppServer".

Does this means the webserver plugin polls the plugin cfg file on the app server side??
Does it automatically update its copy if there is an change at appserver side?
After updating its own copy does it automatically brings the changed configuration into effect without restarting webServer??

Pls clarify me.

Thanks,
Rishi

0
 
LVL 41

Assisted Solution

by:HonorGod
HonorGod earned 2000 total points
ID: 26337435
If the web server is on machine A,
and the AppServer is on machine B, then some mechanism needs to exist that will propagate any updated plugin-cfg.xml from machine B to machine A when the plugin gets regenerated.

When you generate the plugin-cfg.xml on the AppServer machine, no mechanism exists "within WebSphere" to automatically cause the plugin-cfg.xml to get to the web server machine.

Consider, however, the scenario where the httpd.conf file on the web server machine points to a directory that actually exists on machine B, but is accessible on machine A using a mapped directory mechanism.

On Windows, this is done using a "mapped network drive", or "net use" command.  On Unix type systems, one would use a "mount" command.

Does that make sense?
0
 

Author Comment

by:RishiBang
ID: 26413676
HonorGod,

Yes it completely makes sense.

As we are having the WAS and IHS on the same machine, we are benefited wit the automated generation and propagation of the plugin(Default plugin properties). And also we have one plugin file on WebSphere side as we are using ND setup. So I need not merge the plugin configuration of the two profiles manually on IHS side.

But yet I need to test the behavior of the "Refresh Interval".

I will test and come back to you soon.

Meanwhile pls let me know whether my understanding is correct.

Thanks,
Rishi
0
 
LVL 41

Expert Comment

by:HonorGod
ID: 26413799
Just make sure that the plugin-cfg.xml identified by the httpd.conf file is the one that is updated/replaced when the AppServer regenerates the plugin file.
0
 

Author Closing Comment

by:RishiBang
ID: 31676053
Thanks to HonorGod for providing valuable informatin

Thanks,
Rishi
0
 
LVL 41

Expert Comment

by:HonorGod
ID: 26419790
Thanks for the grade & points

Good luck & have a great day.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Verbose logging is used to diagnose garbage collector problems. By default, -verbose:gc output is written to either native_stderr.log or native_stdout.log.   It is also possible to redirect the logs to a user-specified file. This article will de…
Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question