[Linuxha-users] Caught in a loop

Simon Edwards simon.edwards at linuxha.net
Fri Jan 28 21:35:08 GMT 2005


Hello Michael,
	Having two Server roots (i.e. /etc/httpd and /etc/httpd_local) is the
way to go I would guess. Initially copy all the files form one to the
other and then customise each by changing the Listen entry in each to
the local and clustered IP addresses as appropriate.

	The -d option on httpd startup can then be using to specify the
required server root (/etc/httpd or /etc/httpd_local) as required.

Regards,
Simon.

On Fri, 2005-01-28 at 14:10 +1000, Michael Mansour wrote:
> 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