HOSTnn Keyword
Hostnn="dynamic" | [[serialnum]:{ip | URL}[:{portnum}][:{flags}]
This keyword specifies the Sunbelt serial number, IP/URL address, and port number for the data manager servers that are connected to the replication network. All of the HOSTnn definitions must be specified in the configuration file of the primary data manager. Only the HOST00 need be specified in the configuration file of the secondary data managers. Additional host information is transferred from the primary data manager to the secondary data managers during the startup processing. The nn value may be a value from 00 to 03.
This keyword must be specified in the replication section that is included in the configuration file for the primary server.
Format:
HOSTnn="dynamic" | [[serialnum]:{ip | URL}[:{portnum}][:{flags}]
Where:
The SUNDM replication network can only have a primary and one secondary replication server.
A single managed replication directory as specified by the MANAGED_DIR01 is allowed.
A single unmanaged replication directory as specified by the UNMANAGED_DIR01 is allowed.
All other replication directory keywords are ignored.
Any SUNDM data manager with the 'Dnnnnnn' serial number has an expiration date beyond which the software will not execute. The 'sundm -e' command will display the expiration date. Also, these data managers are limited to two managed file logons at any given time.
Note:
The HOSTnn IP/URL settings identify the remote URL/IP address used when one replication server connects with another. The HOSTnn settings must not be set to 0.0.0.0 or 127.0.0.1.
The {flags} parameter allows the NO_FILE_DELETES and SECONDARY_SCAN keywords to be turned off or on for individual secondary or backup servers. The flags are represented by alpha characters in a comma separated list. A leading '-' character indicates that the flag is to be cleared. The flags in the HOSTnn keyword override the global NO_FILE_DLETES and SECONDARY_SCAN keyword settings. The currently supported flags are:
Flag
For a specific host server, the ...
N or n
NO_FILE_DELETES is set to be ON.
-N or -n
NO_FILE_DELETES is set to be OFF.
S or s
SECONDARY_SCAN is set to be ON.
-S or -s
SECONDARY_SCAN is set to be OFF.
Example 1 (Primary Server)
HOST00=N123456:63.162.221.99
HOST01=N000001:www.sunbelt-plb.com
HOST02=dynamic
HOST03=N000099:63.162.1.2:52105
Example 2 (Primary Server)
HOST00=:63.162.221.99
Example 3 (Primary Demo Server)
HOST01=D999999:210.211.1.2
Example 4 (Secondary Server)
Example 5 (Secondary Server)
Example 6 (Flags)
HOST01=N999999:192.168.110.99:3934:S,N
HOST02=N999999:192.168.110.98:3934:S,-N
See Also: SUNDM Keywords, SUNADMIN, MAKEMFD