The installation methods for e2emonit make use of rpms which have been built for Scientific Linux 3. These may either be installed manually or by using YAIM, which is the recommended procedure.
To present meaningful results the e2emonit measurement tools should be installed on machines that use a network path as close as possible to that used by user level tools, for instance if a private network is used for file transfers then e2emonit should be installed on machines connected to this network, and configured accordingly.
It is also important to note that some care has to be taken with the configuration of e2emonit so as to prevent the chance of conflicting measurements happening at the same time. Tools are provided to aid the configuration of e2emonit when it is being deployed on a star topology, as in the case of the LHC Tier0-Tier1 configuration.
e2emonit has the following prerequisites:
| Tool | Direction | Source Port | Destination Port | Protocol |
|---|---|---|---|---|
| Iperf server | Incoming | >1024 | 5001 | TCP |
| Iperf client | Outgoing | >1024 | 5001 | TCP |
| UDPMon Server | Incoming | >1024 | 14233 | UDP |
| UDPMon Client | Outgoing | >1024 | 14233 | UDP |
| PingER,traceroute | Both | - | - | ICMP |
| R-GMA | Both | >1024 | 8088,8443 | TCP |
To install e2emonit manually follow this procedure:
Consumer=https://<your rgma host>:8443/R-GMA/ConsumerServlet
StreamProducer=https://<your rgma host>:8443/R-GMA/StreamProducerServlet
PrimaryProducer=https://<your rgma host>:8443/R-GMA/PrimaryProducerServlet
SecondaryProducer=https://<your rgma host>:8443/R-GMA/SecondaryProducerServlet
OnDemandProducer=https://<your rgma host>:8443/R-GMA/OnDemandProducerServlet
Registry=https://<rgma registry and schema host>:8443/R-GMA/RegistryServlet
Schema=https://<rgma registry and schema host>:8443/R-GMA/SchemaServlet
YAIM (Yet another installation method) aims to simplify the process of installing different kinds of LCG/EGEE nodes for large sites. It is based on bash and provides a set of functions that can easily be added to when needed, in conjuctions with a configuration file, site-info.def. It breaks the installation process into two steps, download/installation of packages and then configuration. Instructions on using YAIM are available in the gLite Generic Installation Guide. The instructions on this page are for e2emonit installation.
These instructions will install and configure an LCG node type called MON_e2emonit, consisting of an R-GMA server and e2emonit. Note that you also need to open the necessary ports in the firewall as described in the port table.
wget http://www.cern.ch/grid-deployment/gis/yaim/glite-yaim-x.x.x-x.noarch.rpm rpm -ivh glite-yaim-x.x.x-x.noarch.rpmThis will install YAIM into /opt/glite/yaim.
MY_DOMAIN=epcc.ed.ac.uk # Network domain.
MON_HOST=egee1.$MY_DOMAIN # Host name of MON box, used in setup of R-GMA
# server and client.
REG_HOST=egee.$MY_DOMAIN # Location of R-GMA registry and schema server.
# Usually only one of these per grid.
# If the same as MON_HOST then R-GMA server
# setup will configure registry and schema also.
JAVA_LOCATION="/usr/java/j2sdk1.4.2_10" # Different on SL4 and SL3
E2EMONIT_LOCATION=www.egee-npm.org/e2emonit # e2emonit config download site.
E2EMONIT_SITEID=site1A # Used when generating e2emonit cron scripts.
The E2EMONIT variables depend on where you are installing e2emonit
and you should have been told the relevant values for your site.
The settings for the EGEE Pre-Production Service are available
here.
Also relevant for a MON box are the $SITE_* variables, which are
published by R-GMA.
LCG_REPOSITORY="'rpm http://grid-it.cnaf.infn.it/apt/glite/i386/3.0.2 . externals Release3.0 updates'"To install the packages run
/opt/glite/yaim/scripts/install_node site-info.def glite-MON_e2emonitThis will download and install all the required packages for the glite-MON_e2emonit node type, including dependencies if the repositories have been correctly configured, along with the CA rpms.
/opt/glite/yaim/scripts/configure_node site-info.def MON /opt/glite/yaim/scripts/configure_node site-info.def E2EMONITThis uses a configuration file in
/opt/glite/yaim/scripts/node-info.defto decide which YAIM functions to run to configure various components. For e2emonit the steps performed are to
That's it! You should now have a functioning e2emonit installation, which does the following:
To verify that your installation is working you can: