The Hyades Data Collection
Engine configuration is specified by two sets of configuration files. The first
set is the base configuration which describes the default settings of the
engine. The second set is the plugin configuration which describes the
application-specific settings of the engine. This document describes the detail
of each configuration and how to write configuration extensions.
The directory “<install directory>” referred in this document corresponds to the path
where the Hyades Data Collection Engine is unpacked. This directory is also
referred as “%RASERVER_HOME%” in the configuration files.
The base configuration
consist of the file “<install
directory>/config/serviceconfig.xml”
which is constructed using the XML schema “<install
directory>/config/serviceconfig.xsd”. This specifies the default
settings such as system environment variables, application configurations and
connectivity of the Hyades Data Collection Engine. The base configuration will
be availabe to all configurations and is loaded when the engine service is
started. Application developers should not modify this base configuration file
since any changes in the base configuration will be global. Plugin
configurations (described below) should be used to specify plugin and application
specific settings.
Each user-defined application
should have its configuration file and dependencies being placed under the plugin
directory “<install
directory>/plugin/<plugin name>”
where “<plugin name>” is a unique name which identifies the application. The
plugin configuration file “pluginconfig.xml” should be placed under the “config”
subdirectory of the plugin directory. Typically, JAR files are placed under the
“lib” subdirectory of the plugin directory. Developers can use the XML
schema “<install
directory>/config/pluginconfig.xsd”
to help constructing the plugin configuration file.
This is the root element of
the base configuration. The settings are used for starting the engine service.
Used by: Base Configuration
Sub-elements: AgentControllerEnvironment, Application, Hosts,
Service, Agent,
Option, Plugin
Attributes:
This is the root element of
the plugin configuration. The settings are loaded after the base configuration
is loaded.
Used by: Plugin Configuration
Sub-elements: AgentControllerEnvironment, Application, Service,
Agent, Option
Attributes:
This is a place holder for
global environment variable(s) contributed by this configuration. These are
published to the system and available to all other configurations including the
base configuration.
Used by: AgentControllerConfiguration, PluginConfiguration
Sub-elements: Variable
Attributes:
This is a place holder for
application specific environment. The settings within are only visible to this
particular application.
Used by: AgentControllerConfiguration, PluginConfiguration
Sub-elements: Variable, Parameter
Attributes:
This is a place holder for
host information. This is used by the engine to allow / disallow certain
host(s) to connect.
Used by: AgentControllerConfiguration
Attributes:
This specifys which host(s) are allowed to connect to the engine.
Used by: Hosts
Attributes:
This specifys which host(s) are disallowed to connect to the engine.
Used by: Hosts
Attributes:
This
specify which user defined module
to load at engine startup.
Used by: AgentControllerConfiguration, PluginConfiguration
Sub-elements: Option
Attributes:
This
specify agent specific
information.
Used by: AgentControllerConfiguration, PluginConfiguration
Sub-elements: Option
Attributes:
This is used to store a
name-value pair.
Used by: AgentControllerConfiguration, PluginConfiguration, Service, Agent
Attributes:
This specify the directory
to look for plugin configurations
Used by: AgentControllerConfiguration
Attributes:
Environment
variable.
Used by: Application, AgentControllerEnvironment
Attributes:
Program
parameter.
Used by: Application
Attributes: