The new node should use the same solution version as the existing cluster. For versions 2503 and later, the OS image on the new node must match the solution version running on the existing cluster. The add-node process does not state that it automatically updates the new node to match before adding it.
For the add operation itself:
- Prepare the new node first:
- Install OS, drivers, and firmware.
- Register the node with Arc using the same resource group, region, subscription, and tenant as the existing nodes.
- Assign the required permissions.
- Then add the node from an existing cluster node.
About the two Add-Server examples:
-
Add-Server -Name "<new-node-name>"- This is a simple example showing the cmdlet used to add a prepared node.
- It is not described as a separate preparation-only step.
-
$HostIpv4 = "<IPv4 for the new node>" $Cred = Get-Credential Add-Server -Name "<Name of the new node>" -HostIpv4 $HostIpv4 -LocalAdminCredential $Cred- This is the operational command sequence to add the incoming node from an existing node in the system.
- It uses the new node’s IPv4 address and local administrator credentials.
So, the first command is a simplified example of the add-node cmdlet, while the second is the fuller command sequence used to perform the add operation.
After Add-Server runs:
- Save the returned operation ID.
- Monitor progress with
Start-MonitoringActionplanInstanceToComplete. - Wait for storage rebalance to finish with
Get-VirtualDisk | Get-StorageJob. - If needed, run
Sync-AzureStackHCIso the node appears sooner in Azure portal.
Also note:
- Only one node can be added at a time in this release.
- If the add operation fails, rerun it with
Add-Server -Rerun. - Starting with release 2508, validation runs after
Add-Serverand returns failure details if a test fails.
References:
- Add a node on Azure Local
- Add Node to Azure Local - Microsoft Q&A Currently my Azure Local contains 2 node and I will add 1 more node next week. What should i do after i install Azure HCI OS to the 3rd node and plug data and storage cable? Should i resgiter this node to the azure and the cluster will be automatically reconfigured?