[[PageOutline]] = QCG-BDII = The guide describes the process of integration of QCG services with the EGI Information System - Resource BDII. The integration results in publishing information about the service in a GLUE2 complaint format through the BDII service. The basics of EGI Information Service are described at [[http://gridinfo.web.cern.ch/introduction|link]]. In general, information about a grid service is produced by a service provider and transfered into the closest BDII (LDAP) instance (typically co-allocated with the service).This procedure is significantly simplified with the help of tools offered by EMI Resource Information Service (`emi-resource-information-service`). Consequently, the integration of new services was limited to the provisioning of a few script and configuration files. '''IMPORTANT:''' The documentation is common for all QCG services: QCG-Broker, QCG-Computing and QCG-Notifications and varies only in some points from one service to another. = Software repositories = To install QCG-BDII (BDII for one of QCG services) please configure the system with: * one of QCG repositories, containing QCG specific extensions to the EGI information system. The RPMs are availeble for SL5 and SL6. * EMI3 (Monte Bianco) repository, which is needed for the `emi-resource-information-service` metapackage, providing the EGI information system base framework. To configure aforementioned repositories please follow the instruction: [[http://www.qoscosgrid.org/trac/qcg/wiki/Software%20repositories | QCG Software Repositories]]. = Installation = Install the proper package for the selected service: * for '''QCG-Broker''' service: {{{ yum install qcg-broker-egi-is-provider }}} * for '''QCG-Computing''' service {{{ yum install qcg-comp-egi-is-provider }}} * for '''QCG-Notification''' service {{{ yum install qcg-ntf-egi-is-provider }}} All the dependency packages should be automatically installed. '''Note:''' It may happen that due to the fact that the newest packages of the QCG software are included in UMD repositories with a delay, the presented procedure may fail. In such a case it may be required to divide the installation into two steps: * in the first step the emi-resource-information-service metapackage should be installed from the UMD repository. * in the second step a certain QCG provider should be installed from the QCG repository. The procedure may then look as follows: {{{ yum install emi-resource-information-service yum --disablerepo=UMD\* install qcg-comp-egi-is-provider }}} = Configuration = All the QCG-BDII packages need to be configured by providing the name of the BDII site, to which they intend to publish service information. Run the command {{{ qcg-info-site-config -s }}} to set appropriate data. The list of available site-IDs can be found at https://goc.egi.eu/portal/index.php?Page_Type=Sites Currently configured `site-ID` may be displayed as follows: {{{ qcg-info-site-config -d site-ID=PSNC }}} = Starting service = '''IMPORTANT:''' Before starting the QCG-BDII please ensure that the QCG service is properly configured and started. To start the QCG-BDII please run (as a root): {{{ service bdii start }}} By default the BDII works on port 2170. = Verification = To validate correctness of the published data the glue-validator tool can be used: {{{ glue-validator -H localhost -p 2170 -b o=glue }}} = Release Notes = [[QCG-BDII_release_notes|QCG-BDII release notes]]