File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Failover Testing

 
Gagan Sabharwal
Ranch Hand
Posts: 48
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I have an application which is running on a clustered environment on Websphere Application Server 6.0.2.17.I have an IBM HTTP Server 6 linked to it. I tried to test Failover on it.

But I wasn't able to. When i shut down one of the servers in the clustered environment, the request is not transferred to the other server.So in short Failover has failed.

My question is that what are the pre-requisites to test failover? I googled but i am not able to get any substantial and a concrete material for 6.0.2.17 version of websphere.
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Gagan,

You need to explain the test you are running in more detail. How do you know the requests were not transferred? What does that mean anyway? -- I can think of at least four different possible interpretations.

Explain in detail what you did and we can try to explain how failover works in WebSphere and how your test may or may not have been testing for it.

Kyle
 
Gagan Sabharwal
Ranch Hand
Posts: 48
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Kyle,

Thanks for your reply. Well what i intend to explain is that I have an application(in the form of an EAR) which is runnning on a clustered environment on Websphere application Server 6.0.2.17.The Java Server Faces version which i am using is 1.1.

To take an example I would say that consider the name of my cluster as "CLUSTER1". There are two servers under this cluster say,

a)SERVER1
b)SERVER2

I have an IBM HTTP SERVER 6(a different node) which is acting as a webserver.The plugin-config xml file contains the entries of my clusters.

When i send a request to my webserver it routes my request to the clustered environment and based on Round-robin strategy , it goes either to SERVER1 or to SERVER2. This scenario is working perfectly fine.

FAILOVER TESTING:-

When the request gets transferred to a server(which i happen to identify in the server logs based on time stamp say SERVER1), then i stop that server which has recieved the request and I see that HTTP SESSION REPLICATION fails because i get a session time out message, which clearly means that the request is not routed to SERVER2.
I am stuck here and cannot find a solution to proceed to test failover.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic