Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » MobiLink - Server Administration » MobiLink Server Options

MobiLink Server Options Next Page

mlsrv10 syntax


The MobiLink server lets you synchronize remote databases or applications with an ODBC-compliant consolidated database.

Function

Start a MobiLink server.

Syntax

mlsrv10 -c "connection-string" [ options ]

Option

Description

@data

Read in options from the specified environment variable or configuration file. See @data option.

-a

Disable automatic reconnection upon synchronization error. See -a option.

-b

Trim blank padding of strings. See -b option.

-bn size

Specify the maximum number of bytes to consider when comparing BLOBs for conflict detection. See -bn option.

-c "keyword=value; ..."

Supply ODBC database connection parameters for your consolidated database. See -c option.

-cm size

Specify the server memory cache size. See -cm option.

-cn connections

Set the maximum number of simultaneous connections with the consolidated database server. See -cn option.

-cr count

Set the maximum number of database connection retries. See -cr option.

-ct connection-timeout

Set the length of time a connection may be unused before it is timed out. See -ct option.

-dl

Display all log messages on the console. See -dl option.

-ds size

Specify the maximum amount of data that can be stored for use in all restartable downloads. See -ds option.

-dsd

Disable snapshot isolation, which is the default download isolation level for SQL Anywhere and Microsoft SQL Server consolidated databases. See -dsd option.

-dt

Detect transactions only within the current database. See -dt option.

-e filename

Store remote error logs sent into the named file. See -e option.

-esu

Use snapshot isolation for uploads. See -esu option.

-et filename

Store remote error logs sent into the named file, but delete the contents first if the file exists. See -et option.

-f

Assume synchronization scripts do not change. See -f option.

-fips

Forces all secure MobiLink streams to be FIPS-compliant. See -fips option.

-fr

If table data scripts are missing, synchronization will not abort, but just issue a warning. See -fr option.

-ftr path

Creates a location for files that are to be used by the mlfiletransfer utility. See -ftr option.

-m [filename]

Enables QAnywhere messaging. See -m option.

-nc connectionsSets maximum number of concurrent connections. See -nc option.

-notifier

Starts a Notifier for server-initiated synchronization. See -notifier option.

-o logfile

Log messages to a file. See -o option.

-on size

Set maximum size for log file. See -on option.

-oq

Prevent the popup dialog on startup error. See -oq option.

-os size

Maximum size of output file. See -os option.

-ot logfile

Log messages to a file, but delete its contents first. See -ot option.

-q

Minimize the MobiLink server window. See -q option.

-r retries

Retry deadlocked uploads at most this many times. See -r option.

-rd delay

Set maximum delay, in seconds, before retrying a deadlocked transaction. See -rd option.

-s count

Specify the maximum number of rows to be fetched or sent at once. See -s option.

-sl dnet script-options

Set the .NET CLR options and force loading of the virtual machine on startup. See -sl dnet option.

-sl java script-options

Set the Java virtual machine options and force loading of the virtual machine on startup. See -sl java option.

-sm numberSet the maximum number of synchronizations that can be actively worked on. See -sm option.

-ud

On UNIX platforms, run as a daemon. See -ud option.

-ux

Opens the console. See -ux option.

-v [ levels ]

Controls the type of messages written to the log file. See -v option.

-w count

Set the number of database worker threads. See -w option.

-wu count

Set the maximum number of database worker threads permitted to process uploads concurrently. See -wu option.

-x protocol[ (network-parameters) ]

Specify the communications protocol. Optionally, specify network parameters in form parameter=value, with multiple parameters separated by semicolons. See -x option.

-xo protocol[ (network-parameters) ]

For version 8 and 9 clients, specify the communications protocol. Optionally, specify network parameters in form parameter=value, with multiple parameters separated by semicolons. See -xo option.

-zp

In the event of a timestamp conflict between the consolidated and remote database, this option allows timestamp values with a precision higher than the lowest-precision to be used for conflict detection purposes. See -zp option.

-zs name

Specify a server name. See -zs option.

-zt number

Specify the maximum number of processors used to run the MobiLink server. See -zt option.

-zu { + | - }

Controls the automatic addition of users when the authenticate_user script is undefined. See -zu option.

-zus

Causes MobiLink to invoke upload scripts for tables for which there is no upload. See -zus option.

-zw 1,...5

Controls which levels of warning message to display. See -zw option.

-zwd code

Disables specific warning codes. See -zwd option.

-zwe code

Enables specific warning codes. See -zwe option.

Description

The MobiLink server opens connections, via ODBC, with your consolidated database server. It then accepts connections from client applications and controls the synchronization process.

You must supply connection parameters for the consolidated database using the -c option. The command line options may be specified in any order. The -c option is shown here as the first item in a command string as a convention only. It can be anywhere in a list of options, but must precede a connection string.

Unless your ODBC data source is configured to automatically start the consolidated database, the database must be running before you start the MobiLink server.

See also