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. Run 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):

    dbsrv11 -x tcpip(port=2638) c:\tutorial\primedb\primedb.db
Start the replicate site database server
  1. Change to the tutorial directory.

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

    dbsrv11 -x tcpip(PORT=2639) c:\tutorial\repdb\repdb.db
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.