The MobiLink server is needed both to synchronize data from your remote database and to synchronize tasks and task results between the consolidated database and the agent database on each remote device. Use the procedure in this lesson to start the MobiLink server.
If you have an existing synchronization system you can skip this lesson since you already have the server running. However, you should check your server command line and ensure that the -ftr and -ftru options are specified. These options are required to download files to your remote devices and to upload files from your remote devices.
Execute the following in a command prompt:
md c:\cadmin_demo\consolidated\upload md c:\cadmin_demo\consolidated\download cd c:\cadmin_demo\consolidated start mlsrv12.exe -c "dsn=cadmin_tutorial_consol;uid=dba;pwd=sql" -ftr download -ftru upload -x tcpip(port=2439) -v+ -ot mlsrv.txt cd ..
This command starts the MobiLink server and creates the upload and download directories that contain files to be uploaded from or downloaded to remote devices. Following is a summary of the options used:
-c Specifies the connection parameters MobiLink uses to connect to the consolidated database.
-ftr Specifies the directory where MobiLink looks for files to download.
-ftru Specifies the directory where MobiLink puts files that are uploaded.
-x Specifies communication parameters that define how synchronization clients may connect to the MobiLink server.
-v+ Specifies maximum verbosity. This is helpful for debugging but can slow performance in a production environment.
-ot Specifies the file where MobiLink output messages are logged.
Discuss this page in DocCommentXchange.
|Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0|