Production Nagios nodes - deployment recipe

Modify Quattor templates

Templates are in folder prod/services/gridmonnagios/role/
Compare templates:
pro_software_packages_samnag_slc5_x86_64_VERSION_RELEASE_0_test.tpl with pro_software_packages_samnag_slc5_x86_64_VERSION_RELEASE_0.tpl
(e.g. pro_software_packages_samnag_slc5_x86_64_100_46_0.tpl for egee-NAGIOS-1.0.0-46)

Usually everything from Validation goes to Production.

Take deployment scripts from SVN

All scripts are in SVN: https://svnweb.cern.ch/trac/sam/browser/trunk/devel-scripts/roc-nagios

Execute spma_wrapper.sh (from folder devel-scripts/roc-nagios)

./nag-exec.sh -e="ccm-fetch && spma_wrapper.sh" -from=17 -to=28

Run yaim

This step is not always needed. Check it in release notes.

./nag-exec.sh -e="rm /etc/lcg-quattor-site-info.def && ncm-ncd --conf yaim" -from=17 -to=28

Run ncg.pl

./nag-exec.sh -e="rm -rf /etc/nagios/wlcg.d/ && /usr/sbin/ncg.pl && nagios -v /etc/nagios/nagios.cfg && /sbin/service nagios restart" -from=17 -to=28

Validate installation

Execute validation scipts

./nag-exec.sh -e="nagios -v /etc/nagios/nagios.cfg |grep Errors" -from=17 -to=28

./nag-exec.sh -e="nagios -v /etc/nagios/nagios.cfg |grep Checked |grep services" -from=17 -to=28

./nag-exec.sh -e="service nagios status" -from=17 -to=28

./nag-exec.sh -e="service httpd status" -from=17 -to=28

Check Nagios Web Interface

https://twiki.cern.ch/twiki/bin/view/EGEE/NagiosROCURL#Production_installations_Nagios

Check MyEGEE Web Interface

https://twiki.cern.ch/twiki/bin/view/EGEE/NagiosROCURL#Production_installations_MyEGEE

Log intervention on page: SAM Server Interentions

https://twiki.cern.ch/twiki/bin/view/LCG/SamServIntervent#NAGIOS_Production_Infrastructure

-- WojciechLapka - 12-Mar-2010

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2010-09-21 - WojciechLapka
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LCG All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2024 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