Skip to content

Commit bd87c48

Browse files
authored
Merge pull request #15695 from alkohli/thupg2
Changes for stretched cluster, PR 3274 and PR 3279
2 parents 4e5bc3a + fa2706f commit bd87c48

File tree

3 files changed

+62
-48
lines changed

3 files changed

+62
-48
lines changed

azure-stack/hci/upgrade/about-upgrades-23h2.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: About Azure Stack HCI Upgrade to latest version 23H2
33
description: Learn about how to upgrade from Azure Stack HCI, version 22H2 to latest Azure Stack HCI, version 23H2.
44
author: alkohli
55
ms.topic: conceptual
6-
ms.date: 08/13/2024
6+
ms.date: 08/19/2024
77
ms.author: alkohli
88
ms.reviewer: alkohli
99
ms.subservice: azure-stack-hci
@@ -56,7 +56,9 @@ The following diagram illustrates the Azure Stack HCI upgrade process:
5656
:::image type="content" source="./media/about-upgrades-23h2/update-os-to-23h2-and-apply-the-solution-update.png" alt-text="Diagram that illustrates the two steps to update the Azure Stack HCI OS and then apply the solution update." lightbox="./media/about-upgrades-23h2/update-os-to-23h2-and-apply-the-solution-update.png":::
5757

5858
> [!IMPORTANT]
59-
> If you were running AKS workloads on your Azure Stack HCI cluster, you must remove Azure Kubernetes Service and all the settings from AKS enabled by Azure Arc before you apply the solution upgrade. Kubernetes versions are incompatible between Azure Stack HCI, version 22H2, and version 23H2. Additionally, Preview versions of Arc VMs can't be updated.
59+
> - If running Azure Kubernetes Service (AKS) workloads on your Azure Stack HCI cluster, you must remove AKS and all the settings from AKS enabled by Azure Arc before you apply the solution upgrade. Kubernetes versions are incompatible between Azure Stack HCI, version 22H2, and version 23H2.
60+
> - Preview versions of Arc VMs can't be updated.
61+
> - If running stretched clusters, you must upgrade to version 23H2 OS to maintain your cluster in a supported state. The solution upgrade is disabled for the stretched cluster.
6062
6163
## Next steps
6264

azure-stack/hci/upgrade/troubleshoot-upgrade-to-azure-stack-hci-23h2.md

Lines changed: 36 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Troubleshoot Azure Stack HCI upgrade
33
description: Learn how to troubleshoot upgrade on your Azure Stack HCI system.
44
author: alkohli
55
ms.topic: how-to
6-
ms.date: 08/12/2024
6+
ms.date: 08/19/2024
77
ms.author: alkohli
88
ms.reviewer: alkohli
99
---
@@ -22,23 +22,23 @@ When you [Upgrade the OS](./upgrade-22h2-to-23h2-powershell.md), you may encount
2222

2323
Run the following PowerShell command to verify that the cluster is registered with Azure:
2424

25-
```powershell
26-
PS C:\> Get-AzureStackHci
25+
```PowerShell
26+
Get-AzureStackHci
2727
```
2828

2929
Here's a sample output:
3030

3131
```output
32-
ClusterStatus : Clustered
33-
RegistrationStatus : Registered
34-
RegistrationDate : 8/1/2024 9:15:12 AM
35-
AzureResourceName : Redmond
36-
AzureResourceUri : /Subscriptions/<Subscription I>/resourceGroups/Redmond/providers/Microsoft.AzureStackHCI/clusters/Redmond
37-
ConnectionStatus : Connected
38-
LastConnected : 8/1/2024 11:30:42 AM
32+
ClusterStatus : Clustered
33+
RegistrationStatus : Registered
34+
RegistrationDate : 8/1/2024 9:15:12 AM
35+
AzureResourceName : Redmond
36+
AzureResourceUri : /Subscriptions/<Subscription ID>/resourceGroups/Redmond/providers/Microsoft.AzureStackHCI/clusters/Redmond
37+
ConnectionStatus : Connected
38+
LastConnected : 8/1/2024 11:30:42 AM
3939
NextSync :
40-
IMDSAttestation : Disabled
41-
DiagnosticLevel : Basic
40+
IMDSAttestation : Disabled
41+
DiagnosticLevel : Basic
4242
Region :
4343
```
4444

@@ -48,35 +48,36 @@ If `RegistrationStatus` is **Not registered**, follow troubleshooting steps in [
4848

4949
Run the following PowerShell command to verify Network ATC intent health state:
5050

51-
```powershell
52-
PS C:\> Get-netintentstatus
51+
```PowerShell
52+
Get-NetIntentStatus
5353
```
5454

