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

SQL Anywhere 12.0.1 » SQL Anywhere Server - Database Administration » Database maintenance » SQL Anywhere high availability » Tutorial: Using database mirroring


Lesson 4: Logging out of the Monitor and shutting down your database mirroring system

 Log out of the Monitor and shut down your database mirroring system
  1. Log out of the Monitor by clicking Logout.

  2. Close the browser window where you are viewing the Monitor.

  3. Exit the Monitor and stop monitoring.

    • On Windows, in the system tray, right-click the SQL Anywhere Monitor icon and click Exit SQL Anywhere Monitor.

    • On Linux, run the script from the bin32 or bin64 directory in the Monitor installation directory: stop

    The Monitor stops collecting metrics for all resources.

  4. Shut down the SQL Anywhere database mirroring system by performing one of the following actions:

    • Click Shut Down on the database server messages windows of the demo_arbiter, mirror_server1, and mirror_server2 database servers.

    • Run the following commands:

      dbstop -y -c "UID=DBA;PWD=sql;SERVER=mirror_demo_primary"
      dbstop -y -c "UID=DBA;PWD=sql;SERVER=mirror_demo_mirror"
      dbstop -y -c "UID=DBA;PWD=sql;SERVER=demo_arbiter;DBN=utility_db"
    • (optional) Delete the c:\server1, c:\server2, and c:\arbiter directories.