Skip to content

Commit 2daeb13

Browse files
committed
how to guide for upgrading network fabric
1 parent ac1abf7 commit 2daeb13

File tree

2 files changed

+134
-0
lines changed

2 files changed

+134
-0
lines changed

articles/operator-nexus/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,8 @@
154154
href: howto-delete-access-control-list-network-to-network-interconnect.md
155155
- name: How to Configure Diagnostic Settings and Monitor Configuration Differences in Nexus Network Fabric
156156
href: howto-configure-diagnostic-settings-monitor-configuration-differences.md
157+
- name: How to upgrade Network Fabric
158+
href: howto-upgrade-nexus-fabric.md
157159
- name: Nexus Kubernetes cluster
158160
expanded: false
159161
items:
Lines changed: 132 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,132 @@
1+
---
2+
title: Azure Operator Nexus: How to upgrade Network Fabric
3+
description: Learn the process for upgrading Network Fabric for Azure Operator Nexus.
4+
author: sushantjrao
5+
ms.author: sushrao
6+
ms.reviewer: sushrao
7+
ms.date: 06/11/2023
8+
ms.service: azure-operator-nexus
9+
ms.custom: template-how-to
10+
---
11+
12+
13+
## **Network Fabric upgrade guide**
14+
15+
This how to guide provides a streamlined upgrade process for your network fabric. It is designed to assist users in enhancing their network infrastructure through Azure APIs, which facilitate the lifecycle management of various network devices. Regular updates are crucial for maintaining system integrity and accessing the latest product improvements.
16+
17+
### **Overview**
18+
19+
**Runtime bundle components**: These components require operator consent for upgrades that may affect traffic behavior or necessitate device reboots. The network fabric's design allows for updates to be applied while maintaining continuous data traffic flow.
20+
21+
Runtime changes are categorized as follows:
22+
23+
- **Operating system updates**: Necessary to support new features or resolve issues.
24+
25+
- **Base configuration updates**: Initial settings applied during device bootstrapping.
26+
27+
- **Configuration structure updates**: Generated based on user input for configurations like isolation domains and ACLs. These updates accommodate new features without altering user input.
28+
29+
### **Prerequisites**
30+
31+
Confirm that the Network Fabric Controller is in a 'Provisioned' state.
32+
33+
### **Upgrade workflow**
34+
35+
#### **Step 1: Initiate upgrade**
36+
37+
Start the upgrade with the following command:
38+
39+
```Azure CLI
40+
az networkfabric fabric upgrade -g [resource-group] --resource-name [fabric-name] --action start --version "2.0.0"
41+
```
42+
43+
##### Example Command
44+
45+
```sh
46+
az networkfabric fabric upgrade -g myResourceGroup --resource-name myFabricName --action start --version "2.0.0"
47+
```
48+
49+
| Parameter | Description | Example |
50+
|--------------------------|---------------------------------------------|------------------------|
51+
| `-g` or `--resource-group` | The name of the resource group | `myResourceGroup` |
52+
| `--resource-name` | The name of the fabric to upgrade | `myFabricName` |
53+
| `--action` | Specifies the upgrade action to perform | `start` |
54+
| `--version` | Specifies the version to upgrade to | `"2.0.0"` |
55+
56+
Replace `myResourceGroup` and `myFabricName` with the actual names of your resource group and fabric, respectively.
57+
58+
> [!NOTE]
59+
> This command places the NetworkFabric in 'Under Maintenance'.
60+
61+
#### **Step 2: Device-specific upgrades**
62+
63+
Follow the recommended sequence for device upgrades, addressing any failures manually if necessary.
64+
65+
**Device upgrade sequence**:
66+
67+
1. Upgrade Top-of-Rack (TOR) switches concurrently.
68+
69+
2. Update management switches in parallel.
70+
71+
3. Upgrade Network Packet Broker (NPB) devices sequentially.
72+
73+
4. Update Compute Elements (CEs) individually.
74+
75+
5. Lastly, upgrade aggregate rack switches.
76+
77+
**Pre-validation checks**:
78+
79+
- Ensure the network fabric is in a 'Succeeded' state.
80+
81+
- Verify all devices are configured and synchronized.
82+
83+
Upgrade individual devices with the following command:
84+
85+
```Azure CLI
86+
az networkfabric device upgrade --version 2.0.0 -g [resource-group] --resource-name [device-name] --debug
87+
```
88+
89+
##### Example Command
90+
91+
```Azure CLI
92+
az networkfabric device upgrade --version 2.0.0 -g myResourceGroup --resource-name myDeviceName --debug
93+
```
94+
95+
| Parameter | Description | Example |
96+
|----------------------|-------------------------------------|------------------------|
97+
| `--version` | Specifies the version to upgrade to | `2.0.0` |
98+
| `-g` or `--resource-group` | The name of the resource group | `myResourceGroup` |
99+
| `--resource-name` | The name of the device to upgrade | `myDeviceName` |
100+
| `--debug` | Enables debug mode for detailed output | `--debug` |
101+
102+
Replace `myResourceGroup` and `myDeviceName` with the actual names of your resource group and device, respectively.
103+
104+
#### **Step 3: Finalize upgrade**
105+
106+
After updating all devices, run the completion command to exit maintenance mode:
107+
108+
```Azure CLI
109+
az networkfabric fabric upgrade --action Complete -g [resource-group] --resource-name [fabric-name]
110+
```
111+
112+
##### Example Command
113+
114+
```sh
115+
az networkfabric fabric upgrade --action Complete -g myResourceGroup --resource-name myFabricName
116+
```
117+
118+
| Parameter | Description | Example |
119+
|----------------------|-----------------------------------------------|------------------------|
120+
| `--action` | Specifies the upgrade action to perform | `Complete` |
121+
| `-g` or `--resource-group` | The name of the resource group | `myResourceGroup` |
122+
| `--resource-name` | The name of the fabric to upgrade | `myFabricName` |
123+
124+
Replace `myResourceGroup` and `myFabricName` with the actual names of your resource group and fabric, respectively.
125+
126+
### **Post-validation**
127+
128+
Check the version status of all devices and the fabric with AZCLI commands.
129+
130+
### **Known issues**
131+
132+
Create the EOS image directory manually at `/mnt/nvram/nexus/eosimages` if it's missing. This is especially important for environments built from older NF versions. A fix is forthcoming in a future release.

0 commit comments

Comments
 (0)