Fix to repair Windows Component Store Corruption for Azure Stack HCI

Fix to repair Windows Component Store Corruption for Azure Stack HCI

There are situations wherein while performing Cluster Aware Updates, one or the other node fails stating Windows Component Store got corrupted and can't be repaired. In such situation, one thinks about rebuilding the node from scratch which involves installing the OS, renaming hostname, domain join, network card rename and other related configurations which is time consuming. Below are some of the steps to perform In-Place upgrade which will fix the Windows Component Store post which you can easily update the node again without any issues.

Perform the In-Place Upgrade following below mentioned steps:

1.????? Pause/Suspend and Drain the Azure Stack HCI Cluster Node you are going to upgrade using the PowerShell command: -

Suspend-ClusterNode -Name NodeName -Drain -Wait

You can perform the above step using Fail Over Cluster Manager Console as well.

2.????? Attach the ISO file to the cluster node using the OEM Lights-Out Management interface such as iLO (HPE), iDRAC (Dell), etc

3.????? While logged on to the node via iLO console, browse to the directory of CD\DVD where ISO file was mounted in step 2.

4.????? Run the command shown below to start the Setup which will Auto Upgrade the Operating System and log files are stored under C:\Temp\IPU in case the upgrade fail and one need to find the cause of it.

.\setup.exe /Auto Upgrade /CopyLogs C:\Temp\Logs

5.????? The setup will start, and you can see the progress on the screen.?

6.????? The Node will reboot and show 'Working on Updates' screen presenting % completion of the In/Place upgrade.

7.????? Once it has finished upgrading the OS, the login window will appear. You may login and confirm the version by running the command: -

Get-ComputerInfo | Select OSDisplayVersion

8.????? Resume \ Un-Pause the cluster node and failback any resources that were drained before the upgrade.

Resume-ClusterNode -Name NodeName -Failback Immediate

9.????? Repeat the process above for each node in the Azure Stack HCI Cluster for upgrading all nodes in the cluster and re-register if found unregistered.

Once In-Place upgrade is completed, you can use Cluster Aware Update to bring all nodes in the cluster to same Patch level.

Rupesh Kumar

Azure Architect + Engineer | Infrastructure Architect | Greenfield setup & Cloud Migration | Azure, MCSE, Six Sigma certified

8 个月

Useful

回复

要查看或添加评论,请登录

社区洞察

其他会员也浏览了