概要
このドキュメントでは、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を使用して「Validate DRS Failover」ブロックをコメントアウトします。
root@bsv-hxaf220-sc-2-3:/usr/share/springpath/storfs-misc/validation/workflow_scripts# vi pre_upgrade_cluster_check.xml
- ブロックをコメントアウトするには、ブロックの前に<! – を挿入し、その後に – >を挿入して、次のように表示します。
VMをすべてのノード(コンピューティングノードを含む)に移行できないことを示すアフィニティルールが原因で検証が失敗した場合は、次の手順を実行します。
<!--
<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