Allows SQL Anywhere clients to find SQL Anywhere database servers running on other subnets and through firewalls where UDP broadcasts normally do not reach.
dbns12 [ options ] [ address ... ]
Option | Description |
---|---|
@data |
Reads in options from the specified environment variable or configuration file. See Configuration files. If you want to protect passwords or other information in the configuration file, you can use the File Hiding utility to obfuscate the contents of the configuration file. See File Hiding utility (dbfhide). |
-ap port | Specifies the port number used by the database server. The default port number is 2638. |
-m ip | Specifies the IP address of the computer the DBNS process is running on. This parameter is required for computers with more than one IP address. This address must be an IPv4 address. |
-o filename | Writes the output that appears in the Broadcast Repeater messages window to the named file. |
-p port | Specifies the port number used by the DBNS Broadcast Repeater. The default is 3968. If there is a firewall between the subnets, then you must open the port number used by the Broadcast Repeater utility for TCP connections between DBNS processes, in addition to opening port 2638 for standard client-server communications. |
-q | Runs in quiet mode—messages are not displayed. |
-s | Causes the new DBNS process to check if another DBNS process is already running on that subnet, and returns an error before shutting down if another DBNS process is found. |
-ud |
Runs the DBNS Broadcast Repeater as a daemon on Unix operating systems. If you run the DBNS Broadcast Repeater as a daemon, it is recommended that you specify the -o option to log output information. When you start the DBNS Broadcast Repeater as a daemon, its permissions are controlled by the current user's umask setting. It is recommended that you set the umask value before starting the DBNS Broadcast Repeater to ensure that it has the appropriate permissions. |
-ui | For Linux with X window server support, starts the DBNS Broadcast Repeater in shell mode if a usable display is not available. |
-ux | Opens the SQL Anywhere Broadcast Repeater window on Linux (use the X window server). |
-x host | Shuts down the DBNS process running on specified host. You can specify an IP address or host name. |
-z | Starts the DBNS Broadcast Repeater in debug mode. When running in debug mode, a line appears in the Broadcast Repeater messages window for each SQL Anywhere broadcast packet that is received or forwarded. Debug mode should only be used when there are connectivity problems because of the verbosity of the debugging output. |
address | Specifies the IP address or host name of other computers that are, or will be, running DBNS processes. This allows the DBNS processes to detect each other and exchange information about known database servers and other DBNS processes. |
The Broadcast Repeater allows SQL Anywhere clients to find SQL Anywhere database servers running on other subnets and through firewalls where UDP broadcasts normally do not reach, without using the Host connection parameter or LDAP.
The address can be either an IP address or a computer name. Use spaces to separate multiple addresses.
This utility is available on supported Unix and all 32-bit and 64-bit Windows platforms.
The clients and database server must be running SQL Anywhere 9.0.2 or later to use the Broadcast Repeater.
It is recommended that you do not run the dbns12 utility on the same computer as a SQL Anywhere database server because dbns12 or the database server may not receive UDP broadcasts.
Suppose you want to allow computers on the subnets 10.50.83.255 and 10.50.125.255 to connect using broadcasts. You need to a computer on the 10.50.83.255 subnet (Computer A at 10.50.83.114) and one computer on the 10.50.125.255 subnet (Computer B at 10.50.125.103).
On each of these two computers, run dbns12, passing the IP address of the other computer. Run the following command on Computer A:
dbns12 10.50.125.103 |
On Computer B, run the following command:
dbns12 10.50.83.114 |
If either computer has more than one IP address, you must specify the local IP address using the -m option.
On Computer A, run the following command:
dbns12 -m 10.50.83.114 10.50.125.103 |
Discuss this page in DocCommentXchange.
|
Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |