Controlled Redundancy

With GenBroker, you can add a point that controls whether a classic OPC server should be considered alive for redundancy switching. You can gain this level of control for the following types of redundant servers:

(For a better understanding of how redundancy for these servers is configured, refer to the Classic OPC Redundancy topic.)

How Redundancy Works

To understand how this feature works, first you need to understand how redundancy works in GENESIS64. Let's look at a redundant pair of classic OPC servers that have been paired using the Redundancy Node Pairs tab in GenBroker. With this pair of servers, the active server always has a stand-by or backup server that can take over if the active server becomes unavailable. In this simple scenario, if the device fails but the OPC server continues to run, GENESIS64 has no reason to switch over to the backup OPC server and device because GENESIS64 can continue to communicate with the OPC server and the OPC server keeps responding. GENESIS64 is unaware that the device has failed. Or if you plan to do a maintenance on your OPC DA server you may want to make sure the values of OPC tags from the server do not get propagated to the ICONICS OPC Clients.

 

You can easily address these issues. Each OPC server in the pair has a point that indicates whether the underlying device is working properly. If the underlying device fails, you can force GENESIS64 to switch over to the backup OPC DA server even though the active OPC DA server is still alive. To do this, you must define a point to be used as the controlling point for the redundant server. When the controlling point returns a 0 (zero) value or bad quality, GENESIS64 will consider the server offline (not available), even if the server continues to respond. When setting up controlled redundancy, you can define any GenClient point as the controlling point - it doesn't have to be a point from the same server as the node being monitored.

 

Controlled Switch Over

When you are using controlled redundancy for a server that is part of a redundant pair, the active server switches over to the stand-by server when either of the following occurs:

Note this works only when redundancy has been set up for the server you're assigning a controlling point to and the active license contains DWX32 Pro license bit. If the server specified is not in a redundant pair, then the controlling point will not do anything with it.

Steps

Follow these steps to set up this controlled switch over for servers that are configured for redundancy on the Redundancy Node Pairs tab of GenBroker:

  1. In the classic Workbench, select the FrameWorX Server bar from the Project Explorer.

  2. Expand the server node, and expand Classic OPC, then double-click GenBroker. GenBroker opens with its Channels tab on top. (Note the GenBroker communication options can be set here, too.)

  3. Go to the Redundancy Node Pairs tab and confirm that the servers for which you are controlling a switch over are defined in node pairs on this tab.

  4. Go to the Controlled Redundant Servers tab (shown below) and complete the following information for each server:

  5. Click Apply when you are done.

GenBroker's Controlled Redundant Servers Tab

Client-Side Control Points Updated

The following client-side control points were changed between V10.5 and V10.7. They have different names and slightly different meanings). All these points are read-only.

Also, the old names have been mapped to the new ones with the updated meanings.

 

For compatibility with V10.5, the following points were implemented in V10.7. Note that the meaning may be slightly different from 10.5, because load-balancing has been introduced. Also note #Session.FwxActiveUrlIndex in no longer writeable.

The points are not browseable and must be manually typed in. This is by design.

 

See also:

Redundancy in GENSIS64

Redundancy Quick Start

GenBroker Overview