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 服务器 - 数据库管理 » 维护数据库 » SQL Anywhere 高可用性 » 设置数据库镜像系统

 

停止镜像系统中的数据库服务器

在有些情况下,您可能需要停止主服务器、镜像服务器或仲裁服务器。为此,您可以使用停止数据库实用程序 (dbstop)。

要停止服务器,必须使用与实用程序数据库的连接,因此建议您在启动数据库服务器时加入 -su 服务器选项。请参见使用实用程序数据库

 ♦  停止主服务器、镜像服务器或仲裁服务器
  • 发出 dbstop 命令停止数据库服务器。

    例如,以下命令用于停止名为 mirror_server_1 的数据库服务器:

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