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 - Server-Initiated Synchronization » Server-initiated synchronization tutorials » Tutorial: Configuring server-initiated synchronization using gateways

 

Lesson 7: Starting the MobiLink server

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

Prérequis

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.

 Task
  • Connect to your consolidated database.

    Run the following command:

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

    The following table describes the mlsrv16 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 mlsrv16 option.

    -c

    Specifies a connection string.

    See -c mlsrv16 option.

    -o

    Specifies the message log file serverOut.txt.

    See -o mlsrv16 option.

    -v+

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

    See -v mlsrv16 option.

    -zu+

    Adds new users automatically.

    See -zu mlsrv16 option.

    -x

    Sets the communications protocol and protocol options for MobiLink clients.

    See -x mlsrv16 option.

Résultat

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

 See also