Skip to content

Commit 4a1347e

Browse files
Merge pull request #253364 from JnHs/jh-arc-upgrade
new topic
2 parents 65df7bd + bc61ee5 commit 4a1347e

File tree

2 files changed

+115
-0
lines changed

2 files changed

+115
-0
lines changed
Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
---
2+
title: Upgrade Arc resource bridge (preview)
3+
description: Learn how to upgrade Arc resource bridge (preview) using either cloud-managed upgrade or manual upgrade.
4+
ms.date: 10/02/2023
5+
ms.topic: how-to
6+
---
7+
8+
# Upgrade Arc resource bridge (preview)
9+
10+
This article describes how Arc resource bridge (preview) is upgraded and the two ways upgrade can be performed, using cloud-managed upgrade or manual upgrade.
11+
12+
> [!IMPORTANT]
13+
> Currently, you must request access in order to use cloud-managed upgrade. To do so, [open a support request](/azure/azure-portal/supportability/how-to-create-azure-support-request). Select **Technical** for **Issue type** and **Azure Arc Resource Bridge** for **Service type**. In the **Summary** field, enter *Requesting access to cloud-managed upgrade*, and select **Resource Bridge Agent issue** for **Problem type**. Complete the rest of the support request and then select **Create**. We'll review your account and contact you to confirm your access to cloud-managed upgrade.
14+
15+
## Prerequisites
16+
17+
In order to upgrade resource bridge, its status must be online and the [credentials in the appliance VM](maintenance.md#update-credentials-in-the-appliance-vm) must be valid.
18+
19+
There must be sufficient space on the management machine and appliance VM to download required images (~3.5 GB). For VMware, a new template is created.
20+
21+
Currently, in order to upgrade Arc resource bridge, you must enable outbound connection from the Appliance VM IPs (`k8snodeippoolstart/end`, VM IP 1/2) to `msk8s.sb.tlu.dl.delivery.mp.microsoft.com`, port 443. Be sure the full list of [required endpoints for Arc resource bridge](network-requirements.md) are also enabled.
22+
23+
Arc resource bridges configured with DHCP can't be upgraded and won't be supported in production. A new Arc resource bridge should be deployed using [static IP configuration](system-requirements.md#static-ip-configuration).
24+
25+
## Overview
26+
27+
The upgrade process deploys a new resource bridge using the reserved appliance VM IP (`k8snodeippoolend` IP, VM IP 2). Once the new resource bridge is up, it becomes the active resource bridge. The old resource bridge is deleted, and its appliance VM IP (`k8dsnodeippoolstart`, VM IP 1) becomes the new reserved appliance VM IP that will be used in the next upgrade.
28+
29+
Deploying a new resource bridge consists of downloading the appliance image (~3.5 GB) from the cloud, using the image to deploy a new appliance VM, verifying the new resource bridge is running, connecting it to Azure, deleting the old appliance VM, and reserving the old IP to be used for a future upgrade.
30+
31+
Overall, the upgrade generally takes at least 30 minutes, depending on network speeds. A short intermittent downtime may happen during the handoff between the old Arc resource bridge to the new Arc resource bridge. Additional downtime may occur if prerequisites are not met, or if a change in the network (DNS, firewall, proxy, etc.) impacts the Arc resource bridge's ability to communicate.
32+
33+
There are two ways to upgrade Arc resource bridge: cloud-managed upgrades managed by Microsoft, or manual upgrades where Azure CLI commands are performed by an admin.
34+
35+
## Cloud-managed upgrade
36+
37+
Arc resource bridge is a Microsoft-managed product. Microsoft manages upgrades of Arc resource bridge through cloud-managed upgrade. Cloud-managed upgrade allows Microsoft to ensure that the resource bridge remains on a supported version.
38+
39+
> [!IMPORTANT]
40+
> As noted earlier, cloud-managed upgrades are currently available only to customers who request access by opening a support request.
41+
42+
Cloud-managed upgrades are handled through Azure. A notification is pushed to Azure to reflect the state of the appliance VM as it upgrades. As the resource bridge progresses through the upgrade, its status may switch back and forth between different upgrade steps. Upgrade is complete when the appliance VM `status` is `Running` and `provisioningState` is `Succeeded`.
43+
44+
To check the status of a cloud-managed upgrade, check the Azure resource in ARM or run the following Azure CLI command from the management machine:
45+
46+
```azurecli
47+
az arcappliance show --resource-group [REQUIRED] --name [REQUIRED]
48+
```
49+
50+
## Manual upgrade
51+
52+
Arc resource bridge can be manually upgraded from the management machine. The management machine must have the kubeconfig and appliance configuration files stored locally. Manual upgrade generally takes between 30-90 minutes, depending on network speeds.
53+
54+
To manually upgrade your Arc resource bridge, make sure you have installed the latest `az arcappliance` CLI extension by running the extension upgrade command from the management machine:
55+
56+
```azurecli
57+
az extension add --upgrade --name arcappliance
58+
```
59+
60+
To manually upgrade your resource bridge, use the following command:
61+
62+
```azurecli
63+
az arcappliance upgrade <private cloud> --config-file <file path to ARBname-appliance.yaml>
64+
```
65+
66+
For example: `az arcappliance upgrade vmware --config-file c:\contosoARB01-appliance.yaml`
67+
68+
## Private cloud providers
69+
70+
Partner products that use Arc resource bridge may choose to handle upgrades differently, including enabling cloud-managed upgrade by default. This article will be updated to reflect any such changes.
71+
72+
[Azure Arc VM management (preview) on Azure Stack HCI](/azure-stack/hci/manage/azure-arc-vm-management-overview) handles upgrades across all components as a "validated recipe" package, and upgrades are applied using the LCM tool. You must manually apply the packaged upgrade using the LCM tool.
73+
74+
## Version releases
75+
76+
The Arc resource bridge version is tied to the versions of underlying components used in the appliance image, such as the Kubernetes version. When there is a change in the appliance image, the Arc resource bridge version gets incremented. This generally happens when a new `az arcappliance` CLI extension version is released. An updated extension is typically released on a monthly cadence at the end of the month. For detailed release info, refer to the [Arc resource bridge release notes](https://github.com/Azure/ArcResourceBridge/releases) on GitHub.
77+
78+
## Notification and upgrade availability
79+
80+
If your Arc resource bridge is at n-3 version, then you may receive an email notification letting you know that your resource bridge may soon be out of support once the next version is released. If you receive this notification, upgrade the resource bridge as soon as possible to allow debug time for any issues with manual upgrade, or submit a support ticket if cloud-managed upgrade was unable to upgrade your resource bridge.
81+
82+
To check if your Arc resource bridge has an upgrade available, run the command:
83+
84+
```azurecli
85+
az arcappliance get-upgrades --resource-group [REQUIRED] --name [REQUIRED]
86+
```
87+
88+
To see the current version of an Arc resource bridge appliance, run `az arcappliance show` or check the Azure resource.
89+
90+
To find the latest released version of Arc resource bridge, check the [Arc resource bridge release notes](https://github.com/Azure/ArcResourceBridge/releases) on GitHub.
91+
92+
## Supported versions
93+
94+
Generally, the latest released version and the previous three versions (n-3) of Arc resource bridge are supported. For example, if the current version is 1.0.10, then the typical n-3 supported versions are:
95+
96+
- Current version: 1.0.10
97+
- n-1 version: 1.0.9
98+
- n-2 version: 1.0.8
99+
- n-3 version: 1.0.7
100+
101+
There may be instances where supported versions are not sequential. For example, version 1.0.11 is released and later found to contain a bug. A hot fix is released in version 1.0.12 and version 1.0.11 is removed. In this scenario, n-3 supported versions become 1.0.12, 1.0.10, 1.0.9, 1.0.8.
102+
103+
Arc resource bridge typically releases a new version on a monthly cadence, at the end of the month. Delays may occur that could push the release date further out. Regardless of when a new release comes out, if you are within n-3 supported versions, then your Arc resource bridge version is supported. To stay updated on releases, visit the [Arc resource bridge release notes](https://github.com/Azure/ArcResourceBridge/releases) on GitHub.
104+
105+
If a resource bridge is not upgraded to one of the supported versions (n-3), then it will fall outside the support window and be unsupported. If this happens, it may not always be possible to upgrade an unsupported resource bridge to a newer version, as component services used by Arc resource bridge may no longer be compatible. In addition, the unsupported resource bridge may not be able to provide reliable monitoring and health metrics.
106+
107+
If an Arc resource bridge is unable to be upgraded to a supported version, you must delete it and deploy a new resource bridge. Depending on which private cloud product you're using, there may be other steps required to reconnect the resource bridge to existing resources. For details, check the partner product's Arc resource bridge recovery documentation.
108+
109+
## Next steps
110+
111+
- Learn about [Arc resource bridge maintenance operations](maintenance.md).
112+
- Learn about [troubleshooting Arc resource bridge](troubleshoot-resource-bridge.md).

articles/azure-arc/toc.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@
3030
- name: Deployment overview
3131
displayName: resource bridge, arcappliance
3232
href: ./resource-bridge/deploy-cli.md
33+
- name: Upgrade
34+
displayName: update, resource bridge
35+
href: ./resource-bridge/upgrade.md
3336
- name: Maintenance
3437
displayName: resource bridge, appliance
3538
href: ./resource-bridge/maintenance.md

0 commit comments

Comments
 (0)