Installing stand-alone MON box for LCG 2.6.0 on SLC 3.0.5 The aim of the exercise was to install a "stand-alone MON box" (i.e. a set of servlets NOT associated with a particular Grid resource). There are two main options: 1) Follow "client" and "server" install instructions at http://hepunx.rl.ac.uk/egee/jra1-uk/LCG/doc/index.html 2) Use YAIM to create a standard LCG MON box associated with a not-quite-existent site, a bit like the UI. As we're supposed to be doing performance testing with reference to the LCG testbed, I've gone for the second option to get the same configuration details, even though it's the less attractive route. Get guide from http://grid-deployment.web.cern.ch/grid-deployment/documentation/LCG2-Manual-Install/ I used guide v2.6.0 Start with bare machine. Install OS with NTP working. Install Sun JDK. Make sure /etc/hosts is right - 127.0.0.1 is only lhost.ldomain lhost. Check /etc/java.conf, /etc/java/java.conf are OK Install (updated) YAIM, and fill out the site-info.def. Create a null users.conf with "touch users.conf" (any content such as a newline will fail the format check)(If none is specified, config_edgusers will hang waiting for std input.) Install packages: /opt/lcg/yaim/scripts/install_node site-info.def lcg-MON Set mysql root password as prompted. Install host certificates. Add "return 0" as line 2 of /opt/lcg/yaim/functions/config_apel_rgma (no site so don't need any accounting) Configure packages: /opt/lcg/yaim/scripts/configure_node site-info.def MON Fix errors reported by ldconfig. Now have something like a proper MON box! rgma-client-check rgma-server-check Turn off rgma-publish-site, rgma-gin and edg-fmon-agent. Stop for a nice cup of tea. --- R-GMA performance tweaks: I've made the following changes to match those on the site box: ( In /etc/init.d/tomcat5 there should be a ulimit -n 16384 This is already done by YAIM.) ( # Java VM options for memory control JAVA_OPTS="-Xmx1024M" This is already done by YAIM.) (Edit /etc/tomcat4/server.xml and set maxProcessors="1000" for the 'Connector port="8080"'.) Done by YAIM - now maxThreads="1000" in /etc/tomcat5/server.xml) [ In /opt/edg/share/webapps/R-GMA/WEB-INF/web.xml change maxTupleMemory for all servlets to -1. (restart Tomcat)(-1 = unlimited; I've also seen 358 used) This time YAIM set them all to 358. I'm not sure how much this helps; each servlet seems now to be limited to ~1/3 the JVM max. This no longer exists, now buried in /opt/glite/share/webapps/R-GMA.war ?]