R: cluster and Apache tomcat

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 

> -----Messaggio originale-----
> Da: linux-cluster-bounces@xxxxxxxxxx 
> [mailto:linux-cluster-bounces@xxxxxxxxxx] Per conto di FM
> Inviato: giovedì 30 marzo 2006 22.21
> A: Marc Grimme
> Cc: Redhat Cluster
> Oggetto: Re:  cluster and Apache tomcat
> 
> Thanks for the response,
> 
> So in this scenario :
> 2 apache servers (webroot : /home/web/site1)
> 2 tomcat servers (tomcat root : /usr/local/tomcat)
> 
> Can I put the entire tomcat root on the SAN (GFS)? Java JVM 
> on each server.
> 

Not completely. Each tomcat needs a distinct logs, work and temp directory. Plus the server.xml contains data specificy to each tomcat (ip address of the replication process). Just work with @hostname links and it is possible to take on GFS the CATALINA_HOME and JAVA_HOME, plus all the context. The Catalina directory can be shared.

Just ad advice, two node clusters are not raccomanded at all (I have your identical situation, two apache + two tomcat) expecially with a SAN fencing device, it is highly possible each node will fence the other.

Leandro

> 
> 
> Marc Grimme wrote:
> > Hi,
> > On Thursday 30 March 2006 17:26, FM wrote:
> >> Hello everybody,
> >>
> >> Next month, we'll have 6 servers connected to a SAN. Those servers 
> >> will be in a web farm. And web documents will on a GFS 
> file system. 
> >> We will use the Redhat cluster suite.
> >>
> >>
> >> I'd like to install Tomcat 5 and/or 5.5 on those servers 
> and use its 
> >> cluster's possibilities (mod_jk for example).
> >>
> >> Some webapps need sessions. But I read that tomcat will 
> handle that.
> >>
> >> But How do you handle webapps installation on all servers ? Do you 
> >> deploy the war 6 times ? If not is there a tomcat way to replicate 
> >> these webapps ?
> > No you don't need to, just put it on GFS.
> >> Can I put the webapps folder on a GFS partition ?
> > Dito. No problem as general answer. But it sometimes depends on the 
> > application (what webapps you have).
> >> How about tomcat writing to a gfs file system ?
> > You can put anything on GFS without problem when using 
> tomcat. We have 
> > installed a 16 node cluster shared root, shared data, shared tomcat 
> > vars on GFS running without problems. There are some 
> specialities but 
> > these are dependent on applications and stuff.
> > 
> > Hope that helps
> > Regards Marc.
> >> Thanks !
> >>
> >> --
> >> 
> >> Linux-cluster@xxxxxxxxxx
> >> https://www.redhat.com/mailman/listinfo/linux-cluster
> > 
> 
> --
> 
> Linux-cluster@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/linux-cluster
> 

--

Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux