HOWTO: Setting up WP7 monitoring tools with GLite



Similar documents
BF2CC Daemon Linux Installation Guide

installation administration and monitoring of beowulf clusters using open source tools

Wavelink Avalanche Mobility Center Linux Reference Guide

Getting an ipath server running on Linux

How To Install Hadoop From Apa Hadoop To (Hadoop)

Rancid Server Build and Operation Overview (v0.3) (This is being done from memory so expect some errors)

Written by: Johan Strand, Reviewed by: Chafic Nassif, Date: Getting an ipath server running on Linux

Unless otherwise noted, all references to STRM refer to STRM, STRM Log Manager, and STRM Network Anomaly Detection.

TCH Forecaster Installation Instructions

Signature Based Single Sign-On Framework Documentation Sheet. SSO Agent php- The content of this document is related to the

AlienVault Unified Security Management (USM) 4.x-5.x. Deploying HIDS Agents to Linux Hosts

Single Node Hadoop Cluster Setup

Integrating Apache Web Server with Tomcat Application Server

Newton Linux User Group Graphing SNMP with Cacti and RRDtool

CactoScale Guide User Guide. Athanasios Tsitsipas (UULM), Papazachos Zafeirios (QUB), Sakil Barbhuiya (QUB)

Administrator s Guide: perfsonar MDM 3.0

TransNav Management System Documentation. Management Server Guide

SSL Tunnels. Introduction

Apache 2.0 Installation Guide

Server Installation/Upgrade Guide

LAMP Quickstart for Red Hat Enterprise Linux 4

GroundWork Monitor Open Source Installation Guide

OS Installation: CentOS 5.8

Desktop : Ubuntu Desktop, Ubuntu Desktop Server : RedHat EL 5, RedHat EL 6, Ubuntu Server, Ubuntu Server, CentOS 5, CentOS 6

Cassandra Installation over Ubuntu 1. Installing VMware player:

BIRT Application and BIRT Report Deployment Functional Specification

Learning about Informix and the Open Admin Tool (OAT)

Tracking Network Changes Using Change Audit

Install guide for Websphere 7.0

Apache Hadoop 2.0 Installation and Single Node Cluster Configuration on Ubuntu A guide to install and setup Single-Node Apache Hadoop 2.

AnzioWin FTP Dialog. AnzioWin version 15.0 and later

Incremental Backup Script. Jason Healy, Director of Networks and Systems

Linux FTP Server Setup

QuickDNS 4.6 Installation Instructions

LICENSE4J FLOATING LICENSE SERVER USER GUIDE

LOCKSS on LINUX. Installation Manual and the OpenBSD Transition 02/17/2011

Extending Remote Desktop for Large Installations. Distributed Package Installs

Backup of ESXi Virtual Machines using Affa

Web Server using Apache. Heng Sovannarith

Contents Set up Cassandra Cluster using Datastax Community Edition on Amazon EC2 Installing OpsCenter on Amazon AMI References Contact

Installing OCFA on Ubuntu. Practical installation procedures, Installing The Open Computer Forensics Architecture on Ubuntu

Avira Update Manager User Manual

Creating a DUO MFA Service in AWS

CommandCenter Secure Gateway

Installation Guide. Copyright (c) 2015 The OpenNMS Group, Inc. OpenNMS SNAPSHOT Last updated :19:20 EDT

SendMIME Pro Installation & Users Guide

System and Network Monitoring With Zabbix

CycleServer Grid Engine Support Install Guide. version 1.25

How to Build an RPM OVERVIEW UNDERSTANDING THE PROCESS OF BUILDING RPMS. Author: Chris Negus Editor: Allison Pranger 09/16/2011

HADOOP CLUSTER SETUP GUIDE:

JobScheduler Installation by Copying

Online Backup Client User Manual

PMOD Installation on Linux Systems

HOWTO: Set up a Vyatta device with ThreatSTOP in router mode

Setting up PostgreSQL

Local Caching Servers (LCS): User Manual

Running Knn Spark on EC2 Documentation

Technical Report. Implementation and Performance Testing of Business Rules Evaluation Systems in a Computing Grid. Brian Fletcher x

Network/Floating License Installation Instructions

StreamServe Persuasion SP4

Installation and Deployment

Building Ruby, Rails, LightTPD, and MySQL on Tiger

Installation Guide for FTMS and Node Manager 1.6.0

Linux firewall. Need of firewall Single connection between network Allows restricted traffic between networks Denies un authorized users

NRPE Documentation CONTENTS. 1. Introduction... a) Purpose... b) Design Overview Example Uses... a) Direct Checks... b) Indirect Checks...

Dragonframe License Manager User Guide Version 1.2.2

Installing Virtual Coordinator (VC) in Linux Systems that use RPM (Red Hat, Fedora, CentOS) Document # 15807A1-103 Date: Aug 06, 2012

Intelligent Video Analytics. Server Installation Guide. - Windows - Linux

APACHE HTTP SERVER 2.2.8

Kognitio Technote Kognitio v8.x Hadoop Connector Setup

freesshd SFTP Server on Windows

Installing and Running MOVES on Linux

How to make a VPN connection to our servers from Windows XP

RecoveryVault Express Client User Manual

File Transfer Examples. Running commands on other computers and transferring files between computers

QUICK START LINUX AGENT INSTALLATION, CONFIGURATION AND TROUBLESHOOTING GUIDELINES

1 Recommended Readings. 2 Resources Required. 3 Compiling and Running on Linux

How to build secure Apache Tomcat deployments with RPM.

SAS Marketing Automation 4.4. Unix Install Instructions for Hot Fix 44MA10

How To Run Nrpe On Nagios On Windows 7.5 (Windows) On A Linux Computer On A Windows 7 (Windows 7) On An Ubuntu Computer On An Ipad Or Ipad (Windows 8) On Your Pc

FlexSim LAN License Server

escan SBS 2008 Installation Guide

Embedded Based Web Server for CMS and Automation System

Using Network Attached Storage with Linux. by Andy Pepperdine

Hadoop Data Warehouse Manual

Online Backup Linux Client User Manual

Solr Bridge Search Installation Guide

Online Backup Client User Manual

Scalable Linux Clusters with LVS

SnapLogic Sidekick Guide

GANGLIA INSTALLATION GUIDE

Cloud Homework instructions for AWS default instance (Red Hat based)

Stress Testing for Performance Tuning. Stress Testing for Performance Tuning

SOLR INSTALLATION & CONFIGURATION GUIDE FOR USE IN THE NTER SYSTEM

Installing Rails 2.3 Under CentOS/RHEL 5 and Apache 2.2

Perforce Helix Threat Detection On-Premise Deployment Guide

How To: Manage your Oracle patch deployment life cycle using Oracle Support Patch Plans

Table of Contents. V. UPGRADING LSTC License Manager Software for Microsoft Windows A. Run the Installation Program B. Verify the Installation

Transcription:

HOWTO: Setting up WP7 monitoring tools with GLite Paul Mealor October 2004 1 Downloads and installation 1.1 Unmodified WP7 work The EDG RPM repository can be reached from WP6 s website at http://marianne.in2p3.fr/. 1. Follow the link marked DataGrid Code/EDG Repository to http://marianne.in2p3.fr/datagrid/repository/. 2. Browse the whole repository (http://datagrid.in2p3.fr/distribution/ ). 3. Follow the autobuild link and the folders below to reach the WP7 SRPMs. You need the latest versions of the following WP7 RPMs from the EDG RPM repository: edg-iperf, edg-pinger, edg-udpmon These are the WP7 measurement infrastructures. Install at least edg-pinger to allow two-way delay and loss measurements. iperf This is the binary of the Iperf measurement tool, required by edgiperf. If it doesn t run on your machine, you may be able to replace the binary with one from the original authors. edg-pcpd This is the scheduling and host-locking system required by edgpinger, -iperf and -udpmon. These RPMs don t have a formal dependency on it, though. These packages can use Apache, though it isn t necessary to install it if you do not require the visualisation front-end. 1

1.2 EDG-Pinger The following is taken from Benjamin Vial s installation guide. The procedures for installing edg-iperf and edg-udpmon are similar. PingER relies on the following packages: perl5, wget, tcsh. Date: 30th November 2004 1. Download the latest source (tar ball recommanded) from: http://datagrid.in2p3.fr/distribution/autobuild/i386-rh7.3/wp7/sources/ 2. Unpack the tar ball into the source directory # > tar zfx edg-pinger-1.2.1.tar.gz 3. Enter the edg-pinger-1.2.1 directory # > cd edg-pinger-1.2.1 4. Configure the makefile # >./configure --prefix=/opt/edg (/opt/edg will be the installation directory) 5. Build edg-pinger # > make 6. Install edg-pinger # > make install 7. Send the name of your machine on which you re installing edg-pinger at: sophie.nicoud@urec.cnrs.fr and wait for reply. 8. After confirmation, you ll be able to download the list of hostname that your pinger will monitor directly from the central monitoring server ccwp7.in2p3.fr # > /opt/edg/sbin/edg-pinger-get config file.csh ccwp7.in2p3.fr Once running, these tools will complain about some missing components (rgma-tools-defaults and edg-rgma-publish-service). These warnings can be safely ignored. The tools must be configured to make measurements, though these files are set during step 8 above: edg-pinger /opt/edg/etc/edg-pinger/ping list.txt contains a list of hostnames, one on each line. 2

