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

SAP Sybase SQL Anywhere 16.0 » MobiLink - Getting Started » MobiLink tutorials » Tutorial: Using central administration of remote databases

 

Lesson 3: Starting the MobiLink server

In this lesson, you start the MobiLink server. 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.

Prerequisites

This lesson assumes you have completed all preceding lessons. See Lesson 1: Creating a consolidated database.

This lesson assumes you have the roles and privileges listed in the Privileges section at the start of this tutorial: Tutorial: Using central administration of remote databases.

Context and remarks

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.

 Task
  • 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 mlsrv16.exe -c "DSN=cadmin_tutorial_consol;UID=DBA;PWD=sql" -ftr download -ftru upload -x tcpip(port=2439) -v+ -ot mlsrv.txt
    cd ..

    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.

Results

The MobiLink server is started and the upload and download directories that contain files to be uploaded from or downloaded to remote devices are created.