5555
Here's a sample output:
5656

5757
```output
58-
IntentName : converged
59-
Host : win-llbl239crrl
60-
IsComputeIntentSet : True
61-
IsManagementIntentSet : True
62-
IsStorageIntentSet : True
63-
IsStretchIntentSet : False
64-
LastUpdated : 08/01/2024 17:34:09
65-
LastSuccess : 08/01/2024 17:34:09
66-
RetryCount : 0
67-
LastConfigApplied : 1
68-
Error :
69-
Progress : 1 of 1
70-
ConfigurationStatus : Success
71-
ProvisioningStatus : Completed
58+
PS C:\Users\administrator.CONTOSO> Get-NetlntentStatus
59+
IntentName: convergedintent
60+
Host: nodel
61+
IsComputeintentSet: True
62+
IsHanagementlntentSet: True
63+
IsStoragelntentSet: True
64+
IsStretchlntentSet: False
65+
LastUpdated: 08/13/2024 18:01:43
66+
LastSuccess: 08/13/2024 17:25:10
67+
RetryCount: 0
68+
LastConfigApplied: 1
69+
Error: PhysicalAdapterNotFound
70+
Progress: 1 of 1
71+
ConfigurationStatus: Retrying
72+
ProvisioningStatus: Pending
7273
```
7374

7475
If the `ConfigurationStatus` isn't healthy, verify that the VM network adapter name is the same as the network adapter name.
7576

7677
Run the following PowerShell commands to verify that the network adapter name for `vManagement` matches the VM network adapter name:
7778

78-
```powershell
79-
PS C:\> Get-NetAdapter
79+
```PowerShell
80+
Get-NetAdapter
8081
```
8182

8283
Here's a sample output:
@@ -97,8 +98,8 @@ vManagement(converged) Hyper-V Virtual Ethernet Adapter 14 Up
9798
vSMB(converged#Embedde... Hyper-V Virtual Ethernet Adapter #3 24 Up 00-15-5D-20-40-03 25 Gbps
9899
```
99100

100-
```powershell
101-
PS C:\> Get-VmNetworkAdapter -ManagementOS
101+
```PowerShell
102+
Get-VmNetworkAdapter -ManagementOS
102103
```
103104

104105
Here's a sample output:
@@ -117,13 +118,13 @@ vSMB(converged#Embedded FlexibleLOM 1 Port 2) True ConvergedSwi
117118

118119
Both names must match. If names don't match, run the following PowerShell command to rename the network adapter:
119120

120-
```powershell
121-
Rename-netadapter -Name "badname" -NewName "VMNetworkadapterName"
121+
```PowerShell
122+
Rename-NetAdapter -Name "badname" -NewName "VMNetworkadapterName"
122123
```
123124

124125
Run the following PowerShell command to force a network ATC intent update:
125126

