8.4. Mirroring

This option in the Properties Window lets you set up the Cascade DataHub to act as a master or slave for mirroring. Mirroring means that the data and any updates to that data on one DataHub are exactly mirrored across the network onto another DataHub, and vice-versa. The only difference between the master DataHub and slave DataHub is that the slave initiates the connection. Once the connection is established, they function exactly the same.

Mirroring is done over TCP, which allows for connectivity across a network or over the Internet. The Cascade DataHub can mirror data with other DataHubs running in Windows, Linux, or QNX operating systems. In addition to mirroring, the Cascade DataHub can accept direct connections from any TCP client using the DataHub APIs for C++, Java, and .NET, such as Cascade DataSim or other, custom applications.

It is possible for a DataHub to be both mirroring slave and master simultaneously—acting as a slave to one or more DataHubs and a master to one or more others. For slave mode you need to specify each master.

Mirroring Master

The Act as a master for mirroring box is checked by default, with the service/port set at 4600. Normally you won't have to change these settings.

[Important]

If you enter a name for the service/port instead of a number, that name must be listed in the Windows services file. Please refer to The Windows Services file Appendix for details.

Mirroring Slave

Check the Act as a mirroring slave to these masters box to have the Cascade DataHub act as a slave.

To specify one or more masters for this mode, click the Add Master... button. This will open the Mirror Master Dialog:

This is what must be entered:

Host name
The name or IP address of the host computer.
Service/Port
The port number or service name as entered in the Master service/port entry box of the master on the remote computer. The system default is the number that appears in the Master service/port entry box above. It is common, but not necessary, to have these two numbers (or names) the same.
Local domain
The local Cascade DataHub domain for this slave.
Remote domain
The remote Cascade DataHub domain, which is on the master computer. Point names will be mapped from the remote domain (on the master) into the local domain (on this slave), and vice versa.

To edit a master, double-click it or select it and press the Edit button, and edit the fields described above. To remove a master, highlight it and click the Remove button.