Alert.png The wiki is deprecated and due to be decommissioned by the end of September 2022.
The content is being migrated to other supports, new updates will be ignored and lost.
If needed you can get in touch with EGI SDIS team using operations @ egi.eu.

Difference between revisions of "SAMUpdate23"

From EGIWiki
Jump to navigation Jump to search
Line 39: Line 39:


If you have priority set on EPEL repository, make sure it is lower than the SAM one.
If you have priority set on EPEL repository, make sure it is lower than the SAM one.
== Upgrade ==
Upgrade from Update-22 is fully supported and it '''does not''' require reinstallation. Procedure is the following:
yum update
/opt/glite/yaim/bin/yaim -c -s /etc/yaim/site-info.def -n NAGIOS -n SAM_NAGIOS


== Package changes  ==
== Package changes  ==

Revision as of 21:37, 16 November 2014

Main EGI.eu operations services Support Documentation Tools Activities Performance Technology Catch-all Services Resource Allocation Security


Tools menu: Main page Instructions for developers AAI Proxy Accounting Portal Accounting Repository AppDB ARGO GGUS GOCDB
Message brokers Licenses OTAGs Operations Portal Perun EGI Collaboration tools LToS EGI Workload Manager


Major changes

Major changes in SAM Update-23:

  • Probes are moved to the UMD-3 repository. This decision was approved by the OMB in order to enable probe developers to update probes more frequently and independently from SAM releases.
  • Removal of the SAM GridMon (sam-gridmon) and its dependencies. SAM Update-23 supports only SAM Nagios (sam-nagios). In the future version SAM GridMon will be replaced with the ARGO engine.


Detailed list of all tickets can be found here: [1].

Installation

This guide is based on the previous SAM Administration guide: [2].

Prerequisites

Install your host certificate to secure the Nagios portal:

$ ls -l /etc/grid-security/host*
-rw-r--r-- 1 root root 2286 Oct 28 19:26 /etc/grid-security/hostcert.pem
-r-------- 1 root root  887 Oct 28 19:25 /etc/grid-security/hostkey.pem
 
$ openssl x509 -in /etc/grid-security/hostcert.pem -noout -purpose | grep "SSL client"
SSL client : Yes

SELINUX needs to be disabled to proceed with the installation. If it is enabled, follow the instructions below and reboot the machine:

$ setenforce 0
$ sed -i 's/^SELINUX=.*/SELINUX=disabled/' /etc/selinux/config

YUM repositories

Follow the instructions for installation of UMD-3 and EPEL repositories: http://repository.egi.eu/category/umd_releases/distribution/umd-3/. In this manual we assume that priority of the UMD-3 is 1 as it is defined in the umd-release package.

Add the following config to all CentOS/SL base repositories:

exclude=mysql51*

If you have priority set on EPEL repository, make sure it is lower than the SAM one.

Upgrade

Upgrade from Update-22 is fully supported and it does not require reinstallation. Procedure is the following:

yum update
/opt/glite/yaim/bin/yaim -c -s /etc/yaim/site-info.def -n NAGIOS -n SAM_NAGIOS

Package changes

Updated packages from the SAM repo:

  • glite-yaim-nagios-1.11.1-1.el5
  • mrs-1.8.0-1.el5
  • nagios-gocdb-downtime-0.25.0-1.el5
  • ncg-metric-config-1.5.0-1.el5

Packages moved/added to the UMD-3 repo:

  • emi-cream-nagios-1.0.1-5.el5.sam
  • emi.dcache.srm-probes-1.0.1-1
  • egi-mpi-nagios-0.0.7-4.1
  • emi-wms-nagios-3.5.0-3.sl5
  • glue-validator-2.0.25-0
  • grid-monitoring-org.activemq-probes-0.15-1.el5
  • grid-monitoring-org.nagiosexchange-probes-0.19-1.el5
  • grid-monitoring-probes-cadist-0.6.0-1.el5
  • grid-monitoring-probes-ch.cern.sam-1.6.15-1.el5
  • grid-monitoring-probes-hr.srce-0.38.0-1.el5
  • nagios-plugins-argus-1.1.0-2.el5
  • nagios-plugins-emi.glexec-0.3.0-1.sl5
  • nagios-plugins-dg-1.0.1-1.el5
  • nagios-plugins-emi.glexec-0.3.0-1.sl5
  • nagios-plugins-emi.glexec-config-1.0.0-2.el5
  • nagios-plugins-fts-3.2.30-1.el5
  • nagios-plugins-lfc-0.9.5-2.el5.sam
  • nordugrid-arc-nagios-plugins-1.8.1-1
  • nordugrid-arc-nagios-plugins-egi-1.8.1-1
  • perl-GridMon-1.0.73-1.el5
  • qcg-broker-nagios-probe-3.4.0-3
  • qcg-comp-nagios-probe-3.4.0-9
  • qcg-ntf-nagios-probe-3.4.0-2
  • unicore-nagios-plugins-2.3.2-0.sl5

Obsoleted packages:

  • nagios-plugins-wn-rep
  • gstat-validation

NCG config changes

  • Because of removal of org.sam.WN-Rep* tests, running Yaim will delete config file /etc/ncg/ncg-localdb.d/jobsubmit. On the existing SAM installations, REMOVE all custom configuration of emi.cream.*-JobState test's parameters:
--wn-lfc
--wn-se-rep
--wn-se-rep-file
--wn-bdii

Yaim variable changes

Default values changed:

Variables obsoleted:

  • JOBSUBMIT_WN_LFC
  • JOBSUBMIT_WN_SE_REP
  • JOBSUBMIT_WN_SE_REP_FILE

Test changes

Tests added:

  • ch.cern.FTS3-Service
  • ch.cern.FTS3-StalledTransfers
  • org.bdii.GLUE2-Validate

Tests removed:

  • org.nordugrid.ARC-CE-LFC-result
  • org.nordugrid.ARC-CE-lfc
  • org.nordugrid.ARC-CE-LFC-submit
  • org.sam.WN-RepDel
  • org.sam.WN-RepISenv
  • org.sam.WN-RepFree
  • org.sam.WN-RepCr
  • org.sam.WN-RepGet
  • org.sam.WN-RepRep
  • org.sam.WN-Rep