9.5. 高可用性和集群
弃用的 High Availability Add-On 功能
以下功能已在 Red Hat Enterprise Linux 10 中弃用,并将在下一个主发行版本中删除:
- 将规则指定为多个参数。改为使用单个字符串参数。
-
在
pcs constraint location add
和pcs constraint colocation ad
中将score
指定为一个独立的值。改为使用score=value
。 在除了
pcs resource restart | move
的 resource 命令中,以及在pcs cluster node add-guest | add-remote
命令中指定--wait
选项。改为使用以下命令:-
pcs status wait
等待集群进入稳定状态。 -
pcs status query resource
命令,以验证资源在等待后处于预期状态。
-
-
使用
--force
标志确认潜在的破坏性操作,如pcs cluster destroy
、pcs quorum unblock
、pcs stonith confirm
、pcs stonith sbd device setup
和pcs stonith sbd watchdog test
命令。现在,您应该使用--yes
标志来确认潜在的破坏性操作,并保留使用--force
标志来覆盖验证错误。 -
使用
--force
标志来在pcs cluster report
中确认覆盖文件。改为使用-overwrite
标志。 -
分配和不分配 ACL 角色,而不指定
user
或group
关键字。 -
在顺序约束中配置 score 参数。现在,当用户尝试在顺序约束中配置 score 参数时,
pcs
命令行界面会产生一条警告。
Jira:RHELDOCS-19607[1]