126-
```powershell
127+
```PowerShell
127128
Set-NetIntentRetryState -Name "YourIntentName"
128129
```
129130

azure-stack/hci/upgrade/upgrade-22h2-to-23h2-other-methods.md

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Upgrade Azure Stack HCI, version 22H2 OS to version 23H2 via other manual
33
description: Learn how to upgrade from Azure Stack HCI, version 22H2 OS to Azure Stack HCI, version 23H2 using other manual methods.
44
author: alkohli
55
ms.topic: how-to
6-
ms.date: 07/30/2024
6+
ms.date: 08/19/2024
77
ms.author: alkohli
88
ms.reviewer: alkohli
99
ms.subservice: azure-stack-hci
@@ -13,16 +13,14 @@ ms.subservice: azure-stack-hci
1313

1414
[!INCLUDE [applies-to](../../includes/hci-applies-to-23h2-22h2.md)]
1515

16-
This article describes how to upgrade the Azure Stack HCI, version 22H2 Operating System (OS) to version 23H2, which is the latest generally available software using other manual methods via Cluster Aware Updating (CAU) and [SConfig](/windows-server/administration/server-core/server-core-sconfig).
17-
18-
There are other methods to upgrade the OS that include using the Server Configuration tool (SConfig), and Cluster Aware Updating (CAU). Cluster aware updating orchestrates the process of applying the operating system automatically to all the cluster members using either Windows Update or ISO media.
16+
This article describes how to upgrade the Azure Stack HCI, version 22H2 Operating System (OS) to version 23H2, which is the latest generally available software, using manual methods such as [SConfig](/windows-server/administration/server-core/server-core-sconfig) and performing an offline upgrade.
1917

2018
While you can use these other methods, PowerShell is the recommended method to upgrade the OS. For more information, see [Upgrade the Azure Stack HCI, version 22H2 OS to Azure Stack HCI, version 23H2 OS via PowerShell](./upgrade-22h2-to-23h2-powershell.md).
2119

2220
Throughout this article, we refer to Azure Stack HCI, version 23H2 as the new version and Azure Stack HCI, version 22H2 as the old version.
2321

2422
> [!IMPORTANT]
25-
> To keep your Azure Stack HCI service in a supported state, you have up to six months to install this new OS version. The update is applicable to all the Azure Stack HCI, version 22H2 clusters. We strongly recommend that you install this version as soon as it becomes available.
23+
> To keep your Azure Stack HCI service in a supported state, you have up to six months to install this new OS version. The update is applicable to all Azure Stack HCI, version 22H2 clusters. We strongly recommend that you install this version as soon as it becomes available.
2624
2725
## High-level workflow for the OS upgrade
2826

@@ -36,7 +34,7 @@ To upgrade the OS on your cluster, follow these high-level steps:
3634
1. [Manual upgrade of a Failover Cluster using SConfig.](#method-1-perform-a-manual-os-update-of-a-failover-cluster-using-sconfig)
3735
1. [Offline manual upgrade of all servers in a cluster.](#method-2-perform-a-fast-offline-os-update-of-all-servers-in-a-cluster)
3836
1. Check the status of the updates.
39-
1. Perform post-upgrade steps, after the OS is upgraded.
37+
1. [Perform post-upgrade steps, after the OS is upgraded.](#next-steps)
4038

4139

4240
## Complete prerequisites
@@ -53,7 +51,10 @@ Before you begin, make sure that:
5351

5452
Follow these steps on your client to connect to one of the servers of your Azure Stack HCI cluster.
5553

56-
1. Run PowerShell as administrator on the client that you're using to connect to your cluster.
54+
> [!IMPORTANT]
55+
> To perform a manual upgrade using SConfig, you must log in directly to the cluster nodes. You can use remote PowerShell to control cluster actions, or you can run the commands directly from each node when performing the update.
56+
57+
1. Run PowerShell as Administrator on the client that you're using to connect to your cluster.
5758
2. Open a remote PowerShell session to a server on your Azure Stack HCI cluster. Run the following command and provide the credentials of your server when prompted:
5859

5960
```powershell
@@ -105,12 +106,22 @@ If there's a critical security update <!--ASK-->that you need to apply quickly o
105106
1. Plan your maintenance window.
106107
1. Take the virtual disks offline.
107108
1. Stop the cluster to take the storage pool offline. Run the `Stop-Cluster` cmdlet or use Windows Admin Center to stop the cluster.
108-
1. Set the cluster service to **Disabled** in *Services.msc* on each server. This prevents the cluster service from starting up while being updated.
109+
1. Set the cluster service to **Disabled** by running the PowerShell command below on each server. This prevents the cluster service from starting up while being updated.
110+
111+
```
112+
Set-Service -Name clussvc -StartupType Disabled
113+
```
114+
109115
1. <!--ASK-->Apply the Windows Server Cumulative Update and any required Servicing Stack Updates to all servers. You can update all servers at the same time: there's no need to wait because the cluster is down.
110116
1. Restart the servers and ensure everything looks good.
111-
1. Set the cluster service back to **Automatic** on each server.
117+
1. Set the cluster service back to **Automatic** by running the PowerShell command below on each server.
118+
119+
```
120+
Set-Service -Name clussvc -StartupType Automatic
121+
```
122+
112123
1. Start the cluster. Run the `Start-Cluster` cmdlet or use Windows Admin Center.
113-
1. Give it a few minutes. Make sure the storage pool is healthy.
124+
1. Give it a few minutes. Make sure the storage pool is healthy. Run `Get-StorageJob` to ensure all jobs complete successfully.
114125
1. Bring the virtual disks back online.
115126
1. Monitor the status of the virtual disks by running the `Get-Volume` and `Get-VirtualDisk` cmdlets.
116127

@@ -120,4 +131,4 @@ You're now ready to perform the post-upgrade steps for your cluster.
120131

121132
## Next steps
122133

123-
- [Learn how to perform the post-upgrade steps for your Azure Stack HCI cluster.](./post-upgrade-steps.md)
134+
- [Learn how to perform the post-upgrade steps for your Azure Stack HCI cluster.](./post-upgrade-steps.md)

0 commit comments

Comments
 (0)