GT 3.9.5 WS MDS Trigger Service: Developer's Guide
- Introduction
- Architecture and design overview
- Public interface
- Usage scenarios
- Tutorials
- Feature summary
- Tested platforms
- Backward compatibility summary
- Technology dependencies
- Security considerations
- Debugging
- Troubleshooting
- Related Documentation
Introduction
The WS MDS Trigger Service collects information about Grid resources and can be configured to execute a program if the collected data meets certain conditions. This document describes the programmatic interfaces to the Trigger Service.
Architecture and design overview
The Trigger Service collects information and acts on it, by executing an administrator-supplied executable program when certain conditions (expressed as XPath matches on the collected information) are met. There are two programmatic interfaces to the Trigger Service: information is collected using an Aggregator Source and acted upon by an executable program.There is no "client" interface to the Trigger Service -- "clients" will typically interact with the Trigger Service indirectly, using some mechanism specific to the triggered executable program (for example, an executable program may send mail to an end-user or write a structured log file that will later be read by some other program).
Public interface
The public interfaces for specifying trigger actions, including specifications for executable programs to be executed by the trigger, can be found in the Trigger Service Public Interface Guide.
The public interfaces for creating and configuring aggregator sources -- sources of information used by the trigger service -- can be found in the Aggregator Framework Public Interface Guide.
Usage scenarios
Controlling information collected by the Trigger Service
Information is collected by the Trigger Service by way of an aggregator source. The Globus Toolkit distribution includes several standard aggregator sources (see the Administrator's Guide for more details). To create your own custom information source, see the WS MDS Aggregator Developer's Guide.Controlling the Conditions Under Which the Executable is Executed
This is handled through configuation options (see the WS MDS Trigger Service Administration Guide for details).Programming the Executable
The executable program triggered by the Trigger Service can be written in any programming or scripting language. The specifications for this program are documented in the WS MDS Trigger Public Interfaces Guide.Tutorials
There are no tutorials available at this time.
Feature summary
Features new in release 3.9.5
- Not applicable
Other Supported Features
- Monitors resource properties for matching trigger conditions
- When a trigger condition matches, fires a customisable action: for example, sends email to an administrator.
- Monitored services are managed through service group-based registration API, allowing use of many of the same clients that can be used in the index service.
Deprecated Features
- Not applicable
Tested platforms
Tested Platforms for WS MDS Trigger Service
- Linux on i386
- Windows XP
Backward compatibility summary
The Trigger Service is a new component for GT 4.0 and so has no compatibility statement.
Technology dependencies
The Trigger Service depends on the following GT components:
- Java WS Core
- WS MDS Aggregator
The Trigger Service depends on the following 3rd party software:
- None
Security considerations
The security considerations for the Aggregator Framework also apply to the Trigger Service.
Debugging
See the Debug section of the Java WS Core Developer's Guide for general information on logging, including which files to edit to set logging properties.
To turn on debug logging for the Trigger Service, add the line:
log4j.category.org.globus.mds.trigger=DEBUG
to the appropriate properties file. Since the Trigger Service is implemented using the aggregator framework, you may also want to turn on aggregator debugging by adding this line:
log4j.category.org.globus.mds.aggregator=DEBUG
Troubleshooting
General troubleshooting information can be found in the GT 3.9.5 Java WS Core Developer's Guide.
Related Documentation
Specifications for resource properties, service groups, and subscription/notification are available at http://www.globus.org/wsrf/.