aspose file tools*
The moose likes Websphere and the fly likes Failover Testing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Failover Testing" Watch "Failover Testing" New topic
Author

Failover Testing

Gagan Sabharwal
Ranch Hand

Joined: Apr 23, 2006
Posts: 48
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

Joined: Aug 10, 2001
Posts: 3892
    
    5
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


Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
Gagan Sabharwal
Ranch Hand

Joined: Apr 23, 2006
Posts: 48
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
 
subject: Failover Testing