SQL Server 镜像 - 具有多个 SQL 实例的端点设置
我目前有 2 个 SQL Server:SQL01 和 SQL02。这些服务器中的每一个都有两个实例: SQL01\Prod、SQL01\uat、SQL02\prod 和 SQL02\uat
我目前在 SQL01\uat 和 SQL02\uat 之间进行了镜像设置,工作正常。
现在我们即将结束测试,我们想要设置 prod 实例。但是我们在产品中设置镜像时遇到了问题,错误类似于找不到远程数据库。
看起来每个服务器都有一个端点端口。
是否可以为每个实例创建一个镜像端点。例如,SQL01\uat 的端口为 5022,SQL01\prod 的端口为 5023?
I currently have 2 SQL Servers: SQL01 and SQL02. Each of these servers have two instances:
SQL01\Prod, SQL01\uat, SQL02\prod and SQL02\uat
I currently have mirroring setup between SQL01\uat and SQL02\uat, this is working fine.
Now that we are moving out of testing we want to setup the prod instance. But we are having trouble setting up the mirroring in prod, the error is something akin to cannot find the remote database.
It appears that each server has a single endpoint port.
Is it possible to create a mirroring endpoint per instance. For example so that SQL01\uat has a port of 5022 and SQL01\prod has a port of 5023?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,您可以在创建端点时指定 TCP 端口:
Yes, you can specify the TCP port when creating the endpoint: