Follow

Data Consumer - Flow "Tier 2" Consumer

In an organization with multiple sites and a head office, it might be imperative to report to head office on the KPI and measures collected and calculated on a site level.  Each site requires autonomy when it comes to its own production-focussed reporting requirements; at the same time, head office required selected data points to be replicated to their Flow system for benchmarking and comparison requirements.

This concept can also be extended to “Business-to-Business” integration.  Thus, two separate companies each having a Flow system can “share” information between one another. 

Think of the benefits of this type of integration in the example of a Consumer/Supplier situation; one can streamline the supply chain between the two parties by continuously keeping the supplier informed as to raw material requirements, based on current production trends.

Not only does the “tiering” technology allow for the replication of data, but it can also be utilized for template distribution and template management.

Note: Please see the section on templates for a full rundown on the capabilities and implementation of templates.

 

Configuring a Flow Tier 2 Consumer

To create a connection to the Flow Consumer, right-click on Data Consumers to add a new Consumer. Select “New", "Flow Software”, and then "Flow".

Select The “Flow” consumer to open its editor:

Configuring_Data_Consumer_-_Flow_Tier_2.png

To successfully push data to a Flow Tier 2 Consumer, the following properties need to be set.

    Configuring_Data_Consumer_-_Flow_Tier_2_Properties.png                                                                                                                              

  • Name (String)
Name to identify the consumer.
  • Server (String)
Location of the destination Flow Server (Server Name or IP Address).
  • Instance (GUID Key)
Instance ID of the destination Flow system to which information needs to be pushed.
  • Server Key (String)
Server Key of the destination Flow Server.
  • Server Port (Int)
Port of the configured Flow Server, default 4501.
  • Use https (Dropdown)
Select "True" if the https protocol is required when communicating with the Tier 2 Flow system. The default setting is false, which means that the http protocol will be used.
  • Timeout (seconds) (Int)
Time allowed to connect and retrieve the destination Flow instance's namespace. The default is 15 seconds.
  • Proxy Server (String)
Configure this setting if your network configuration requires you to communicate through a proxy server.
  • Proxy Server Port (Int)
If required, specify the Proxy server’s port. Only visible if a Proxy Server was specified.
  • Use Default User (Dropdown)
Specify if the proxy server needs authentication. Only visible if a Proxy Server was specified.
  • Username (String)
Specific username if proxy authentication is required. Only visible if a Proxy Server was specified.
  • Password (String)
Specific password if proxy authentication is required. Only visible if a Proxy Server was specified.
   
Note: The "Instance" GUID and "Server Key" gets generated when creating a server key. This must be done on the Tier 2 Flow instance (e.g. Head Office)

Creating_a_Server_Key.png

Note: Please see the section on the Flow server to generate and copy Security Keys.

After configuring the properties, test the connection by pressing the “Test” button. If successful, a pop-up will confirm your connection or display an error message describing the issue that needs to be rectified.

Testing_Connection_to_Flow_Consumer.png

If the connection is successful, the namespace of the destination Flow Instance will be populated:

Flow_Tier_2_Namespace_Example.png

Note: Only measures configured with a retrieval type of “Replicated” and an interval type of Daily and above (i.e. Weekly, Monthly, Quarterly, Yearly) will be displayed and available for replication.
Please see the section on measures to get familiar with retrieval and interval types for a measure.

 

Configure a Measure to Replicate

From your Flow model, select and open the configuration for a measure that you want to replicate to your Tier 2 Flow system. The interval type of the measure must match the interval type of the Tier 2 measure (e.g. you can replicate a daily measure from your Tier 1 system to a daily measure in your Tier 2 system).

Measure_Consumer_Config_-_Replicated_Measure.png

Notice the "Integration" tab in the measure configuration editor.   Select the Integration tab to expand its configuration.

You will notice that any context added to the measure will be available to replicate - this includes both calendar and event context, as seen in the previous image.

Simply drag the measure from the Data Consumer Namespace onto the context type you would like to replicate.

Note: Currently, only calendar context can be replicated to a Tier 2 Flow system.

Notice the "Properties" and "Deployment" icons in the integration section.

 

Measure_Consumer_-_Properties_Tab.png

 

The Properties tab will contain the information of the destination measure, displaying its Hierarchical Name in the Measure Name text box, Measure ID and the Time Scheme selected that will be used to push the data to.

On the deployment tab, the specific integration engine can be selected that should be utilized to perform the integration task. By default, there will be only one Integration Engine.

Measure_Consumer_-_Deployment_Tab.png

Only in a large, distributed system architecture, will more than one Integration Engine be required for load balancing.

You can select a backfill date from which to “push” data (i.e. historical data) to the Tier 2 Flow system.

Note: See the section on Deployment which explains how to deploy the Integration Engine itself.

Note: Selecting the backfill date for tiering will have no effect on the backfill setting on the main configuration tab of the measure. Please make sure that the destination measure has been configured with a calendar that extends as far back in time as the backfill time you have configured in the Integration Tab.

Deploy/Activate the integration to start replicating data, by clicking on the green Deploy icon in the top-right of the Integration Tab.

Notice that, at the bottom of the deployment section, there is a description of the current status of the integration, showing whether it is deployed, busy backfilling, or in a normal operation (if the integration is up-to-date and waiting for the next time period to push data, the status will display something like "Processing ..." and the date and time of the last successful replication.

Measure_Consumer_-_Deployment_Tab_-_Deployment_Status.png

If you go to your Tier 2 Flow instance, you will notice the same data being populated and displayed in the relevant replicated measure:

Replicated_Measure_Tier_2_-_With_Data_Populated.png

The Retrieval section of the replicated measure will be updated with the source measure’s details as well as the last time a value was updated/processed.

Replicated_Measure_-_Retrieval_Tab.png

All measures configured for integration will be listed in the deployment view under the integration engine (on the Tier 1 Flow Instance)

Integration_Engine_-_With_Measures_Displayed.png

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments