(mirror_master_2 host port flagslocaldomain remotedomain heartbeat timeout [username password])
Any combination of:
| Hex | Flag | Notes |
|---|---|---|
| 0x00100000 | READABLE | Data is readable from the master. Always set this. |
| 0x00200000 | WRITABLE | Data is writable to the master. |
| 0x01000000 | SYNC_SEND | On initial connection, send all data to the master |
| 0x02000000 | SYNC_RECV | On initial connection, receive all data from the master |
| 0x04000000 | SYNC_TIME | On initial connection, synchronize by comparing time stamps. |
| 0x10000000 | AUTHORITATIVE | Master is authoritative. Data here is marked Not Connected when the connection drops. |
| 0x20000000 | NON_AUTHORITATIVE | I am authoritative. Data in the master is marked Not Connected when the connection drops. |
| 0x40000000 | OVERRIDE_TIME | Override the time stamp on incoming data with the system clock time. |
Some combinations of flags will generate strange results:
The number of milliseconds for the heartbeat on this connection. 0 means disabled.
The number of milliseconds for the timeout on this connection. 0 means disabled. The timeout should be significantly longer than the heartbeat.
(optional) The user name to use if authenticating this connection.
(optional) The password to use if authenticating this connection. This password is stored in obfuscated text to stop somebody from casually copying it. However, since this obfuscation must be reversible to give access to the original password, it does not represent strong security. Do not allow untrusted people access to your configuration file.
This command is the same as mirror_master, but includes the necessary parameters for security. This command is sent to the slave DataHub in a mirroring relationship. It tells the slave all the information it needs about its connection to the master DataHub. This command corresponds to all the entries in the Mirror Master dialog that opens when you click the button in the Tunnel/Mirror option of the Properties window.
Copyright © 1995-2012 by Cogent Real-Time Systems, Inc. All rights reserved.