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

SQL Anywhere 12.0.0 (Français) » MobiLink - Server-Initiated Synchronization » Server-initiated synchronization tutorials » Tutorial: Server-initiated synchronization using light weight polling

 

Lesson 4: Start the MobiLink server

In this lesson, you start the MobiLink server with the Notifier so that push notifications can be sent to devices.

 ♦  To run the MobiLink server (mlsrv12)
  • Connect to your consolidated database.

    Run the following command:

    mlsrv12 -notifier -c "dsn=SIS_CarDealer_LP_DBLSN_CONDB" -o serverOut.txt -v+ -dl -zu+ -x tcpip

    The MobiLink server messages window appears. The Notifier indicates that it is ready to receive push notification requests from devices.

The following table describes the mlsrv12 options used in this lesson. The options -o and -v provide debugging and troubleshooting information. Using these logging options is appropriate in a development environment. For performance reasons, -v is typically not used in production.

Option Description
-notifier

Starts all enabled Notifiers for server-initiated synchronization.

See -notifier mlsrv12 option.

-c

Specifies a connection string.

See -c mlsrv12 option.

-o

Specifies the message log file serverOut.txt.

See -o mlsrv12 option.

-v+

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

See -v mlsrv12 option.

-zu+

Adds new users automatically.

See -zu mlsrv12 option.

-x

Sets the communications protocol and protocol options for MobiLink clients.

See -x mlsrv12 option.

 See also