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

SAP Sybase SQL Anywhere 16.0 » MobiLink - Getting Started » MobiLink tutorials » Tutorial: Simulating multiple MobiLink clients using the MobiLink Replay utility

 

Lesson 4: Starting the MobiLink server to record

In this lesson, you start the MobiLink server (mlsrv16) using the -c option to connect to your consolidated database.

Prerequisites

This lesson assumes you have completed all preceding lessons. See Lesson 1: Setting up your MobiLink consolidated database.

This lesson assumes that you have the roles and privileges listed in the Privileges section at the start of this tutorial: Tutorial: Simulating multiple MobiLink clients using the MobiLink Replay utility.

 Task
  • Run the following command to connect to your consolidated database:

    mlsrv16 -c "DSN=cons" -zu+ -zs mlreplay_svr -x tcpip -ot mlsrv.mls -v+ -rp .

    Below is a description of each MobiLink server option used. The -ot and -v options provide debugging and troubleshooting information. These logging options are appropriate in a development environment. Typically, for performance reasons, -v is not used in production.

    Option Description

    -c

    Precedes the connection string.

    -ot

    Specifies the message log file mlsrv.mls.

    -v+

    Specifies what information is logged. Using -v+ sets maximum verbose logging.

    -rp

    Specifies the directory where synchronizations are recorded for playback.

    -x

    Sets the protocol used to listen for synchronization requests.

    -zs

    Sets a MobiLink server name.

    -zu+

    Adds new users automatically.

Results

The MobiLink server started and connected to the consolidated database. The MobiLink server messages window appears.

 See also