Multiple configuration rules

In this example, the target Supervisor station has two additional configuration rules under the History Policies container of its NiagaraNetwork.
Figure 23.   Three configuration rules
Image

The highest-priority Default Rule matches all exporting stations with a history name pattern of Audit*. This wildcard would match any AuditHistoryLog. Capacity is set to unlimited, which exports all audit history records for inclusion in the archive.

The MetersRule configuration rule applies to all stations, and all histories with names that begin with Meter (Meter*). Capacity is set to unlimited, which exports all such histories for inclusion in the archive.

The EastWing configuration rule applies only to stations whose names begin with East (East*) and include all histories in the archive. Its configuration rule limits capacity to 100,000 with roll for its full policy.

The WestWing and EastWing examples that follow create histories in a Supervisor station.

WestWing403

Histories are exported using the following capacity and fullPolicy (defined in the configuration rule):

  • AuditHistoryLog: unlimited and roll come from the Default Rule.
  • LogHistory: 500 record sand roll: match no rule so the station uses the source history configuration, as in a remote controller station.
  • Meter1: unlimited and roll come from the MetersRule.
  • ZoneTemp1: 500 records and roll match no rule so the station uses the source history configuration, as in a remote controller station.
  • Meter2: unlimited and roll come from the MetersRule.
  • ZoneTemp2: 500 records and roll match no rule so the station uses the source history configuration, as in a remote controller station.

EastWing403

Histories are exported using the following capacity and fullPolicy (from configuration rule):

  • AuditHistoryLog: unlimited and roll come from the Default Rule.
  • LogHistory: 100,000 records and roll match the EastWing rule.
  • Meter4: unlimited and roll come from the MetersRule.
  • ZoneTemp1: 100,000 records and roll: match the EastWing rule.
  • Meter3: unlimited and roll come from the Meters Rule.
  • ZoneTemp2: 100,000 records and roll: match from the EastWing rule.

Again, the export function processes the rules in priority order. In this example, if we reorder the two optional rules by moving EastWing above MetersRule, our results would be different. Meter histories from EastWing403 would have a 100,000 record capacity.