Jumbo configuration (common.config)

The jumbo.config configuration file provides configuration that is common to the Jumbo DFS and Jumbo Jet.

Contents

The ookii.jumbo element

The <ookii.jumbo> element contains global configuration for Jumbo.

<ookii.jumbo>
</ookii.jumbo>

Child elements

ElementMin occursMax occurs
<networkTopology>01
<patternTopologyResolver>01
<log>01

The ookii.jumbo/​networkTopology element

The <networkTopology> element configures network topology support (rack-awareness).

<networkTopology
    resolver=xs:string />

Attributes

AttributeUseDescription
resolveroptional Specifies the type of a class implementing ITopologyResolver that is used to resolve the rack that a node belongs to. The default value is "Ookii.Jumbo.Topology.PatternTopologyResolver, Ookii.Jumbo".

The ookii.jumbo/​patternTopologyResolver element

The <patternTopologyResolver> configures the network topology support using the PatternTopologyResolver class.

This configuration element is only used if the resolver attribute of the <networkTopology> element is set to "Ookii.Jumbo.Topology.PatternTopologyResolver, Ookii.Jumbo".

<patternTopologyResolver
    patternType=PatternType>
</patternTopologyResolver>

Attributes

AttributeUseDescription
patternTypeoptional Specifies the type of pattern used by the PatternTopologyResolver. The default value is "RegularExpression".

Child elements

ElementMin occursMax occurs
<racks>11

The ookii.jumbo/​patternTopologyResolver/​racks element

The <racks> element provides a collection of racks defined by the PatternTopologyResolver.

<racks>
</racks>

Child elements

ElementMin occursMax occurs
<rack>0unbounded
<remove>0unbounded
<clear>0unbounded

The ookii.jumbo/​patternTopologyResolver/​racks/​rack element

The <rack> element adds a rack to the <racks> collection.

<rack
    id=xs:string
    pattern=xs:string />

Attributes

AttributeUseDescription
idrequired A string value that uniquely identifies the rack.
patternrequired The pattern that matches the names of the nodes in this rack. Depending on the patternType attribute of the <patternTopologyResolver> element, this pattern is either a regular expression or a range expression.

The ookii.jumbo/​patternTopologyResolver/​racks/​remove element

The <remove> element removes a rack from the <racks> collection.

<remove
    id=xs:string />

Attributes

AttributeUseDescription
idrequired A string value that uniquely identifies the rack.

The ookii.jumbo/​patternTopologyResolver/​racks/​clear element

The <clear> element removes all racks from the <racks> collection.

<clear />

The ookii.jumbo/​log element

The <log> element provides configuration for Jumbo's logging system.

<log
    directory=xs:string />

Attributes

AttributeUseDescription
directoryoptional Specifies the directory containing the Jumbo assemblies. If this a relative path, it is relative to the directory containing Jumbo's assemblies. If you change this value, you should also change the corresponsing value in Jumbo-Config.ps1 or jumbo-config.sh. The default value is "./log/".

The PatternType type

The type of pattern used by the PatternTopologyResolver.

Enumeration values

ValueDescription
RegularExpression

The patterns are regular expressions.

RangeExpression

The patterns are range expressions (see the Ookii.Jumbo.Topology.RangeExpression class).