TWiki
>
Main Web
>
TWikiUsers
>
GianniPucciani
>
MyTODOlist
>
GangliaVTB
(2010-05-17,
GianniPucciani
)
(raw view)
E
dit
A
ttach
P
DF
---+ Ganglia installation for GT testbeds In this page I am collecting notes accumulated during the installation of Ganglia as a possible monitoring solution for GT testbeds. The first use case would be to monitor the virtual machines created with vNode to get statistics about their usage. Ganglia documentation can be found here: * Official site: http://ganglia.sourceforge.net/ * README file * A good article from IBM: http://www.ibm.com/developerworks/wikis/display/WikiPtype/ganglia * Presentation given at ApacheCon 2007 by Brad Nicholes: [[http://sourceforge.net/apps/trac/ganglia/attachment/wiki/MiscWikiFiles/ApacheconUS2007_ganglia_monitoring.ppt][Monitoring Your Data Center using Ganglia ]] ---++ Basic installation and configuration In this section we explain how to setup a node with a monitoring daemon (gmond), a metadata daemon (gmetad) and a web server with the Ganglia web front-end. The core archive with the sources of all the Ganglia components can be downloaded from the official site, we worked with the 3.1.7 version. Before compiling the software additional packages have been installed: apr-1.4.2 (installed from source), libconfuse and libconfuse-devel (dag), ncompress, rrdtool and rrdtool-devel, ant httpd and php for the web front-end from the yum repository. To configure and install Ganglia we then issued: <verbatim> ./configure --with-libapr="/usr/local/apr/bin/apr-1-config" --with-libpcre=no --sysconfdir=/etc/ganglia --with-gmetad --with-librrd="/usr" make make install </verbatim> The directory _/var/lib/ganglia/rrds_ has to exist, and be owned by the user that Ganglia will use to run the gmetad daemon (_nobody_). The two basic configuration files are: * /etc/ganglia/gmond.conf: only the cluster section (name and owner) has been changed. * /etc/ganglia/gmetad.conf: only data_source ("GT_VTB_Cluster" localhost) and gridname value have been changed. If everything goes well you should be able to see the metrics collected for the machine in the web page. If not, refer to the documentation linked at the beginning of this twiki for troubleshooting hints. ---++ Adding a node to the cluster On a monitored node only the gmond daemon should run, so you need to install apr-1.4.2 (from sources), libconfuse and libconfuse-devel from the dag repository, then build and install ganglia: <verbatim> ./configure --with-libapr="/usr/local/apr/bin/apr-1-config" --with-libpcre=no --sysconfdir=/etc/ganglia make make install </verbatim> In order to add a host we changed the udp channels in the gmond.conf to send information directly to vtb-generic-43.cern.ch, which is the host where gmetad is running: <verbatim> udp_send_channel { bind_hostname = yes host = vtb-generic-43.cern.ch port = 8649 } udp_recv_channel { port = 8649 family = inet4 } </verbatim> and restarted the gmond daemons. On the web front-end we now see the two hosts as part of the GT_VTB_Cluster. </verbatim> ---++ Hints for troubleshooting * In case this error appears: <verbatim> Unable to create UDP client for xxx:8649. Exiting </verbatim> try commenting in the section udp_send_channel, the 'bind_hostname' property. -- Main.GianniPucciani - 11-May-2010
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r7
<
r6
<
r5
<
r4
<
r3
|
B
acklinks
|
V
iew topic
|
WYSIWYG
|
M
ore topic actions
Topic revision: r7 - 2010-05-17
-
GianniPucciani
Log In
Main
Home
Index
Search
User Search
Changes
Notifications
RSS Feed
Documentation
Support
Webs
Main
Main Archive
Plugins
Sandbox for tests
Public webs
Public webs
ABATBEA
ACPP
ADCgroup
AEGIS
AfricaMap
AgileInfrastructure
ALICE
AliceEbyE
AliceSPD
AliceSSD
AliceTOF
AliFemto
ALPHA
Altair
ArdaGrid
ASACUSA
AthenaFCalTBAna
Atlas
AtlasLBNL
AXIALPET
CAE
CALICE
CDS
CENF
CERNSearch
CLIC
Cloud
CloudServices
CMS
Controls
CTA
CvmFS
DB
DefaultWeb
DESgroup
DPHEP
DM-LHC
DSSGroup
EGEE
EgeePtf
ELFms
EMI
ETICS
FIOgroup
FlukaTeam
Frontier
Gaudi
GeneratorServices
GuidesInfo
HardwareLabs
HCC
HEPIX
ILCBDSColl
ILCTPC
IMWG
Inspire
IPv6
IT
ItCommTeam
ITCoord
ITdeptTechForum
ITDRP
ITGT
ITSDC
LAr
LCG
LCGAAWorkbook
Leade
LHCAccess
LHCAtHome
LHCb
LHCgas
LHCONE
LHCOPN
LinuxSupport
Main
Medipix
Messaging
MPGD
NA49
NA61
NA62
NTOF
Openlab
PDBService
Persistency
PESgroup
Plugins
PSAccess
PSBUpgrade
R2Eproject
RCTF
RD42
RFCond12
RFLowLevel
ROXIE
Sandbox
SocialActivities
SPI
SRMDev
SSM
Student
SuperComputing
Support
SwfCatalogue
TMVA
TOTEM
TWiki
UNOSAT
Virtualization
VOBox
WITCH
XTCA
Welcome Guest
Login
or
Register
Cern Search
TWiki Search
Google Search
Main
All webs
Copyright &© 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use
Discourse
or
Send feedback