Skip to content
cyrille-leclerc edited this page Mar 14, 2012 · 14 revisions

The goal of this workshop is to configure a Petclinic web app as following :

vApps

Each team will have to configure :

  • 1 MySQL Database
  • 2 Tomcat applications server
  • 1 Reverse proxy

3 vApp templates are available to create servers. This templates have softwares installed but are application independent.

Each template has :

  • 256Mb RAM / 4Gb hard disk
  • Debian 6.0 minimal install
  • SSH server
  • A xebia/xebia account
  • pre-installed SSH key for root user : vmware.key
  • VMWare tools installed

Specific configurations

  • MySQL template
    • MySQL installed with APT
    • MySQL admin account : root/xebia
  • Tomcat template
    • Manual install of JDK in /opt/jdk (1.6.0_30)
    • Manual install of Tomcat in /opt/tomcat
    • Tomcat user : tomcat/tomcat
  • Apache reverse proxy
    • Apache2 installed with APT
    • Apache preconfigured for load balancing with AJP (in /etc/apache2/mods-enabled/proxy_balancer.conf)

Workshop

Prerequisites

  • Add network routing rule
    • Mac: sudo route add -net 192.168.70.0 -netmask 255.255.255.0 10.1.20.71
    • linux: sudo route add -net 192.168.70.0 netmask 255.255.255.0 gw 10.1.20.71
    • Windows: route ADD 192.168.70.0 MASK 255.255.255.0 10.1.20.71

Content