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

SQL Anywhere 10.0.1 » MobiLink - Getting Started » MobiLink Models

Updating schemas in Model mode Next Page

Deploying models


When you are ready to try your model, you deploy it with the Deploy Synchronization Model wizard. There are multiple things that can be deployed:

When you deploy a model, the model file is saved.

Deploying to the consolidated database

The Deploy wizard provides two options for deploying to the consolidated database:

Note

If your deployment creates shadow tables, you must connect to the consolidated database as either the owner of the base tables for which shadow tables will be created, or as an administrator.

Deploying remote databases

You can choose to use an existing remote database or have the wizard create one for you. The wizard can create remote databases directly or you can have it create a SQL file that you run to create remote databases.

The wizard creates a remote database (either SQL Anywhere or UltraLite) with default database creation options using the database owner that you specified in the model. Alternatively, you can create a remote database outside of the Create Synchronization Model wizard with your own custom settings and use the wizard to add the required remote tables, or you can deploy to an existing remote database that already has the remote tables.

Deploying batch files to run synchronization tools

The wizard can create the following batch files:

To deploy a model
  1. In Model mode, choose File > Deploy.

    The Deploy Synchronization Model wizard appears.

  2. Follow the steps in the wizard. Each page has online help.

  3. When you are finished, the changes you selected are deployed. If there are existing files of the same name, they are overwritten.

  4. To synchronize your application, see Synchronizing a deployed model.


Redeploying a model
Synchronizing a deployed model