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

SQL Anywhere 12.0.0 » MobiLink - Getting Started » MobiLink Tutorials » Tutorial: Using central administration of remote databases


Lesson 9: Deploy the synchronization model

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

 To deploy the synchronization model
  1. In the Folders view of Sybase Central, under Central Admin Tutorial » Synchronization Models, right-click tutorial1 and choose Deploy. The Deploy Synchronization Model Wizard appears.

  2. On the Welcome page, select Specify the Deployment Details For One or More of the Following and check the Consolidated Database and Remote Database and Synchronization Client options and click Next.

  3. On the Consolidated Database Deployment Destination page, uncheck Save Changes to the Following SQL File and check Connect to the Consolidated Database to Directly Apply the Changes. Choose the Tutorial database and click Next.

  4. On the Remote Database Deployment page, choose New SQL Anywhere Database and click Next.

  5. On the New SQL Anywhere Remote Database page, check Make a Command File and a SQL file With Commands to Create a Database and type c:\cadmin_demo\remote_db\tutorial_v1.sql in the SQL file field. Uncheck Create a remote SQL Anywhere database. Click Next to continue and Yes to confirm that you want the new directory and file to be created.

  6. On the MobiLink User and Subscription page, type {ml_username} for the user name and {ml_password} for the password. These macro values are used in the generated SQL files and will be replaced with the MobiLink user and password being used by the MobiLink Agent when the SQL is executed on the remote device.

  7. Check Register This User in the Consolidated Database for MobiLink Authentication and type tutorial1 for the subscription name. Click Next.

  8. On the Synchronization Stream Parameters page, choose TCP/IP and enter 2439 for the Port. These are the stream parameters that you used when you started the MobiLink server earlier. Click Next until you get to the Advanced Options for SQL Anywhere Remote Synchronization Client then click Finish and then Yes to create the directory.

    When you navigate away from the synchronization model, you are asked if you want to 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 cadmin_demo\remote_db directory which can be used to create a remote database. You may like to look at those files now.