edg-iperf /opt/edg/etc/edg-iperf/iperf list.txt contains a list of hostnames, one on each line. edg-udpmon /opt/edg/etc/edg-udpmon/udp list.txt contains a list of hostnames, one on each line. With PCP s edg-netmon-config-update script, these configurations can be automatically downloaded. However, they are downloaded from ccwp7.in2p3.fr, whoch is a central location, and not under our control. At present, I recommend that the tools should be manually configured. 1.3 PCP The following instructions were provided by Benjamin Vial. Date: 30 November 2004 1. Download the latest source (tar ball recommanded) from: http://datagrid.in2p3.fr/distribution/autobuild/i386-rh7.3/wp7/sources/ 2. Unpack the tar ball into the source directory # > tar zfx edg-pcpd-2.0.7.tar.gz 3. Enter the edg-pcpd-2.0.7 directory # > cd edg-pcpd-2.0.7 4. Configure the makefile # >./configure --prefix=/opt/edg (/opt/edg will be the installation directory) 5. Build edg-pcpd # > make 6. Install edg-pcpd # > make install 7. Open to your firewall, the port number TCP 50500, in order to run pcpd 8. Set the correct file permissions: # > chmod ug+x /opt/edg/sbin/edg-pcpd.pl # > chmod ug+x /etc/rc.d/init.d/edg-pcpd 9. Start the edg-pcpd daemon # > /etc/rc.d/init.d/edg-pcpd start 3

10. Get list of registered tokens on the node # > /opt/edg/bin/edg-pcpd-admin -L localhost 1.4 R-GMA Follow the instructions for either the client install or the server and client install linked from the EGEE JRA1 Information Systems website (http://hepunx.rl.ac.uk/egee/jra1-uk/glite/doc/index.html ). You probably just need the Java API, the Servlet Implementation and R-GMA Base. It might be possible to use 128.40.169.218 as a the server servlet host when setting up just a client. Certainly that host can serve as the Mediator and Registry host. Temporary R-GMA bug If your program was built on 23/10/2004, you will need to correct a mistake in the RPMs. Check the build version with the following RPM command: rpm -qi glite-rgma-base Build Date: Sat 23 Oct 2004 19:17:50 BST You need to edit /opt/glite/etc/rgma/rgma.conf. Find the line starting DataBaseProducer= and replace the section after the last slash ( / ) with DBProducerServlet. 1.5 netmon2rgmaj This is a conversion of netmon2rgma that uses the new R-GMA APIs, and can be obtained from Paul Mealor as a tar file. Decompress the tar into the root directory. It contains a Java jar, /opt/glite/share/java/glite-netmon2rgma.jar, and a SysV RC script, /etc/rc.d/init.d/glite-netmon2rgmad. 1. If you haven t already done so when setting up R-GMA, create /etc/java/java.conf with the following content: JAVA HOME=/usr/java/j2sdk1.4.2 06/ (to set JAVA HOME to the location of your Java installation. The exact directory might be subtly different). 2. (Only versions older than 20041203) Create a symlink to the log4j JAR file ln -s /usr/share/java/log4j.jar /opt/glite/share/java/ 4

3. Extract the tar file to / 4. Make a directory called /opt/glite/var/log mkdir -p /opt/glite/var/log 5. Make the SysV RC script executable chmod +x /etc/rc.d/init.d/glite-netmon2rgmad 6. Start the daemon with: service glite-netmon2rgmad start 1.6 Once everything is working Once everything is working you can run chkconfig --add <service> for each of glite-netmon2rgmad, edg-pcpd, httpd (if you installed Apache). 2 Tests 2.1 Manually running tests Once PCP is installed, you can attempt to run a test manually by running /opt/edg/lib/exec/pcp/scripts/edg-pinger This should write some logging information to /opt/edg/var/logs/pinger.pcp.out. Ignore lines complaining about non-existant publish-service scripts (see above). 2.2 Debugging output from Netmon2RGMA Logs from the startup script go to /var/log/messages or /var/log/boot.log. Logs from the running daemon will appear in /tmp/netmon2rgma.log (pre-december tarfile) or /opt/glite/var/log/netmon2rgma.log. If you manually run tests, you should see quite a lot of logging information from each successful measurement. 2.3 R-GMA To check that data is being published into the table, see http://localhost:8080/r-gma/. 5

A PCP Information The following information is given for information only, as it is not written down anywhere else. Anywhere. Clique definition files have the following syntax: name:test-traceroute command:edg-pcp-traceroute period:30 timeout:60 delay:20 option:externallock member:lon04.mb-ng.net The lines can appear in any order, and comprise an option name and a value separated by a single colon ( : ). Any whitespace will be taken as the name or value of the option. All the option names may only appear once, except for option and member, which may appear many times (actually any may appear more than once, but only the last option is taken). name Is the clique name. It should be unique. command Is the name of the command stored in the scripts directory (/opt/edg/lib/exec/pcpd/scripts). period The amount of time it should take for the token to traverse the clique. timeout After this period, a new token will be generated. delay This is the delay at each member. option This is allowed one value at present: ExternalLock, which ensures that the node will be locked while the token is present. member Each of these options adds an extra node to the clique. Hostname notes PCP tends to convert hostnames to IP addresses before building the token. This means that for hosts behind a router with a different IP address, some problems may occur without a little care. 6