Skip to content

Commit 464cf31

Browse files
Merge pull request #300367 from MicrosoftDocs/main
Sync
2 parents 39076fd + f96213f commit 464cf31

12 files changed

+253
-5
lines changed

articles/operator-nexus/TOC.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@
5050
href: concepts-disable-border-gateway-protocol-neighbors.md
5151
- name: Network Packet Broker
5252
href: concepts-nexus-network-packet-broker.md
53+
- name: Commit Workflow v2
54+
href: concepts-commit-workflow-v2.md
5355
- name: Route Policy
5456
expanded: false
5557
items:
@@ -246,6 +248,8 @@
246248
href: concepts-bmp-log-streaming.md
247249
- name: How to enable / disable BMP log streaming Azure Operator Nexus
248250
href: howto-enable-log-streaming.md
251+
- name: How to use Commit Workflow v2 in Azure Operator Nexus
252+
href: howto-use-commit-workflow-v2.md
249253
- name: Cluster
250254
expanded: false
251255
items:

articles/operator-nexus/concepts-commit-workflow-v2.md

Lines changed: 124 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
---
2+
title: How to use Commit Workflow v2 in Azure Operator Nexus
3+
description: Learn the process for using Commit Workflow v2 in Nexus Network Fabric
4+
author: sushantjrao
5+
ms.author: sushrao
6+
ms.date: 05/26/2025
7+
ms.topic: how-to
8+
ms.service: azure-operator-nexus
9+
ms.custom: template-how-to, devx-track-azurecli
10+
---
11+
12+
# How to use Commit Workflow v2 in Azure Operator Nexus
13+
14+
The **Commit Workflow v2** ensures that device-impacting changes to a Network Fabric instance are explicitly acknowledged and committed before being applied to the underlying infrastructure. This structured workflow increases reliability and control over configuration changes.
15+
16+
## Prerequisites
17+
18+
* **Runtime version**: `5.0.1` or later is required for Commit Workflow v2.
19+
20+
* Your **Network Fabric must be in `Provisioned` state** and **configuration state must be `Succeeded`**.
21+
22+
* The **fabric and all impacted resources must have admin state set to `Enabled`**.
23+
24+
* You must have **BYOS (Bring Your Own Storage)** configured on the fabric to use the optional validation step.
25+
26+
## Commit Workflow v2 overview
27+
28+
Any `patch` operation on parent resources or `Create`/`Update`/`Delete` (CUD) operation on connected child resources now requires an explicit commit step. Changes are **batched** until you lock, validate (optional), and commit them.
29+
30+
### Step 1: Update resources
31+
32+
Make patch or CUD operations via Azure CLI, Portal, or ARM template.
33+
Once these changes are made, the fabric's configuration state will change to `Accepted (Pending Commit)`.
34+
35+
#### Example scenarios
36+
37+
* Create a new **Route Policy** and attach it to **Internal Network 1**
38+
39+
* Create another **Internal Network 2**
40+
41+
All these changes are **batched**, but **not applied** to devices yet.
42+
43+
44+
### Step 2: Lock Configuration (Mandatory)
45+
46+
Lock the configuration to signal that all intended updates are completed. After this lock, **no further updates** can be made to any fabric-related resources until you unlock.
47+
48+
#### Azure CLI Command
49+
50+
```Azure CLI
51+
az networkfabric fabric lock-fabric \
52+
--action Lock \
53+
--lock-type Configuration \
54+
--network-fabric-name "example-fabric" \
55+
--resource-group "example-rg"
56+
```
57+
58+
- Successful execution transitions the fabric to a **locked state**.
59+
60+
- Check CLI output for success or failure status.
61+
62+
63+
### Step 3: Validate updates (Optional but recommended)
64+
65+
Validate the configuration using the `view-device-configuration` post-action. This step provides insight into the expected configuration outcomes.
66+
67+
> [!Important]
68+
> BYOS must be configured on the Network Fabric.
69+
70+
#### Azure CLI Command
71+
72+
```Azure CLI
73+
74+
az networkfabric fabric view-device-configuration \
75+
--network-fabric-name "example-fabric"\
76+
--resource-group "example-rg"
77+
```
78+
79+
- **Pre-Device Changes**: Current config for all devices (CE, TOR, Management Switches)
80+
81+
- **Post-Device Changes**: Preview of what will be applied after commit
82+
83+
#### Need to Make More Updates?
84+
85+
Unlock the configuration to make further changes, then repeat the lock/validate/commit steps.
86+
87+
#### Unlock Example
88+
89+
```Azure CLI
90+
az networkfabric fabric lock-fabric \
91+
--action Unlock \
92+
--lock-type Configuration \
93+
--network-fabric-name "example-fabric" \
94+
--resource-group "example-rg"
95+
```
96+
97+
### Step 4: Commit Configuration (Mandatory)
98+
99+
Commit the configuration to apply the batched changes to all relevant fabric devices.
100+
101+
#### Azure CLI Command
102+
103+
```Azure CLI
104+
az networkfabric fabric commit-configuration \
105+
--resource-group "example-rg" \
106+
--resource-name "example-fabric"
107+
```
108+
109+
- The operation returns a **status**: `Succeeded`, `InProgress`, or `Failed`
110+
111+
- Use CLI polling or Azure Activity Logs to monitor progress
112+
113+
> [!Important]
114+
> - This workflow applies **only when the fabric is in Provisioned state** and **admin state is Enabled**. <br>
115+
> - Locking is mandatory before commit; **commit cannot proceed without locking first**. <br>
116+
> - **Rollback is not supported** – any incorrect configuration must be updated and re-committed. <br>
117+
> - Updates outside of this workflow (e.g., to tags or disconnected resources) do **not require commit**. <br>
118+

