MPDL IT Infrastructure/srv03.mpdl.mpg.de

MPDL,GWDG

=srv03.mpdl.mpg.de=

Hardware

 * Manufacturer: Dell Inc.
 * Serial Number: CP0XJ3J
 * Model/Type: PowerEdge 1950 1HE Rackserver
 * CPU: 2 x Intel Xeon QuadCore E5440, 2,83GHz, 2x6MB L2-Cache
 * RAM: 16GB, 4x4GB, dual-rank, DDR2 FB-DIMM 667MHz
 * Harddisk: 2x146GB SAS 10k, organized as RAID1, 1x 146GB SAS 10k HotSpare
 * NIC: 2xBroadcom BCM5708 GigaBit Ethernet

OS

 * SUSE Linux Enterprise Server 10 SP2 (x86_64) - Kernel 2.6.16.60-0.42.10-xen

Special things
MAC: 00:1D:09:6D:D7:C8 IP: 134.76.28.242 DNS-Names: pubman, srv03 (.mpdl.mpg.de)

Pubman
Pubman on srv03 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/pubman.properties are also to be set without port 8080.(see jk.conf)

Files involved
 ServerName pubman.mpdl.mpg.de DocumentRoot /srv/www/htdocs/pubman_mpdl
 * /etc/apache2/vhosts.d/pubman.conf
 * has 3 rewrite-rules:

RewriteEngine on # RewriteLog /var/log/apache2/rewrite.log # RewriteLogLevel 3 RewriteRule ^/escidocadmin/(.*) http://127.0.0.1:8079/$1 [proxy,L] # for the escidocadmin RewriteRule ^/resources/(.*) /pubman/resources/$1 [L,PT] # for the Stylesheets RewriteRule ^/$ /pubman/ [L,PT] # that you can leave the initial "/pubman"

 Options Indexes AllowOverride None Order allow,deny Allow from all 




 * /etc/apache2/workers.properties

worker.list=pubmanworker
 * 1) The workers that jk should create and work with

worker.pubmanworker.port=8009 worker.pubmanworker.type=ajp13 worker.pubmanworker.host=localhost worker.pubmanworker.lbfactor=1
 * 1) Defining a worker named pubmanworker 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.
 * 1) this property is for load balancing which we do not use here


 * 1) Define status worker
 * 1) Define status worker

worker.jkstatus.type=status

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