MPDL IT Infrastructure/vm04.mpdl.mpg.de

MPDL,GWDG =vm04.mpdl.mpg.de=

Hardware

 * virtual xen-machine paravirtual hosted on srv04
 * 4096 MB Memory
 * 2 LVM-volumes as disks (/dev/s/vm04sda1=hda1-20GB,/dev/l1/vm4swap=hda2-4GB,/dev/s/vm04sda2=hda2-20GB)
 * 1 virtual CPU

OS

 * SUSE Linux Enterprise Server 11 SP1 (x86_64) - Kernel 2.6.32.36-0.5-xen

Special things
MAC: 00:16:3E:00:00:14 IP: 134.76.28.233 DNS-Names: vm04 (.mpdl.mpg.de)

Faces
Faces on vm04 is "behind" apache and thus reachable via normal http-port 80. In Order for this to work we use some rewrite rules and the mod_jk to let apache talk with jboss via ajp13 The properties dealing with urls in /usr/share/jboss/server/default/conf/faces.properties are also to be set without port 8080.(see jk.conf)

Files involved
 ServerName faces.mpdl.mpg.de RewriteEngine On DocumentRoot /srv/www/htdocs/faces_mpdl  Options None Order allow,deny Allow from all  
 * /etc/apache2/vhosts.d/faces.conf
 * 1)  RewriteCond  %{REQUEST_URI}  ^/faces/.*                             # obsolete now done by mod_jk
 * 2)    RewriteRule ^/faces/(.*) http://localhost:8080/faces/$1 [proxy,L] # obsolete now done by mod_jk
 * 3)    RewriteRule ^/(.*) http://localhost:8080/faces/$1 [proxy,L]       # obsolete now done by mod_jk


 * /etc/apache2/workers.properties

worker.list=faces
 * 1) workers.properties.minimal -
 * 2) This file provides minimal jk configuration properties needed to
 * 3) connect to Tomcat.
 * 4) The workers that jk should create and work with
 * 1) The workers that jk should create and work with
 * 1) The workers that jk should create and work with

worker.faces.port=8009 worker.faces.type=ajp13 worker.faces.host=localhost
 * 1) Defining a worker named faces and of type ajp13
 * 2) Note that the name and the type do not have to match.
 * 1) Note that the name and the type do not have to match.

   JkWorkersFile /etc/apache2/workers.properties JkLogFile /var/log/apache2/jk.log JkLogLevel info JkMount /* faces 
 * /etc/apache2/conf.d/jk.conf