Synchronizing a deployed model

When you deploy a model, directories and files are optionally created under the location you chose on the first page of the Create Synchronization Model Wizard. The files and directories are named according to the model name you chose at that time.

Assume you named your model MyModel and saved it under c:\SyncModels. Depending on the deployment options you chose, you might have the following files:

Directories (based on example name and location) Description and contents (based on example name)
c:\SyncModels Contains your model file, saved as MyModel.mlsm.
c:\SyncModels\MyModel Contains folders holding your deployment files.
c:\SyncModels\MyModel\consolidated

Contains deployment files for the consolidated database:

  • MyModel_consolidated.sql - a SQL file for setting up the consolidated database.
  • MyModel_consolidated.bat - a batch file for running the SQL file.
c:\SyncModels\MyModel\mlsrv

Contains deployment files for the MobiLink server:

  • MyModel_mlsrv.bat - a batch file for running the MobiLink server. If you have set up server-initiated synchronization, it also starts the Notifier.
c:\SyncModels\MyModel\remote

Contains deployment files for the remote databases:

  • dblsn.txt - if you set up server-initiated synchronization, this is a text file with Listener option settings. It is used by MyModel_dblsn.bat.
  • MyModel_dblsn.bat - if you set up server-initiated synchronization, this is a batch file for running the Listener.
  • MyModel_dbmlsync.bat - if you deployed a SQL Anywhere remote database, this is a batch file for synchronizing SQL Anywhere databases with dbmlsync.
  • MyModel_remote.bat - a batch file for running MyModel_remote.sql.
  • MyModel_remote.db - if you chose to create a new SQL Anywhere remote database, this is the database file.
  • MyModel_remote.sql - a SQL file for setting up the new SQL Anywhere remote database.
  • MyModel_remote.udb - if you chose to create a new UltraLite remote database, this is the database file.
  • MyModel_ulsync.bat - if you deployed an UltraLite database, a batch file for testing synchronization with an UltraLite remote database using the ulsync utility.
 Running the batch files
 See also