[Linuxha-users] Caught in a loop

Michael Mansour mic at npgx.com.au
Fri Jan 28 04:10:38 GMT 2005


Hi Simon,

Just so you know, I have only one apache instance which runs as the "apache" 
application starts up. I didn't realise I could have had two.

The way I have it setup is to not have any apache server started on system 
boot. I then form the cluster and start the apache app, which reads the other 
conf files from /etc/httpd/conf.d/*conf and starts up the virtual servers.

I'm going to think about how I can now have two apache instances running, the 
local one and the clustered one. Do I need to have two sets of /etc/httpd/
conf.d directories in this case? one for the local and one for the clustered?

Thanks.

Michael.

> Hello Michael,
> 	From what you're saying when the use clhaltapp on node1 both Apache
> daemons stop? If that is the case you will need to modify the script
> that is in place for the" stopscript" command for the application in
> the /etc/cluster/apache/appconf.xml. First thing to do is to test it-
> with the apache application running on node1 as well as your local
> Apache, run whatever the "stopscript" is. It should only stop the
> clustered Apache instance. If no httpd processes are running you now
> know that this script needs to be modified in some way.
> 
> 	Possibly both use the same pid file (/var/run/httpd.pid)?
> 
> Regards,
> Simon




More information about the Linuxha-users mailing list