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]