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.

GGUS:GOCDB Interface FAQ

From EGIWiki
Revision as of 13:23, 12 October 2011 by Ggrein (talk | contribs)
Jump to navigation Jump to search
GGUS-logo.jpg


GGUS wiki / GGUS FAQ / GGUS Documentation / GGUS Helpdesk


FAQ for the Interface between GGUS and GOCDB

Updated
2011-10-11

Purpose

This document describes the GOCDB–GGUS interface. The GOCDB–GGUS interface is used for synchronizing the GGUS database for site data with the GOC DB.

Tools, Applications, Systems

The interface is based on a PHP script “CheckSiteData”.This script retrieves the data from GOC DB using a dedicated URL provided by GOC DB API. The GGUS site data database is a BMC Remedy form called “Grid:RespUnitData”.

Work flows

The CheckSiteData script is triggered by a cron job. It is executed every night. The script retrieves the complete dataset from GOC DB. The dump from GOC DB is checked for not being empty and having the typical “result” string inside. In case of failure the execution of the script is stopped and the data from the previous update is kept. Additionally GGUS keeps a local copy of the data on GGUS server for a quick restore in case of loosing data. GOC DB data is imported into local GGUS site data database. New sites in GOC DB are added to the GGUS database automatically. Updates on GOC DB site data are pushed to the GGUS site data database by modifying existing data sets. Removed sites are flagged and deleted by a cron job from GGUS database. The GOC DB site ID is used as primary key for the synchronization process. Attributes covered by the synchronization process are:

  • Contact Email,
  • Alarm Email,
  • Tier Level,
  • ROC and
  • Certification Status.

All updates in GGUS form “Grid:RespUnitData” are done using SOAP web services.

What if I have questions which are not dealt with by this FAQ?

Open a GGUS ticket

indicating that it should be directed at the GOCDB team.

Search