Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WebSphere horizontal clustering issues

 
Venky Appu
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Friends,

Appriciate your time and solutions on below problem. Share your experiance.

Currently we are setting up the horizontal CLUSTERING (cluster created in machine-1 and federated member from machine-2) and have following problem in setup. We are using WAS ND5.1.1 version.

Our project/application refers/access the external properties files thru Shared Library crated/settings and we have created our cluster members in 2 different separate machines (machine-1, machine-2) and the external properties file exist in primary cluster member machine (machine-1) and it works when we the cluster send a request to primary member, but when the request send to member-2 (machine-2) by stopping machine-1 server then there is no shared library defined/mapping in machine-2 and its failing. Pls advise how to handle this situations and provide the instructions on this setup.


Already we have IHS server installed and working fine without cluster and is there any special setting needs to be done in IHS server after cluster implementation.

Advance thanks
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please check your private messages for a message regarding an important administrative matter. You can do so by clicking My Private Messages in the upper right corner of the page.
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rather than accessing the file directly from the file system, make the resource accessible by a service, potentially implemented through a stateless session bean. Then mitigating access to the resource would be machine neutral.

-Cameron McKenzie
 
Jayadev Pulaparty
Ranch Hand
Posts: 662
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If its not mandatory that the properties file has to be external, you can package it with your EAR and deploy the app to the cluster. You then shouldn't have any problems with file access. The obvious flipside is that you need to re-deploy the app everytime the properties change. I'm not sure if WAS allows shared libs at a cluster scope. If that's the case, you may do that. But again, you may end up frequently changing them.

The ideal solution [not sure if it is practical in WAS] would be to have a fileHandler(via JNDI...) with the file residing on the filesystem(so that it can be changed easily) made available at the cluster scope. But this basically boils down to the SSB approach suggested by Cameron.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic