This lesson assumes you have completed all preceding lessons. See Lesson 1: Creating a consolidated database.
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.
At a command prompt, run the following commands:
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 setting is helpful for debugging but can slow performance in a production environment.
-ot Specifies the file where MobiLink output messages are logged.
Proceed to Lesson 4: Defining a remote schema name.
Discuss this page in DocCommentXchange.
|Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1|