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