Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
为仲裁服务器指定逗号分隔形式的数据库名和验证字符串列表。
dbsrv12 -xa auth=auth-strings;DBN=database-name
所有操作系统,但仅适用于网络服务器。
仅当在数据库镜像系统中启动仲裁服务器时才指定此选项。
仲裁服务器的验证字符串必须与为主服务器和镜像服务器指定的验证字符串匹配。
如果验证字符串列表和数据库名列表均只含有一个条目,该服务器将只作为一个数据库镜像系统的仲裁服务器;否则每个列表必须含有相同数量的条目。
以下 SQL 语句会定义一个名为 arbiter 的仲裁服务器:
CREATE MIRROR SERVER arbiter AS ARBITER connection_string='SERVER=arbiter;HOST=localhost:6870';
以下命令将启动该仲裁数据库服务器:
dbsrv12 -n arbiter -su sql -x tcpip(port=6870) -xf c:\arbiter\arbiterstate.txt -xa "AUTH=abc"