Difference between revisions of "HOWTO21"

From EGIWiki
Jump to: navigation, search
(Fill in the information)
(Fill in the information)
Line 40: Line 40:
| text
| text
| [[File:Picture01.png|frame|500px]]
| [[File:Picture01.png|frameless|border|500px]]
| text
| text

Revision as of 12:06, 2 November 2016

How to add URL service endpoint information into GOC-DB

For monitoring purposes, each service endpoints registered into GOC-DB with the flags production and monitored should include the endpoint URL information in order to be contacted by the relative nagios probe.

The information needed for service type are:

  • CREAM-CE: the queue URL where the ops VO is enabled. This is the value of the attribute GlueCEUniqueID published in the BDII (e.g. cream.egi.eu:8443/cream-pbs-ops).
  • SRM: the value of the attribute GlueServiceEndpoint published in the BDII (e.g. httpg://se.egi.eu:8444/srm/managerv2)
  • Other service types: the value of the attribute GlueServiceEndpoint published in the BDII

Get the information

For retrieving the queue URL from the BDII, you can simply use the command lcg-infosites executed from an UI. Be sure to query a production Top-BDII: you can either set the one provided by your Operations Centre or choose one from https://goc.egi.eu/portal/index.php?Page_Type=Service_Group&id=1205

For example:

$ export LCG_GFAL_INFOSYS=egee-bdii.cnaf.infn.it:2170

$ lcg-infosites --vo ops ce | grep nikhef
  5680      15          0            0       0 dissel.nikhef.nl:2119/jobmanager-pbs-infra
  5680      17          1            1       0 gazon.nikhef.nl:8443/cream-pbs-infra
  5680      15          0            0       0 juk.nikhef.nl:8443/cream-pbs-infra
  5680      15          0            0       0 klomp.nikhef.nl:8443/cream-pbs-infra
  5680      16          0            0       0 stremsel.nikhef.nl:8443/cream-pbs-infra

For getting the GlueServiceEndpoint URL of your SRM service, you can launch a ldap query to your site-bdii (or also directly to the SRM service):

$ ldapsearch -x -LLL -H ldap://sbdii01.ncg.ingrid.pt:2170 -b "mds-vo-name=NCG-INGRID-PT,o=grid" '(&(objectClass=GlueService)(GlueServiceType=SRM))' GlueServiceEndpoint
dn: GlueServiceUniqueID=httpg://srm01.ncg.ingrid.pt:8444/srm/managerv2,Mds-Vo-name=NCG-INGRID-PT,o=grid
GlueServiceEndpoint: httpg://srm01.ncg.ingrid.pt:8444/srm/managerv2

In a similar way, by just changing the value of GlueServiceType, you can get the endpoint URLs of other services.

Fill in the information

  • URLs information are completely missing
col1 col2
text Picture01.png
text Picture02.png
text Picture03.png
text Picture04.png