Starts a MobiLink server.
mlsrv16 -c "connection-string" [ options ]
Option | Description |
---|---|
@data | Read in options from the specified environment variable or configuration file. See @data mlsrv16 option. |
-a | Keep using a consolidated database connection after a synchronization error on that connection. See -a mlsrv16 option. |
-b | Trim blank padding of strings. See -b mlsrv16 option. |
-bn size | Specify the maximum number of bytes to consider when comparing BLOBs for conflict detection. See -bn mlsrv16 option. |
-c "keyword=value; ..." | Supply ODBC database connection parameters for your consolidated database. This option is required. See -c mlsrv16 option. |
-ca host_or_ip | Set the host name or IP address for the MobiLink arbiter server. See -ca mlsrv16 option. |
-cinit size | Specify the initial size for the server memory cache. See -cinit mlsrv16 option. |
-cm size | Specify the server memory cache size. See -cm mlsrv16 option. |
-cmax size | Specify the maximum size for the server memory cache. See -cmax mlsrv16 option. |
-cmin size | Specify the minimum size for the server memory cache. See -cmin mlsrv16 option. |
-cn connections | Set the maximum number of simultaneous connections with the consolidated database server. See -cn mlsrv16 option. |
-cr count | Set the maximum number of database connection retries. See -cr mlsrv16 option. |
-cs "keyword=value; ..." | Supply system database connection parameters for your MobiLink System Database (MLSD). See -cs mlsrv16 option. |
-ct connection-timeout | Set the length of time a connection may be unused before it is timed out. See -ct mlsrv16 option. |
-dl | Display all log messages in the MobiLink server messages window. See -dl mlsrv16 option. |
-dr | For Adaptive Server Enterprise only. Ensures that tables involved in synchronization do not use the DataRow locking scheme. See -dr mlsrv16 option. |
-ds size | Specify the maximum amount of data that can be stored for use in all restartable downloads. See -ds mlsrv16 option. |
-dsd | Disable snapshot isolation, which is the default download isolation level for SQL Anywhere and Microsoft SQL Server consolidated databases. See -dsd mlsrv16 option. |
-dt | Detect transactions only within the current database. See -dt mlsrv16 option. |
-e filename | Store remote database error logs sent into the named file. See -e mlsrv16 option. |
-esu | Use snapshot isolation for uploads. See -esu mlsrv16 option. |
-et filename | Store remote database error logs sent into the named file, but delete the contents first if the file exists. See -et mlsrv16 option. |
-fips | Forces all secure MobiLink streams to be FIPS-certified. See -fips mlsrv16 option. |
-ftr path | Specifies a location for files that are to be downloaded by the MobiLink transfer utility (mlfiletransfer). See -ftr mlsrv16 option. |
-ftru | Specifies a location for files uploaded with the MobiLink File Transfer utility (mlfiletransfer). See -ftru mlsrv16 option. |
-lsc protocol[protocol-options] | Specifies the local server connect information. See -lsc mlsrv16 option. |
-nc connections | Sets maximum number of concurrent network connections. See -nc mlsrv16 option. |
-notifier | Starts a Notifier for server-initiated synchronization. See -notifier mlsrv16 option. |
-o logfile | Log messages to a file. See -o mlsrv16 option. |
-on size | Set maximum size for log file. See -on mlsrv16 option. |
-oq | Prevent the popup window on startup error. See -oq mlsrv16 option. |
-os size | Maximum size of old log files. See -os mlsrv16 option. |
-ot logfile | Log messages to a file, but delete its contents first. See -ot mlsrv16 option. |
-ppv period | Causes MobiLink to print new periodic monitoring values according to the period specified. See -ppv mlsrv16 option. |
-q | Minimize the MobiLink server messages window. See -q mlsrv16 option. |
-r retries | Retry deadlocked uploads at most this many times. See -r mlsrv16 option. |
-rd delay | Set maximum delay, in seconds, before retrying a deadlocked transaction. See -rd mlsrv16 option. |
-rp directory | Specifies the directory to which synchronizations are recorded for playback with the mlreplay utility. See -rp mlsrv16 option. |
-rrp directory | Causes the MobiLink server to run the mlreplay utility in the given directory when the server starts. See -rrp mlsrv16 option. |
-s count | Specify the maximum number of rows to be uploaded to or fetched from the consolidated database at once. See -s mlsrv16 option. |
-sl dnet script-options | Set the .NET Common Language Runtime (CLR) options and force the CLR to load on startup. See -sl dnet mlsrv16 option. |
-sl java script-options | Set the Java VM options and force loading of the Java VM on startup. See -sl java mlsrv16 option. |
-sm number | Set the maximum number of synchronizations that can be worked on concurrently. See -sm mlsrv16 option. |
-tc minutes | Set the timeout threshold for SQL script execution. See -tc mlsrv16 option. |
-tf | Fail the SQL script execution when the timeout threshold is reached (not for Oracle). See -tf mlsrv16 option. |
-ts session-name(session-option=[option-value;...]) | Sets up a MobiLink server tracing session. See -ts mlsrv16 option. |
-tx count | For transactional uploads, batches groups of transactions and commits them together. See -tx mlsrv16 option. |
-ud | On Unix platforms, run as a daemon. See -ud mlsrv16 option. |
-ui | For Linux with X windows, starts the MobiLink server in shell mode if a usable display isn't available. See -ui mlsrv16 option. |
-ux | For Linux with X windows, opens the MobiLink server messages window. See -ux mlsrv16 option. |
-v [ levels ] | Controls the type of messages written to the log file. See -v mlsrv16 option. |
-w count | Set the initial number of database worker threads. See -w mlsrv16 option. |
-wm count | Set the maximum number of database worker threads. See -wm mlsrv16 option. |
-wn count | Set the number of network worker threads for concurrent processing of network streams. See -wn mlsrv16 option. |
-wu count | Set the maximum number of database worker threads permitted to process uploads concurrently. See -wu mlsrv16 option. |
-x protocol"options; ..." | Specify the communications protocol. Optionally, specify network parameters in form parameter=value, with multiple parameters separated by semicolons. See -x mlsrv16 option. |
-zf | Specifies that the MobiLink server should check for script changes at the beginning of each synchronization. See -zf mlsrv16 option. |
-zp | Ignore some apparent differences between TIMESTAMP values when the remote and consolidated databases have different precision. See -zp mlsrv16 option. |
-zs name | Specify a server name. See -zs mlsrv16 option. |
-zt number | Specify the maximum number of processors used to run the MobiLink server. See -zt mlsrv16 option. |
-zu { + | - } | Controls the automatic addition of users when the authenticate_user script is undefined. See -zu mlsrv16 option. |
-zus |
Causes MobiLink to invoke upload scripts for tables for which there is no upload. See -zus mlsrv16 option. |
-zw 1,...5 |
Controls which levels of warning message to display. See -zw mlsrv16 option. |
-zwd code | Disables specific warning codes. See -zwd mlsrv16 option. |
-zwe code | Enables specific warning codes. See -zwe mlsrv16 option. |
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.
![]() |
Discuss this page in DocCommentXchange.
|
Copyright © 2014, SAP AG or an SAP affiliate company. - SAP Sybase SQL Anywhere 16.0 |