TruCluster
Showing results for 
Search instead for 
Do you mean 

Apache Configuration on a 2-node Tru64 Cluster.

Advisor

Apache Configuration on a 2-node Tru64 Cluster.

Hi,

I have a question on how to configure a HTTP Server (Apache) on a Tru64 cluster. The requirement is,

We have a 2-node cluster. The HTTP Server will run on a single node only at any given point in time (NODE 1 to start with). If NODE 1 fails, the HTTP Server will 'failover' to NODE 2.

Users will use a brower like IE to access their application. What we want them to do is to use a single, common URL like http://apps.hp.com. We don't want them to use http://node1.hp.com or http://node2.hp.com. Even in case of a failover the URL should remain the same (http://apps.hp.com).

We know that Tru64 has a cluster aliasing capability. But can i use the cluster IP/hostname in the httpd.conf file? In case the HTTP Server fails over to NODE 2 and i bring up the HTTP Server there, can i still access the application using the common URL?

The other alternative is to use a network device (a server load balancer) like Cisco Local Director or BigIP. We don't want to do this unless it is the only option left.

Could you please throw some light on this and confirm if the cluster alias IP is enough and can be configured in the httpd.conf file?

Thanks a lot in advance.

Regards
anand rao
3 REPLIES
Respected Contributor

Re: Apache Configuration on a 2-node Tru64 Cluster.

Anand,

You find more info in the documentation.
See the Manual "Cluster Highly Available Applications "

Chapter #3 explains how to use the default cluster alias to access a Multi-Instance Apache HTTP Server

http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V51B_HTML/ARHH0ETE/TITLE.HTM

Enjoy

Joris
To err is human, but to really faul things up requires a computer
Honored Contributor

Re: Apache Configuration on a 2-node Tru64 Cluster.

I'm wondering that you have TruCluster and doesn't know anything about it ;-)

you can install apache as multi- (running on both members, accessable over one alias - but doesn't work with session handles because application must syncronize between the two instances) or singleinstance as described in your question. In this case use the caa features.

Have a look into the cluster documentation explaining all in detail and also have a look into /usr/cluster/var/caa/examples/Apache for the necessary Apache scripts.
Help() { FirstReadManual(urgently); Go_to_it;; }
Advisor

Re: Apache Configuration on a 2-node Tru64 Cluster.

Hi Joris,

Thank you very much for your pointers. It surely did help.

I am going to get my Sys Ad look at Ralf's response :)

Thanks again to both of you for the timely help.

Regards
anand
//Add this to "OnDomLoad" event