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

SQL Anywhere 12.0.0 » SQL Anywhere Server - Database Administration » Maintaining your database » SQL Anywhere high availability » Setting up a database mirroring system

 

Stopping a database server in a mirroring system

There may be situations where you need to stop the primary, mirror, or arbiter server. You can use the Stop Database utility (dbstop) to do this.

You must use a connection to the utility database to stop the server, so it is recommended that you include the -su server option when starting the database server. See Using the utility database.

 To stop a primary, mirror, or arbiter server
  • Issue a dbstop command to stop the database server.

    For example, the following command stops a database server named mirror_server_1:

    dbstop -c "UID=DBA;PWD=sql;DBN=utility_db;LINKS=tcpip" mirror_server_1