articles/sap/workloads/lama-installation.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,9 @@ Azure NetApp Files requires a delegated subnet, which must be part of the same v
276276

277277
1. Create the delegated subnet for *Microsoft.NetApp/volumes*.
278278

279-
![Screenshot that shows selections for adding a delegated subnet.](media/lama/sap-lama-addsubnet-50.png)
279+
![Screenshot that shows selections for adding subnet.](media/lama/sap-lama-addsubnet-50.png)
280+
281+
![Screenshot that shows selections for choosing subnet delegation.](media/lama/sap-lama-addsubnet2-50.png)
280282

281283
![Screenshot that shows a list of subnets.](media/lama/sap-lama-subnets.png)
282284

@@ -322,10 +324,10 @@ Azure NetApp Files requires a delegated subnet, which must be part of the same v
322324
1. Mount the Azure NetApp Files volumes by using the following commands:
323325

324326
```bash
325-
# sudo mount -t nfs -o rw,hard,rsize=65536,wsize=65536,vers=3,tcp 9.9.9.132:/an1-home-sidadm /home/an1adm
326-
# sudo mount -t nfs -o rw,hard,rsize=65536,wsize=65536,vers=3,tcp 9.9.9.132:/an1-sapmnt-sid /sapmnt/AN1
327-
# sudo mount -t nfs -o rw,hard,rsize=65536,wsize=65536,vers=3,tcp 9.9.9.132:/an1-usr-sap-sid /usr/sap/AN1
328-
# sudo mount -t nfs -o rw,hard,rsize=65536,wsize=65536,vers=3,tcp 9.9.9.132:/global-usr-sap-trans /usr/sap/trans
327+
# sudo mount -t nfs -o rw,hard,rsize=65536,wsize=65536,vers=3,tcp 10.1.0.133:/an1-home-sidadm /home/an1adm
328+
# sudo mount -t nfs -o rw,hard,rsize=65536,wsize=65536,vers=3,tcp 10.1.0.134:/an1-sapmnt-sid /sapmnt/AN1
329+
# sudo mount -t nfs -o rw,hard,rsize=65536,wsize=65536,vers=3,tcp 10.1.0.134:/an1-usr-sap-sid /usr/sap/AN1
330+
# sudo mount -t nfs -o rw,hard,rsize=65536,wsize=65536,vers=3,tcp 10.1.0.134:/global-usr-sap-trans /usr/sap/trans
329331
```
330332

331333
You can also look up the mount commands from the portal. The local mount points need to be adjusted.
4.68 KB
Loading
73.8 KB
Loading
-30.1 KB
Loading
-177 KB
Loading
-155 KB
Loading
-138 KB
Loading

0 commit comments

Comments
 (0)