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

SQL Anywhere 10.0.1 » SQL Anywhere Server - Database Administration » Replicating Data with Replication Server » Tutorial: Replicate data using Replication Server

Lesson 1: Create the SQL Anywhere databases Next Page

Lesson 2: Start the database servers


You need to run the primary site database server, with the primary database loaded.

Start the primary site database server
  1. Change to the tutorial directory.

  2. Enter the following command to start a network database server running the primedb database. You should be using the TCP/IP network communication protocol on the default communications port (2638):

    dbsrv10 -x tcpip primedb.db
  3. Start the replicate site database server
    1. Change to the tutorial directory.

    2. Enter the following command to start a network database server running the repdb database, but on a different port:

      dbsrv10 -x tcpip(PORT=2639) -n REPSV repdb.db
    3. What's next?

      Next, you have to make entries for each of the SQL Anywhere servers in an interfaces file, so Replication Server can communicate with these database servers.