简介
本文档介绍如何在HyperFlex升级期间跳过验证步骤。
背景信息
如果遇到某些缺陷(例如:Cisco Bug ID CSCvm77294和Cisco Bug ID CSCvp31021),则可能需要执行此操作。
注:如果未要求您执行这些步骤,请不要使用。如果您认为需要跳过某些验证,请首先联系BU进行确认。
步骤
此特定示例显示如何跳过DRS验证来解决缺陷Cisco bug ID CSCvm77294
- 连接到HyperFlex CMIP(例如,用于访问HX Connect WebUI的IP)。
- 导航到/usr/share/springpath/storfs-misc/validation/workflow_scripts目录。
root@bsv-hxaf220-sc-2-3:~# cd /usr/share/springpath/storfs-misc/validation/workflow_scripts
root@bsv-hxaf220-sc-2-3:/usr/share/springpath/storfs-misc/validation/workflow_scripts#
- 在编辑pre_upgrade_cluster_check.xml文件并确认已创建备份之前,请对其进行备份。
root@bsv-hxaf220-sc-2-3:/usr/share/springpath/storfs-misc/validation/workflow_scripts# cp pre_upgrade_cluster_check.xml pre_upgrade_cluster_check.xml.bak
root@bsv-hxaf220-sc-2-3:/usr/share/springpath/storfs-misc/validation/workflow_scripts# ls | grep pre_upgrade_cluster_check.xml
pre_upgrade_cluster_check.xml
pre_upgrade_cluster_check.xml.bak
- 编辑pre_upgrade_cluster_check.xml并使用vi注释掉“验证DRS故障转移”块。
root@bsv-hxaf220-sc-2-3:/usr/share/springpath/storfs-misc/validation/workflow_scripts# vi pre_upgrade_cluster_check.xml
- 要对块进行注释,请在块前插入<!—,然后在块后插入 — >,因此它如下所示:
如果验证因关联规则而失败,表示虚拟机无法迁移至所有节点(包括计算节点):
<!--
<validator type="vcenter-query-vmotion" description="Validate vMotion Compatibility">
<argument name="vcenter-url" ref="vcenter-url"/>
<argument name="vcenter-user" ref="vcenter-user"/>
<argument name="vcenter-password" ref="vcenter-password"/>
<argument name="vcenter-datacenter" ref="vcenter-datacenter"/>
<argument name="ip-address-list" ref="ip-address-list"/>
<argument name="skip" value="false"/>
</validator>
-->
- 保存文件,现在您可以继续使用HX Connect WebUI并开始升级过程。 现在可跳过适当的验证。
- 确保在成功升级后回滚更改。
相关文档
Cisco Bug ID CSCvm77294
Cisco Bug ID CSCvp31021