In this lesson, you configure the MobiLink Listener by storing the MobiLink Listener options in a text file, and then running dblsn with the file name specified at the command line.
This lesson assumes you have completed all preceding lessons. See Lesson 1: Setting up the consolidated database.
This lesson assumes that you have the roles and privileges listed in the Privileges section at the start of this tutorial: Tutorial: Configuring server-initiated synchronization using gateways.
MobiLink Listener command file
Create a MobiLink Listener command file by creating a text file with the following contents:
#---------------------------------- # Verbosity level -v2 # Show notification messages in console and log -m # Polling interval, in seconds -i 3 # Truncate, then write output to dblsn.txt -ot dblsn.txt # MobiLink address and connect parameter for dblsn -x "host=localhost" # Enable device tracking and specify the MobiLink user name. -t+ sis_user1 # Message handlers # Synchronize using dbmlsync -l "subject=sync; action='start dbmlsync.exe -c SERVER=remote1;UID=DBA;PWD=sql -o dbmlsyncOut.txt ';"
This tutorial assumes c:\MLsis as the working directory for server-side components. Save the text file as mydblsn.txt in this directory.
Start the MobiLink Listener.
At a command prompt, navigate to c:\MLsis or the directory where you saved your MobiLink Listener command file.
Start the MobiLink Listener by running the following command:
Discuss this page in DocCommentXchange.
|Copyright © 2014, SAP AG or an SAP affiliate company. - SAP Sybase SQL Anywhere 16.0|