SQL Server 2017 AlwaysOn on Linux 配置和维护(12)

发布时间:2020-09-26 09:52:25 作者:UltraSQL
来源:网络 阅读:563
2.4.1 手动故障转移

移动AG资源

手动故障转移AG资源ag_cluster到群集节点nodeName2:

sudo pcs resource move ag_cluster-master nodeName2 --master

SQL Server 2017 AlwaysOn on Linux 配置和维护(12)


删除位置约束

先查看新的目标节点上添加的资源的位置约束:

sudo pcs constraint list --full

例如:

Enabled on: Node1 (score:INFINITY) (role: Master) (id:cli-prefer-ag_cluster-master)

cli-prefer-ag_cluster-master是需要删除的约束ID。

执行删除:

sudo pcs constraint remove cli-prefer-ag_cluster-master

备注:自动故障转移不会添加位置约束,因此不需要进行清除。

推荐阅读:
  1. SQL Server 2017 AlwaysOn on Linux 配置和维护(17)
  2. SQL Server 2017 AlwaysOn on Linux 配置和维护(16)

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

数据库 sql server wa

上一篇:云主机哪家的性价比高

下一篇:哪个独立虚拟主机便宜

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》