Note: This version of the VDT (1.5.0) is no longer supported. Feel free to look through the documentation and install it, but we cannot guarantee support for it. The current stable release is 2.0.0.

GUMS

Enabling GUMS monitoring

Introduction

It is possible for the Generic Information Provideer to monitor your GUMS service and publish this information via MDS or CEMon. In order for monitoring to work, you must do a few things to your GUMS setup. These directions were provided by Gabriele Garzoglio. We will try to automate them in a future version of the VDT.

Basics

We check the availability of GUMS by running a probe. The probe asks GUMS to perform an identity mapping. The output of the probe is used by the GIP to publish the status information via BDII. The identity of the probe is the ldap service certificate of the host where it runs. The following instruction configure GUMS to map the identity of the probe to a non-existent pre-defined UID.

Add gums-test group to your GUMS configuration

Add the following XML within your GUMS configuration, which is normally at $VDT_LOCATION/gums-service/var/war/WEB-INF/classes/gums.config. If your GUMS has <groupMappings> and <hostGroups> defined already, add the <groupMapping> and <hostGroup> tags below within your <groupMappings> and <hostGroups> tags. Make sure that you write the domain name of the probe in the <hostGroups> tag. Note that you don't need to stop GUMS when editing its configuration.

<groupMappings>
  <groupMapping name='gums-test'>
    <userGroup className='gov.bnl.gums.ManualUserGroup'
               persistenceFactory='mysql'
               name='gums-test'/>
    <accountMapping className='gov.bnl.gums.GroupAccountMapper'
                    groupName='GumsTestUserMappingSuccessful' />
  </groupMapping>
</groupMappings>
<hostGroups>
  <hostGroup className='gov.bnl.gums.CertificateHostGroup'
             cn='ldap/*.my.site'
             groups='gums-test' />
</hostGroups>

Map the test UID to the identity of the probe

Check that the test configuration is working.