Lesson 7: Starting the MobiLink server

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

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

 Run the MobiLink server (mlsrv12)
  1. Connect to your consolidated database.

    Run the following command:

    mlsrv12 -notifier -c "dsn=sis_cons" -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.

  2. Proceed to Lesson 8: Setting up a remote database.

 See also