Contents Index Dropping MobiLink subscriptions Multiple MobiLink synchronization users

MobiLink Synchronization User's Guide
  Adaptive Server Anywhere Clients

Initiating synchronization


The client always initiates MobiLink synchronization. In the case of an Adaptive Server Anywhere client, synchronization is initiated by running the dbmlsync utility. This utility connects to and synchronizes an Adaptive Server Anywhere remote database.

You can specify connection parameters on the dbmlsync command line using the -c option. These parameters are for the remote database. If you do not specify connection parameters, a connection dialog appears, asking you to supply the missing connection parameters and startup options.

Connection parameters set in the synchronization subscriptions within the remote database are used to locate the appropriate MobiLink synchronization server.

Permissions for dbmlsync 

When dbmlsync connects to a database, it must have permissions to apply all the changes being made. The dbmlsync command line contains the password for this connection. This could present a security issue.

To avoid security problems, grant a user (other than DBA) REMOTE DBA authority, and use this user ID in the dbmlsync connection string. A user ID with REMOTE DBA authority has DBA authority only when the connection is made from the dbmlsync utility. Any other connection using the same user ID is granted no special authority.

Example 

Suppose that you have a remote database named remote and that this database is currently running on your local machine. In addition, assume that the MobiLink synchronization server has been started and is ready to accept requests. You could use the following command to synchronize as user syncuser, who has been granted REMOTE DBA authority.

dbmlsync -c "dbn=remote;uid=syncuser" c:\oldlogs

Since the user's password is not specified on the command line, a dialog appears letting you enter this additional piece of information.

Note that no connection parameters for the MobiLink synchronization server appear on the command line. Instead, these parameters are set in the synchronization subscription, publication, or user, and stored in the remote database.


Multiple MobiLink synchronization users
Customizing synchronization
Transaction log files
Concurrency during synchronization
Initiating synchronization from an application

Contents Index Dropping MobiLink subscriptions Multiple MobiLink synchronization users