This section describes generic web server configuration steps to configure Redirector properties. It applies to Redirectors that support server groups.
For a list of Redirectors that support server groups, see SQL Anywhere Supported Platforms and Engineering Support Status.
For information about server groups, see MobiLink server groups.
To configure Redirector properties
Complete the steps in Configuring MobiLink clients and servers for the Redirector.
Configure a Redirector configuration file. A template file called redirector_server_group.config is provided in the MobiLink\redirector subdirectory of your SQL Anywhere installation. The easiest way to configure a Redirector configuration file is to modify redirector_server_group.config.
The following rules apply to the Redirector configuration file:
You can set the following directives in this file:
Server groups To create server groups, you create sections in redirector_server_group.config that start with a server group name in square brackets, and then define the server group.
LOG_LEVEL Used to control the amount of output written to the log file. Values are 0 to 7, with higher numbers generating more output. By default, the log file is called redirector.log and is located in the same place as the Redirector configuration file. For NSAPI Redirectors, you can change the name and location in magnus.conf using the logFile directive.
ML There are two ways that you can use the ML directive:
ML=host:port. To specify multiple computers, you repeat this syntax on separate lines. For example:
For a list of network client options, see MobiLink client network protocol options.
For a description of HTTPS support in the Redirector, see Full HTTPS.
For a list of Redirectors that support HTTPS from the Redirector to the MobiLink server, see SQL Anywhere Supported Platforms and Engineering Support Status.
Your MobiLink server must be started with the same protocol and port number as it is given in your ML directive. If there is a difference, you must stop the MobiLink server and restart it with the correct information.
ML_CLIENT_TIMEOUT Used to ensure that the MobiLink server can detect duplicate synchronizations from the same remote database. The timeout should be set to the maximum timeout of any client using the same server group. If you set this property to 0, resynchronization to a different server is allowed immediately. The default value is 240 seconds.
SLEEP Used to set the interval in seconds at which the Redirector checks that the servers are functioning. The Redirector checks
one server, waits for the amount of time set in this option, checks the next server, and so on in a cycle. For example,
SLEEP=10. SLEEP is case sensitive. The default is 20 seconds.
Copy the Redirector configuration file to the web server.
If the MobiLink server is not installed on the same computer as the web server, copy the Redirector configuration file to the computer that holds the web server (or to a drive that computer has access to).
For ISAPI web servers, copy the Redirector configuration file to the directory Inetpub\scripts and rename it redirector.config.
For other web servers, you can copy the Redirector configuration file to any directory.
Complete web server-specific configuration in one of the following sections:
Following is a sample Redirector configuration file. This file specifies the following:
SLEEP=10 ML=myServ-pc:80 ML=18.104.22.168:8080 ML=myCompany.com:8081
|Send feedback about this page via email or DocCommentXchange||Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0|