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 MobiLink with a SQL Anywhere consolidated database

 

Lesson 4: Deploying the synchronization model

The Deploy Synchronization Model Wizard allows you to deploy the consolidated database and remote database. You can deploy each database individually or both of them together. The Deploy Synchronization Model Wizard takes you through the steps of configuring options for deployment.

Prérequis

This lesson assumes you have the roles and privileges listed in the Privileges section at the start of this tutorial: Tutorial: Using MobiLink with a SQL Anywhere consolidated database.

This lesson assumes you have completed all preceding lessons. See Lesson 1: Designing the schemas.

 Task
  1. In the left pane of Sybase Central under MobiLink 16, expand mlsqla_project, Synchronization Models, sync_mlsqla.

  2. Click File » Deploy.

    The Deploy Synchronization Model Wizard appears. Select the default location for the generated files and click Next.

  3. Accept the defaults on the Client Network Options page and click Next.

  4. Perform the following tasks on the MobiLink User And Password page:

    1. Under What MobiLink user and password do you want to use, select Use These.

    2. In the MobiLink user field, type mlsqla_remote.

    3. In the MobiLink password field, type mlsqla_pass.

    4. Check Register this user in the consolidated database. Registered users are permitted to synchronize.

    5. Click Next.

  5. Change the synchronization profile name to mlsqla_remote_syncprofile and click Next.

  6. On the Choose How To Prepare Databases For Synchronization page, choose Execute against consolidated database for the What do you want to do with the SQL script created to prepare the consolidated database for synchronization option.

  7. For the What do you want to do with the SQL script created to prepare the remote database for synchronization option, choose Execute against a new remote database. Click Next.

  8. To review the SQL scripts created by the wizard, click View.

  9. Click Finish.

  10. Click Close.

Résultat

Your consolidated database is configured for synchronization with many remote clients, and you have successfully deployed one remote client. To deploy other remote clients, you can run this wizard again, making sure to create a new MobiLink user and opting out of deploying the consolidated database and MobiLink server. Since the consolidated and remote databases have already been deployed, all you need to do is deploy other remote synchronization clients.

 See also