FMS Replication and Data Synchronization

FMS can currently be configured for FMS data synchronization/replication, or to support FMS redundancy in the event of a failover. Use of either feature is optional.

You must have the required security authorization to configure FMS data synchronization and replication or FMS redundancy. Your User ID must satisfy the user authentication requirements in your system (Microsoft Windows) to give you permission to write to the configuration files containing the required settings. See Security for more information about configuring security access.

FMS Redundancy

The FMS redundancy feature set can be configured for data-center redundancy, but not yet for local redundancy. Enabling the redundancy feature currently disables use of the data synchronization/replication feature, and FMS replication and data synchronization keywords must be disabled if they have been previously configured.

See CygNet Redundancy and Configuring FMS Redundancy for more information.

FMS Replication/Data Synchronization

The FMS data synchronization feature set is similar to the replication implementation for all DBS-based services, in that the data model is a pull from, not a push to, the Master service, and a number of Slave services can be configured to replicate from a single Master service. Enabling the replication feature disables use of the redundancy feature, and once configured, FMS replication and data synchronization keywords must be disabled before inclusion of an FMS in a redundant environment.

In CygNet Measurement, in addition to the disaster recovery service defined as a part of the replication process, business services can also be defined.

Replication Considerations

There are some considerations to take into account prior to setting up your FMS system replication.

Replication Modes and Data Sharing Roles

FMS Replication is an optional process and no replication is in place by default. Each FMS service's replication relationship is defined in its service configuration file (CygNet\Services\FMS\fms.cfg). Changes must be made before starting the service; they cannot be made at runtime.

Configuration file keywords required to define replication behavior can be set by authorized users. See FMS Configuration File Keywords in the Services section for more information about Data Synchronization keywords used to define replication and data sharing roles.

If you do not want to set up replication for an FMS service, leave the Data Synchronization Keywords section of the configuration file commented out, or define the value for the DS_MODE keyword (the data sharing mode) as NONE.

If you want to set up replication for your FMS services, define the value for the DS_MODE keyword as REPLICATION in the FMS configuration file (CygNet\Services\FMS\fms.cfg), and proceed to configure the service relationships for each involved service.

When in replication mode, FMS services can function in one of three possible data sharing roles.

FMS services involved in replication can be defined in their configuration files as a REPL_MASTER (Master) service, a REPL_SLAVE_DR (Disaster Recovery Slave) service, or a REPL_SLAVE_BUSINESS (Business Slave) service. These data sharing roles and their relationships are defined in the configuration files for each service involved in the replication relationship. Only one service can be defined as the Master service. Only one service can be defined as the DR Slave service, which maintains an exact copy of the Master database. Multiple services can be defined as Business Slave services, which maintain a mostly read-only copy of the Master database, in accordance with a specified data retention period (if used).

Replication Mode Functionality

Each replication mode (FULL/REPOSITORY) and service role (Master/Business Slave) supports applicable FMS commands. The following table lists available command functionality for each replication mode service role.

Note: DR Slave services are read-only, so command functionality is not applicable.

FMS Command Name FULL Mode REPOSITORY Mode
Master Service Business Slave Service Master Service Business Slave Service
Device Communication Commands  

Request Current Configuration

Check

N/A

Check

N/A

Request Data

Check

N/A

Check

N/A

Request Missing Data

Check

N/A

Check

N/A

Request New Data

Check

N/A

Check

N/A

Request Product Data

Check

N/A

Check

N/A

Send Gas Quality

Check

N/A

Check

N/A

Flow-Cal Request Missing Data*

N/A

N/A

Check

N/A

Flow-Cal Send Gas Quality*

N/A

N/A

Check

N/A

Export Commands  

Device Data CSV

Check

Check

Check

N/A

Normalization View Data CSV

Check

Check

N/A

N/A

PPAs CSV

Check

N/A

N/A

N/A

Flow-Cal Data CFX*

Check

Check

Check

Check

Flow-Cal Ticket Data TFX*

Check

Check

Check

Check

Flow-Cal Transaction Queue*

Check

N/A

Check

N/A

PGAS Data XML*

Check

Check

Check

Check

Import Commands  

Configuration CSV

Check

N/A

Check

N/A

EmersonRoc Laptop

Check

N/A

Check

N/A

Events CSV

Check

N/A

Check

N/A

Gas Analysis CSV

Check

N/A

Check

N/A

Gas Quality CSV

Check

N/A

Check

N/A

History CSV

Check

N/A

Check

N/A

Totalflow laptop

Check

N/A

Check

N/A

Reports Commands  

Balance Contribution

Check

Check

Check

Check

Balance Details

Check

Check

Check

Check

Balance Overview

Check

Check

Check

Check

Batch

Check

Check

Check

Check

Changed Device Data

Check

Check

Check

Check

Changed Station Data

Check

Check

Check

Check

Configuration

Check

Check

Check

Check

Device QTR

Check

Check

Check

Check

Device Total QTR

Check

Check

Check

Check

Event

Check

Check

Check

Check

Gas Analysis

Check

Check

Check

Check

Gas Device Raw QTR

Check

Check

Check

Check

Job***

Check

Check

Check

Check

Late Job***

Check

Check

Check

Check

Liquid Device QTR

Check

Check

Check

Check

Liquid Device Raw QTR

Check

Check

Check

Check

Missing Data

Check

Check

Check

Check

Missing Data Overview

Check

Check

Check

Check

Normalization View

Check

Check

N/A

N/A

Ticket

Check

Check

Check

Check

System Commands  

Archive Data**

Check

N/A

Check

N/A

Detect New Devices

Check

N/A

Check

N/A

Estimate Station Data

Check

N/A

N/A

N/A

Generate Smart Groups

Check

N/A

Check

N/A

Perform Database Maintenance

Check

Check

Check

Check

Precalculate Calibration Data***

Check

Check

Check

Check

Schedule Jobs***

Check

Check

Check

Check

Update Normalization Views

Check

Check

N/A

N/A

User Commands  

Validate Data

Check

N/A

Check

N/A

* If installed; provided as an optional feature

** If enabled in the FMS configuration file (CygNet\Services\FMS\fms.cfg)

*** Available as a feature of CygNet Dispatch. Contact CygNet Sales for more information.


More:

Arrow Configuring FMS Replication

Arrow Configuring FMS Redundancy

Back to top