Operating System - HP-UX
1829753 Members
1808 Online
109992 Solutions
New Discussion

High Availabiligy for web application

 
SOLVED
Go to solution
Shivkumar
Super Advisor

High Availabiligy for web application

Hi,

We run our web application in 2 Geo. In case one Geo fails due to some reason another takes over.
However, if it doesn't happens in a proper order than it needs manual intervention. We call this
design as HA ( Highly Available ) solution. However, we only use Oracle 9i RAC on HPUX 11i under
Serviceguard as HA.

I believe that it is more appropriate to use the word HA only when Operating System clustering
are used to run software products such as WebLogic or WebSphere or Web Servers etc.

We use WebLogic Application cluster technology for maintaining redundancy, and availability etc.
We observered failure of any instance of the weblogic clusters impacts other software
product like WebServer. For example failure or unavailability of WebLogic Managed Server instances causes Web
Servers to become hung because they are configured to talk through weblogic plugin.

It seems like they maintain some sort of dependency.

To overcome this situation i was considering to recommend operating system cluster such as
serviceguard.

Any suggestion or idea from the gurus are appreciated.

Thanks,
Shiv
6 REPLIES 6
Steven E. Protter
Exalted Contributor

Re: High Availabiligy for web application

Shalom Shiv,

I would recommend a RAC-Serviceguard combination.

If its already running on RAC and you add SG, you have the opportunity to double your capacity to handle traffic under normal circumstances.

SG is the long time proven best OS clustering solution.

It is not the only one. RedHat has a fairly robust Clustering suite of its own that I've go extensive experience with, if you wish to consisder that OS.

I think moving away from weblogic is a good idea.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Chan 007
Honored Contributor

Re: High Availabiligy for web application

Shiv,

I agree with SEP's idea,

along with that I recon, if you are usng a Web servers, why not use then in N+1 base, If your requirement is 1, put 1 more in parallel. This will give more stability + added performance.

Clustering is best for All, which N+1 is better for Web servers.

Chan
Shivkumar
Super Advisor

Re: High Availabiligy for web application

SEP;

We are using WebLogic as j2ee application server. Do you suggest moving it to Serviceguard ?

We don't use Linux other than HPUX in our environment. HPUX is our favoured future direction.

Regards,
Shiv
Matti_Kurkela
Honored Contributor
Solution

Re: High Availabiligy for web application

Just checking: have you made the weblogic plugins in the Web Servers to be cluster aware? (I.e. are they set up so they can connect to servers in either Geo as necessary?) Are the Java applications deployed _to the cluster_ instead of the individual Weblogic servers?

If so, check the timeout values in weblogic plugin configuration. The default values may be designed for non-cluster use: the plugin waits for a long time for any one WLS to answer, instead of rapidly timing out to try the other members of the cluster.

At heavy loads, the long timeout will cause a huge backlog of requests waiting for a response, which may cause secondary problems (server running out of network sockets or some other resource).

I think I saw this kind of phenomenon once, with Weblogic Server 7 or below, if I recall correctly.

If the plugins are not configured as cluster-aware and you for some reason cannot make them so, you may need to switch over to the alternate Geo if Weblogic in the main Geo fails.

How do you control which Geo is in use? If it's a load balancer of some sort, it will probably probe only the availability of the webserver tier, unless specifically configured to make test requests that get through the plugin to the Weblogic tier.

MK
Shivkumar
Super Advisor

Re: High Availabiligy for web application

Hi Matti,

How to make weblogic plugin cluster aware ? I mean what config parameters do i need to configure into httpd.conf file of the apache ?

Thanks,
Shiv
Matti_Kurkela
Honored Contributor

Re: High Availabiligy for web application

To make the plugin cluster-aware, you must not use WeblogicHost and WeblogicPort directives in the plugin configuration. Use the WeblogicCluster directive instead. For a two-node cluster with nodes named node1 and node2, listening in ports 7001 and 7002, the directive would be:

WeblogicCluster node1:7001,node2:7002

See also this BEA Weblogic documentation:
http://e-docs.bea.com/wls/docs81/plugins/index.html

http://e-docs.bea.com/wls/docs81/plugins/apache.html#113634
(for Apache Web Server, if you use something else, see the equivalent chapter for your webserver)

and particularly this diagram:
http://e-docs.bea.com/wls/docs81/plugins/apache.html#132905

MK