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 8: Deploying the synchronization model

In this lesson, you deploy the synchronization model you created in the previous lesson.


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.

  1. In the Folders view of Sybase Central under MobiLink 16, expand Central Admin Tutorial » Synchronization Models. Right-click tutorial1 and click Deploy.

    The Deploy Synchronization Model Wizard appears.

  2. On the Welcome page, accept the default location to contain the files generated by the wizard and click Next.

  3. On the Client Network Options page, choose the following options and then click Next.

    • Protocol   TCP/IP

    • Host   localhost

    • Port   2439

  4. On the MobiLink User And Password page, select Use macro values appropriate for remote tasks:

    The {ml_username} and {ml_password} macro values are used in the generated SQL files and are replaced with the MobiLink user and password being used by the MobiLink Agent when the SQL is executed on the remote device. A synchronization profile is automatically created with the name tutorial1_{ml_username}, where the {ml_username} macro is replaced with the name of the MobiLink user, which in this case is JOHN.

  5. On the Synchronization Profile page, type tutorial1_JOHN in the Synchronization profile name field.

  6. Click Next until you get to the Choose How To Prepare Databases For Synchronization page and perform the following tasks:

    • For What do you want to do with the SQL script created to prepare the consolidated database for synchronization, select Execute against consolidated database.

    • For What do you want to do with the SQL script created to prepare the remote database for synchronization, select Do not execute.

    • Click Next and then click Finish.

    When you navigate away from the synchronization model, you are asked save your changes. Click Yes.


You have now completed creating and deploying a synchronization model. When you deployed the model, scripts were added to the consolidated database to allow a remote database to synchronize. You also generated a SQL file in the c:\cadmin_demo\Central Admin Tutorial\tutorial1_deploy\ directory, which can be used to create a remote database. You may like to look at those files now.


Proceed to Lesson 9: Creating a remote task.