- Ensure that the user credential created for cluster deployment is active in the Active Directory.
- If possible, shutdown the node that you want to repair.
- Format the BOSS drive and reimage the node that needs to be repaired.
- To register your node to Azure Arc and install user roles on the node, follow the steps mentioned in Prerequisites.
- On a different node in the same cluster, run the following commands:
- Get an updated authentication token:
Update-AuthenticationToken
- Sign in with user credentials provided during cluster deployment. Run the following command to repair the node:
$Cred = Get-Credential
Repair-Server -Name "< Name of the new server>" -LocalAdminCredential $Cred - (optional) Note the operation ID generated as an output of the Repair-Server command to monitor the progress.
Start-MonitoringActionplanInstanceToComplete -actionPlanInstanceID <operation ID>
- Get an updated authentication token:
For more information on this, see Repair a server on Azure Stack HCI, version 23H2.