Clustered Environment Configuration

  1. Open the Windows Service management console. Stop the following services:
    • FTAnalyticsDataview
    • FTAnalyticsDataImporter
  2. On second machine, create a folder
    C:\RockwellSoftware\FactoryTalkAnalyticsDataView
    and copy the
    jdk
    and
    jre
    folders from the DataView machine to the second machine.
  3. On second machine, create a folder
    C:\RockwellSoftware\FactoryTalkAnalyticsDataView\FTADataView
    and copy the DataImporter folder from DataView machine to the second machine.
  4. Open the
    dataimporterproperties.properties
    file and update the following properties:
    Database configuration:
    • Configure the PostgreSQL database server:
      bds.cidb.url = jdbc:postgresql://<HostName>:5432/FTADataView (Format: jdbc:postgresql://<<Database Host Address>>: <<Database Port>>/<<Database name>>)
    Elasticsearch node Configuration:
    • Configure Elasticsearch host:
      bds.cies.esNHosts=<Elasticserach server HostName> (Server HostName where Elasticsearch is installed)
      NOTE:
      Ensure that PostgreSQL and Elasticsearch are remotely accessible.
    DataImporter Distributed Environment Configuration:
    • Change Distributed Environment setting to true:
      bds.cies.isDistributedEnvironment=
      true
      (for Multi node configure change it to
      True
      . By default, it is set to False for single node deployment)
    Servers
  5. Go to the
    <Installation_Directory>\dataimporter\config
    folder and open the
    cluster.xml
    file in a text editor.
  6. Configure the following properties in
    cluster.xml
    file for distributed environment:
    • Configure cluster-name for Distributed Environment: <cluster-name>Hostname</cluster-name>
    • Configure ports <ports>5711-5731</ports>
    • Enable Multicast: multicast enabled=true
    • Configure Member list for Distributed Environment:
      <member-list>
      <member>Hostname1</member>
      <member>Hostname2</member>
      <member>Hostname3</member>
      </member-list>
    Configure cluster.xml File
  7. Open a Command Prompt window with administrator privileges and change the working directory to the
    <Installation_Directory>\dataimporter
    folder.
  8. Run the
    installimporterservice.bat
    file to run DataImporter as a service.
  9. Go to system where DataView is installed and navigate to the
    <DataView_HOME>\FTADataView\dataview\config
    folder
  10. Open the
    application.properties
    file in a text editor, in administrator mode.
  11. Change the following properties in the
    application.properties
    file.
    • DataSource:
      Configure the PostgreSQL database server hostname:
      spring.datasource.ur1=jdbc:postgresql://<FQDN-hostname>:5432/FTA DataView
      (Server HostName where PostgreSQL is installed)
    • Distribute Environment configuration
      Change Distributed Environment setting to true:
      fta.dataview.isDistributedEnvironment= true
      (for Multi node configure change it to
      True
      . By default, it is set to False for single node deployment)
    application.properties File
  12. Open the
    cluster.xml
    file in a text editor, in administrator mode.
  13. Configure the following properties in
    cluster.xml
    file for distributed environment:
    • Configure cluster-name for Distributed Environment:
      <cluster-name>Hostname</cluster-name>
    • Configure ports <ports>5711-5731</ports>
    • Enable Multicast: multicast enabled=true
    • Configure Member list for Distributed Environment:
      <member-list>
      <member>Hostname1</member>
      <member>Hostname2</member>
      <member>Hostname3</member>
      </member-list>
    Configure cluster.xml File
    NOTE:
    Ensure that the cluster name is same in both the
    cluster.xml
    files of DataView and DataImporter.
  14. Open the Windows Service management console and start the following services:
    • FactoryTalkAnalyticsDataView
  15. Open the log file and ensure that all the members are joined as shown:
    Log File
  16. If the members are joined successfully as shown in the log file, skip this step. If not, go to the
    C:\Windows\System32\drivers\etc
    and open the networks file and add the respective system server name and corresponding IP address.
    Networks File
  17. Open the URL, https://<FQDN-hostname>/dataview using a web browser to open the DataView application.
  18. Login to the DataView application as Design User and create a connection to verify successful cluster configuration.
    Connection Success
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.