This lesson assumes you have completed all preceding lessons. See Lesson 1: Setting up a MobiLink consolidated database.
In this lesson, you synchronize the remote databases with the consolidated database using the dbmlsync utility on a MobiLink client to connect to the MobiLink server.
At a command prompt, change to the c:\MLintro\mlintro_project\sync_mlintro\remote directory.
Run the following command to synchronize the sync_mlintro_remote database:
dbmlsync -c "SERVER=sync_mlintro_remote;UID=DBA;PWD=sql" -o rem1.dbs -v+ |
A window appears displaying all information relevant to the sync_mlintro_remote client synchronization with the consolidated database. The information is saved to the rem1.dbs file, which is accessible after you close the client synchronization window.
The following table contains a description for each dbmlsync utility option:
Option | Description |
---|---|
-c | Specifies the connection string to the remote database. |
-o | Specifies the message log file. |
-v+ | The -v option specifies what information is logged. Using -v+ sets maximum verbose logging. |
Close the client synchronization window.
Click Shut Down.
Run the following command to synchronize the sync_mlintro_remote2 database:
dbmlsync -c "SERVER=sync_mlintro_remote2;UID=DBA;PWD=sql" -o rem2.dbs -v+ |
A window appears displaying all information relevant to the sync_mlintro_remote2 client synchronization with the consolidated database. The information is saved to the rem2.dbs file, which is accessible after you close the client synchronization window.
Close the client synchronization window.
Click Shut Down.
Pause chart scrolling.
Click Monitor » Pause Chart Scrolling.
In the MobiLink Monitor, use the bottom pane to scroll back to the last synchronization.
Look at the properties of the last synchronization.
Double-click the vertical colored bar to view the synchronization properties.
Proceed to Lesson 9: Using the MobiLink Server Log File Viewer to check for errors and warnings.
Discuss this page in DocCommentXchange.
|
Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |