This example is being made available as a service to you. It is intended for educational purposes 
only. Any methods or techniques shown in this example should be fully tested by the developer 
before being used in a production environment. This example is being made available AS IS WITH 
NO WARRANTY OF ANY KIND.

How do I configure my Client Builder application to get data from multiple servers at the same time?


If you are creating a non redundant FactoryLink 7.x Client Builder application where it is not switching between two FactoryLink servers and trying to bring in data from multiple servers, configure your Client Builder as follows:

Go to Tools>Servers in Client Builder to open up the Servers Editor.

Under SERVER TYPES you want to add each one of your computers that you want to connect to in each server type. If you had three computers you wanted to connect to, under AlarmServers, OPCServers, TrendServers, and TableDataServers you would add an entry for each computer like under AlarmServers you would have Alarm_1, Alarm_2, and Alarm_3.

Under CLUSTERS you need to create a Alarm, OPC, Trend, and Table Data cluster for each computer that you are going to connect to. If you had three computers you wanted to connect to, you would have something like AlarmCluster, OPCCluster, TrendCluster, TableDataCluster, AlarmCluster2, OPCCluster2, TrendCluster2, TableDataCluster2, AlarmCluster3, OPCCluster3, TrendCluster3, and TableDataCluster3. Under each cluster you put the computer you want assigned to that cluster and set all their ranks to 1. For example: AlarmCluster would have Server1 configured under it; AlarmCluster2 would have Server2 configured under it and so on.

Under CLUSTER COORDINATOR you need to create a cluster coordinator for each computer that you are going to connect to and then under the cluster coordinator you would add the four clusters for that computer. For example, if you had three computers you wanted to connect to, you would have a Application1, Application2, and a Application3 cluster coordinator. Under the Application1 cluster coordinator you would have OPCCluster, AlarmCluster, TrendCluster, and TableDataCluster. Under the Application2 cluster coordinator you would have OPCCluster2, AlarmCluster2, TrendCluster2, and TableDataCluster2. Under the Application3 cluster coordinator you would have OPCCluster3, AlarmCluster3, TrendCluster3, and TableDataCluster3. 

I have attached a MultipleServerExample.zip file that contains an example Servers.dat file that you can copy into a test Client Builder application and see the setup for getting data from three FactoryLink servers.

If you are using FactoryLink 8.0, then all you need to do is create a FactoryLink cluster type for each computer that you want to connect to and then add a computer to each cluster. For example under Clusters you would have FLCluster, FLCluster2, FLCluster3, ....

Be sure to check the downloads area of Knowledge Base at http://support.tecnomatix.com to see 
if an updated version of this example is available.




