You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This how-to guide provides a step-by-step template for upgrading a Nexus Fabric designed to assist users in managing a reproducible end-to-end upgrade through Azure APIs and standard operating procedures. Regular updates are crucial for maintaining system integrity and accessing the latest product improvements.
15
15
16
16
## Overview
17
+
<details>
18
+
<summary> Overview of Fabric runtime upgrade template </summary>
17
19
18
20
**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.
19
21
@@ -22,47 +24,94 @@ Runtime changes are categorized as follows:
22
24
-**Base configuration updates**: Initial settings applied during device bootstrapping.
23
25
-**Configuration structure updates**: Generated based on user input for conf
24
26
27
+
</details>
28
+
25
29
## Prerequisites
30
+
<details>
31
+
<summary> Prerequisites for using this template to upgrade a Fabric </summary>
32
+
33
+
- Latest version of [Azure CLI](https://aka.ms/azcli).
- Subscription access to run the Azure Operator Nexus Network Fabric (NF) and Network Cloud (NC) CLI extension commands.
37
+
- Target Fabric must be healthy in a running state, with all Devices healthy.
26
38
27
-
1. Install the latest version of [Azure CLI](https://aka.ms/azcli).
28
-
2. The latest `managednetworkfabric` CLI extension is required. It can be installed following the steps listed in [Install CLI Extension](howto-install-cli-extensions.md).
29
-
3. Subscription access to run the Azure Operator Nexus Network Fabric (NF) and network cloud (NC) CLI extension commands.
30
-
4. Target Fabric must be healthy in a running state, with all Devices healthy.
39
+
</details>
31
40
32
-
## Required Parameters:
33
-
- <START_DATE>: Planned start date/time of upgrade
34
-
-\<ENVIRONMENT\>: Instance name
41
+
## Required Parameters
42
+
<details>
43
+
<summary> Parameters used in this document </summary>
44
+
45
+
-\<ENVIRONMENT\>: - Instance name
35
46
- <AZURE_REGION>: - Azure region of instance
36
47
- <CUSTOMER_SUB_NAME>: Subscription name
37
48
- <CUSTOMER_SUB_ID>: Subscription ID
38
-
- <NEXUS_VERSION>: Operator Nexus release version (for example, 2504.1)
49
+
-\<NEXUS_VERSION\>: Nexus release version (for example, 2504.1)
39
50
- <NNF_VERSION>: Operator Nexus Fabric release version (for example, 8.1)
40
51
- <NF_VERSION>: NF runtime version for upgrade (for example, 5.0.0)
41
-
- <NF_DEVICE_NAME>: Network Fabric Device Name
42
-
- <NF_DEVICE_RID>: Network Fabric Device Resource ID
2. Collect device operation state from Azure portal or Azure CLI.
269
293
3. Create Azure Support Request for any device upgrade failures and attach any errors along with ASYNC URL, correlation ID, and operation state of Fabric and Devices.
270
294
271
-
## Post-upgrade Validation
272
-
Once complete, run the following commands to check the status of the Fabric and Devices:
273
-
```
274
-
az networkfabric fabric list -g $NF_RG --query "[].{name:name,fabricVersion:fabricVersion,configurationState:configurationState,provisioningState:provisioningState}" -o table --subscription $SUBSCRIPTION_ID
275
-
az networkfabric fabric show -g $NF_RG --resource-name $NF_NAME --subscription $SUBSCRIPTION_ID
276
-
az networkfabric device list -g $NF_RG --query "[].{name:name,version:version}" -o table --subscription $SUBSCRIPTION_ID
277
-
```
295
+
</details>
278
296
279
-
## Send notification to Operations of Fabric upgrade completion
297
+
## Post-upgrade tasks
298
+
<details>
299
+
<summary> Detailed steps for post-upgrade tasks </summary>
280
300
281
-
The following template can be used through email or ticketing system:
Deployment Team notification for <ENVIRONMENT> <AZURE_REGION> <NF_NAME> runtime <NF_VERSION> Upgrade Complete
287
-
288
-
Subscription: <CUSTOMER_SUB_ID>
289
-
NFC: <NFC_NAME>
290
-
CM: <CM_NAME>
291
-
Fabric: <NF_NAME>
292
-
Cluster: <CLUSTER_NAME>
293
-
Region: <AZURE_REGION>
294
-
Version: <NEXUS_VERSION>
295
-
296
-
CC: stakeholder_list
297
-
```
301
+
### Review Operator Nexus release notes
302
+
Review the Operator Nexus release notes for any version specific actions required post-upgrade.
303
+
304
+
### Validate Nexus Instance
298
305
299
-
## Remove resource tag on Fabric resource in Azure portal
300
-
Remove the resource tag on the Fabric resource tracking the upgrade in Azure portal (if added previously):
306
+
Validate the health and status of all the Nexus Instance resources with the [Nexus Instance Readiness Test (IRT)](howto-run-instance-readiness-testing.md).
307
+
308
+
To perform a resource validation of the Nexus Instance components post-upgrade through Azure CLI:
301
309
```
302
-
|Name | Value |
303
-
|----------------|-----------------
304
-
|BF in progress |<DE_ID> |
310
+
# NFC
311
+
az networkfabric controller list --subscription <CUSTOMER_SUB_ID> -o table
312
+
az vm list -o table --query "[?location=='<AZURE_REGION>']" --subscription <CUSTOMER_SUB_ID>
313
+
az customlocation list -o table --query "[?location=='<AZURE_REGION>']" | grep <NFC_NAME> --subscription <CUSTOMER_SUB_ID>
314
+
315
+
# Fabric
316
+
az networkfabric fabric list --resource-group <NF_RG> --subscription <CUSTOMER_SUB_ID> -o table
317
+
az networkfabric rack list -o table --resource-group <NF_RG> --subscription <CUSTOMER_SUB_ID> -o table
318
+
az networkfabric fabric device list --resource-group <NF_RG> --subscription <CUSTOMER_SUB_ID> -o table
319
+
az networkfabric nni list -g <NF_RG> --fabric <NF_NAME> --subscription <CUSTOMER_SUB_ID> -o table
320
+
az networkfabric acl list -g <NF_RG> --fabric <NF_NAME> --subscription <CUSTOMER_SUB_ID> -o table
321
+
az networkfabric l2domain list -g <NF_RG> --fabric <NF_NAME> --subscription <CUSTOMER_SUB_ID> -o table
322
+
323
+
# CM
324
+
az networkcloud clustermanager list --subscription <CUSTOMER_SUB_ID> -o table
325
+
326
+
# Cluster
327
+
az networkcloud cluster list --subscription <CUSTOMER_SUB_ID> -o table
328
+
az networkcloud baremetalmachine list -g <CLUSTER_MRG> --subscription <CUSTOMER_SUB_ID> --query "sort_by([]. {name:name,kubernetesNodeName:kubernetesNodeName,location:location,readyState:readyState,provisioningState:provisioningState,detailedStatus:detailedStatus,detailedStatusMessage:detailedStatusMessage,cordonStatus:cordonStatus,powerState:powerState,machineRoles:machineRoles| join(', ', @),createdAt:systemData.createdAt}, &name)" -o table
329
+
az networkcloud storageappliance list -g <CLUSTER_MRG> --subscription <CUSTOMER_SUB_ID> -o table
330
+
331
+
# Tenant Workloads
332
+
az networkcloud virtualmachine list --sub $SUBSCRIPTION_ID --query "reverse(sort_by([?clusterId=='$CLUSTER_RID'].{name:name, createdAt:systemData.createdAt, resourceGroup:resourceGroup, powerState:powerState, provisioningState:provisioningState, detailedStatus:detailedStatus,bareMetalMachineId:bareMetalMachineIdi,CPUCount:cpuCores, EmulatorStatus:isolateEmulatorThread}, &createdAt))" -o table
333
+
az networkcloud kubernetescluster list --sub $SUBSCRIPTION_ID --query "[?clusterId=='$CLUSTER_RID'].{name:name, resourceGroup:resourceGroup, provisioningState:provisioningState, detailedStatus:detailedStatus, detailedStatusMessage:detailedStatusMessage, createdAt:systemData.createdAt, kubernetesVersion:kubernetesVersion}" -o table
305
334
```
306
335
307
-
## Close out any Work Items in your ticketing system
308
-
* Update Task hours for upgrade duration.
309
-
* Set Fabric upgrade work item to `Complete`.
310
-
* Add any notes on support tickets and issues encountered during upgrade
336
+
> [!Note]
337
+
> IRT validation provides a complete functional test of networking and workloads across all components of the Nexus Instance. Simple validation does not provide functional tesing.
338
+
339
+
</details>
340
+
341
+
## Links
342
+
<details>
343
+
<summary> Reference Links for Fabric upgrade </summary>
344
+
345
+
Reference links for Fabric upgrade:
346
+
- Access the [Azure portal](https://aka.ms/nexus-portal)
0 commit comments